asrrgb icon indicating copy to clipboard operation
asrrgb copied to clipboard

Fedora

Open jwinarske opened this issue 4 years ago • 3 comments

I have a TRX40 Creator running Fedora. I don't see any visual response when using your tool. This is after installing rule that matches device present. Perhaps I need to boot into windows and update the firmware. I was hoping to avoid buying/booting Windows and doing the tracing, but I think I may need to.

In addition to the documented protocol, it would be good to have Wireshark traces for each of the example transactions.

jwinarske avatar Jan 06 '21 18:01 jwinarske

Could you post here the output of lsusb?

aedalzotto avatar Jan 07 '21 01:01 aedalzotto

sudo lsusb -s 07:05 -v

Bus 007 Device 005: ID 26ce:01a2 ASRock LED Controller
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x26ce 
  idProduct          0x01a2 
  bcdDevice            0.00
  iManufacturer           1 ASRock
  iProduct                2 LED Controller
  iSerial                 3 A02019100900
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0029
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      27
          Report Descriptor: (length is 27)
            Item(Global): Usage Page, data= [ 0x01 ] 1
                            Generic Desktop Controls
            Item(Local ): Usage, data= [ 0x00 ] 0
                            Undefined
            Item(Main  ): Collection, data= [ 0x01 ] 1
                            Application
            Item(Global): Logical Minimum, data= [ 0x00 ] 0
            Item(Global): Logical Maximum, data= [ 0xff ] 255
            Item(Local ): Usage Minimum, data= [ 0x00 ] 0
                            Undefined
            Item(Local ): Usage Maximum, data= [ 0xff ] 255
                            (null)
            Item(Global): Report Count, data= [ 0x40 ] 64
            Item(Global): Report Size, data= [ 0x08 ] 8
            Item(Main  ): Input, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Local ): Usage Minimum, data= [ 0x00 ] 0
                            Undefined
            Item(Local ): Usage Maximum, data= [ 0xff ] 255
                            (null)
            Item(Main  ): Output, data= [ 0x02 ] 2
                            Data Variable Absolute No_Wrap Linear
                            Preferred_State No_Null_Position Non_Volatile Bitfield
            Item(Main  ): End Collection, data=none
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0000
  (Bus Powered)

jwinarske avatar Jan 07 '21 05:01 jwinarske

Ok, the device is the same.

Please try running as sudo:

sudo asrrgb --mode=off
sudo asrrgb --color=0000ff

This should turn off all leds and then turn on as blue. Firmware upgrading the controller should not be needed, but maybe there is some particularity for your motherboard.

aedalzotto avatar Jan 07 '21 15:01 aedalzotto