linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: User Space Emulation of Devices
@ 2001-09-13  8:25 Phil Thompson
  2001-09-13 18:33 ` Tim Jansen
  0 siblings, 1 reply; 11+ messages in thread
From: Phil Thompson @ 2001-09-13  8:25 UTC (permalink / raw)
  To: 'Pavel Machek', 'linux-kernel@vger.kernel.org'

> -----Original Message-----
> From: Pavel Machek [mailto:pavel@suse.cz]
> Sent: 12 September 2001 11:28
> To: Phil Thompson; 'linux-kernel@vger.kernel.org'
> Subject: Re: User Space Emulation of Devices
> 
> 
> Hi!
> 
> > Without going into the gory details, I have a requirement 
> for a device
> > driver that does very little apart from pass on the 
> open/close/read/write
> > "requests" onto a user space application to implement and 
> pass back to the
> > driver.
> > 
> > Does anything like this already exist?
> 
> Something like that which would also pass ioctl()s would be *very*
> welcome.

The best approach I found (for my purposes anyway) was the one used by the
ALSA OSS emulator (and strace as well?) that uses weak & strong symbols in a
pre-loaded shared library to intercept system calls to the device I wanted
to handle in user space.

I'd be surprised if this technique was suitable as a generic approach.

Phil

^ permalink raw reply	[flat|nested] 11+ messages in thread
* User Space Emulation of Devices
@ 2001-09-06  8:25 Phil Thompson
  2001-09-06 12:14 ` joseph.bueno
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Phil Thompson @ 2001-09-06  8:25 UTC (permalink / raw)
  To: 'linux-kernel@vger.kernel.org'

Without going into the gory details, I have a requirement for a device
driver that does very little apart from pass on the open/close/read/write
"requests" onto a user space application to implement and pass back to the
driver.

Does anything like this already exist?

Thanks,
Phil

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-09-14  4:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-13  8:25 User Space Emulation of Devices Phil Thompson
2001-09-13 18:33 ` Tim Jansen
  -- strict thread matches above, loose matches on Subject: below --
2001-09-06  8:25 Phil Thompson
2001-09-06 12:14 ` joseph.bueno
2001-09-12 10:28 ` Pavel Machek
2001-09-12 21:45   ` Oliver Neukum
2001-09-12 22:14     ` H. Peter Anvin
2001-09-12 22:34       ` Alan Cox
2001-09-13 18:13         ` Tim Jansen
2001-09-14  4:31     ` Jeremy Elson
2001-09-13  3:53 ` Dwayne C. Litzenberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).