On Thu, 7 Jun 2007, Diego Zuccato wrote: > Hello all. > > Talking on a forum, an idea appeared: a driver to "export" an USB device > on a LAN. > A scenario could be a non-Linux-friendly printer that have to be placed > physically near the Linux server, but must be accessible from a > "distant" windoze machine. > > IIUC, the "server" part is the simpler: a daemon that acquires access to > the USB device and listens for network connections. IMO doable in > userspace w/o too many troubles. > > The hard part is the client. If it uses libusb or any other library, > that library could be modified to handle network access. But if it's > closed source (like many windoze drivers) then the only way I could > think is creating a "virtual hub" driver. This way no library should be > modified, allowing greater flexibility. > > Does some1 know of something similar already done or simpler methods? > > Yes, I know there could be many problems (latency, bandwidth & so on), > but atm they appear not too important.
Someone had an implementation of this for Linux a year or two ago. Search through the email archives for linux-usb-devel. As I recall it worked somewhat, but it wasn't really very good. Anyway, you don't need anything like this to handle your printer problem. Just plug the printer into a computer that can drive it properly and let the computer export it over the network using any of the standard network printing protocols (lpd/lpr, ipp, etc.). Alan Stern ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Linux-usb-users@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users