openrazer / openrazer

Open source driver and user-space daemon to control Razer lighting and other features on GNU/Linux
https://openrazer.github.io
GNU General Public License v2.0
3.69k stars 532 forks source link

Support for [Razer Nommo V2] #2172

Open robosito opened 1 year ago

robosito commented 1 year ago

Device Info

Device Information

Bus 005 Device 004: ID 1532:055c Razer USA, Ltd Razer Nommo V2
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1532 Razer USA, Ltd
  idProduct          0x055c 
  bcdDevice            0.00
  iManufacturer           1 Actions
  iProduct                2 Razer Nommo V2
  iSerial                 3 ACTIONS-DEV-SN0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0098
    bNumInterfaces          3
    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      74
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 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     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      1 Control Device
      bInterfaceProtocol      0 
      iInterface              0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdADC               1.00
        wTotalLength       0x0028
        bInCollection           1
        baInterfaceNr(0)        2
      AudioControl Interface Descriptor:
        bLength                12
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bNrChannels             2
        wChannelConfig     0x0003
          Left Front (L)
          Right Front (R)
        iChannelNames           0 
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0301 Speaker
        bAssocTerminal          0
        bSourceID               9
        iTerminal               0 
      AudioControl Interface Descriptor:
        bLength                10
        bDescriptorType        36
        bDescriptorSubtype      6 (FEATURE_UNIT)
        bUnitID                 9
        bSourceID               1
        bControlSize            1
        bmaControls(0)       0x03
          Mute Control
          Volume Control
        bmaControls(1)       0x00
        bmaControls(2)       0x00
        iFeature                0 
      Endpoint Descriptor:
        bLength                 9
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval              10
        bRefresh                0
        bSynchAddress           0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass         1 Audio
      bInterfaceSubClass      2 Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      AudioStreaming Interface Descriptor:
        bLength                 7
        bDescriptorType        36
        bDescriptorSubtype      1 (AS_GENERAL)
        bTerminalLink           1
        bDelay                  1 frames
        wFormatTag         0x0001 PCM
      AudioStreaming Interface Descriptor:
        bLength                14
        bDescriptorType        36
        bDescriptorSubtype      2 (FORMAT_TYPE)
        bFormatType             1 (FORMAT_TYPE_I)
        bNrChannels             2
        bSubframeSize           2
        bBitResolution         16
        bSamFreqType            1 Discrete
        tSamFreq[ 0]        48000
        junk at descriptor end: 00 00 00
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            9
          Transfer Type            Isochronous
          Synch Type               Adaptive
          Usage Type               Data
        wMaxPacketSize     0x00c0  1x 192 bytes
        bInterval               1
        AudioStreaming Endpoint Descriptor:
          bLength                 7
          bDescriptorType        37
          bDescriptorSubtype      1 (EP_GENERAL)
          bmAttributes         0x01
            Sampling Frequency
          bLockDelayUnits         1 Milliseconds
          wLockDelay         0x0001
