BPF for HID drivers
BPF for HID drivers
Posted Sep 26, 2022 17:16 UTC (Mon) by WolfWings (subscriber, #56790)Parent article: BPF for HID drivers
I sincerely hope these get shipped as out-of-kernel BPF files akin to firmware, because that would allow for a widely useful but currently frustrating "Yes I know it's valid but it's badly implemented" situation that's been long-standing for years now to allow for having a lot more H.264 and/or MJPEG webcams on a single port by finally having a (relatively trivial) way to override the USB descriptor.
The camera may consume the entire allocatable (which is comically just over 50% of the available) bandwidth on a USB 2.0 port when in 'raw' modes, but that bandwidth drops significantly in the 'compressed' video modes, but there's no support in the standard to specify proper compressed bandwidth estimates.