[Bug 251784] USB_DO_REQUEST ERR#5 'Input/output error' for 0x0b05:0x18f3 ASUS AURA LED Controller

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Dec 12 15:02:14 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251784

            Bug ID: 251784
           Summary: USB_DO_REQUEST ERR#5 'Input/output error' for
                    0x0b05:0x18f3 ASUS AURA LED Controller
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: greg at unrelenting.technology

Created attachment 220490
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=220490&action=edit
aura-openrgb.usbdump

Somehow FreeBSD's usb stack doesn't seem to like this device:

ugen0.3: <AsusTek Computer Inc. AURA LED Controller> at usbus0, cfg=0 md=HOST
spd=FULL (12Mbps) pwr=ON (16mA)

The HID descriptors are readable, but communication fails.

https://gitlab.com/CalcProgrammer1/OpenRGB (uses hidapi->libusb) does not
manage to enumerate it (get firmware revision):

openat(AT_FDCWD,"/dev/ugen0.3",O_RDWR,00)        = 5 (0x5)
…
ioctl(5,USB_DO_REQUEST,0x7fffdfdfc708)           ERR#5 'Input/output error'
poll({ 3/POLLIN 6/POLLIN|POLLOUT|POLLRDNORM },2,-1) = 1 (0x1)
read(3,0x7fffdf9faf0f,1)                         ERR#35 'Resource temporarily
unavailable'
ioctl(6,USB_FS_COMPLETE,0x7fffdf9fae78)          = 0 (0x0)
ioctl(6,USB_FS_COMPLETE,0x7fffdf9fae78)          ERR#16 'Device busy'
ioctl(6,USB_FS_START,0x7fffdf9fadb0)             = 0 (0x0)

Looking at the usbdump, after we send the firmware version query (shows up as
packet number 20 in wireshark, length 220, data with the EC 82 00 00 00 ..
bunch of zeros), what we get back is Error: Stalled, so that is why the I/O
error.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list