On Sat, 5 Nov 2005, Charles Shannon Hendrix wrote:

> OK, syslog configuration issue.  I have it working now.
> 
> I rebuilt my kernel to have usbcore as a module, so I could try the old
> method parameter.
> 
> Some things have changed, and I have a small amount of additional
> information.
> 
> If I do a plug-unplug cycle on my flash drive, this is what shows up in
> /var/log/debug:
> 
> Nov  5 12:55:08 daydream kernel: hub 1-0:1.0: state 5 ports 8 chg 0000 evt 
> 0020
> Nov  5 12:55:08 daydream kernel: ehci_hcd 0000:00:10.4: GetStatus port 5 
> status 001803 POWER sig=j CSC CONNECT
> Nov  5 12:55:08 daydream kernel: hub 1-0:1.0: port 5, status 0501, change 
> 0001, 480 Mb/s
> Nov  5 12:55:08 daydream kernel: hub 1-0:1.0: debounce: port 5: total 100ms 
> stable 100ms status 0x501
> Nov  5 12:55:08 daydream kernel: ehci_hcd 0000:00:10.4: GetStatus port 5 
> status 001802 POWER sig=j CSC
> Nov  5 12:55:15 daydream kernel: hub 1-0:1.0: state 5 ports 8 chg 0000 evt 
> 0020
> Nov  5 12:55:15 daydream kernel: ehci_hcd 0000:00:10.4: GetStatus port 5 
> status 001002 POWER sig=se0 CSC
> Nov  5 12:55:15 daydream kernel: hub 1-0:1.0: port 5, status 0100, change 
> 0001, 12 Mb/s
> Nov  5 12:55:15 daydream kernel: hub 1-0:1.0: debounce: port 5: total 100ms 
> stable 100ms status 0x100

You still have a syslog configuration problem.  You're sending the
debug-level messages to /var/log/debug and everything else to
/var/log/syslog, or something like that?  Better to send all system
messages, regardless of level, to the same file.

Alternatively, use dmesg to read the system log.

> Trying other ports generates the same text with only the hub/port
> numbers changing.
> 
> Interestingly, now if I plug in my iPod, there is no reaction from the
> kernel at all. No interrupts generated either.

That means the iPod is not making an electrical connection to the USB bus.

> I have noticed that ndiswrapper is dependent on usbcore:
> 
> % lsmod | grep usbcore
> usbcore               120832  4 ndiswrapper,uhci_hcd,ehci_hcd
> 
> Removing ndiswrapper has no effect.  
> 
> I cannot seem to remove usbcore once it is loaded.  lsmod shows it still
> has an unnamed dependency when all dependencies I know of are removed.
> 
> % lsmod | grep usbcore
> usbcore               120832  1
> % rmmod usbcore
> ERROR: Module usbcore is in use 

Probably the unnamed dependency is /proc/bus/usb.  When that directory is 
mounted, it depends on usbcore.

> After this, I rebooted to Windows and *BSD, and everything works fine
> there still.
> 
> I have tried various combinations of ACPI_ASIC and ACPI_2.0 in the BIOS
> with no change in results.

A unified system log with debugging enabled may provide more information.

Alan Stern



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to