Hi all!

This little patch figured out by Stefan Brink enables the Digital Still
Image Camera "Traveler DC-4300" which is aka "Aldi" aka "Yakumo
Mega-Image 45". All share the same ID 0x784:0x4300.

This patch has been positively tested by three people.
See also <http://www.qbik.ch/usb/devices/showdev.php?id=1583>

Thanks for merging.


regards Kevin

--
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=214656
http://wwwkeys.pgp.net:11371/pks/lookup?op=vindex&search=0x7A56501D
ICQ # 75570407
--- linux-2.6.4/drivers/usb/storage/transport.h 2003-07-27 19:00:41.000000000 +0200
+++ linux-2.6.4-traveler/drivers/usb/storage/transport.h        2004-04-08 
13:31:35.000000000 +0200
@@ -109,6 +109,8 @@
 #define US_BULK_CS_SIGN                0x53425355      /* spells out 'USBS' */
 /* This is for Olympus Camedia digital cameras */
 #define US_BULK_CS_OLYMPUS_SIGN                0x55425355      /* spells out 'USBU' */
+/* This is for Traveler DC-4300 digital camera */
+#define US_BULK_CS_TRAVELER_SIGN       0x43425355      /* spells out 'USBC' */
 #define US_BULK_STAT_OK                0
 #define US_BULK_STAT_FAIL      1
 #define US_BULK_STAT_PHASE     2
--- linux-2.6.4/drivers/usb/storage/transport.c 2004-03-11 03:55:25.000000000 +0100
+++ linux-2.6.4-traveler/drivers/usb/storage/transport.c        2004-04-08 
13:30:22.000000000 +0200
@@ -1011,7 +1011,8 @@
                        le32_to_cpu(bcs->Signature), bcs->Tag, 
                        residue, bcs->Status);
        if ((bcs->Signature != cpu_to_le32(US_BULK_CS_SIGN) &&
-                   bcs->Signature != cpu_to_le32(US_BULK_CS_OLYMPUS_SIGN)) ||
+                   bcs->Signature != cpu_to_le32(US_BULK_CS_OLYMPUS_SIGN) &&
+                   bcs->Signature != cpu_to_le32(US_BULK_CS_TRAVELER_SIGN)) ||
                        bcs->Tag != srb->serial_number || 
                        bcs->Status > US_BULK_STAT_PHASE) {
                US_DEBUGP("Bulk logical error\n");
--- linux-2.6.4/drivers/usb/storage/unusual_devs.h      2004-03-12 12:03:02.000000000 
+0100
+++ linux-2.6.4-traveler/drivers/usb/storage/unusual_devs.h     2004-04-08 
13:32:48.000000000 +0200
@@ -500,6 +500,13 @@
                US_FL_SINGLE_LUN ),
 #endif
 
+/* Submitted by Stefan Brink <[EMAIL PROTECTED]> */
+UNUSUAL_DEV(  0x0784, 0x4300, 0x0000, 0x9999, 
+               "Traveler",
+               "DC-4300",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_FIX_INQUIRY ),
+
 #ifdef CONFIG_USB_STORAGE_FREECOM
 UNUSUAL_DEV(  0x07ab, 0xfc01, 0x0000, 0x9999,
                "Freecom",

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to