Re: HEADSUP: USB da(4) quirks disabled for 4.9 and 5.2

From: twq <twq_at_home.se>
Date: 22 Aug 2003 09:19:13 +0000
I have a Sony Microvault that never worked, if this is related to the
quirks or not is beyond me to say so apologies if this post lacks
relevance.

It gets detected by umass (i have been told that the max lun error is
ok)

Aug 22 09:48:55 rollo /kernel: umass0: Sony USB Storage Media, rev
1.10/2.00, addr 4
Aug 22 09:48:55 rollo /kernel: umass0: Get Max Lun not supported
(SHORT_XFER)

It also shows up using usbdevs -vw, but it never gets attached to da0! 
The only other "scsidevice" is a ide cd-r running under atapicam. That
works.

Aug 22 08:33:36 rollo /kernel: acd0: CD-RW <SONY CD-RW CRX160E> at
ata0-master PIO4
Aug 22 08:33:36 rollo /kernel: cd0 at ata0 bus 0 target 0 lun 0
Aug 22 08:33:36 rollo /kernel: cd0: <SONY CD-RW  CRX160E 1.0e> Removable
CD-ROM SCSI-0 device 
Aug 22 08:33:36 rollo /kernel: cd0: 16.000MB/s transfers

Im running FreeBSD 4.8-STABLE #22: Sat Aug  9  and the microvault unit
works on other os's. Any pointers would be much appreciated!

// Martin Gumucio

Fre 2003-08-22 klockan 07.20 skrev Nate Lawson:
> If you have any of the devices listed below, please test with a recent
> -stable or -current.  They will stop working in 4.9 and 5.2 although old
> behavior can _temporarily_ be enabled by adding "options DA_OLD_QUIRKS" to
> your kernel config.  If I don't hear from anyone, they'll be going away
> permanently after the releases.
> 
> -Nate
> 
> 
> #ifdef DA_OLD_QUIRKS
>         /* Below a list of quirks for USB devices supported by umass. */
>         {
>                 /*
>                  * This USB floppy drive uses the UFI command set. This
>                  * command set is a derivative of the ATAPI command set and
>                  * does not support READ_6 commands only READ_10. It also does
>                  * not support sync cache (0x35).
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Y-E DATA", "USB-FDU", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /* Another USB floppy */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "MATSHITA", "FDD CF-VFDU*","*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Sony Memory Stick adapter MSAC-US1 and
>                  * Sony PCG-C1VJ Internal Memory Stick Slot (MSC-U01).
>                  * Make all sony MS* products use this quirk.
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "MS*", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Sony Memory Stick adapter for the CLIE series
>                  * of PalmOS PDA's
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "CLIE*", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Intelligent Stick USB disk-on-key
>                  * PR: kern/53005
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "USB Card",
>                  "IntelligentStick*", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Sony DSC cameras (DSC-S30, DSC-S50, DSC-S70)
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Sony DSC", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Microtech USB CameraMate
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "eUSB    Compact*",
>                  "Compact Flash*", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * The vendor, product and version strings coming from the
>                  * controller are null terminated instead of being padded with
>                  * spaces. The trailing wildcard character '*' is required.
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "SMSC*", "USB FDC*","*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Olympus digital cameras (C-3040ZOOM, C-2040ZOOM, C-1)
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "C-*", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Olympus digital cameras (E-100RS, E-10).
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "OLYMPUS", "E-*", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * KingByte Pen Drives
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "NO BRAND", "PEN DRIVE", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * FujiFilm Camera
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "FUJIFILMUSB-DRIVEUNIT",
>                  "USB-DRIVEUNIT", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Minolta Dimage E203
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "MINOLTA", "DiMAGE E203", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Apacer HandyDrive
>                  * PR: kern/43627
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Apacer", "HandyDrive", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Daisy Technology PhotoClip on Zoran chip
>                  * PR: kern/43580
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "ZORAN", "COACH", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * Sony USB Key-Storage
>                  * PR: kern/46386
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "Sony", "Storage Media", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
>         {
>                 /*
>                  * SmartDisk (Mitsumi) USB floppy drive
>                  * PR: kern/50226
>                  */
>                 {T_DIRECT, SIP_MEDIA_REMOVABLE, "MITSUMI", "USB FDD", "*"},
>                 /*quirks*/ DA_Q_NO_SYNC_CACHE
>         },
> #endif /* DA_OLD_QUIRKS */
> 
> _______________________________________________
> freebsd-stable_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe_at_freebsd.org"
> 
Received on Fri Aug 22 2003 - 00:20:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:19 UTC