Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Razer Naga Epic support #197

Open
nailplsh opened this issue Feb 10, 2017 · 46 comments · May be fixed by #1289
Open

Razer Naga Epic support #197

nailplsh opened this issue Feb 10, 2017 · 46 comments · May be fixed by #1289
Labels
Device Support normal lighting Normal protocol ("matrix" or older one) that we know and love.

Comments

@nailplsh
Copy link

Linux device identifier: 1532:001F
Product ID: RZ01-005101
12 Macros

@z3ntu
Copy link
Member

z3ntu commented Feb 10, 2017

It has a wireless dock, right? That one should be 1532:0021.

@nailplsh
Copy link
Author

hmm okay. I am pretty sure that it is 001F but I will try the other

@z3ntu
Copy link
Member

z3ntu commented Feb 10, 2017

Please post the output of
lsusb -d 1532:001F -v
and
ls -lah /dev/input/by-id/
and read this on how to get packet captures. Also screenshots of all available options on Razer Synapse are needed.

@z3ntu
Copy link
Member

z3ntu commented Feb 16, 2017

@etxzay this here is another project that supports changing the color of Chroma devices. Unfortunately the Razer Naga Epic isn't support yet but you can help with getting there :)

(note to others: redirected him here from another repo)

@zhukovpe
Copy link

zhukovpe commented Feb 18, 2017

@z3ntu it has a dock which can be a bluetooth access point for wireless mouse connection, and dock has id 1532:0021

etxzay@blink ~> lsusb -d 1532:001F -v

Bus 003 Device 009: ID 1532:001f Razer USA, Ltd 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1532 Razer USA, Ltd
  idProduct          0x001f 
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    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      93
         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     0x0008  1x 8 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No 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      47
         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     0x0009  1x 9 bytes
        bInterval               1
