Subject: Re: USB quirk needed
To: None <current-users@netbsd.org>
From: Yasushi Oshima <oshimaya@sc.starcat.ne.jp>
List: current-users
Date: 08/23/2003 02:12:56
at Fri, 22 Aug 2003 15:45:41 +0300 (EEST)
Martti Kuparinen <martti.kuparinen@iki.fi> wrote:

> Hi!
> 
> Inspired by the FreeBSD code I tried (again) to make my Pentax Optio 430
> work in NetBSD -current. Below is the console output and the diff I tried.
> I have also tried these PQUIRK combinations:
> 
> - 0
> - PQUIRK_NOMODESENSE
> - PQUIRK_NOMODESENSE | PQUIRK_NOBIGMODESENSE
> 
> What else could I try?
> 
> PS. My camera works fine in FreeBSD 5.1.
> 
> Martti

I have Optio 230 and it works fine on my NetBSD-current 
with following quirks:

      { { USB_VENDOR_ASAHIOPTICAL, USB_PRODUCT_ASAHIOPTICAL_OPTIO230 },
         UMASS_WPROTO_UNSPEC, UMASS_CPROTO_UNSPEC,
         0,
         PQUIRK_NOSTARTUNIT | PQUIRK_BYTE5_ZERO | PQUIRK_NO_FLEX_PAGE,
         UMATCH_VENDOR_PRODUCT,
         NULL, NULL
       },

Maybe Optio 430 will be the same.

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: Asahi Optical Co.,Ltd. PENTAX OPTIO 230, rev 1.10/1.00, addr 2
umass0: using ATAPI over CBI
atapibus0 at umass0 channel 0: 2 targets
sd0 at atapibus0 drive 0: <PENTAX, DIGITAL_CAMERA, 1.00> disk removable
sd0: 122 MB, 122 cyl, 64 head, 32 sec, 512 bytes/sect x 250880 sectors

# mount -t msdos /dev/sd0e /mnt
# df /mnt
Filesystem  1K-blocks     Used     Avail Capacity  Mounted on
/dev/sd0e      125156     1076    124080     0%    /mnt
# cd /mnt
# ls 
dcim
# cd dcim
# ls
100pentx
# cd 100pentx 
# ls
imgp0401.jpg imgp0403.jpg
# 


Thanks.
--
Yasushi Oshima