Hi, On Fri, Feb 26, 2010 at 10:32:32AM -0500, Forest Bond wrote: > Hi, > > On Fri, Feb 26, 2010 at 10:20:27AM -0500, Forest Bond wrote: > > On Wed, Feb 24, 2010 at 06:35:49PM +0100, Oliver Neukum wrote: > > > Am Mittwoch, 24. Februar 2010 18:20:08 schrieb Forest Bond: > > > > lsusb-premodeswitch.log > > > > > > > > lsusb-postmodeswitch.log > > > > > > OK, can you please unload usb_storage after you switch the mode? > > > Does it still reset? > > > > Okay, I had to manually unbind usb_storage from the device first (using > > instructions at http://lwn.net/Articles/143397/). Unloading usb_storage after > > switching modes does seem to fix the problem. > > Actually, I need to test some more. It seems like unbinding and unloading > usb-storage may cause the device to stop getting a PPP connection. > > I'll try a few more things and let you know what I find. After some more testing, I believe this problem is independent of unloading usb-storage. Unbinding and unloading usb-storage does seem to fix my original problem. However, some issues remain. First, sometimes the device appears to be functioning well but I never get a connection, I just keep getting "no carrier". This may be some sort of network issue. More importantly, often when I connect the device, I get errors like the following: [10000.119247] usb 5-1: new high speed USB device using ehci_hcd and address 38 [10015.216327] usb 5-1: device descriptor read/64, error -110 [10030.425797] usb 5-1: device descriptor read/64, error -110 [10030.645578] usb 5-1: new high speed USB device using ehci_hcd and address 39 [10045.738175] usb 5-1: device descriptor read/64, error -110 [10060.943149] usb 5-1: device descriptor read/64, error -110 [10061.158933] usb 5-1: new high speed USB device using ehci_hcd and address 40 [10071.552661] usb 5-1: device not accepting address 40, error -110 [10071.668556] usb 5-1: new high speed USB device using ehci_hcd and address 41 [10082.062778] usb 5-1: device not accepting address 41, error -110 Sometimes things don't work out so well and the device seems to power off before a driver can bind to it. [10000.119247] usb 5-1: new high speed USB device using ehci_hcd and address 38 [10015.216327] usb 5-1: device descriptor read/64, error -110 [10030.425797] usb 5-1: device descriptor read/64, error -110 [10030.645578] usb 5-1: new high speed USB device using ehci_hcd and address 39 [10045.738175] usb 5-1: device descriptor read/64, error -110 [10060.943149] usb 5-1: device descriptor read/64, error -110 [10061.158933] usb 5-1: new high speed USB device using ehci_hcd and address 40 [10071.552661] usb 5-1: device not accepting address 40, error -110 [10071.668556] usb 5-1: new high speed USB device using ehci_hcd and address 41 [10082.062778] usb 5-1: device not accepting address 41, error -110 [10082.302553] usb 5-4: new high speed USB device using ehci_hcd and address 42 [10082.438651] usb 5-4: configuration #1 chosen from 1 choice [10082.438751] hub 5-4:1.0: USB hub found [10082.438830] hub 5-4:1.0: 4 ports detected [10082.749675] usb 5-4.2: new full speed USB device using ehci_hcd and address 43 [10082.825605] usb 5-4.2: device descriptor read/64, error -32 [10083.005437] usb 5-4.2: device descriptor read/64, error -32 [10083.189263] usb 5-4.2: new full speed USB device using ehci_hcd and address 44 [10083.265187] usb 5-4.2: device descriptor read/64, error -32 [10083.437030] usb 5-4.2: device descriptor read/64, error -32 [10083.620856] usb 5-4.2: new full speed USB device using ehci_hcd and address 45 [10084.032331] usb 5-4.2: device not accepting address 45, error -32 [10084.109148] usb 5-4.2: new full speed USB device using ehci_hcd and address 46 [10084.519859] usb 5-4.2: device not accepting address 46, error -32 Sometimes, things work out and the device comes up: [10205.264975] usb 5-1: new high speed USB device using ehci_hcd and address 47 [10220.366068] usb 5-1: device descriptor read/64, error -110 [10235.567032] usb 5-1: device descriptor read/64, error -110 [10235.782821] usb 5-1: new high speed USB device using ehci_hcd and address 48 [10250.880409] usb 5-1: device descriptor read/64, error -110 [10266.081391] usb 5-1: device descriptor read/64, error -110 [10266.296699] usb 5-1: new high speed USB device using ehci_hcd and address 49 [10276.694397] usb 5-1: device not accepting address 49, error -110 [10276.806303] usb 5-1: new high speed USB device using ehci_hcd and address 50 [10287.212005] usb 5-1: device not accepting address 50, error -110 [10287.212050] usb 5-4: USB disconnect, address 42 [10287.459781] usb 5-4: new high speed USB device using ehci_hcd and address 51 [10287.592426] usb 5-4: configuration #1 chosen from 1 choice [10287.592532] hub 5-4:1.0: USB hub found [10287.592611] hub 5-4:1.0: 4 ports detected [10287.895467] usb 5-4.2: new full speed USB device using ehci_hcd and address 52 [10287.971393] usb 5-4.2: device descriptor read/64, error -32 [10288.151224] usb 5-4.2: device descriptor read/64, error -32 [10288.323067] usb 5-4.2: new full speed USB device using ehci_hcd and address 53 [10288.398990] usb 5-4.2: device descriptor read/64, error -32 [10288.574695] usb 5-4.2: device descriptor read/64, error -32 [10288.750530] usb 5-4.2: new full speed USB device using ehci_hcd and address 54 [10289.162082] usb 5-4.2: device not accepting address 54, error -32 [10289.234077] usb 5-4.2: new full speed USB device using ehci_hcd and address 55 [10289.457068] usb 5-4.2: configuration #1 chosen from 1 choice [10289.738928] usbcore: registered new interface driver libusual [10289.783668] Initializing USB Mass Storage driver... [10289.783937] scsi12 : SCSI emulation for USB Mass Storage devices [10289.784098] usb-storage: device found at 55 [10289.784106] usb-storage: waiting for device to settle before scanning [10289.784114] usbcore: registered new interface driver usb-storage [10289.784123] USB Mass Storage support registered. [10294.777818] usb-storage: device scan complete [10294.779659] scsi 12:0:0:0: CD-ROM CMOTECH Mass Storage 2.31 PQ: 0 ANSI: 6 [10294.785801] sr0: scsi3-mmc drive: 87x/44x dvd-ram cd/rw caddy [10294.785918] sr 12:0:0:0: Attached scsi CD-ROM sr0 [10294.786025] sr 12:0:0:0: Attached scsi generic sg1 type 5 [10295.080340] usb 5-4.2: reset full speed USB device using ehci_hcd and address 55 [10295.100942] usb 5-4.2: USB disconnect, address 55 [10299.268657] usb 5-4.2: new full speed USB device using ehci_hcd and address 57 [10299.367035] usb 5-4.2: configuration #1 chosen from 1 choice [10299.367887] cdc_acm 5-4.2:1.0: ttyACM0: USB ACM device [10299.370861] scsi13 : SCSI emulation for USB Mass Storage devices [10299.371009] usb-storage: device found at 57 [10299.371017] usb-storage: waiting for device to settle before scanning [10304.364444] usb-storage: device scan complete [10304.366517] scsi 13:0:0:0: CD-ROM CMOTECH Mass Storage 2.31 PQ: 0 ANSI: 6 [10304.373506] sr0: scsi3-mmc drive: 87x/44x dvd-ram cd/rw caddy [10304.373650] sr 13:0:0:0: Attached scsi CD-ROM sr0 [10304.373771] sr 13:0:0:0: Attached scsi generic sg1 type 5 [10304.665213] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10304.838666] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10305.014498] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10305.186338] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10305.358176] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10305.530013] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10305.671261] sr0: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00 [10305.671283] sr: Sense Key : No Sense [current] [10305.671289] sr: Add. Sense: No additional sense information [10366.082730] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10366.109453] /build/buildd/linux-2.6.24/drivers/usb/class/cdc-acm.c: acm_ctrl_irq - usb_submit_urb failed with result -19 [10366.225980] sr0: CDROM (ioctl) error, command: Get configuration 46 00 00 00 00 00 00 00 20 00 [10366.226001] sr: Sense Key : No Sense [current] [10366.226007] sr: Add. Sense: No additional sense information [10426.642818] usb 5-4.2: reset full speed USB device using ehci_hcd and address 57 [10742.544533] usbcore: deregistering interface driver usb-storage [10742.549462] usbcore: deregistering interface driver libusual Any ideas on these issues? Thanks, Forest -- Forest Bond http://www.alittletooquiet.net http://www.pytagsfs.org
Attachment:
signature.asc
Description: Digital signature