openrazer icon indicating copy to clipboard operation
openrazer copied to clipboard

Support for Razer DeathAdder V3 Pro

Open BLooD-DoG opened this issue 3 years ago • 2 comments

Device Info

  • Name: DeathAdder V3 PRO
  • Product Number: RZ01-04630100
  • Model Number: RZ01-0463

Device Information

Please post the output of
    lsusb -d 1532: -v
In Wired mode:

Bus 001 Device 007: ID 1532:00b6 Razer USA, Ltd Razer DeathAdder V3 Pro
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1532 Razer USA, Ltd
  idProduct          0x00b6 
  bcdDevice            1.00
  iManufacturer           1 Razer
  iProduct                2 Razer DeathAdder V3 Pro
  iSerial                 3 000000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0054
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      94
         Report Descriptors: 
           ** UNAVAILABLE **
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     159
         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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      61
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)


In Wireless mode:

Bus 001 Device 011: ID 1532:00b7 Razer USA, Ltd Razer DeathAdder V3 Pro
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x1532 Razer USA, Ltd
  idProduct          0x00b7 
  bcdDevice            1.00
  iManufacturer           1 Razer
  iProduct                2 Razer DeathAdder V3 Pro
  iSerial                 3 000000000000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0054
    bNumInterfaces          3
    bConfigurationValue     1
    iConfiguration          4 Default configuration
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      94
         Report Descriptors: 
           ** UNAVAILABLE **
      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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     314
         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
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        2
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.11
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      61
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
Device Status:     0x0000
  (Bus Powered)

Please post the output of
    ls -lah /dev/input/by-id/

In Wired mode:
lrwxrwxrwx 1 root root  10 Aug 20 05:09 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-event-if01 -> ../event11
lrwxrwxrwx 1 root root   9 Aug 20 05:09 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-event-mouse -> ../event9
lrwxrwxrwx 1 root root  10 Aug 20 05:09 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-if01-event-kbd -> ../event10
lrwxrwxrwx 1 root root  10 Aug 20 05:09 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-if02-event-kbd -> ../event12
lrwxrwxrwx 1 root root   9 Aug 20 05:09 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-mouse -> ../mouse2

In Wireless mode:

lrwxrwxrwx 1 root root  10 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-event-if01 -> ../event12
lrwxrwxrwx 1 root root   9 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-event-mouse -> ../event9
lrwxrwxrwx 1 root root  10 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-if01-event-kbd -> ../event10
lrwxrwxrwx 1 root root  10 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-if01-event-mouse -> ../event11
lrwxrwxrwx 1 root root   9 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-if01-mouse -> ../mouse3
lrwxrwxrwx 1 root root  10 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-if02-event-kbd -> ../event30
lrwxrwxrwx 1 root root   9 Aug 20 05:14 usb-Razer_Razer_DeathAdder_V3_Pro_000000000000-mouse -> ../mouse2

Packet Captures

Can provide if necessary

Synapse Screenshots

DeathAdder_V3_Pro_Customize

DeathAdder_V3_Pro_Performance

DeathAdder_V3_Pro_Calibration

DeathAdder_V3_Pro_Power

Suspect the driver will be very similar to the recent V2 Pro @ https://github.com/openrazer/openrazer/pull/1849/commits/a3fb25963fff4a0cd458abbaa4cd21a196accd6e since the mice are very similar.

BLooD-DoG avatar Aug 20 '22 09:08 BLooD-DoG

I created a patch (attached) based on the V2 Pro commit, preliminary testing (wired and wireless) with the polychromatic frontend looks promising.

I wasn't sure where to get the proper DEVICE_IMAGE to use in mouse.py, best I could find was DEVICE_IMAGE = "https://dl.razerzone.com/src/6130/6130-1-en-v2.png" which seems to work ok in the front end.

deathadderv3pro.patch.tar.gz

razer

BLooD-DoG avatar Aug 20 '22 21:08 BLooD-DoG

I created a patch (attached) based on the V2 Pro commit, preliminary testing (wired and wireless) with the polychromatic frontend looks promising.

I wasn't sure where to get the proper DEVICE_IMAGE to use in mouse.py, best I could find was DEVICE_IMAGE = "https://dl.razerzone.com/src/6130/6130-1-en-v2.png" which seems to work ok in the front end.

deathadderv3pro.patch.tar.gz

razer

the image that you have currently seems fine, since the mouse comes in two colors and could you make a PR for this, if it works well?

Etaash-mathamsetty avatar Aug 21 '22 20:08 Etaash-mathamsetty