Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Accessing USB devices without device-driver
I need a generic solution for USB devices like below.
My USB device is attached to a Linux PC with proper device driver; but I want to access this device from some remote machine(Linux) without any device driver for that remote device.
Let us consider PC1 has a USB hard-disk/scanner. PC2 wants to access this, but it does not have driver for this.
I need some common software which will handle such commonly used USB devices in such scenario.
This can be implemented in user space through system calls like open/read/write/ioctl/close etc. But I need a generic pre existing solution.
You only need a web interface on the one computer which allows an authenticated remote user to operate the scanner. It's pretty weird operating a scanner from another computer though. Another option is for the remote user to login via ssh, and start a GUI for the scanner by exporting the X window to his own computer; that is the simpler solution since you don't have to code web forms and write the interface software.
1. auto detection to happen dynamically.
2. u need not login to remote machine
3. the architecture should work for multiple machines
4. hard-disk, usb-stick, printer, scanner to be supported.
auto detection cannot happen dynamically. when you plug it in, the interrupts generated go to the machine its on. if you want it to send a message to the other one, you can program that of course.
all devices are device files in linux. why don't you just try reading these files over nfs? (what does 3. mean? you're talking *about* multiple machies, what do you mean they "should"?)