Hans Petter Selasky
5a47db4708
Add new USB quirk.
...
PR: usb/175599
Submitted by: Juan J Lopez
MFC after: 1 week
2013-01-26 13:44:24 +00:00
Hans Petter Selasky
a9216e0b16
Add new quirk and correct old one.
...
PR: usb/175454
MFC after: 1 week
2013-01-21 07:02:41 +00:00
Hans Petter Selasky
bdf43bb5c3
Bugfix: Fix sizeof() argument.
...
Found by: Haakon Loevdal
MFC after: 1 week
2013-01-10 08:06:12 +00:00
Mark Johnston
7716eb4c40
Add the NO_SYNC_CACHE quirk for all Apple USB MSC devices, as they
...
typically do not handle the SYNCHRONIZE_CACHE command - they either
return an error or the firmware enters a reset loop.
Reviewed by: hselasky
Approved by: rstone (co-mentor)
MFC after: 2 weeks
2012-12-26 22:21:27 +00:00
Hans Petter Selasky
8e5e664ccc
Remove no longer needed quirk.
...
Submitted by: Mark Johnston
2012-11-23 08:22:06 +00:00
Marcel Moolenaar
ef3afadd29
Add the UQ_MSC_NO_PREVENT_ALLOW quirk to handle devices that do not support
...
the 'PREVENT/ALLOW MEDIUM REMOVAL' SCSI command. An example of such a
device is the STmicro ST72682. We send the SCSI command for every open and
close, which can result in a significant amount of spam on the console
during boot.
Reviewed by: hps@
2012-11-05 21:03:38 +00:00
Hans Petter Selasky
3557aa50ce
Add support for Fast Track Ultra 8R from M-audio.
...
MFC after: 1 week
2012-10-26 11:41:57 +00:00
Eitan Adler
d6025c7bb7
Add support for the extrememory Snippy
...
PR: usb/159611
Submitted by: Fabian Keil <fk@fabiankeil.de>
Approved by: cperciva (implicit)
MFC after: 3 days
2012-10-14 17:26:45 +00:00
Eitan Adler
c0f4985dbd
Add support for Feiya Elango USB MicroSD
...
PR: usb/153599
Submitted by: CyberLeo <cyberleo@cyberleo.net>
Approved by: cperciva (implicit)
MFC after: 3 days
2012-10-14 17:26:40 +00:00
Eitan Adler
35ed5bb738
Add support for the Buffalo RUF2 flash drive.
...
PR: usb/166848
Submitted by: Andrew Gregory <andrew@scss.com.au>
Reviewed by: hselasky
Approved by: cperciva (implicit)
MFC after: 3 days
2012-10-14 17:26:32 +00:00
Hans Petter Selasky
d7dd13419e
Add UQ_UMS_IGNORE quirk.
...
Wrap two long lines.
Some minor spelling correction.
PR: usb/171721
2012-09-17 19:06:35 +00:00
Hans Petter Selasky
84e1a128d1
Add new USB device quirk.
...
Submitted by: Kra OTN
MFC after: 2 weeks
2012-08-15 15:35:20 +00:00
Ed Maste
b225878c75
Quirk MS keyboard so that function keys work
...
The function keys on a Microsoft Natural Egronomic Keyboard 4000 have been
repurposed as "Help", "Undo", "Redo" etc., and a special "F Lock" key is
required to return them to their normal purpose.
This change enables the UQ_KBD_BOOTPROTO quirk for the MS Natural 4000
keyboard to get the keys working again. More extensive changes to the USB
keyboard infrastructure would be needed to fully support the "F Lock" mode
and the extended keys on this keyboard.
PR: usb/116947
Approved by: hselasky@
2012-07-23 15:14:28 +00:00
Hans Petter Selasky
e84260dce4
Add more quirks for USB mass storage adapters.
...
Submitted by: Erich Dollansky
MFC after: 1 week
2012-07-03 16:29:41 +00:00
Hans Petter Selasky
271e5fb00d
Add more quirks for USB MIDI adapters.
...
Obtained from: Clemens Ladisch
MFC after: 1 week
2012-06-14 16:20:19 +00:00
Hans Petter Selasky
36dc69c414
Add support for more USB devices.
...
Submitted by: pav @
MFC after: 1 week
2012-01-16 22:26:25 +00:00
Ed Maste
c3369741c2
Add quirk for Micron RealSSD eUSB failing on unsupported SCSI command
...
It appears this device fails if sent a SYNCHRONIZE_CACHE command, so add
quirk to avoid sending it.
I will follow up with Micron on this issue, and will adjust the quirk if
necessary based on their feedback.
Reviewed by: hselasky@
2011-12-03 19:56:52 +00:00
Hans Petter Selasky
b3f52c578b
Quirk all of ALCOR's mass storage devices instead of
...
quirking individual devices.
Submitted by: Dmitry Luhtionov
MFC after: 1 week
2011-11-17 10:46:51 +00:00
Hans Petter Selasky
1984dc56b2
Add USB mass storage quirk for device that emits errors after the automatic
...
no synchronize cache detection.
Submitted by: Scott Allendorf
MFC after: 3 days
2011-10-10 16:26:06 +00:00
Hans Petter Selasky
2325ea82ad
Add quirks for some USB mass storage devices which doesn't respond
...
after trying to query the synchronize cache support.
Submitted by: Keith White
PR: usb/160911
Approved by: re (kensmith)
MFC after: 1 week
2011-09-27 07:06:02 +00:00
Hans Petter Selasky
3f37fb622c
Refactor auto-quirk solution so that we break as few external
...
drivers as possible.
PR: usb/160299
Approved by: re (kib)
Suggested by: rwatson
MFC after: 0 days
2011-09-10 15:55:36 +00:00
Hans Petter Selasky
d46dc4ad74
This patch adds automatic detection of USB mass storage devices
...
which does not support the no synchronize cache SCSI command.
The __FreeBSD_version version macro has been bumped and
external kernel modules needs to be recompiled after
this patch.
Approved by: re (kib)
MFC after: 1 week
PR: usb/160299
2011-09-02 18:50:44 +00:00
Hans Petter Selasky
4944c3a882
Introduce a quirk for broken USB MIDI hardware instead of limiting performance
...
in general.
MFC after: 1 week
2011-07-03 13:27:23 +00:00
Hans Petter Selasky
25b74dab1d
- Add support for some non-standard USB MIDI devices from Roland, by
...
means of allowing vendor specific interface class for audio and MIDI devices.
- Add new quirks for this. The vendor and product list in OpenBSD's
dev/usb/umidi_quirks.c was used as reference.
MFC after: 14 days
Approved by: thompsa (mentor)
2011-02-24 09:13:47 +00:00
Nick Hibma
3b8227640a
Curitel UM150 needs a quirk to stop it from detaching straight after
...
attach (resetting actually).
Submitted by: Oleg Nauman
MFC after: 1 week
2011-02-07 22:37:27 +00:00
John Baldwin
58ccf5b41c
Remove unneeded includes of <sys/linker_set.h>. Other headers that use
...
it internally contain nested includes.
Reviewed by: bde
2011-01-11 13:59:06 +00:00
Nick Hibma
0ea0127a4d
Add a man page for usb_quirk module, plus references in other man pages,
...
and updated comments in the usb_quirk.h header file.
The main purpose of this is to expose the quirks for ejecting 3G
modules. usb_modeswitch in Linux does a great job of collecting
information on these, and with the quirks module people can try out the
modeswitch config file entries on FreeBSD, hence the SCSI strings in the
man page.
MFC after: 2 weeks
2010-11-10 23:45:44 +00:00
Nick Hibma
e7702e9e1b
Allow specification of eject method through quirks, so people can test
...
drive eject methods before supplying patches.
2010-11-10 18:41:38 +00:00
Hans Petter Selasky
d74698ca2e
Add new USB quirk.
...
Submitted by: Dmitry Luhtionov
Approved by: thompsa (mentor)
2010-11-04 19:05:35 +00:00
Hans Petter Selasky
6001d01180
- Add more USB devices to usbdevs and rename some previously unknown ones.
...
- Add more USB mass storage quirks.
Submitted by: Dmitry Luhtionov
PR: usb/149934, usb/143045
Approved by: thompsa (mentor)
2010-10-14 21:09:37 +00:00
Konstantin Belousov
6aeff67cd8
Disable sync cache for the Transcend Jetflash V90. It is more specific
...
quirk over the general one for transcend sticks.
Submitted by: Mykola Dzham <i levsha me>
MFC after: 1 week
2010-08-06 13:45:16 +00:00
Tijl Coosemans
317a3ce2c5
Add quirk for Apacer HT202 USB 2.0 Flash Drive.
...
PR: usb/107243
Approved by: kib (mentor)
MFC after: 1 week
2010-07-28 18:56:01 +00:00
Gavin Atkinson
7dddb455e5
Prevent uhid(4) from attaching to the Liebert PowerSure Personal XT UPS.
...
PR: usb/129251
Submitted by: Andrew D Wiles <adw+gnats avatastic.co.uk>
MFC after: 1 week
2010-07-27 17:07:16 +00:00
Gavin Atkinson
c3b40fb7bf
Prevent uhid(4) from attaching to the Gembird Silver Shield remote power
...
plug. Note that the Vendor ID 0x04b4 is officially assigned to Cypress,
so use that instead of adding a second vendor with an identical ID, in the
same way other similar cases are treated in usb/usbdevs.
PR: usb/132785
Submitted by: Dirk-Willem van Gulik <dirkx webweaving.org>
MFC after: 1 week
2010-07-26 21:22:57 +00:00
Gavin Atkinson
7ab53cc48b
Prevent ukbd(4) and uhid(4) from attaching when a WiSPY DBx Spectrum
...
Analyzer is attached.
PR: usb/134631
Submitted by: Jesse Kempf <jkempf davisvision.com>
MFC after: 1 week
2010-07-26 20:44:29 +00:00
Andrew Thompson
0f66567792
Add a mass storage quirk.
...
PR: usb/147196
2010-06-22 21:03:13 +00:00
Andrew Thompson
9f2d3fc5f3
Add quirks for the Alcor SDCR_6362 Card Reader, Freecom HDD storage device and
...
Samsung YP_U4 music player.
PR: usb/145265, usb/146104
Submitted by: Dmitry Luhtionov, Urankar Mikael, Peter Toth
2010-05-12 22:26:23 +00:00
Andrew Thompson
b4eb1a01cf
Do not sync cache for the PL2506
...
PR: usb/144915
Submitted by: Monty Hall
2010-03-28 20:09:04 +00:00
Alexander Leidinger
2ac4d1f92f
- add some usb devices (scanner, printer, usb storage)
...
- add quirks for the usb storage
Reviewed by: hselasky
2010-03-26 11:02:01 +00:00
Andrew Thompson
b60541a9ec
Add UQ_KBD_BOOTPROTO quirk needed in r203896
2010-02-14 19:56:05 +00:00
Andrew Thompson
4d69093fcc
Add null check on quirk lookup and add a couple of umass quirks.
...
Submitted by: Hans Petter Selesky
2010-01-29 02:33:50 +00:00
Andrew Thompson
1feda9b418
Add new umass quirks for Western Digital MYBook and JMicron JM20337.
...
PR: usb/142225, usb/142228
Submitted by: Thomas Ward, Yoshikazu GOTO
MFC after: 1 week
2010-01-07 00:30:59 +00:00
Andrew Thompson
b55b073f14
Compact USB_VENDOR_X and USB_PRODUCT_Y in the quirk tables.
2009-12-28 00:42:42 +00:00
Andrew Thompson
47d54fbb13
Shorten the USB_QUIRK_ENTRY macro and undef it at the end, its only internal.
2009-12-23 01:41:52 +00:00
Andrew Thompson
eb58441685
Move all Mass Storage Quirks over to the USB quirk module.
...
Submitted by: Hans Petter Selasky
2009-12-23 01:16:24 +00:00
Andrew Thompson
ae6de8d67a
Wrap long lines.
2009-12-11 02:52:14 +00:00
Andrew Thompson
4b5437a114
Add a quirk for the Curitel UM175 where setting multiplexing for call
...
management over the data endpoint causes communication to die.
Take this one step further and model it on the existing NetBSD quirk and import
other device IDs from them.
Obtained from: NetBSD
2009-12-11 02:44:15 +00:00
Andrew Thompson
063e119dcd
Add a config number quirk for the ELSA_MODEM1
...
Submitted by: Stefan Bethke
2009-09-28 08:09:11 +00:00
Andrew Thompson
ed6d949afd
- Make struct usb_xfer opaque so that drivers can not access the internals
...
- Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h
2009-06-23 02:19:59 +00:00
Andrew Thompson
759736470c
Fix _USB2_* refernces in the header protection defines.
2009-06-15 01:09:19 +00:00