On Mon, 2005-01-31 at 12:02 -0500, Alan Stern wrote:
> On Mon, 31 Jan 2005, Malcolm Apps wrote:
> 
> > If I turn off kudzu in rc5.d there's nothing in /var/log/messages about
> > USB / ohci_hcd after rebooting.
> 
> So ohci-hcd doesn't get loaded.  Okay.
> 
> > If I then run kudzu from the command line, it exits immediately with no
> > output but an exit status of 0.
> > 
> > This is what gets put into /var/log/messages when kudzu runs:
> > 
> > > PCI: Found IRQ 11 for device 0000:00:01.2
> > > PCI: Sharing IRQ 11 with 0000:00:01.3
> > > ohci_hcd 0000:00:01.2: OHCI Host Controller
> > > ohci_hcd 0000:00:01.2: irq 11, pci mem 119e8000
> > > ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
> > > hub 1-0:1.0: USB hub found
> > > hub 1-0:1.0: 3 ports detected
> > > PCI: Found IRQ 11 for device 0000:00:01.3
> > > PCI: Sharing IRQ 11 with 0000:00:01.2
> > > ohci_hcd 0000:00:01.3: OHCI Host Controller
> > > ohci_hcd 0000:00:01.3: irq 11, pci mem 119ea000
> > > ohci_hcd 0000:00:01.3: new USB bus registered, assigned bus number 2
> > > hub 2-0:1.0: USB hub found
> > > hub 2-0:1.0: 3 ports detected
> > > usb 1-2: new full speed USB device using address 2
> > > hub 1-2:1.0: USB hub found
> > > hub 1-2:1.0: 4 ports detected
> > > usb 1-3: new full speed USB device using address 3
> > > drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if
> > 0
> > > alt 0 proto 2 vid 0x03F0 pid 0x8204
> > > usb 1-2.3: new full speed USB device using address 4
> > > ohci_hcd 0000:00:01.2: remove, state 1
> > > usb usb1: USB disconnect, address 1
> > > usb 1-2: USB disconnect, address 2
> > > usb 1-2.3: USB disconnect, address 4
> > > usb 1-3: USB disconnect, address 3
> > > drivers/usb/class/usblp.c: usblp0: removed
> > > ohci_hcd 0000:00:01.2: USB bus 1 deregistered
> > > ohci_hcd 0000:00:01.3: remove, state 1
> > > usb usb2: USB disconnect, address 1
> > > ohci_hcd 0000:00:01.3: USB bus 2 deregistered
> > 
> > I thought this would suggest that kudzu is responsible for the seemingly
> > mysterious immediate removal of ohci_hcd.
> 
> Probably yes.  Although it might just possibly be the fault of some other
> program.
> 
> > If I do "modprobe ohci_hcd" from the command line, lsusb gives me :
> > 
> > Bus 002 Device 001: ID 0000:0000
> > Bus 001 Device 001: ID 0000:0000
> > 
> > but nothing else.
> 
> What shows up in the system log when you do the modprobe manually?
> 
> Alan Stern
> 

This:
PCI: Found IRQ 11 for device 0000:00:01.2
PCI: Sharing IRQ 11 with 0000:00:01.3
ohci_hcd 0000:00:01.2: OHCI Host Controller
ohci_hcd 0000:00:01.2: irq 11, pci mem 11928000
ohci_hcd 0000:00:01.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
PCI: Found IRQ 11 for device 0000:00:01.3
PCI: Sharing IRQ 11 with 0000:00:01.2
ohci_hcd 0000:00:01.3: OHCI Host Controller
ohci_hcd 0000:00:01.3: irq 11, pci mem 1192a000
ohci_hcd 0000:00:01.3: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
usb 1-2: new full speed USB device using address 2
hub 1-2:1.0: USB hub found
hub 1-2:1.0: 4 ports detected
usb 1-3: new full speed USB device using address 3
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0
alt 0 proto 2 vid 0x03F0 pid 0x8204
usb 1-2.3: new full speed USB device using address 4


After a bit of rummaging and playing I've come up with a solution that
I'm happy with because I can scan and print again. OTOH I'm not happy
because it's a bit of a hack and my SmartCard reader still isn't
accessible.

The hack is to make sure the USB stuff's plugged in and do 'modprobe
ohci_hcd' in rc.local.

Thanks for your help so far.

Malcolm



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to