Martin, do you have a Dimage 7 or a Dimage 7i?

Matt

On Tue, Feb 10, 2004 at 03:44:43PM +1100, Martin Pool wrote:
> On  9 Feb 2004, Alan Stern <[EMAIL PROTECTED]> wrote:
> > On Mon, 9 Feb 2004, Richard B. Kreckel wrote:
> > 
> > > Hi,
> > > 
> > > I plugged an Minolta Dimage 7i into USB and when mounting /dev/sda1
> > > via USB it reported the message
> > > 
> > >     usb-storage: This device (0686,400b,0001 S 06 P 50) has an
> > >     unneeded SubClass entry in unusual_devs.h
> > > 
> > > along with the plea to send this message to [EMAIL PROTECTED]  This was
> > > linux kernel 2.6.2.
> > > 
> > > Enjoy!
> > >    -richy.
> > 
> > That's strange, because the only reason for that entry to be in 
> > unusual_devs.h is the SubClass.  Martin, can you confirm whether the entry 
> > for the DiMAGE 7i is needed at all?
> 
> I tested with 2.4.22 and it definitely did not work reliably without
> the patch.  At the I don't think I've had the chance to connect it to
> a 2.6.2 machine.  It may well work without the patch on 2.6.
> 
> In fact, looking back, my original patch needed to specify US_PR_BULK,
> but Greg K-H said that wasn't needed anymore.  Even earlier versions
> had US_FL_START_STOP, but I think that is also obsolete.  So maybe the
> entire patch has shrunk down to nothing?
> 
> Here's my original mail.
> 
> -- 
> Martin 