etxzay@blink ~> ls -lah /dev/input/by-id/
total 0
drwxr-xr-x 2 root root 100 фев 18 08:13 .
drwxr-xr-x 4 root root 460 фев 18 08:13 ..
lrwxrwxrwx 1 root root   9 фев 18 08:13 usb-Razer_Razer_Naga_Epic-event-mouse -> ../event4
lrwxrwxrwx 1 root root   9 фев 18 08:13 usb-Razer_Razer_Naga_Epic-if01-event-kbd -> ../event5
lrwxrwxrwx 1 root root   9 фев 18 08:13 usb-Razer_Razer_Naga_Epic-mouse -> ../mouse0`

Both commands where executed while mice was connected wired (direct USB cable to PC)

@spannerman79
Copy link

Also screenshots of all available options on Razer Synapse are needed.

I'm about to shift from Windows 7 to Linux, thought that I could help out with the screenshots @z3ntu

naga_epic_mouse_customize
naga_epic_mouse_customize_side_view_123
naga_epic_mouse_customize_side_view_num
naga_epic_mouse_lighting
naga_epic_mouse_performance
naga_epic_mouse_power

@terricain terricain added the need pcap USB traffic packet captures are useful - see wiki "Reverse Engineering USB Protocol" label Jun 15, 2017
@terricain
Copy link
Member

Need packet captures for the following (each item in its own file please)

  • Static Effect (diffferent colours, red blue etc...)
  • Spectrum cycling toggle on off
  • Wired Brightness from off -> bright -> off -> bright a few times
  • Wireless Brightness from off -> bright -> off -> bright a few times
  • DPI 100 -> 5600 a few times
  • Polling rate 125 -> 1000 a few times
  • Sleep mode from 1 -> 15 a few times
  • Flash battery indicator 5->25 a few times

@Destroyer
Copy link

Destroyer commented Jul 16, 2017

Tested in wired mode on Kali 2016.2 w/ W10 x64

~ lsusb -d 1532:001F -v

Bus 001 Device 009: ID 1532:001f Razer USA, Ltd 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x1532 Razer USA, Ltd
  idProduct          0x001f 
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    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      93
         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     0x0008  1x 8 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No 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      47
         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     0x0009  1x 9 bytes
        bInterval               1

Static effect - I've selected all colors from the top row (white was selected before capture)
Spectrum cycling on->off 3x
Wired Brightness (before capture off) -> bright -> off 3x
Wireless Brightness (before capture off) -> bright -> off 3x
DPI (before capture 100) -> 5600->100 3x
Polling rate (before capture 125) -> 1000->125 3x
Enter sleep mode (before capture 1) -> 15->1 3x
Blink scroll wheel light when power level is below (before capture 5%) -> 25->5 3x

Let me know if this is ok

Captures.zip

@terricain
Copy link
Member

Will have a look soon, am super busy but good job on all teh pcaps

terricain added a commit that referenced this issue Aug 5, 2017
@terricain
Copy link
Member

Install debs from here - https://drive.google.com/open?id=0BydYgD2LzDUCenp0SEh0akcxMGc - reboot, then run

ls -l /sys/bus/hid/drivers
ls -l /sys/bus/hid/drivers/razermouse
ls -l /sys/bus/hid/drivers/razermouse/0*/

@z3ntu z3ntu added In Progress need testing and removed need pcap USB traffic packet captures are useful - see wiki "Reverse Engineering USB Protocol" labels Dec 4, 2017
@jcstryker
Copy link

@terrycain I don't have a debian/ubuntu workstation at the moment. Is there anything else can I do to help test this model?

@z3ntu
Copy link
Member

z3ntu commented Jan 20, 2018

You can build it yourself for any other distro. See the wiki for a few pointers (I think the site is called 'Building packages')

@spannerman79
Copy link

spannerman79 commented Jan 20, 2018

@Destroyer
Copy link

Sorry, I completly forgot to reply because I stopped using that mouse on my laptop. Anyway I installed it and this is my status on kali with latest updates and 4.14.0 kernel

# ls -l /sys/bus/hid/drivers
total 0
drwxr-xr-x 2 root root 0 Jan 21 02:04 hid-generic
drwxr-xr-x 2 root root 0 Jan 21 02:04 razermouse
# ls -l /sys/bus/hid/drivers/razermouse
total 0
--w------- 1 root root 4096 Jan 21 02:04 bind
lrwxrwxrwx 1 root root    0 Jan 21 02:04 module -> ../../../../module/razermouse
--w------- 1 root root 4096 Jan 21 02:04 new_id
--w------- 1 root root 4096 Jan 21 02:04 uevent
--w------- 1 root root 4096 Jan 21 02:04 unbind
# ls -l /sys/bus/hid/drivers/razermouse/0*/
ls: cannot access '/sys/bus/hid/drivers/razermouse/0*/': No such file or directory

@n-scope
Copy link

n-scope commented Jan 22, 2018

same exact output on Linux Mint 18

@z3ntu
Copy link
Member

z3ntu commented Jan 28, 2018

@Destroyer @n-scope Can you two join our community chat, either via Telegram (https://t.me/joinchat/A1E4RT9TxhnxyetdQCSj7Q) or via Matrix (https://matrix.to/#/#openrazer:matrix.org) ? Debugging via issue comments takes forever.

@Raineer
Copy link

Raineer commented Mar 16, 2018

If this is still open for testing, I'd like to help. I use a Naga Epic in wired mode (can confirm 1532:001F) ; Mint 18.3.

The debs seem to have been removed from the Google Drive, but if they are still available I can give it a shot.

@z3ntu z3ntu added this to the normal lighting milestone Apr 10, 2018
@z3ntu
Copy link
Member

z3ntu commented May 30, 2018

@Raineer You can follow https://github.com/openrazer/openrazer/wiki/Building-a-package#ubuntu--linux-mint with feature_naga_epic_001F as TARGET_BRANCH

@jcstryker
Copy link

I have had success getting the device recognised with this branch.

Configuring the lighting works through polychromatic.

@z3ntu
Copy link
Member

z3ntu commented Jun 14, 2018

@jcstryker Does everything work?

@jcstryker
Copy link

Ah sorry, so after some more testing with a openrazer-git PKGBUILD for Arch Linux, modified to build the 'feature_naga_epic_001F' branch, this is what I have found.

Naga Epic Dock:

  • Not Recognized at all

Naga Epic Wired Mode:

  • Device is not owned by plugdev group
  • After manual chown:
    • Device is recognized on daemon restart
    • Lighting (both Spectrum/Static), Brightness, DPI, and Polling Rate are all working and configurable
    • DPI setting is not saved on reboot (polychromatic)

razer.log

z3ntu pushed a commit that referenced this issue Jun 14, 2018
@guppy42
Copy link

guppy42 commented Nov 26, 2018

Following the guidlines in #197 (comment) it works for me ( static color & spectrum ) - but only in wired mode, wireless just nets me a "unkown razer device" in polychromatic

@franciscojmarin
Copy link

franciscojmarin commented Feb 21, 2019

Sorry reposting in an "old" topic but im having problems with installing it on Ubuntu following #197 (comment) instructions. I have a screenshot, part of it is in Spanish since my system have that language. Hope you can help me, i'm having problems with my mouse and i'm trying to fix it with this. It is when i use the command "./scripts/build_debs.sh" after the long one "sudo apt install debhelper linux-headers-generic python3-setuptools lsb-release dkms # build dependencies"

razer naga

@z3ntu
Copy link
Member

z3ntu commented Mar 19, 2019

@franciscojmarin Install dh-python with apt

@guppy42
Copy link

guppy42 commented Mar 29, 2019

What is the reason this wasn't added into release 2.5.0 ?
I more testing needed or?

@heathkraft
Copy link

Poking this issue again, I've followed all of the instructions, and it's still not picking up my mouse.

@heathkraft
Copy link

what testing needs to be done? I'll be more than happy to assist. I just want my mouse to work...

@ChaoticAce
Copy link

Any update on this?

z3ntu pushed a commit that referenced this issue Oct 13, 2020
@z3ntu z3ntu linked a pull request Oct 13, 2020 that will close this issue
@z3ntu
Copy link
Member

z3ntu commented Oct 13, 2020

Please test #1289, it's the code from a couple of years rebased on master. Installation instructions are linked in the PR (or ask if you need help).

@ChaoticAce
Copy link

I asked about the wrong thread. I really wanted the status to the Naga Epic Chroma mentioned here: #899. I don't own the non-chroma naga epic -

@Nickelbawker
Copy link

Nickelbawker commented Dec 11, 2020

Does this open razer allow for DPI hot swap function? That's all I would need for linux the rest I can alter while I'm on windows. I have the wireless 2012 Naga Epic and it's my favorite mouse because of it's sleekness compared to the newer numpad style mice. Will be trying to keep this mouse until they release a similar product again, nothing else currently on the market close enough to it for me.

@z3ntu
Copy link
Member

z3ntu commented Dec 20, 2020

@Nickelbawker What's "DPI hot swap function"?

@Nickelbawker
Copy link

@Nickelbawker What's "DPI hot swap function"?

derp

z3ntu pushed a commit that referenced this issue Jan 23, 2021
@z3ntu z3ntu added the normal lighting Normal protocol ("matrix" or older one) that we know and love. label Feb 19, 2021
@z3ntu z3ntu removed this from the normal lighting milestone Feb 19, 2021
@kwamaking
Copy link

I have a razer naga epic and i've installed the daily release for openrazer and it shows this in polychromatic:
image

i'm not sure if mine is an older or newer gen than the pid you have added in the above pull request: 40ec2b2

This pid (1532:0021) shows up for both wired and wireless modes for my naga epic.

If I can provide any additional details let me know, I just recently switched back to Linux on my gaming rig and would love to have full support for this.

@ChaoticAce

This comment was marked as off-topic.

@Zellogie
Copy link

Zellogie commented Jul 3, 2022

I get the same problem as @kwamaking
Same issue with both polycromatic and razercommander (which to me means it's openrazer that doesn't support this mouse)
I have tried with the #1289 fix.

Both wireless (the dock, pid 1532:0021) and wired(pid 1532:001f).
It's the Razer Naga Epic 2012 version.

And I have tried restarting the system and daemon using the wire or dock.

If there is something you want me to try please let me know. I'm still kind of new to Linux, since a few months, so I'm still in the learning phase.

@ghost
Copy link

ghost commented Nov 28, 2022

I too have the same issue, and I don't understand what is meant by feature_naga_epic_001F as TARGET_BRANCH

@jackk845
Copy link

jackk845 commented Sep 9, 2023

i have the the same issue

@z3ntu
Copy link
Member

z3ntu commented Sep 21, 2023

@jackk845 (and everybody else reading) Please check out #1289 and https://github.com/openrazer/openrazer/wiki/Building-a-package , otherwise this pull request will be stuck forever.

@w-j-r
Copy link

w-j-r commented Jun 16, 2024

What else needs to be done for this mouse? From what I have gathered so far is that the mouse in wired mode is recognized but the dock is not? I have just been using this mouse without any drivers since everything works OOTB, dock included, but some options like turning off the lights would be nice, so I am interested in seeing if I could be of any help.

@Zellogie
Copy link

What else needs to be done for this mouse? From what I have gathered so far is that the mouse in wired mode is recognized but the dock is not? I have just been using this mouse without any drivers since everything works OOTB, dock included, but some options like turning off the lights would be nice, so I am interested in seeing if I could be of any help.

My mouse broke (wired/battery button broke and battery swelled + something more I can't remember). But I do believe I have it somewhere. Should work in wired mode.

Can try to find it in case you or anyone need something tested.

@w-j-r
Copy link

w-j-r commented Jun 16, 2024

@jackk845 (and everybody else reading) Please check out #1289 and https://github.com/openrazer/openrazer/wiki/Building-a-package , otherwise this pull request will be stuck forever.

Just did some testing on this and wanted to say the feature_naga_epic_001F branch works with the 1532:001f razer naga epic in wired mode at least partially. The dock is not recognized, at least in razer-cli. I was not able to test with Polychromatic because it seems to crash on the "device" tab. Polychromatic had worked previously with the openrazer drives found in the official arch repos.

So far in razer-cli I was able to successfully control the

  • DPI (saves to device)
  • poll rate (saves to device)
  • brightness settings (from off, and from 1-100%). Saves to device.

What doesn't seem work:

  • Setting battery low threshold
  • Battery idle time
  • Setting any effect or specific color (cannot change this in RazerGenie, cannot find any combination that works in razer-cli).

Let me know what else is needed.

My lsusb
1532:001f Razer USA, Ltd Naga Epic (Wired)

My device info via razer-cli

Found 1 Razer device(s)
Razer Naga Epic:
   type: mouse
   DPI: (1800, 1800)
   max DPI: 5600
   polling rate: 500
   battery:
      charge: 64
      charging: True
   generic zone:
   scroll_wheel zone:
      brightness: 0.0
      colors: ['FF0000', '00FFFF', '0000FF']
      effect: static
      speed: 1
      wave_dir: 1
      effects available:
         brightness
         none
         spectrum
         static
   serial: PM1217051T01586
   firmware version: v1.4
   driver version: 3.6.1
   supported capabilities:
      name
      type
      firmware_version
      serial
      battery
      set_idle_time
      set_low_battery_threshold
      poll_rate
      dpi
      lighting
      lighting_scroll
      lighting_scroll_brightness
      lighting_scroll_spectrum
      lighting_scroll_static
      lighting_scroll_none

Another thing I wanted to add is that the dock and mouse will still work together. If you want to change a setting on the mouse you have to plug it in to the pc then set it. After you set the setting you can unplug it and it will still work in wireless mode with the dock. As far as I can tell the dock is only there to communicate with the mouse in wireless mode and does the charging.

UPDATE:

Struggling to get either Polychromatic or RazerGenie to work, where razer-cli is working just fine.

I was able to get RazerGenie up. So none of the lighting options work except for brightness control (RazerGenie throws error, same with razer-cli). The rest of the highlighted options work without any issue.

MOUSE 1
driverswork_2024-06-17 18-26-32

MOUSE 2
secondmouse_2024-06-17 19-03-36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Device Support normal lighting Normal protocol ("matrix" or older one) that we know and love.
Development

Successfully merging a pull request may close this issue.