Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] SD Card support under Linux/DRM


This one time, at band camp, scott@xxxxxxxxxxxxxxx wrote:
>slug-bounces@xxxxxxxxxxx wrote on 25-02-2004 04:08:24 PM:
>
>> <quote who="Umar Goldeli">
>> 
>> > Quick question - I was wondering whether there was a Linux/OS version 
>of
>> > some utils to transfer mp3 files to a SD card based mp3 player with 
>what
>> > appears to be DRM of some sort?
>> 
>> AFAIK, SD is an encumbered, zero-documentation format, and thus support 
>for
>> it is minimal at best. But, there could be some enterprising people 
>working
>> on it that I don't know about. ;-)
>
>If it wasn't for SD support in Linux, I would have a $700 piece of junk 
>Pentax Optio S4 Digital Camera!
>I haven't been able to mount the camera in Linux, it try's very hard but 
>then it complains about some command or something isn't implemented.
>The SD card however worked off the bat (well as soon as I compiled my SD 
>readers module).

I have the same camera, and the usb cable works very well for me!  If
you're using 2.6 the unusual_devs.h has been updated for it, but if
you're using 2.4.something then you'll want this patch:

-- 
jaq@xxxxxxxxxxxxxx                           http://spacepants.org/jaq.gpg
ChangeSet 1.1274, 2003/12/11 11:42:50-08:00, per.winkvist@xxxxxx

[PATCH] USB storage: Make Pentax Optio S4 work

The change below is needed to get the S4 camera working.
Tested with both Optio S/S4


 drivers/usb/storage/unusual_devs.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


diff -Nru a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
--- a/drivers/usb/storage/unusual_devs.h	Fri Dec 12 15:07:41 2003
+++ b/drivers/usb/storage/unusual_devs.h	Fri Dec 12 15:07:41 2003
@@ -605,8 +605,8 @@
 /* Submitted by Per Winkvist <per.winkvist@xxxxxx> */
 UNUSUAL_DEV( 0x0a17, 0x006, 0x1000, 0x9009,
                 "Pentax",
-                "Optio S",
-                US_SC_8070, US_PR_CBI, NULL,
+                "Optio S/S4",
+                US_SC_DEVICE, US_PR_DEVICE, NULL,
                 US_FL_FIX_INQUIRY ),
 		
 #ifdef CONFIG_USB_STORAGE_ISD200