On Wed, 15 Sep 2004, Ramakrishnan Muthukrishnan wrote:

> Hello
> 
> I recently had access to Samsung Digimax 200 digital camera, when I
> tried to plug it onto my Debian GNU/Linux box running kernel v2.6.7, I
> get the following messages on /var/log/syslog
> 
> usb-storage gets loaded, but there seem to be some issue. I am also
> running udev and hotplug. I also tried using it on a stock 2.4 kernel,
> with similar results. A quick websearch reveals that gphoto2 and other
> applications do not list this camera as supported one. I am interested
> to add support for this camera and make driver changes if needed.
> Please let me know how to decipher the problems from the logs.
> 
> Thanks
> Ramakrishnan
> 
> from logs:

> Sep  6 13:16:24 astra kernel: usb-storage: Attempting to get CSW...
> Sep  6 13:16:24 astra kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
> Sep  6 13:16:24 astra kernel: usb-storage: Status code 0; transferred 13/13
> Sep  6 13:16:24 astra kernel: usb-storage: -- transfer complete
> Sep  6 13:16:24 astra kernel: usb-storage: Bulk status result = 0
> Sep  6 13:16:24 astra kernel: usb-storage: Bulk Status S 0x53425300 T 0x1ed R 0 Stat 
> 0x0
> Sep  6 13:16:24 astra kernel: usb-storage: Bulk logical error

Your device is broken -- or deliberately misdesigned.  The Bulk Status
Signature valeu (S above) is supposed to be 0x53425355, not 0x53425300.  
Since the device transmits an incorrect signature, the usb-storage driver
has no choice but to conclude that it isn't working.

On the other hand, there already is an exception in the driver for Olympus
Camedia cameras, which also send an incorrect signature.  Perhaps Matt
Dharm, the usb-storage maintainer, will allow a similar exception for the
Samsung Digimax.

If you're interested in submitting a patch you should work on the latest 
kernel version, 2.6.9-rc2, not 2.6.7.  The code you would need to change 
is in drivers/usb/storage/transport.c, in the usb_stor_Bulk_transport() 
routine.  Look for OLYMPUS_SIGN in the source code; that's where you would 
need to add your change.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to