openSUSE Forums > Network/Internet » usbip errors on opensuse 11.1

Go Back   openSUSE Forums > Network/Internet
Forums FAQ Members List Search Today's Posts Mark Forums Read


Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-Jul-2009, 03:19
Puzzled Penguin
 
Join Date: Jul 2009
Posts: 4
Toljio hasn't been rated much yet
Question usbip errors on opensuse 11.1

Hello!

Help me please: I need to use usbip to work with the webcam from another computer. But when I installed (using YaST) usbip and launch this, I see errors:


# usbipd
usbip err: stub_server.c: 433 (do_standalone_mode) open usb.ids
usbip err: stub_driver.c: 33 (open_sysfs_stub_driver) usbip_common_mod.ko and usbip.ko must be loaded

** ERROR **: driver open failed
aborting...
Emergency shutdown


# usbip
usbip err: vhci_attach.c: 586 (main ) open usb.ids
Usage: usbip [options]
...

Please, Help me... I just started to use Linux and do not understand how to solve this problem. And sorry for my bad English.
Reply With Quote
  #2 (permalink)  
Old 25-Jul-2009, 10:02
Explorer Penguin
 
Join Date: Sep 2008
Posts: 161
dmera hasn't been rated much yet
Default Re: usbip errors on opensuse 11.1

I think is missing some library/component. Did you install it via Yast? in Yast there is a menu to verify if the package is missing a library. try that and post
Reply With Quote
  #3 (permalink)  
Old 27-Jul-2009, 01:57
Puzzled Penguin
 
Join Date: Jul 2009
Posts: 4
Toljio hasn't been rated much yet
Default Re: usbip errors on opensuse 11.1

YaST said "All packages depending satisfied".
I think I need to install modules usbip_common_mod.ko and usbip.ko, but where do I find them. And how "open usb.ids"?
Reply With Quote
  #4 (permalink)  
Old 02-Nov-2009, 10:24
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 2
brettski74 hasn't been rated much yet
Default Re: usbip errors on opensuse 11.1

To load modules, use the modprobe command, such as:

Code:
modprobe usbip
This should actually be sufficient to load both of those modules, as the usbip_common_mod module is a dependency of the usbip module and modprobe is smart enough to resolve dependencies and load them if required.

You should also be able to get these modules to load automagically at boot time. I'm not sure of the exact mechanism used in OpenSUSE. Usually there is a file somewhere in the /etc hierarchy that lists the modules to be loaded at boot time. For example, Gentoo uses /etc/modules.autoload.d/kernel-2.6 and Ubuntu uses /etc/modules.

As for the other error, about "open usb.ids", I'm actually looking for a resolution to that, but I'll post one here shoudl I find it. I'm having trouble with my Canon scanner not working over USB/IP and am getting the same error when I bind the driver on my server machine. In the absence of anything else to go on, I'm working ont he assumption that it's something to do with this error.

Brettski
Reply With Quote
  #5 (permalink)  
Old 02-Nov-2009, 15:26
Puzzled Penguin
 
Join Date: Nov 2009
Posts: 2
brettski74 hasn't been rated much yet
Default Re: usbip errors on opensuse 11.1

usb.ids is a file that the usbipd server process is trying to open. I have not figured out what details it expects to be in there, yet, however, the default location for it seems to be /usr/share/hwdata/usb.ids. It seems to contain information about vendor ids and such for different USB devices. I'm not sure if it's crucial to correct operation, however, the file can be obtained within the usbip sources in the src directory. If you don't have the sources, you can find them at Browse The USB/IP Project Files on SourceForge.net. I also noticed that the Makefile that comes with the sources doesn't install this file properly, either, so that may be why most distributions aren't doing this, either.

That said, I still haven't got my scanner working via usbip, which is kinda annoying. I'm going back to the USB/IP project's forums to see if I can get answers there.

Brettski
Reply With Quote
Reply

Bookmarks

Tags
error, network, usb, usbip


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2