Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Dmitry
Wed, 25 Nov 2026 18:10
Bug#1155331: linux: Intel xHCI forces 512-byte bulk IN packets on ASI120MM-compatible camera (03c3:120a)
Author: Dmitry
Date: Wed, 25 Nov 2026 18:10
Date: Wed, 25 Nov 2026 18:10
65 lines
4424 bytes
4424 bytes
--===============1701131722842170423== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Package: src:linux Version: 6.12.117-1 Severity: normal Tags: patch Dear Debian Kernel Team, A monochrome Datyson T7 enumerates as ASI120MM on Debian 13 amd64. Camera controls work, but the stock kernel cannot receive an image. The device advertises an out-of-spec 1024-byte high-speed bulk IN endpoint. We tested a device-specific workaround on the same host. Hardware and software Intel xHCI 8086:22b5 (rev 35), GIGABYTE GB-BACE-3160 USB 03c3:120a at 480 Mbit/s, bulk IN endpoint 0x82 linux-image-6.12.117+deb13-amd64, Debian version 6.12.117-1 To reproduce on this hardware, select the camera in indi_asi_ccd and request an exposure. A direct libusb capture test also reproduced the failure with the camera initialized to a 640x480 RAW8 stream. Stock kernel Device endpoint wMaxPacketSize: 0x0400 xHCI debugfs ep-context: Type Bulk IN, maxp 512 libusb request for 307200 bytes: LIBUSB_ERROR_OVERFLOW, 0 received usbmon recorded completion status -75 and actual length 0. With the attached change to xhci_endpoint_init(), using the same kernel and camera firmware, debugfs showed maxp 1024. The same direct transfer returned all 307200 bytes on the first request and produced a viewable image. INDI also recorded successive 1280x960 images. This hardware test covers one camera and one Intel host controller. Could you track this compatibility issue for trixie and consider a backport if an appropriate upstream fix becomes available? The attached diff reproduces the local A/B test. A related, broader upstream proposal specifically discusses astronomical cameras with 1 KiB packets: https://lore.kernel.org/linux-usb/20261028104329.3d1c8029.michal.pecio@gmail.= com/ Thank you. --===============1701131722842170423== Content-Type: text/x-patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="t7-xhci-debian.patch" MIME-Version: 1.0 LS0tIGEvZHJpdmVycy91c2IvaG9zdC94aGNpLW1lbS5jCisrKyBiL2RyaXZlcnMvdXNiL2hvc3Qv eGhjaS1tZW0uYwpAQCAtMTQ0MSw3ICsxNDQxLDEwIEBACiAJCWVycl9jb3VudCA9IDM7CiAJLyog SFMgYnVsayBtYXggcGFja2V0IHNob3VsZCBiZSA1MTIsIEZTIGJ1bGsgc3VwcG9ydHMgOCwgMTYs IDMyIG9yIDY0ICovCiAJaWYgKHVzYl9lbmRwb2ludF94ZmVyX2J1bGsoJmVwLT5kZXNjKSkgewot CQlpZiAodWRldi0+c3BlZWQgPT0gVVNCX1NQRUVEX0hJR0gpCisJCWlmICh1ZGV2LT5zcGVlZCA9 PSBVU0JfU1BFRURfSElHSCAmJgorCQkgICAgIShsZTE2X3RvX2NwdSh1ZGV2LT5kZXNjcmlwdG9y LmlkVmVuZG9yKSA9PSAweDAzYzMgJiYKKwkJICAgICAgbGUxNl90b19jcHUodWRldi0+ZGVzY3Jp cHRvci5pZFByb2R1Y3QpID09IDB4MTIwYSAmJgorCQkgICAgICBlcC0+ZGVzYy5iRW5kcG9pbnRB ZGRyZXNzID09IDB4ODIgJiYgbWF4X3BhY2tldCA9PSAxMDI0KSkKIAkJCW1heF9wYWNrZXQgPSA1 MTI7CiAJCWlmICh1ZGV2LT5zcGVlZCA9PSBVU0JfU1BFRURfRlVMTCkgewogCQkJbWF4X3BhY2tl dCA9IHJvdW5kZG93bl9wb3dfb2ZfdHdvKG1heF9wYWNrZXQpOwo= --===============1701131722842170423==--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads