Date: Thu, 16 Mar 2006 21:48:05 -0500 From: Brian Reichert <reichert@numachi.com> To: Ian Dowse <iedowse@iedowse.com> Cc: freebsd-mobile@freebsd.org Subject: Re: Sony DSC, but no da* device? Message-ID: <20060317024805.GJ16991@numachi.com> In-Reply-To: <200603130228.aa82804@nowhere.iedowse.com> References: <200603121538.42227.mistry.7@osu.edu> <200603130228.aa82804@nowhere.iedowse.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 13, 2006 at 02:28:24AM +0000, Ian Dowse wrote:
> In message <200603121538.42227.mistry.7@osu.edu>, Anish Mistry writes:
> >Hmmm...I don't know anything else to try. Before the umass worked
> >with my camera, I just put the camera in PTP mode and used gphoto2 on
> >the ugen device and that worked. It wasn't as convenient as a mass
> >storage device.
>
> There is a quirk entry in umass.c for revision 5.00 of the DSC
> camera, but I think Brian reported he has 6.00? It would be worth
> finding the "USB_PRODUCT_SONY_DSC, 0x0500" entry and trying adding
> a new entry for revision 6.00 immediately after it, e.g:
>
> { USB_VENDOR_SONY, USB_PRODUCT_SONY_DSC, 0x0600,
> UMASS_PROTO_RBC | UMASS_PROTO_CBI,
> RBC_PAD_TO_12
> },
Hurray! This worked!
Mar 16 21:26:38 chew kernel: umass0: Sony Sony DSC, rev 2.00/6.00, addr 2
Mar 16 21:26:38 chew kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Mar 16 21:26:38 chew kernel: da0: <Sony Sony DSC 6.00> Removable Direct Access S
CSI-0 device
Mar 16 21:26:38 chew kernel: da0: 40.000MB/s transfers
Mar 16 21:26:38 chew kernel: da0: 948MB (1942528 512 byte sectors: 64H 32S/T 948C)
# mount -t msdos /dev/da0s1 /mnt
# df /mnt
/dev/da0s1 968960 104288 864672 11% /mnt
Are people accepting patches for those quirk entries? Or is there
some external source for those that I can submit a patch for?
> Ian
--
Brian Reichert <reichert@numachi.com>
55 Crystal Ave. #286 Daytime number: (603) 434-6842
Derry NH 03038-1725 USA BSD admin/developer at large
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060317024805.GJ16991>
