Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Configuration Problems - lsusb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Sionnach
n00b
n00b


Joined: 07 May 2003
Posts: 20
Location: Ireland

PostPosted: Sat May 24, 2003 2:54 pm    Post subject: USB Configuration Problems - lsusb Reply with quote

hi All,

I've been trying to set up my Canon S40 camera so's I can use gphoto2 to get image from it, and have come across some what look like general USB problems.

Firstly, I have an external USB hard drive that works fine. So I know the USB hardware is ok...

I enable the usbdevfs file system and load up the uchi drivers as a module, but also get an empty /proc/bus/usb/devices file - even though my syslog shows the camera (and web cam) being recognized as plugged and unplugged. In the /proc/bus/usb/drivers file I just have:
Code:

usbdevfs
hub


But when I type
Code:

lsusb --vv

I get:
Code:

Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650


There's not many references to it anywhere. I'm using the gentoo-sources latest 2.4 kernel. From looking around it seems that I haven't got any USB hubs enabled - did notice that my network card shares an IRQ (9) with one of the controllers however.

Any ideas?
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Sat May 24, 2003 5:05 pm    Post subject: Reply with quote

Problem in /usr/share/misc/usb.ids that was never fixed.

Here's my fixed version:

http://www.coe.uncc.edu/~danderse/www/usb.ids
Back to top
View user's profile Send private message
Sionnach
n00b
n00b


Joined: 07 May 2003
Posts: 20
Location: Ireland

PostPosted: Sun May 25, 2003 10:06 am    Post subject: Reply with quote

Thanks for the info, I'll have a look at that today.

Bizzarely, I got it working just before I read your post! It seems to be highly dependent on what kernel modules are compiled as modules and suchlike. I had the following:

Code:

CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_MIDI is not set
CONFIG_USB_STORAGE=m


and emerged and installed hotplug as directly in the various HowTos.

It created /proc/bus/usb fine, but had the above error - I rebooted - then ran lsusb and got:

Code:

Unknown line at line 1809
Duplicate HUT Usage Spec at line 2650
Bus 002 Device 001: ID 0000:0000 Virtual Hub
Bus 001 Device 001: ID 0000:0000 Virtual Hub


Ran up gphoto2 and all is well :D

I'm glad it's working - now I just have to understand how !


EDIT: previously I had no usb.ids file - so your post would have fixed it just fine - Thanks! - I wonder how I managed to generate it accidentally 8O
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum