Subject: Re: sony cybershot umass problems
To: Mihai Chelaru <kefren@netbsd.ro>
From: Quentin Garnier <cube@cubidou.net>
List: current-users
Date: 01/07/2007 12:33:00
--DNbkntcEGyiBe7B+
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Jan 07, 2007 at 10:22:39AM +0200, Mihai Chelaru wrote:
> On Wednesday 03 January 2007 20:04, Quentin Garnier wrote:
> > On Tue, Jan 02, 2007 at 10:15:55AM +0100, Quentin Garnier wrote:
> > > On Tue, Jan 02, 2007 at 11:03:26AM +0200, kefren@netbsd.ro wrote:
> > > > Hi,
> > > >
> > > > My cybershot is reported as
> > > >
> > > > umass0 at uhub4 port 8 configuration 1 interface 0
> > > > umass0: Sony Sony DSC, rev 2.00/6.00, addr 2
> > > > umass0: using SCSI over CBI
> > > > scsibus0 at umass0: 2 targets, 1 lun per target
> > > > umass0: CBI reset failed, STALLED
> > > >
> > > > but never goes further to detect sdX device. My guess is that it ne=
eds
> > > > somekind of quirk like here
> > > > http://archive.netbsd.se/?ml=3Dfreebsd-mobile&a=3D2006-03&t=3D18110=
31 but I
> > > > have no idea how to bring that in NetBSD. Anyone can help ?
> > >
> > > I have a DSC-T9.  I'll try adding a quirk by tonight.
> >
> > I'm not having much success so far;  I'll keep you updated.
>=20
> Hello again,
>=20
> Can you try the attached patch and see if it's OK for you ? Works fine he=
re:
>=20
> umass0 at uhub4 port 4 configuration 1 interface 0
> umass0: Sony Sony DSC, rev 2.00/6.00, addr 2
> umass0: using RBC over CBI
> scsibus0 at umass0: 2 targets, 1 lun per target
> sd0 at scsibus0 target 0 lun 0: <Sony, Sony DSC, 6.00> disk removable
> sd0: fabricating a geometry
> sd0: 951 MB, 951 cyl, 64 head, 32 sec, 512 bytes/sect x 1947648 sectors

I'll have a try.  I wasn't doing the padding at the same place in my
patch.

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

--DNbkntcEGyiBe7B+
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (NetBSD)

iQEVAwUBRaDabNgoQloHrPnoAQKXEAf9FwZbMTQjkm02du4EJjoeYZHBcU4bMeFr
lYgZsNrFvMPXR9Rq1tOAD2kwwcpptTBEJ3AvMBGT7NXHzKY8VWMKRE+neOYyQ0Yg
a9AqXE2x+tzeyHGhseVVnkGYNtxr91A48hUYMHObVaixqCMDKvz3L3nxD/QMNUf0
3DaEdbTPUHRRjrjlkdGXpK0yVozccCPGAjkn3LUDDvtgLUVOul+VelGtkXBuu25w
eHF8ldIZ8lH7QiLGsZlCzu862YM6Kdrsegp7D79Yai21u54KjrMIKjyDtxvKvaoY
cHXO8mr9cf2K1lrLP/lI5z8oRuTAWiAn+MP4A2KgpyHov2Lrh9C6ow==
=bZEN
-----END PGP SIGNATURE-----

--DNbkntcEGyiBe7B+--