LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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.

Notices

Reply
 
Search this Thread
Old 07-21-2008, 07:42 AM   #1
barunparichha
Member
 
Registered: Jun 2006
Location: Bangalore,india
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Posts: 281

Rep: Reputation: 32
Accessing USB devices without device-driver


Hi,
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.

e.g.
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.

With thanks in advance,
Barun
 
Old 07-21-2008, 08:03 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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.
 
Old 07-21-2008, 08:27 AM   #3
ajithender
Member
 
Registered: Jul 2007
Posts: 41

Rep: Reputation: 15
Ok for that you need remote execution required for not having the device drivers
 
Old 07-21-2008, 11:43 PM   #4
barunparichha
Member
 
Registered: Jun 2006
Location: Bangalore,india
Distribution: Linux(Redhat,fedora,suse,ubantu), Solaris (s8/s9/s10/nevada/open-solaris)
Posts: 281

Original Poster
Rep: Reputation: 32
Following things to be considered:

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.
 
Old 07-22-2008, 06:11 AM   #5
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
It sounds like you're thinking of "bluetooth". Maybe 'avahi' can help, but you still need to set things up.
 
Old 07-22-2008, 09:59 AM   #6
resetreset
Senior Member
 
Registered: Mar 2008
Location: India
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,320

Rep: Reputation: 51
Quote:
Originally Posted by barunparichha View Post
Following things to be considered:

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"?)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Linux device driver project needs more unsupported devices to work on! LXer Syndicated Linux News 0 10-25-2007 09:40 AM
Accessing USB device directly. hacker supreme General 2 05-13-2007 05:39 PM
Accessing usb devices 1madstork Slackware 2 10-28-2004 02:04 PM
determine type of device for USB devices lyar1031 Linux - Newbie 2 07-29-2004 08:02 PM
Accessing USB Storage Device in RedHat 9 kvsmani Linux - Hardware 0 02-14-2004 12:41 AM


All times are GMT -5. The time now is 06:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration