Hi Alan,

I tried, but it's still not working. I got the camera to work now in PTP mode using gphoto2, so there's a way to get to the pictures.

Thanks for your help again,

Boris

P.S.: dmesg now says this:


usb 4-3: new high speed USB device using ehci_hcd and address 4
Initializing USB Mass Storage driver...
usb-storage: USB Mass Storage device detected
usb-storage: -- associate_dev
usb-storage: Vendor: 0x054c, Product: 0x0010, Revision: 0x0600
usb-storage: Interface Subclass: 0xff, Protocol: 0x01
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage:  12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_sglist: xfer 36 bytes, 1 entries
usb-storage: command_abort called
usb-storage: usb_stor_stop_transport called
usb-storage: -- cancelling sg request
usb-storage: Status code -104; transferred 0/36
usb-storage: -- transfer cancelled
usb-storage: Bulk data transfer result 0x4
usb-storage: -- command was aborted
usb 4-3: reset high speed USB device using ehci_hcd and address 4
usb-storage: usb_reset_device returns 0
usb-storage: scsi command aborted
usb-storage: *** thread sleeping.
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command TEST_UNIT_READY (6 bytes)
usb-storage:  00 00 00 00 00 00
usb-storage: Bulk Command S 0x43425355 T 0x2 L 0 F 0 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes


Alan Stern wrote:
On Mon, 9 Jan 2006, Boris Lau wrote:


Hi Pete,

well, without that patch nothing happens at all. The usb device is detected, but the mass storage driver doesn't do anything. I guess that camera requires some sort of patch in unusual_devs.


Maybe this patch will work better.  It's just a shot in the dark.

If this doesn't work, your best chance of solving out the problem is to
use a USB sniffer program like USB-Snoopy (from Sourceforge) to see how
Windows talks to the camera.

Alan Stern



Index: usb-2.6/drivers/usb/storage/unusual_devs.h
===================================================================
--- usb-2.6.orig/drivers/usb/storage/unusual_devs.h
+++ usb-2.6/drivers/usb/storage/unusual_devs.h
@@ -430,6 +430,12 @@ UNUSUAL_DEV(  0x054c, 0x0010, 0x0500, 0x
                US_SC_8070, US_PR_DEVICE, NULL,
                US_FL_SINGLE_LUN ),
+/* Reported by Boris Lau <[EMAIL PROTECTED]> */ +UNUSUAL_DEV( 0x054c, 0x0010, 0x0600, 0x0600, + "Sony", + "DSC", + US_SC_SCSI, US_PR_BULK, NULL,
+               US_FL_SINGLE_LUN | US_FL_NOT_LOCKABLE | US_FL_NO_WP_DETECT ),
/* Reported by [EMAIL PROTECTED] */ UNUSUAL_DEV( 0x054c, 0x0025, 0x0100, 0x0100,


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to