Date: Tue, 25 Mar 2003 21:03:29 +0100 (CET) From: Xander <x+freebsd-gnats@surfnet.nl> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/50297: QUIRK: Apacer Handydrive 256M USB Disk Message-ID: <200303252003.h2PK3TIj008910@triplex.phaze-III.sec.nl>
next in thread | raw e-mail | index | archive | help
>Number: 50297 >Category: kern >Synopsis: QUIRK: Apacer Handydrive 256M USB Disk >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 25 12:20:15 PST 2003 >Closed-Date: >Last-Modified: >Originator: Xander >Release: FreeBSD 4.8-RC i386 >Organization: SURFnet >Environment: System: FreeBSD triplex.phaze-III.sec.nl 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Sat Mar 22 22:27:12 CET 2003 root@triplex.phaze-III.sec.nl:/extra/usr/obj/usr/test/src/sys/X i386 >Description: NOTE: the above environment is my current OS, the Quirk for this particular version of the Apacer Handydrive was needed when this box was running 4-STABLE a few months ago. On 5-CURRENT no quirk seems to be needed, on 4.x I used the included quirk. Note that this USB disk has a different identifying string (as compared with the other Apacer Quirk in pr/43627). I copied that quirk and changed the vendor/product strings. Both quirks were needed december 2002 on 4-stable. Note that the vendor string actually is empty which might be a problem. The output below is from my laptop running -current, I currently don't have access to a box with both USB and 4.8-RC so additional testing on 4.x will be a bit hard. Sorry about that. info from 5-current: # dmesg umass0: vendor 0x0d7d USB Disk, rev 1.10/1.00, addr 2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < USB DISK 2.08> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 248MB (507904 512 byte sectors: 64H 32S/T 248C) (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not supported, increasing minimum_cmd_size to 10. # usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 1.00 port 1 addr 2: full speed, power 100 mA, config 1, USB Disk(0x0100), vendor 0x0d7d(0x0d7d), rev 1.00 port 2 powered # camcontrol inquiry da0 pass0: < USB DISK 2.08> Removable Direct Access SCSI-0 device pass0: Serial Number pass0: 1.000MB/s transfers >How-To-Repeat: >Fix: Add something like below to scsi_da.c: { /* * Apacer HandyDrive 256M */ {T_DIRECT, SIP_MEDIA_REMOVABLE, "", "USB DISK", "*"}, /*quirks*/ DA_Q_NO_6_BYTE|DA_Q_NO_SYNC_CACHE }, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303252003.h2PK3TIj008910>