usb-storage doesn't recognize a Sony DSC-P92
Hi!
For over a year I've been using a DSC-P9 successfully under Linux. Now my mother-in-law got a P92, so I thought: "I simply hook it up, it will work the same way".
Not so.
USB and usb-storage modules are loaded, but where the P9 works, the P92 is not accessible. I think this may be due to a missing vendor/product entry.
When I hook it up on the USB port I get:
Jul 5 20:50:25 shawarma kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s Jul 5 20:50:25 shawarma kernel: hub.c: new USB device 00:07.2-1, assigned address 8 Jul 5 20:50:25 shawarma kernel: usb.c: kmalloc IF d4b04bc0, numif 1 Jul 5 20:50:25 shawarma kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0 Jul 5 20:50:25 shawarma kernel: usb.c: USB device number 8 default language ID 0x409 Jul 5 20:50:25 shawarma kernel: Manufacturer: Sony Jul 5 20:50:25 shawarma kernel: Product: Sony DSC Jul 5 20:50:25 shawarma kernel: usb.c: unhandled interfaces on device Jul 5 20:50:25 shawarma kernel: usb.c: USB device 8 (vend/prod 0x54c/0x10) is not claimed by any active driver. Jul 5 20:50:25 shawarma kernel: Length = 18 Jul 5 20:50:25 shawarma kernel: DescriptorType = 01 Jul 5 20:50:25 shawarma kernel: USB version = 1.10 Jul 5 20:50:25 shawarma kernel: Vendor:Product = 054c:0010 Jul 5 20:50:25 shawarma kernel: MaxPacketSize0 = 8 Jul 5 20:50:25 shawarma kernel: NumConfigurations = 1 Jul 5 20:50:25 shawarma kernel: Device version = 4.50 Jul 5 20:50:25 shawarma kernel: Device Class:SubClass:Protocol = 00:00:00 Jul 5 20:50:25 shawarma kernel: Per-interface classes Jul 5 20:50:25 shawarma kernel: Configuration: Jul 5 20:50:25 shawarma kernel: bLength = 9 Jul 5 20:50:25 shawarma kernel: bDescriptorType = 02 Jul 5 20:50:25 shawarma kernel: wTotalLength = 0027 Jul 5 20:50:25 shawarma kernel: bNumInterfaces = 01 Jul 5 20:50:25 shawarma kernel: bConfigurationValue = 01 Jul 5 20:50:25 shawarma kernel: iConfiguration = 00 Jul 5 20:50:25 shawarma kernel: bmAttributes = c0 Jul 5 20:50:25 shawarma kernel: MaxPower = 2mA Jul 5 20:50:25 shawarma kernel: Jul 5 20:50:25 shawarma kernel: Interface: 0 Jul 5 20:50:25 shawarma kernel: Alternate Setting: 0 Jul 5 20:50:26 shawarma kernel: bLength = 9 Jul 5 20:50:26 shawarma kernel: bDescriptorType = 04 Jul 5 20:50:26 shawarma kernel: bInterfaceNumber = 00 Jul 5 20:50:26 shawarma kernel: bAlternateSetting = 00 Jul 5 20:50:26 shawarma kernel: bNumEndpoints = 03 Jul 5 20:50:26 shawarma kernel: bInterface Class:SubClass:Protocol = 08:ff:01 Jul 5 20:50:26 shawarma kernel: iInterface = 00 Jul 5 20:50:26 shawarma kernel: Endpoint: Jul 5 20:50:26 shawarma kernel: bLength = 7 Jul 5 20:50:26 shawarma kernel: bDescriptorType = 05 Jul 5 20:50:26 shawarma kernel: bEndpointAddress = 01 (out) Jul 5 20:50:26 shawarma kernel: bmAttributes = 02 (Bulk) Jul 5 20:50:26 shawarma kernel: wMaxPacketSize = 0040 Jul 5 20:50:26 shawarma kernel: bInterval = 00 Jul 5 20:50:26 shawarma kernel: Endpoint: Jul 5 20:50:26 shawarma kernel: bLength = 7 Jul 5 20:50:26 shawarma kernel: bDescriptorType = 05 Jul 5 20:50:26 shawarma kernel: bEndpointAddress = 82 (in) Jul 5 20:50:26 shawarma kernel: bmAttributes = 02 (Bulk) Jul 5 20:50:26 shawarma kernel: wMaxPacketSize = 0040 Jul 5 20:50:26 shawarma kernel: bInterval = 00 Jul 5 20:50:26 shawarma kernel: Endpoint: Jul 5 20:50:26 shawarma kernel: bLength = 7 Jul 5 20:50:26 shawarma kernel: bDescriptorType = 05 Jul 5 20:50:26 shawarma kernel: bEndpointAddress = 83 (in) Jul 5 20:50:26 shawarma kernel: bmAttributes = 03 (Interrupt) Jul 5 20:50:26 shawarma kernel: wMaxPacketSize = 0008 Jul 5 20:50:26 shawarma kernel: bInterval = ff Jul 5 20:50:26 shawarma kernel: usb.c: kusbd: /sbin/hotplug add 8 Jul 5 20:50:26 shawarma kernel: hub.c: port 2, portstatus 300, change 0, 1.5 Mb/s Jul 5 20:57:02 shawarma kernel: uhci.c: root-hub INT complete: port1: 48a port2: 580 data: 2 Jul 5 20:57:02 shawarma kernel: uhci.c: d400: suspend_hc Jul 5 20:57:02 shawarma kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s Jul 5 20:57:02 shawarma kernel: hub.c: port 1 connection change Jul 5 20:57:02 shawarma kernel: hub.c: port 1, portstatus 100, change 3, 12 Mb/s Jul 5 20:57:02 shawarma kernel: usb.c: USB disconnect on device 00:07.2-1 address 8 Jul 5 20:57:02 shawarma kernel: usb.c: kusbd: /sbin/hotplug remove 8
and the device cannot be mounted using
mount -t vfat /dev/sda1 /camera
Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected] Charite Campus Mitte Tel. +49 (0)30-450 570-155 Referat V a - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 AIM: ralfpostfix
Quoted 7 lines · Ralf Hildebrandt
Hi!
For over a year I've been using a DSC-P9 successfully under Linux. Now my mother-in-law got a P92, so I thought: "I simply hook it up, it will work the same way".
Not so.
What kernel are you using?
If it doesn't work in the latest 2.4.22-pre3 kernel, please let us know.
thanks,
greg k-h
* Greg KH <[email protected]>:
Quoted 10 lines · Ralf Hildebrandt
Quoted 7 lines
Hi!
For over a year I've been using a DSC-P9 successfully under Linux. Now my mother-in-law got a P92, so I thought: "I simply hook it up, it will work the same way".
Not so.
What kernel are you using?
2.4.21-ac4
Quoted 1 line
If it doesn't work in the latest 2.4.22-pre3 kernel, please let us know.
I'll try that.
Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected] Charite Campus Mitte Tel. +49 (0)30-450 570-155 Referat V a - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 AIM: ralfpostfix
* Ralf Hildebrandt <[email protected]>:
Quoted 7 lines
Quoted 1 line
What kernel are you using?
2.4.21-ac4
Quoted 1 line
If it doesn't work in the latest 2.4.22-pre3 kernel, please let us know.
I'll try that.
With 2.4.22-pre3 it works flawlessly. Well, almost. I can attach the camera, mount the camera as /dev/sda1 and read the data. Neat!
Upon umount, I got a message saying "host controller halted. very bad".
Quoted 1 line
From the kern.log:
Jul 6 13:09:53 hummus kernel: usb-storage: storage_disconnect() called Jul 6 13:09:53 hummus kernel: usb-storage: -- releasing main URB Jul 6 13:09:53 hummus kernel: usb-storage: -- usb_unlink_urb() returned -19 Jul 6 13:09:53 hummus kernel: usb.c: kusbd: /sbin/hotplug remove 2 Jul 6 13:09:53 hummus kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s Jul 6 13:09:54 hummus kernel: uhci.c: root-hub INT complete: port1: 88 port2: 80 data: 2 Jul 6 13:09:54 hummus kernel: uhci.c: ffe0: suspend_hc Jul 6 13:09:54 hummus kernel: uhci.c: ffe0: host controller halted. very bad Jul 6 13:09:54 hummus kernel: uhci.c: ffe0: wakeup_hc Jul 6 13:09:54 hummus kernel: hub.c: port 1, portstatus 100, change 2, 12 Mb/s Jul 6 13:09:54 hummus kernel: hub.c: port 1 enable change, status 100 Jul 6 13:09:54 hummus kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected] Charite Campus Mitte Tel. +49 (0)30-450 570-155 Referat V a - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 AIM: ralfpostfix
* Ralf Hildebrandt <[email protected]>:
Quoted 4 lines
With 2.4.22-pre3 it works flawlessly. Well, almost. I can attach the camera, mount the camera as
/dev/sda1and read the data. Neat!Upon umount, I got a message saying "host controller halted. very bad".
Uh, and the downside: My own DSC-P9 cannot bee mounted anymore. With 2.4.22-pre3 I get upon plugging it in:
Jul 6 18:05:09 hummus kernel: uhci.c: root-hub INT complete: port1: 93 port2: 80 data: 2 Jul 6 18:05:09 hummus kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Jul 6 18:05:09 hummus kernel: hub.c: port 1 connection change Jul 6 18:05:09 hummus kernel: hub.c: port 1, portstatus 101, change 1, 12 Mb/s Jul 6 18:05:09 hummus kernel: hub.c: port 1, portstatus 101, change 0, 12 Mb/s Jul 6 18:05:09 hummus last message repeated 3 times Jul 6 18:05:09 hummus kernel: hub.c: port 1, portstatus 103, change 0, 12 Mb/s Jul 6 18:05:09 hummus kernel: hub.c: new USB device 00:05.2-1, assigned address 7 Jul 6 18:05:09 hummus kernel: usb.c: kmalloc IF c32f14e0, numif 1 Jul 6 18:05:09 hummus kernel: usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0 Jul 6 18:05:09 hummus kernel: usb.c: USB device number 7 default language ID 0x409 Jul 6 18:05:09 hummus kernel: Manufacturer: Sony Jul 6 18:05:09 hummus kernel: Product: Sony DSC Jul 6 18:05:09 hummus kernel: usb-storage: act_altsettting is 0 Jul 6 18:05:09 hummus kernel: usb-storage: id_index calculated to be: 30 Jul 6 18:05:09 hummus kernel: usb-storage: Array length appears to be: 106 Jul 6 18:05:09 hummus kernel: usb-storage: Vendor: Sony Jul 6 18:05:09 hummus kernel: usb-storage: Product: DSC-S30/S70/S75/505V/F505/F707/F717/P8 Jul 6 18:05:09 hummus kernel: usb-storage: USB Mass Storage device detected Jul 6 18:05:09 hummus kernel: usb-storage: Endpoints: In: 0xc3aa16b4 Out: 0xc3aa16a0 Int: 0xc3aa16c8 (Period 255) Jul 6 18:05:09 hummus kernel: usb-storage: Found existing GUID 054c00100000000000000000 Jul 6 18:05:09 hummus kernel: WARNING: USB Mass Storage data integrity not assured Jul 6 18:05:09 hummus kernel: USB Mass Storage device found at 7 Jul 6 18:05:09 hummus kernel: usb.c: usb-storage driver claimed interface c32f14e0 Jul 6 18:05:09 hummus kernel: usb.c: kusbd: /sbin/hotplug add 7 Jul 6 18:05:09 hummus kernel: hub.c: port 2, portstatus 100, change 0, 12 Mb/s
and then:
# mount /camera
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systemsWhich is reflected in the log as:
Jul 6 18:06:14 hummus kernel: usb-storage: queuecommand() called Jul 6 18:06:14 hummus kernel: usb-storage: *** thread awakened. Jul 6 18:06:14 hummus kernel: usb-storage: Command TEST_UNIT_READY (6 bytes) Jul 6 18:06:14 hummus kernel: usb-storage: 00 00 00 00 00 00 0e 00 02 00 00 00 Jul 6 18:06:14 hummus kernel: usb-storage: Invoking Mode Translation Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: -- CB transport device requiring auto-sense Jul 6 18:06:14 hummus kernel: usb-storage: Issuing auto-REQUEST_SENSE Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): xfer 18 bytes Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jul 6 18:06:14 hummus kernel: usb-storage: CB data stage result is 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: -- Result from auto-sense is 0 Jul 6 18:06:14 hummus kernel: usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: No Sense: no additional sense information Jul 6 18:06:14 hummus kernel: usb-storage: scsi cmd done, result=0x0 Jul 6 18:06:14 hummus kernel: usb-storage: *** thread sleeping. Jul 6 18:06:14 hummus kernel: usb-storage: queuecommand() called Jul 6 18:06:14 hummus kernel: usb-storage: *** thread awakened. Jul 6 18:06:14 hummus kernel: usb-storage: Command TEST_UNIT_READY (6 bytes) Jul 6 18:06:14 hummus kernel: usb-storage: 00 00 00 00 00 00 00 00 00 00 00 00 Jul 6 18:06:14 hummus kernel: usb-storage: Invoking Mode Translation Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: -- CB transport device requiring auto-sense Jul 6 18:06:14 hummus kernel: usb-storage: Issuing auto-REQUEST_SENSE Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): xfer 18 bytes Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jul 6 18:06:14 hummus kernel: usb-storage: CB data stage result is 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: -- Result from auto-sense is 0 Jul 6 18:06:14 hummus kernel: usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: No Sense: no additional sense information Jul 6 18:06:14 hummus kernel: usb-storage: scsi cmd done, result=0x0 Jul 6 18:06:14 hummus kernel: usb-storage: *** thread sleeping. Jul 6 18:06:14 hummus kernel: usb-storage: queuecommand() called Jul 6 18:06:14 hummus kernel: usb-storage: *** thread awakened. Jul 6 18:06:14 hummus kernel: usb-storage: Command READ_10 (10 bytes) Jul 6 18:06:14 hummus kernel: usb-storage: 28 00 00 00 00 19 00 00 01 00 00 00 Jul 6 18:06:14 hummus kernel: usb-storage: Invoking Mode Translation Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 10 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): xfer 512 bytes Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 512/512 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jul 6 18:06:14 hummus kernel: usb-storage: CB data stage result is 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: -- CB transport device requiring auto-sense Jul 6 18:06:14 hummus kernel: usb-storage: Issuing auto-REQUEST_SENSE Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): xfer 18 bytes Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jul 6 18:06:14 hummus kernel: usb-storage: CB data stage result is 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: -- Result from auto-sense is 0 Jul 6 18:06:14 hummus kernel: usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: No Sense: no additional sense information Jul 6 18:06:14 hummus kernel: usb-storage: scsi cmd done, result=0x0 Jul 6 18:06:14 hummus kernel: usb-storage: *** thread sleeping. Jul 6 18:06:14 hummus kernel: FAT: bogus logical sector size 65535 Jul 6 18:06:14 hummus kernel: VFS: Can't find a valid FAT filesystem on dev 08:01. Jul 6 18:06:14 hummus kernel: usb-storage: queuecommand() called Jul 6 18:06:14 hummus kernel: usb-storage: *** thread awakened. Jul 6 18:06:14 hummus kernel: usb-storage: Command TEST_UNIT_READY (6 bytes) Jul 6 18:06:14 hummus kernel: usb-storage: 00 00 00 00 00 00 00 00 00 ef fa cb Jul 6 18:06:14 hummus kernel: usb-storage: Invoking Mode Translation Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: -- CB transport device requiring auto-sense Jul 6 18:06:14 hummus kernel: usb-storage: Issuing auto-REQUEST_SENSE Jul 6 18:06:14 hummus kernel: usb-storage: Call to usb_stor_control_msg() returned 6 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): xfer 18 bytes Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_bulk_msg() returned 0 xferred 18/18 Jul 6 18:06:14 hummus kernel: usb-storage: usb_stor_transfer_partial(): transfer complete Jul 6 18:06:14 hummus kernel: usb-storage: CB data stage result is 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: -- Result from auto-sense is 0 Jul 6 18:06:14 hummus kernel: usb-storage: -- code: 0x70, key: 0x0, ASC: 0x0, ASCQ: 0x0 Jul 6 18:06:14 hummus kernel: usb-storage: No Sense: no additional sense information Jul 6 18:06:14 hummus kernel: usb-storage: scsi cmd done, result=0x0 Jul 6 18:06:14 hummus kernel: usb-storage: *** thread sleeping.
Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a) [email protected] Charite Campus Mitte Tel. +49 (0)30-450 570-155 Referat V a - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 AIM: ralfpostfix