Hi, First of all, sorry if I'm sending this patch to the wrong list.
I recently got a Minolta DiMAGE X camera (actually, a friend of mine bought it) and tried to get it working on linux. When I plugged the camera, I got a message from the kernel that it identified it, but no device was created. After some research on the USB device page (http://edelweiss.qbik.ch/usb/devices/), I came to the following patchs: for 2.5.17 ---------- --- linux-2.5.7/drivers/usb/storage/unusual_devs.h.orig Sun Mar 24 12:49:54 2002 +++ linux-2.5.7/drivers/usb/storage/unusual_devs.h Sun Mar 24 13:47:44 2002 @@ -312,7 +312,13 @@ "Dimage S304", US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ), - + +/* Submitted by Felipe Leme <[EMAIL PROTECTED]> */ +UNUSUAL_DEV( 0x0686, 0x4009, 0x0001, 0x0001, + "Minolta", + "DiMAGE X", + US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ), + UNUSUAL_DEV( 0x0693, 0x0002, 0x0100, 0x0100, "Hagiwara", "FlashGate SmartMedia", for 2.4.19-pre4 --------------- --- linux-2.4.19-pre4/drivers/usb/storage/unusual_devs.h.orig Sun Mar 24 13:39:03 2002 +++ linux-2.4.19-pre4/drivers/usb/storage/unusual_devs.h Sun Mar 24 13:40:32 +2002 @@ -342,6 +342,12 @@ US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ), +/* Submitted by Felipe Leme <[EMAIL PROTECTED]> */ +UNUSUAL_DEV( 0x0686, 0x4009, 0x0001, 0x0001, + "Minolta", + "DiMAGE X", + US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ), + UNUSUAL_DEV( 0x0693, 0x0002, 0x0100, 0x0100, "Hagiwara", "FlashGate SmartMedia", Similarly, we could add support for the DiMAGE 5 and 7 models (as reported on http://edelweiss.qbik.ch/usb/devices/showdev.php?id=1096 and http://edelweiss.qbik.ch/usb/devices/showdev.php?id=920): UNUSUAL_DEV( 0x0686, 0x4006, 0x0001, 0x0001, "Minolta", "DiMAGE 7", US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ), UNUSUAL_DEV( 0x0686, 0x4008, 0x0001, 0x0001, "Minolta", "DiMAGE 5", US_SC_SCSI, US_PR_BULK, NULL, US_FL_START_STOP ), As I don't have access to these 2 models (I wish I had, they are cool cameras :), I didn't include them in my patch, but I believe they would work (as reported by the mentioned pages above). I will still have access to my friend's camera until next Saturday, so I could help with more help/tests, if necessary (I don't know what's the procedure to test/approve such minor patchs, but it would be nice it they could be make it, as those are 3 really good cameras, and the DiMAGE X is already a best-seller - in fact, we had to scavenger many Bay Area stores to find a model available, as it was sold out on most of the places). Right now, I tested it on a kernel-2.4.17 with usb-storage configured as module. Here are the logs: before the patch ---------------- Mar 24 02:51:07 bart kernel: hub.c: USB new device connect on bus1/2, assigned device number 3 Mar 24 02:51:07 bart kernel: usb.c: USB device 3 (vend/prod 0x686/0x4009) is not claimed by any active driver. after the patch (and insmod usb-storage) ---------------------------------------- Mar 24 03:00:40 bart kernel: Initializing USB Mass Storage driver... Mar 24 03:00:40 bart kernel: usb.c: registered new driver usb-storage Mar 24 03:00:40 bart kernel: scsi1 : SCSI emulation for USB Mass Storage devices Mar 24 03:00:41 bart kernel: Vendor: MINOLTA Model: MINOLTA DIMAGE X Rev: 1.00 I could then mount the file /dev/sda and access the pictures there. Regards, Felipe PS: please CC me ([EMAIL PROTECTED]) on replies, as I don't subscribe to the list _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