> From [EMAIL PROTECTED] Sat Oct 18 11:45:34 2003
> Date: Sat, 18 Oct 2003 11:45:33 +1000
> From: Martin Pool <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [patch] add unusual storage device entry for Minolta DiMAGE
> Message-ID: <[EMAIL PROTECTED]>
> Mime-Version: 1.0
> Content-Type: multipart/signed; micalg=pgp-sha1;
>       protocol="application/pgp-signature"; boundary="JP+T4n/bALQSJXh8"
> Content-Disposition: inline
> X-GPG: 1024D/A0B3E88B: AFAC578F 1841EE6B FD95E143 3C63CA3F A0B3E88B
> User-Agent: Mutt/1.5.4i
> Status: RO
> Content-Length: 4157
> Lines: 127
> 
> 
> --JP+T4n/bALQSJXh8
> Content-Type: multipart/mixed; boundary="0OAP2g/MAC+5xKAE"
> Content-Disposition: inline
> 
> 
> --0OAP2g/MAC+5xKAE
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> 
> Hi,
> 
> This is an updated version of the patch to make Minolta DiMAGE cameras
> work with USB Storage.  It seems to work for me.
> 
> Earlier versions used US_FL_START_STOP, but that's no longer defined
> and doesn't seem to be needed.
> 
> Without this patch, the device works intermittently, depending on the
> storage card in use.  Sometimes it abruptly disconnects, and sometimes
> it reports the wrong size.  I think the problems are worse with faster
> flash cards.
> 
> Thanks,
> --
> Martin
> 
> --0OAP2g/MAC+5xKAE
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="mbp-dimage-usb-01.diff"
> Content-Transfer-Encoding: quoted-printable
> 
> cd ~/work/linux/linux-2.4.22/drivers/usb/storage/
> diff -u -p /home/mbp/work/linux/linux-2.4.22/drivers/usb/storage/unusual_de=
> vs.h.\~1\~ /home/mbp/work/linux/linux-2.4.22/drivers/usb/storage/unusual_de=
> vs.h
> --- /home/mbp/work/linux/linux-2.4.22/drivers/usb/storage/unusual_devs.h.~1=
> ~     2003-09-08 21:23:50.000000000 +1000
> +++ /home/mbp/work/linux/linux-2.4.22/drivers/usb/storage/unusual_devs.h      20=
> 03-10-18 11:40:07.000000000 +1000
> @@ -388,6 +388,29 @@ UNUSUAL_DEV(  0x066b, 0x0105, 0x0100, 0x
>               US_FL_SINGLE_LUN ),
>  #endif
> =20
> +/* Reported by Martin Pool <[EMAIL PROTECTED]>
> + *
> + * Originally discovered by Kedar Petankar, Matthew Geier, Mikael
> + * Lofj"ard, Marcel de Boer.
> + */
> +UNUSUAL_DEV( 0x0686, 0x4006, 0x0001, 0x0001,
> +             "Minolta",
> +             "DiMAGE 7",
> +             US_SC_SCSI, US_PR_BULK, NULL,
> +             0 ),
> +
> +UNUSUAL_DEV( 0x0686, 0x400b, 0x0001, 0x0001,
> +             "Minolta",
> +             "DiMAGE 7i",
> +             US_SC_SCSI, US_PR_BULK, NULL,
> +             0 ),
> +
> +UNUSUAL_DEV( 0x0686, 0x400f, 0x0001, 0x0001,
> +             "Minolta",
> +             "DiMAGE 7Hi",
> +             US_SC_SCSI, US_PR_BULK, NULL,
> +             0 ),
> +
>  UNUSUAL_DEV(  0x0693, 0x0002, 0x0100, 0x0100,=20
>               "Hagiwara",
>               "FlashGate SmartMedia",
> 
> Diff finished at Sat Oct 18 11:44:39
> 
> --0OAP2g/MAC+5xKAE
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: attachment; filename="mbp-dimage-usb-dump.txt"
> Content-Transfer-Encoding: quoted-printable
> 
> T:  Bus=3D02 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D  1 Spd=3D12  MxC=
> h=3D 2
> B:  Alloc=3D  0/900 us ( 0%), #Int=3D  0, #Iso=3D  0
> D:  Ver=3D 1.00 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D  1
> P:  Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00
> S:  Product=3DUSB UHCI Root Hub
> S:  SerialNumber=3Db000
> C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D  0mA
> I:  If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 Driver=
> =3Dhub
> E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D   8 Ivl=3D255ms
> T:  Bus=3D01 Lev=3D00 Prnt=3D00 Port=3D00 Cnt=3D00 Dev#=3D  1 Spd=3D12  MxC=
> h=3D 2
> B:  Alloc=3D  0/900 us ( 0%), #Int=3D  0, #Iso=3D  0
> D:  Ver=3D 1.00 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D  1
> P:  Vendor=3D0000 ProdID=3D0000 Rev=3D 0.00
> S:  Product=3DUSB UHCI Root Hub
> S:  SerialNumber=3Db400
> C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D  0mA
> I:  If#=3D 0 Alt=3D 0 #EPs=3D 1 Cls=3D09(hub  ) Sub=3D00 Prot=3D00 Driver=
> =3Dhub
> E:  Ad=3D81(I) Atr=3D03(Int.) MxPS=3D   8 Ivl=3D255ms
> T:  Bus=3D01 Lev=3D01 Prnt=3D01 Port=3D00 Cnt=3D01 Dev#=3D  2 Spd=3D12  MxC=
> h=3D 0
> D:  Ver=3D 1.00 Cls=3D00(>ifc ) Sub=3D00 Prot=3D00 MxPS=3D 8 #Cfgs=3D  1
> P:  Vendor=3D0686 ProdID=3D400b Rev=3D 0.01
> S:  Manufacturer=3DMINOLTA  DIMAGE CAMERA  =20
> S:  Product=3DDIMAGE CAMERA =20
> C:* #Ifs=3D 1 Cfg#=3D 1 Atr=3D40 MxPwr=3D  0mA
> I:  If#=3D 0 Alt=3D 0 #EPs=3D 2 Cls=3D08(stor.) Sub=3D06 Prot=3D50 Driver=
> =3Dusb-storage
> E:  Ad=3D03(O) Atr=3D02(Bulk) MxPS=3D  16 Ivl=3D0ms
> E:  Ad=3D84(I) Atr=3D02(Bulk) MxPS=3D  16 Ivl=3D0ms
> 
> --0OAP2g/MAC+5xKAE--
> 
> --JP+T4n/bALQSJXh8
> Content-Type: application/pgp-signature
> Content-Disposition: inline
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/kJs6PGPKP6Cz6IsRAipTAJ0QAVHfyS3s8GiSwonv6MRFZpsBgACgwVk2
> 4P2YIQLqcz9VlARW6nFL02w=
> =nerk
> -----END PGP SIGNATURE-----
> 
> --JP+T4n/bALQSJXh8--
> 




-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

I'm a pink gumdrop! How can anything be worse?!!
                                        -- Erwin
User Friendly, 10/4/1998

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to