On Sat, 2 Oct 2004, Luca De Baptistis wrote:
> Attached the .diff file.
> It adds support for a Fujifilm camera very popular here in Italy. You
> can have it collecting coupons from a fuel company.
> I'm running gentoo on my laptop with kernel 2.6.8.1, but i also tried
> the patch on a desktop system with 2.6.7 kernel.
> Here the output of/proc/bus/usb/devices/:
>
> [EMAIL PROTECTED] root]# cat /proc/bus/usb/devices
> [...]
> T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 4 Spd=12 MxCh= 0
> D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
> P: Vendor=0461 ProdID=0822 Rev= 1.00
> S: Manufacturer=DigitalImageDevice
> S: Product=Mega-Pixel Digital Camera
> S: SerialNumber=01.00.00
> C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
> I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-
> storage
> E: Ad=87(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=08(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
> E: Ad=89(I) Atr=03(Int.) MxPS= 1 Ivl=1ms
>
> And here the output mounting it and accessing files:
>
> [EMAIL PROTECTED] root]# mount -t vfat /dev/sda1 /mnt/mv1
> [EMAIL PROTECTED] root]# ls /mnt/mv1/dcim/100pmdsc/ -l
> total 3536
> -rwxr--r-- 1 root root 377671 Mar 30 2010 aaaa0001.jpg
> -rwxr--r-- 1 root root 389583 Mar 31 2010 aaaa0002.jpg
> -rwxr--r-- 1 root root 369551 Apr 12 2010 aaaa0003.jpg
> -rwxr--r-- 1 root root 401687 Apr 24 2010 aaaa0004.jpg
> -rwxr--r-- 1 root root 355418 Apr 24 2010 aaaa0005.jpg
> -rwxr--r-- 1 root root 401482 May 23 2010 aaaa0006.jpg
> -rwxr--r-- 1 root root 428121 May 23 2010 aaaa0007.jpg
> -rwxr--r-- 1 root root 407141 May 23 2010 aaaa0008.jpg
> -rwxr--r-- 1 root root 422511 Jul 1 2010 aaaa0009.jpg
> [EMAIL PROTECTED] root]#
>
>
> OK, that's all. Hope to hear you back soon.
> Regards,
> Luca De Baptistis
Phil, please take charge of this.
But first some questions for Luca:
Why do you need this entry at all? What happens when your entry isn't in
unusual_devs.h?
Why did you use the US_FL_MODE_XLATE flag? It doesn't do anything under
2.6.
Is the US_FL_FIX_INQUIRY flag really needed?
Why did you use US_SC_SCSI and US_PR_BULK instead of US_SC_DEVICE and
US_PR_DEVICE?
Alan Stern
--- unusual_devs.h 2004-10-02 19:53:25.901740144 +0200
+++ unusual_devs.h.with_mv1 2004-10-02 19:52:47.012652184 +0200
@@ -820,3 +820,12 @@
US_SC_SCSI, US_PR_SDDR55, NULL,
US_FL_SINGLE_LUN),
#endif
+
+/* Submitted by Luca De Baptistis <[EMAIL PROTECTED]>
+ * It works with cameras you get with fuel coupons here in Italy
+ */
+UNUSUAL_DEV( 0x0461, 0x0821, 0x0000, 0x9999,
+ "Fujifilm",
+ "MV-1",
+ US_SC_SCSI, US_PR_BULK, NULL,
+ US_FL_FIX_INQUIRY | US_FL_MODE_XLATE),