Page MenuHomeFreeBSD

USBExperimental
ActivePublic

Details

Description

Groups related to USB stuff.

Recent Activity

Today

manu requested changes to D58367: video: add generic video(4) capture framework.
Mon, Jul 27, 10:31 AM · USB, drivers

Yesterday

guest-seuros updated the diff for D58368: uvideo: convert to video(4) framework.

rebase

Sun, Jul 26, 7:53 PM · USB, drivers
guest-seuros updated the diff for D58367: video: add generic video(4) capture framework.

rebase

Sun, Jul 26, 7:52 PM · USB, drivers

Sat, Jul 25

aokblast added inline comments to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..
Sat, Jul 25, 1:37 PM · USB
aokblast added a comment to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

usbconfig stopped reporting my webcam and fingerprint reader. Instead I get 'usbconfig: could not open device: Bad file descriptor'. Problem goes away when these changes are reverted. A very strange side note: libusb20_int.h is missing from base.txz for 15.1-RELEASE (but is in src.txz). I think the problem is I'm testing against 15.1-RELEASE which is too far behind current. I need to find some hardware onto which I can run current.

Sat, Jul 25, 1:37 PM · USB
adrian closed D58432: ietp: guard iicbus_get_addr with devclass check.
Sat, Jul 25, 2:02 AM · drivers, USB

Fri, Jul 24

markj added inline comments to D58367: video: add generic video(4) capture framework.
Fri, Jul 24, 7:17 PM · USB, drivers
adrian added a reviewer for D58432: ietp: guard iicbus_get_addr with devclass check: wulf.
Fri, Jul 24, 2:29 PM · drivers, USB
adrian accepted D58432: ietp: guard iicbus_get_addr with devclass check.
Fri, Jul 24, 2:29 PM · drivers, USB
adrian added projects to D58432: ietp: guard iicbus_get_addr with devclass check: USB, drivers.
Fri, Jul 24, 2:28 PM · drivers, USB
markj added inline comments to D58367: video: add generic video(4) capture framework.
Fri, Jul 24, 2:10 PM · USB, drivers
bapt added a reviewer for D58367: video: add generic video(4) capture framework: manu.
Fri, Jul 24, 5:02 AM · USB, drivers
adrian added a reviewer for D58367: video: add generic video(4) capture framework: markj.

@markj would you mind eyeballing the mmap / pager stuff here? seuros is looking to refactor uvideo into a generic video layer and then drivers that implement this video API. Since uvideo got a bunch of pager/mmap related changes recently I'd like to make sure this gets done too.

Fri, Jul 24, 4:36 AM · USB, drivers
adrian added a reviewer for D58367: video: add generic video(4) capture framework: bapt.
Fri, Jul 24, 4:35 AM · USB, drivers
adrian added a reviewer for D58368: uvideo: convert to video(4) framework: bapt.

hi @bapt ! so seuros here is neck deep in video/uvideo refactoring. Do you have any other uvideo stuff in the pipeline? I'd like to get the refactored video/uvideo split reviewed and in the tree before uvc lands and other bits/pieces for uvideo itself come in.

Fri, Jul 24, 4:34 AM · USB, drivers
adrian added a project to D58368: uvideo: convert to video(4) framework: USB.
Fri, Jul 24, 4:33 AM · USB, drivers

Tue, Jul 21

unitrunker_protonmail.com added a comment to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

usbconfig stopped reporting my webcam and fingerprint reader. Instead I get 'usbconfig: could not open device: Bad file descriptor'. Problem goes away when these changes are reverted.
A very strange side note: libusb20_int.h is missing from base.txz for 15.1-RELEASE.

Tue, Jul 21, 5:51 PM · USB
adrian added a comment to D54296: PR 291774: expand range of errors reported by libusb_open(3).

usbconfig stopped reporting my webcam and fingerprint reader. Instead I get 'usbconfig: could not open device: Bad file descriptor'. Problem goes away when these changes are reverted.

Tue, Jul 21, 5:13 PM · USB
unitrunker_protonmail.com added a comment to D54296: PR 291774: expand range of errors reported by libusb_open(3).

usbconfig stopped reporting my webcam and fingerprint reader. Instead I get 'usbconfig: could not open device: Bad file descriptor'. Problem goes away when these changes are reverted.

Tue, Jul 21, 5:05 PM · USB
unitrunker_protonmail.com added a comment to D54296: PR 291774: expand range of errors reported by libusb_open(3).

@lwhsu @aokblast Ping

Tue, Jul 21, 3:58 PM · USB

Mon, Jul 20

unitrunker_protonmail.com added a comment to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

Plus these point. Should we add O_CLOEXEC in here as libusb opened program can panic and thus flock never unlock

Good question. This device access model is simple - either the device is opened exclusively or shared. It never changes for the life of the device handle. If the process exits abruptly, I expect the host OS to clean up any open device and file handles. Once the handle is closed, the lock on the handle no longer applies.

Mon, Jul 20, 11:53 PM · USB
unitrunker_protonmail.com added inline comments to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..
Mon, Jul 20, 11:48 PM · USB
unitrunker_protonmail.com updated the diff for D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

Small fixes suggested by aokblast.

Mon, Jul 20, 11:45 PM · USB

Sun, Jul 12

adrian closed D56729: hidwacom: Add Wacom ExpressKey Remote driver.
Sun, Jul 12, 5:25 PM · USB
adrian accepted D56729: hidwacom: Add Wacom ExpressKey Remote driver.
Sun, Jul 12, 5:05 PM · USB
adrian added a comment to D56729: hidwacom: Add Wacom ExpressKey Remote driver.

It is fine as-is, we can rename it later if needs be.

Sun, Jul 12, 5:05 PM · USB

Jun 27 2026

sanpei added a comment to D57566: aue(4): fix incorrect media detection.

I tested this patch with two BUFFALO LUA2-TX (aue(4)) dongles that show the exact same dmesg.

Jun 27 2026, 12:05 AM · desktop, USB

Jun 22 2026

aokblast closed D51759: libusb: implement zlp flag in libusb transfer.
Jun 22 2026, 1:37 PM · USB

Jun 21 2026

sanpei added a comment to D57566: aue(4): fix incorrect media detection.

@rkitover_gmail.com
Thank you for your effort.

Jun 21 2026, 5:26 AM · desktop, USB

Jun 19 2026

guest-seuros added a comment to D56729: hidwacom: Add Wacom ExpressKey Remote driver.

I would like to understand the technical reasoning behind rejecting hidwacom before doing a rename. The rename itself is mechanical, but I want to understand what makes the name problematic so I can apply the same logic to future drivers.

Jun 19 2026, 6:51 AM · USB
kevans added a comment to D56729: hidwacom: Add Wacom ExpressKey Remote driver.

I think hidwacom is the better name here.

This is Wacom hardware, and it does not speak a generic "remote" protocol. It uses a Wacom-specific, undocumented HID report protocol. I decoded it from USB traffic captured against their Windows driver, and only later found that Linux already handles the same protocol in drivers/hid/wacom_wac.c under the hid-wacom driver.

If this were a published or vendor-neutral remote-control protocol, I would agree that hidremote would be a better name. But in this case, hidremote would make the driver look more generic than it really is.
The important part is not that the device is a remote, but that it is a Wacom HID device using Wacom-specific reports.

Linux also has support for multiple remotes and some additional quirks, but I cannot test those yet since I only have one ExpressKey Remote. I would rather land the tested base driver first and leave the untested multi-remote/quirk handling for future work.

Also, Wacom hardware is not limited to drawing tablets. Wacom EMR digitizers ship embedded in several laptops, including Lenovo ThinkPad X200t/X220t/X230t/Yoga models, and machines from HP, Dell, Asus, and Panasonic. Those are not drawing tablets either, but they still use Wacom-specific constants/protocol details. Samsung use it for their flagship phones and screens.

I will add the hidbus(4) xref.

Jun 19 2026, 12:14 AM · USB

Jun 18 2026

adrian accepted D51759: libusb: implement zlp flag in libusb transfer.
Jun 18 2026, 5:12 AM · USB
adrian added a reviewer for D51759: libusb: implement zlp flag in libusb transfer: USB.
Jun 18 2026, 5:11 AM · USB

Jun 14 2026

adrian closed D57089: apple_bce/vhci: add T2 virtual USB host controller.
Jun 14 2026, 8:58 PM · USB, drivers, apple (x86)
rkitover_gmail.com updated the diff for D56138: ure: lock MII bus operations.

Remove PHY checking, MII bus lock is sufficient

Jun 14 2026, 5:19 AM · desktop, USB
rkitover_gmail.com added a comment to D55631: axge: fix spurious link down from MII, frozen TX.

Hi, I have a patch for media in aue that should work, can you test please:

Jun 14 2026, 3:38 AM · USB, network
rkitover_gmail.com added a comment to D57566: aue(4): fix incorrect media detection.

MII bus lock patch is here:

Jun 14 2026, 3:36 AM · desktop, USB
rkitover_gmail.com added projects to D57567: aue(4): fix link flaps from MII bus: USB, desktop.
Jun 14 2026, 3:31 AM · desktop, USB
rkitover_gmail.com updated the diff for D57566: aue(4): fix incorrect media detection.

Add Differential Review to commit message

Jun 14 2026, 3:28 AM · desktop, USB
rkitover_gmail.com added reviewers for D57566: aue(4): fix incorrect media detection: sanpei, zlei, bms, kevlo, pouria, adrian.
Jun 14 2026, 3:25 AM · desktop, USB
rkitover_gmail.com added projects to D57566: aue(4): fix incorrect media detection: USB, desktop.
Jun 14 2026, 3:21 AM · desktop, USB

Jun 6 2026

rkitover_gmail.com added a comment to D55631: axge: fix spurious link down from MII, frozen TX.

I've updated my patches to just use MII lock which is sufficient, as you found out, this one and:

Jun 6 2026, 2:10 PM · USB, network
rkitover_gmail.com added projects to D57489: muge(4): Lock MII bus to fix link flaps: USB, desktop.
Jun 6 2026, 2:03 PM · desktop, USB
rkitover_gmail.com updated the diff for D55925: axe: fix spurious link flaps from MII.

Keep only MII bus lock, it's enough.

Jun 6 2026, 12:24 AM · desktop, USB

Jun 5 2026

rkitover_gmail.com updated the diff for D56138: ure: lock MII bus operations.

Keep only MII bus lock, it's enough.

Jun 5 2026, 11:35 PM · desktop, USB
rkitover_gmail.com updated the diff for D55631: axge: fix spurious link down from MII, frozen TX.

Remove everything except MII bus lock, which is sufficient.

Jun 5 2026, 11:16 PM · USB, network

May 31 2026

aokblast added a comment to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

Also, thanks for you patient and contribution. This patch makes some improvement for multiple devices case.

May 31 2026, 1:55 PM · USB
aokblast added a comment to D54218: Introduce libusb20_dev_open_with_flags for shared vs. exclusive access..

Plus these point. Should we add O_CLOEXEC in here as libusb opened program can panic and thus flock never unlock

May 31 2026, 1:51 PM · USB

May 30 2026

adrian accepted D57089: apple_bce/vhci: add T2 virtual USB host controller.
May 30 2026, 1:39 AM · USB, drivers, apple (x86)
adrian added a project to D57089: apple_bce/vhci: add T2 virtual USB host controller: USB.
May 30 2026, 1:39 AM · USB, drivers, apple (x86)