Re: USB storage: error connecting to phone's storage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Will do usbmon in a bit.  Updating kernels first...

Fedora kernel 2.6.32.9 waits for the device to settle, which it never does:

usb 4-2: new full speed USB device using uhci_hcd and address 4
usb 4-2: New USB device found, idVendor=04e8, idProduct=6640
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-2: Product: SAMSUNG CDMA Technologies
usb 4-2: Manufacturer: SAMSUNG Electronics Bo.,Ltd.
usb 4-2: configuration #1 chosen from 1 choice
cdc_acm 4-2:1.0: ttyACM0: USB ACM device
usb 4-2: USB disconnect, address 4
usb 4-2: new full speed USB device using uhci_hcd and address 5
usb 4-2: New USB device found, idVendor=05c6, idProduct=1000
usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 4-2: Product: USB MMC Storage
usb 4-2: Manufacturer: Qualcomm, Incorporated
usb 4-2: SerialNumber: 000000000002
usb 4-2: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning

Vanilla kernel 2.6.33 yields:

hub 4-0:1.0: over-current change on port 7
usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: New USB device found, idVendor=04e8, idProduct=6640
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: SAMSUNG CDMA Technologies
usb 3-2: Manufacturer: SAMSUNG Electronics Bo.,Ltd.
cdc_acm 3-2:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usb 3-2: USB disconnect, address 2
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: New USB device found, idVendor=05c6, idProduct=1000
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: USB MMC Storage
usb 3-2: Manufacturer: Qualcomm, Incorporated
usb 3-2: SerialNumber: 000000000002
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.

Vanilla kernel 2.6.33 with usb_storage unloaded, then reloaded with optional_zero_cd=2 yields:

usb-storage: usb_stor_exit() called
usb-storage: -- calling usb_deregister()
usbcore: deregistering interface driver usb-storage
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 3-2: new full speed USB device using uhci_hcd and address 4
usb 3-2: New USB device found, idVendor=04e8, idProduct=6640
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: SAMSUNG CDMA Technologies
usb 3-2: Manufacturer: SAMSUNG Electronics Bo.,Ltd.
cdc_acm 3-2:1.0: ttyACM0: USB ACM device
usb 3-2: USB disconnect, address 4
usb 3-2: new full speed USB device using uhci_hcd and address 5
usb 3-2: New USB device found, idVendor=05c6, idProduct=1000
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: USB MMC Storage
usb 3-2: Manufacturer: Qualcomm, Incorporated
usb 3-2: SerialNumber: 000000000002
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x05c6, Product: 0x1000, Revision: 0x0000
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: Option MS: option_ms_init called
usb-storage: Option MS: device inquiry for vendor name
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
usb-storage: Status code 0; transferred 36/36
usb-storage: -- transfer complete
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Option MS: vendor is not Option or not determinable, no action taken
scsi6 : usb-storage 3-2:1.0
usb-storage: *** thread sleeping.
usb-storage 3-2:1.0: device found
usb-storage 3-2:1.0: waiting for device to settle before scanning
usb-storage: storage_disconnect() called
usb-storage: -- usb_stor_release_resources
usb-storage: -- sending exit command to thread
usb-storage: *** thread awakened.
usb-storage: -- exiting
usb-storage: -- dissociate_dev

Latest upstream vanilla kernel, 2.6.34-rc1-git, yields:

hub 4-0:1.0: over-current change on port 7
usb 3-2: new full speed USB device using uhci_hcd and address 2
usb 3-2: New USB device found, idVendor=04e8, idProduct=6640
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 3-2: Product: SAMSUNG CDMA Technologies
usb 3-2: Manufacturer: SAMSUNG Electronics Bo.,Ltd.
cdc_acm 3-2:1.0: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
usb 3-2: USB disconnect, address 2
usb 3-2: new full speed USB device using uhci_hcd and address 3
usb 3-2: New USB device found, idVendor=05c6, idProduct=1000
usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 3-2: Product: USB MMC Storage
usb 3-2: Manufacturer: Qualcomm, Incorporated
usb 3-2: SerialNumber: 000000000002
Initializing USB Mass Storage driver...
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x05c6, Product: 0x1000, Revision: 0x0000
usb-storage: Interface Subclass: 0x06, Protocol: 0x50
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: Option MS: option_ms_init called
usb-storage: Option MS: device inquiry for vendor name
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
usb-storage: Status code 0; transferred 36/36
usb-storage: -- transfer complete
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Option MS: vendor is not Option or not determinable, no action taken
scsi6 : usb-storage 3-2:1.0
usb-storage: *** thread sleeping.
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage 3-2:1.0: device found
usb-storage 3-2:1.0: waiting for device to settle before scanning
usb-storage: storage_disconnect() called
usb-storage: -- usb_stor_release_resources
usb-storage: -- sending exit command to thread
usb-storage: *** thread awakened.
usb-storage: -- exiting
usb-storage: -- dissociate_dev
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux