summaryrefslogtreecommitdiff
path: root/sys/dev/usb
AgeCommit message (Collapse)Author
2023-07-02Add button mappings for two- and three-finger clicks on clickpads.Ulf Brosziewski
Based on a proposal of tobhe@. ok tobhe@
2023-06-27Return error if the USB request to get the sample rate fails.Alexandre Ratchov
found by mlarkin
2023-06-12match Mercusys MW150US V2Jonathan Gray
from Daeil Lee
2023-06-12regenJonathan Gray
2023-06-12add Mercusys MW150US V2Jonathan Gray
from Daeil Lee
2023-05-10New udl(4) device, reported by "S V" on tech@Miod Vallat
2023-05-10regenMiod Vallat
2023-05-10New udl(4) device, reported by "S V" on tech@Miod Vallat
2023-05-10Add flag SDEV_UFI so umass_scsi_attach() can provide informationKenneth R Westerback
sufficient to get sdgetdisklabel() to correctly set d_type to DTYPE_FLOPPY in the default disklabel. installboot(8) in particular likes to know it is dealing with a floppy. ok miod@
2023-05-06Add support for RTL8153D.Kevin Lo
The RTL8153D chipset shares many similarities with the already supported RTL8156B chip but additionally requires a few semi-unique configurations. Tested by weerd@ ok jmatthew@
2023-04-28regenKevin Lo
2023-04-28Add support for RTL8188FTV chip to urtwn(4).Kevin Lo
Tested with Comfast CF-WU710N v4. "go ahead" deraadt@ OK stsp@
2023-04-27The ASIX AX88179A chipset does not work properly with the axen(4) driver.Gerhard Roth
For now switch it to cdce(4) until native support is provided by axen(4). ok bentley@ stsp@
2023-04-27Whitespace fixKevin Lo
2023-04-26Fix typo in comment: default scalue values -> default scale valuesAnthony J. Bentley
2023-04-20Move ring buffer allocation to before calling uhidev_open(), otherwiseBryan Steele
it might be NULL in uhid_intr. fixes "b_to_q: tty has no clist" panic hit by namn@ tested by thfr@ and namn@ ok anton@
2023-04-19Remove strict checks added in 1.22, for they break some sensors.Miod Vallat
Reported by Paul de Weerd on bugs@
2023-04-18Remove kernel lock from ifa_ifwithaddr() and ifa_ifwithdstaddr().Vitaliy Makkoveev
Netlock protects `if_list', `ifa_list' and returned `ifa' dereference, so put netlock assertion within. Please note, rtable_setsource() doesn't destroy data pointed by `ar_source'. This is the `ifa_addr' data belongs to `ifa' and exclusive netlock is required to destroy it. So the kernel lock is not required within rt_setsource(). Take netlock by rt_setsource() caller to make `ifa' dereference safe. Suggestions and ok by bluhm@
2023-04-11fix double words in commentsJonathan Gray
feedback and ok jmc@ miod, ok millert@
2023-04-10fix setting parity bitsJonathan Gray
ok mglocker@
2023-04-02fill out the list of quectel devices that should be supported.David Gwynne
the list comes from the Quectel LTE&5G Linux USB Driver User Guide V2.0 and claims that all these devices function the same as each other. ok miod@
2023-04-02regenDavid Gwynne
2023-04-02add more quectel usb device idsDavid Gwynne
this list comes from the Quectel LTE&5G Linux USB Driver User Guide v2.0 ok miod@
2023-04-02Add support for TEMPerGold 3.4 to ugold(4).Miod Vallat
ok landry@
2023-04-02RegenMiod Vallat
2023-04-02New TEMPerGold device.Miod Vallat
2023-04-01follow quectel guidance on which usb interfaces umsm should match.David Gwynne
the Quectel LTE&5G Linux USB Driver User Guide V2.0 says umsm should only attach to usb interfaces 0 to 3 using the interface class UICLASS_VENDOR. their doco uses magic numbers, but this is what they mean. interfaces 4 and above provide network (not serial) via qmi, ecm, or mbim. preventing umsm from attaching to the high interfaces allows the appropriate network driver to use it instead. eg, umb is now able to attach to the network interface because it presents a standard mbim class. discussed with and tested by kevlo@ ok patric@ sthen@ kevlo@
2023-03-31shuffle the code in umsm_match a bit.David Gwynne
if umsm_lookup doesnt return anything, return early and leave the rest of umsm_match to handling specific devices. no functional change.
2023-03-31dont match quectel ec25 by vendor+product idDavid Gwynne
quectel seem to provide a sane and consistent set of functionality built on top of the qualcomm qmi stuff. their linux drivers guide says quectel modems provide a set of umsm usb interfaces and a network interface that can be in qmi, ecm, or mbim mode. if the modem is in mbim mode, it will present the mbim classes which umb should be able to attach to without this explicit vendor+product match (assuming umsm doesn't claim the interface first). based on info in the Quectel LTE&5G Linux USB Driver User Guide V2.0 discussed with and tested by kevlo@ ok patrick@ sthen@ kevlo@
2023-03-08Delete obsolete /* ARGSUSED */ lint comments.Philip Guenther
ok miod@ millert@
2023-01-23Regen.Nicholas Marriott
2023-01-16Fix transmit queue selection based on frame type. I introduced an errorJonathan Matthew
here when I split up urtwn_tx() to add support for RTL8192EU devices. from Mikhail (mp395990 at gmail) ok stsp@
2023-01-08Rename argument funcidx_swid to func_idx as it does not include any software id.Anton Lindqvist
No functional change.
2023-01-03Poll battery sensors less frequently.Anton Lindqvist
2023-01-03The software id in the request must be copied as is to the response by theAnton Lindqvist
hardware. Leverage the fact that the same id can be anything within [1, 15] by using a different id per request in a round robin fashion. Makes it easier to correlate requests and responses while making sense of the debug output.
2023-01-03Group more request and response constants.Anton Lindqvist
2023-01-01Clear status bits when we receive a host system error. Otherwise theMark Kettenis
interrupt keeps firing even if the hos controller has been declared dead. ok mpi@
2022-12-30Support FTDI FT232R. The upper 2 bits encode the fractional component of theKevin Lo
FT232R is either 0 or 0.125. ok dlg@
2022-12-19Invalidate ugen(4) knote lists after device detachVisa Hankala
This prevents the kernel from crashing when a ugen(4) device is detached while kqueue still holds a reference to that device. Crash reported and fix tested by xavier.s on bugs@. OK mpi@
2022-12-12Fix USB hotplug on type-C connectors of Apple Silicon hardware. The USBMark Kettenis
controller on these machines does not see connection events. Instead we need to rely on the USB PD controllers to notify us of a new connection and reset the USB controller. This diff implements this by adding a new tipd(4) driver and infrastructure to notify xhci(4) of new connections. ok patrick@
2022-11-29Add support for the Unified Battery feature found in many more recent LogitechAnton Lindqvist
HID++ hardware which should cause battery sensors to be exposed for more devices. Positive test reports from the following: * Lift mouse (anton@) * MX Anywhere 3 mouse (Paul de Weerd) * MX Ergo trackball (kn@)
2022-11-29Add support for Bolt receivers. They use different registers for theAnton Lindqvist
device name and type.
2022-11-26Remove unused battery fields.Anton Lindqvist
2022-11-26Shove more battery feature logic down to hidpp20_battery_get_level_status().Anton Lindqvist
In preparation for supporting the unified battery feature.
2022-11-26Pave the way for checking presence of more features inAnton Lindqvist
uhidpp_device_features().
2022-11-26Stop checking the link status upon receiving connect notifications asAnton Lindqvist
the Bolt receiver uses another bit for this which I haven't been able to identify.
2022-11-26Group function and response defines.Anton Lindqvist
2022-11-26Pass a uhidpp_device to hidpp20_battery_get_capability() andAnton Lindqvist
hidpp20_battery_get_level_status().
2022-11-26Take note of the needed feature indices already inAnton Lindqvist
uhipp_device_features().
2022-11-26Reduce indentation, no functional change.Anton Lindqvist