aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/quirk/usb_quirk.h
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line .c comment patternWarner Losh2023-08-161-1/+0
| | | | Remove /^/[*/]\s*\$FreeBSD\$.*\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-121-1/+1
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* usb: add new scsi_huawei eject3 & eject4 quirksMichael Paepcke2023-02-041-0/+2
| | | | | | | Add new scsi_huawei eject3 & eject4 mode driver to usb quirks Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/633
* umodem: add quirk to ignore CDC_CM descriptorSteffen Dirkwinkel2023-01-181-0/+1
| | | | | | | | | | | Some devices have CDC_CM descriptors that would point us to the wrong interfaces. Add a quirk to ignore those (prefering the CDC_UNION descriptor effectively) Reviewed by: manu MFC after: 1 week Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D37942
* ums(4): Disable vendor usage page button supportVladimir Kondratyev2022-12-241-0/+1
| | | | | | | | | | | for all devices except Kensington Slimblade Trackball as it brokes some other devices like Contour Rollermouse Red Add a quirk for it as well. Reported by: Atte Peltomäki <koston_AT_iki_DOT_fi> PR: 267922 MFC after: 2 weeks
* USB umass: add quirk to not probeBjoern A. Zeeb2020-12-011-0/+1
| | | | | | | | | | | | | | | | Some USB WLAN devices have "on-board" storage showing up as umass and making the root mount wait for a very long time. The WLAN drivers know how to deal with that an issue an eject command later when attaching themselves. Introduce a quirk to not probe these devices as umass and avoid hangs and confusion altogether. Reviewed by: hselasky, imp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27434 Notes: svn path=/head/; revision=368246
* sys/dev: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Notes: svn path=/head/; revision=326255
* Add support for generic MS Windows 7/8/10-compatible USB HID touchscreensVladimir Kondratyev2017-08-191-0/+1
| | | | | | | | | | | found in many laptops. Reviewed by: hps, gonzo, bcr (manpages) Approved by: gonzo (mentor) Differential Revision: https://reviews.freebsd.org/D12017 Notes: svn path=/head/; revision=322695
* Add USB audio support for S/PDIF output with C-Media CM6206 devices.Hans Petter Selasky2017-01-171-0/+1
| | | | | | | | | Submitted by: Julien Nadeau <vedge@hypertriton.com> PR: 216131 MFC after: 1 week Notes: svn path=/head/; revision=312338
* Add support for DYMO LabelWriter PnP.Hans Petter Selasky2015-05-071-0/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=282577
* Add a second Huawei SCSI eject command as USB mode switch config filesNick Hibma2014-08-051-0/+1
| | | | | | | | | | | | sometimes use one or the other. Maybe newer Huawei modems switched. Add a quirk for it as well. PR: 145319 Submitted by: rozhuk.im gmail.com Notes: svn path=/head/; revision=269576
* Remove no longer needed quirk.Hans Petter Selasky2012-11-231-1/+0
| | | | | | | Submitted by: Mark Johnston Notes: svn path=/head/; revision=243435
* Add the UQ_MSC_NO_PREVENT_ALLOW quirk to handle devices that do not supportMarcel Moolenaar2012-11-051-0/+1
| | | | | | | | | | | | 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@ Notes: svn path=/head/; revision=242628
* Add UQ_UMS_IGNORE quirk.Hans Petter Selasky2012-09-171-2/+6
| | | | | | | | | | Wrap two long lines. Some minor spelling correction. PR: usb/171721 Notes: svn path=/head/; revision=240615
* Introduce a quirk for broken USB MIDI hardware instead of limiting performanceHans Petter Selasky2011-07-031-0/+1
| | | | | | | | | in general. MFC after: 1 week Notes: svn path=/head/; revision=223736
* - Add support for some non-standard USB MIDI devices from Roland, byHans Petter Selasky2011-02-241-0/+3
| | | | | | | | | | | | 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) Notes: svn path=/head/; revision=218988
* Add a man page for usb_quirk module, plus references in other man pages,Nick Hibma2010-11-101-4/+7
| | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=215104
* Allow specification of eject method through quirks, so people can testNick Hibma2010-11-101-23/+35
| | | | | | | drive eject methods before supplying patches. Notes: svn path=/head/; revision=215095
* Add UQ_KBD_BOOTPROTO quirk needed in r203896Andrew Thompson2010-02-141-0/+1
| | | | Notes: svn path=/head/; revision=203899
* Move all Mass Storage Quirks over to the USB quirk module.Andrew Thompson2009-12-231-0/+30
| | | | | | | Submitted by: Hans Petter Selasky Notes: svn path=/head/; revision=200886
* Add a quirk for the Curitel UM175 where setting multiplexing for callAndrew Thompson2009-12-111-0/+1
| | | | | | | | | | | | 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 Notes: svn path=/head/; revision=200395
* - Make struct usb_xfer opaque so that drivers can not access the internalsAndrew Thompson2009-06-231-0/+2
| | | | | | | - Reduce the number of headers needed for a usb driver, the common case is just usb.h and usbdi.h Notes: svn path=/head/; revision=194677
* Fix _USB2_* refernces in the header protection defines.Andrew Thompson2009-06-151-3/+3
| | | | Notes: svn path=/head/; revision=194230
* Move the new USB stack into its new home.Andrew Thompson2009-02-231-0/+59
Notes: svn path=/head/; revision=188942