Alan Stern <[EMAIL PROTECTED]> writes: > On Thu, 18 Mar 2004, Sean Neakums wrote: > >> On one machine (a Dell Inspiron 4100 laptop), with 2.6.5-rc1-mm2 and >> 2.6.5-rc1-mm1, but not with 2.6.5-rc1, gphoto2 hangs trying to talk to >> my camera: >> >> $ ps -C gphoto2 -o comm,s,wchan >> COMMAND S WCHAN >> gphoto2 D usb_disable_device >> >> However, I was able to connect, mount and perform large transfers to a >> USB Storage device without any problems, although the device still >> shows up in lsusb after it is umounted and disconnected, and plugging >> in the camera has no effect, which is how I first noticed this problem. > > Can you turn on USB debugging in the kernel configuration for your laptop > and post the dmesg output you get when: connecting, running gphoto2, > disconnecting, and reconnecting?
Here are the results with 2.6.5-rc1-mm2 on the laptop: Plug in: Mar 19 17:02:55 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:02:55 revox kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 0083 Mar 19 17:02:55 revox kernel: hub 1-0:1.0: port 1, status 101, change 1, 12 Mb/s Mar 19 17:02:55 revox kernel: hub 1-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101 Mar 19 17:02:56 revox kernel: usb 1-1: new full speed USB device using address 2 Mar 19 17:02:56 revox kernel: usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0 Mar 19 17:02:56 revox kernel: drivers/usb/core/message.c: USB device number 2 default language ID 0x409 Mar 19 17:02:56 revox kernel: usb 1-1: Product: PowerShot A40 Mar 19 17:02:56 revox kernel: usb 1-1: Manufacturer: Canon Inc. Mar 19 17:02:56 revox kernel: drivers/usb/core/usb.c: usb_hotplug Mar 19 17:02:56 revox kernel: usb 1-1: registering 1-1:1.0 (config #1, interface 0) Mar 19 17:02:56 revox kernel: drivers/usb/core/usb.c: usb_hotplug Run gphoto2 (which hangs): Mar 19 17:03:14 revox kernel: usb 1-1: usb_disable_device nuking non-ep0 URBs Mar 19 17:03:14 revox kernel: usb 1-1: unregistering interface 1-1:1.0 Mar 19 17:03:14 revox kernel: drivers/usb/core/usb.c: usb_hotplug Disconnect: Mar 19 17:03:27 revox kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 008a Mar 19 17:03:27 revox kernel: hub 1-0:1.0: port 1, status 100, change 3, 12 Mb/s Mar 19 17:03:28 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:28 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:30 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:31 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:33 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:33 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:35 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:35 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:38 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:38 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:40 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:40 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:42 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:43 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:45 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:45 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:47 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:47 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:50 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:50 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:52 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:52 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:03:54 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:03:55 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Reconnect: Disconnect: Mar 19 17:04:11 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:11 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:14 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:14 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:16 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:16 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:18 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:19 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:21 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:21 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:23 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:23 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Reconnect: Disconnect: Mar 19 17:04:43 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:43 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:45 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:45 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc Mar 19 17:04:47 revox kernel: uhci_hcd 0000:00:1d.0: suspend_hc Mar 19 17:04:48 revox kernel: uhci_hcd 0000:00:1d.0: wakeup_hc The suspend_hc/wakeup_hc messages appear to stream indefinitely unless I plug the camera back in. ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel