umass (da) quirk ?

2013-07-25 Thread Patrick Lamaiziere
Hello,

9.2/amd64

I have to add a scsi_da quirk (Q_DA_NO_PREVENT) on a Kinston DT 101 G2
usb stick to make it works.

This quirk is confirmed by a PR on Netbsd but NetBSD adds also few
other Kingston usb keys with this quirk.
http://freshbsd.org/commit/netbsd/6920595603b43ca9e73ca9bcc95e63d9201c9ad3

So while I'm here, i would like to include these other devices in my
PR, but how can I know the match string to put in the quirk without the
hardware?

the quirk is:
{
/*
 * Kingston DT 101 G2 USB stick.
 * PR: 
 */
 {T_DIRECT, SIP_MEDIA_REMOVABLE, Kingston, DT 101 G2,
 *}, /*quirks*/ DA_Q_NO_PREVENT 
},

Another question, I'm sure this key worked on FreeBSD 9.0, and it works
fine on 8.3. I am asking why a quirk is needed now?

Thanks, Regards.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: umass (da) quirk ?

2013-07-25 Thread Hans Petter Selasky

On 07/25/13 14:23, Patrick Lamaiziere wrote:

Hello,

9.2/amd64

I have to add a scsi_da quirk (Q_DA_NO_PREVENT) on a Kinston DT 101 G2
usb stick to make it works.

This quirk is confirmed by a PR on Netbsd but NetBSD adds also few
other Kingston usb keys with this quirk.
http://freshbsd.org/commit/netbsd/6920595603b43ca9e73ca9bcc95e63d9201c9ad3

So while I'm here, i would like to include these other devices in my
PR, but how can I know the match string to put in the quirk without the
hardware?

the quirk is:
{
 /*
  * Kingston DT 101 G2 USB stick.
  * PR:
  */
  {T_DIRECT, SIP_MEDIA_REMOVABLE, Kingston, DT 101 G2,
  *}, /*quirks*/ DA_Q_NO_PREVENT
},

Another question, I'm sure this key worked on FreeBSD 9.0, and it works
fine on 8.3. I am asking why a quirk is needed now?



Hi,

I suspect the SCSI/CAM code has changed a bit since 8.3.

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org