total 0
drwxr-xr-x 2 root root 260 nov.  24 14:05 .
drwxr-xr-x 4 root root 600 nov.  24 14:05 ..
lrwxrwxrwx 1 root root  10 nov.  24 08:05 usb-046d_Logitech_BRIO_6E8F4912-event-if00 -> ../event11
lrwxrwxrwx 1 root root   9 nov.  24 08:05 usb-046d_Logitech_BRIO_6E8F4912-event-if05 -> ../event6
lrwxrwxrwx 1 root root  10 nov.  24 14:05 usb-Actions_Razer_Nommo_V2_ACTIONS-DEV-SN0-event-if00 -> ../event22
lrwxrwxrwx 1 root root   9 nov.  24 08:05 usb-Razer_Razer_DeathAdder_V2-event-mouse -> ../event3
lrwxrwxrwx 1 root root  10 nov.  24 08:05 usb-Razer_Razer_DeathAdder_V2-if01-event-kbd -> ../event16
lrwxrwxrwx 1 root root  10 nov.  24 08:05 usb-Razer_Razer_DeathAdder_V2-if02-event-kbd -> ../event19
lrwxrwxrwx 1 root root   9 nov.  24 08:05 usb-Razer_Razer_DeathAdder_V2-mouse -> ../mouse0
lrwxrwxrwx 1 root root   9 nov.  24 08:05 usb-Razer_Razer_Huntsman_Elite-event-kbd -> ../event9
lrwxrwxrwx 1 root root  10 nov.  24 08:05 usb-Razer_Razer_Huntsman_Elite-if01-event-kbd -> ../event21
lrwxrwxrwx 1 root root  10 nov.  24 08:05 usb-Razer_Razer_Huntsman_Elite-if02-event-mouse -> ../event10
lrwxrwxrwx 1 root root   9 nov.  24 08:05 usb-Razer_Razer_Huntsman_Elite-if02-mouse -> ../mouse1
``` 005:003:000:DESCRIPTOR 1700869698.385946 05 0C 09 01 A1 01 85 01 15 00 25 01 09 E9 09 EA 09 E2 09 CD 09 B5 09 B6 09 B3 09 B7 75 01 95 08 81 42 85 03 26 FF 00 09 00 75 08 95 5B 91 02 85 05 26 FF 00 09 00 75 08 95 0F 81 02 85 07 26 FF 00 09 00 75 08 95 5A B1 01 C0 005:002:003:DESCRIPTOR 1700869698.388896 05 59 09 01 A1 01 85 01 09 02 A1 02 09 03 15 00 27 FF FF 00 00 75 10 95 01 B1 03 09 04 09 05 09 06 09 07 09 08 15 00 27 FF FF FF 7F 75 20 95 05 B1 03 C0 85 02 09 20 A1 02 09 21 15 00 27 FF FF 00 00 75 10 95 01 B1 02 C0 85 03 09 22 A1 02 09 21 15 00 27 FF FF 00 00 75 10 95 01 B1 02 09 23 09 24 09 25 09 27 09 26 15 00 27 FF FF FF 7F 75 20 95 05 B1 02 09 28 09 29 09 2A 09 2C 09 2D 15 00 26 FF 00 75 08 95 05 B1 02 C0 85 04 09 50 A1 02 09 03 09 55 15 00 25 08 75 08 95 02 B1 02 09 21 15 00 27 FF FF 00 00 75 10 95 08 B1 02 09 51 09 52 09 53 09 51 09 52 09 53 09 51 09 52 09 53 09 51 09 52 09 53 09 51 09 52 09 53 09 51 09 52 09 53 09 51 09 52 09 53 09 51 09 52 09 53 15 00 26 FF 00 75 08 95 18 B1 02 C0 85 05 09 60 A1 02 09 55 15 00 25 08 75 08 95 01 B1 02 09 61 09 62 15 00 27 FF FF 00 00 75 10 95 02 B1 02 09 51 09 52 09 53 15 00 26 FF 00 75 08 95 03 B1 02 C0 85 06 09 70 A1 02 09 71 15 00 25 01 75 08 95 01 B1 02 C0 85 07 06 00 FF 15 00 26 FF 00 09 02 75 08 95 3F B1 02 C0 005:002:002:DESCRIPTOR 1700869698.390947 05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 75 01 95 08 81 02 81 01 19 00 2A FF 00 15 00 26 FF 00 75 08 95 06 81 00 05 08 19 01 29 03 15 00 25 01 75 01 95 03 91 02 95 05 91 01 C0 005:002:001:DESCRIPTOR 1700869698.393899 05 01 09 06 A1 01 85 01 05 07 19 E0 29 E7 15 00 25 01 75 01 95 08 81 02 19 00 2A FF 00 15 00 26 FF 00 75 08 95 0E 81 00 C0 05 0C 09 01 A1 01 85 02 19 00 2A 3C 02 15 00 26 3C 02 95 01 75 10 81 00 75 08 95 0D 81 01 C0 05 01 09 80 A1 01 85 03 19 81 29 83 15 00 25 01 75 01 95 03 81 02 95 05 81 01 75 08 95 0E 81 01 C0 05 01 09 00 A1 01 85 04 09 03 15 00 26 FF 00 35 00 46 FF 00 75 08 95 0F 81 00 C0 05 01 09 00 A1 01 85 05 09 03 15 00 26 FF 00 35 00 46 FF 00 75 08 95 0F 81 00 C0 005:002:000:DESCRIPTOR 1700869698.396894 05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 05 15 00 25 01 75 01 95 05 81 02 75 01 95 03 81 03 06 00 FF 09 40 75 08 95 02 15 81 25 7F 81 02 05 01 09 38 15 81 25 7F 75 08 95 01 81 06 09 30 09 31 16 00 80 26 FF 7F 75 10 95 02 81 06 C0 06 00 FF 09 02 15 00 25 01 75 08 95 5A B1 01 C0 003:005:002:DESCRIPTOR 1700869698.398448 05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 05 15 00 25 01 75 01 95 05 81 02 75 01 95 03 81 03 06 00 FF 09 40 75 08 95 02 15 81 25 7F 81 02 05 01 09 38 15 81 25 7F 75 08 95 01 81 06 09 30 09 31 16 00 80 26 FF 7F 75 10 95 02 81 06 C0 06 00 FF 09 02 15 00 25 01 75 08 95 5A B1 01 C0 003:005:001:DESCRIPTOR 1700869698.401459 05 01 09 06 A1 01 85 01 05 07 19 E0 29 E7 15 00 25 01 75 01 95 08 81 02 19 00 2A FF 00 15 00 26 FF 00 75 08 95 0E 81 00 C0 05 0C 09 01 A1 01 85 02 19 00 2A 3C 02 15 00 26 3C 02 95 01 75 10 81 00 75 08 95 0D 81 01 C0 05 01 09 80 A1 01 85 03 19 81 29 83 15 00 25 01 75 01 95 03 81 02 95 05 81 01 75 08 95 0E 81 01 C0 05 01 09 00 A1 01 85 04 09 03 15 00 26 FF 00 35 00 46 FF 00 75 08 95 0F 81 00 C0 05 01 09 00 A1 01 85 05 09 03 15 00 26 FF 00 35 00 46 FF 00 75 08 95 0F 81 00 C0 003:005:000:DESCRIPTOR 1700869698.404458 05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01 75 01 95 08 81 02 81 01 19 00 2A FF 00 15 00 26 FF 00 75 08 95 06 81 00 05 08 19 01 29 03 15 00 25 01 75 01 95 03 91 02 95 05 91 01 C0 ```

Packet Captures

### Synapse Screenshots ![image](https://github.com/openrazer/openrazer/assets/151973817/5d30416a-b617-4415-9eb0-ff8f8edaf121) ![image](https://github.com/openrazer/openrazer/assets/151973817/0be2bbb8-21cb-42d5-aa7c-7762150dd9bd) ![image](https://github.com/openrazer/openrazer/assets/151973817/c42cd13e-0851-45c3-9c90-98dbe375894c) ![image](https://github.com/openrazer/openrazer/assets/151973817/b799f4b4-df61-4bf3-a249-5d37c1c27b64)
z3ntu commented 9 months ago

Thanks for opening the issue! You can also take a look at https://github.com/openrazer/openrazer/blob/master/DEVELOPMENT.md how you could add support for this device yourself.