Mice Razer DPI.

I have a mouse razer imperator 2012.

I want to fix the mouse dpi to play some games like fps. On desktop the mouse work fine but to play some fps games or to play bullet chess games I get huge disadvantage.

Is there some software like razer synapse for linux to setup my mice??

Tksskks

I don’t know what your technical skill/experience level is like, but there have been a number of changes with how input devices are handled that can affect various users with unusual/high-end input hardware. For mice, there is now a udev-based hardware database that can be used to configure the DPI for a given device. Some background reading…

http://who-t.blogspot.co.nz/2014/12/building-a-dpi-database-for-mice.html

Here’s a Mouse-DPI-settings thread where I helped a user (based on the information in the blog)get their high-DPI mouse tuned the way they wanted it. It did require the ‘libevdev-tools’ package to be installed so that the ‘mouse-dpi-tools’ utility could be run to get the pertinent vendor/product IDs for the mouse in question. Then an entry is added to a custom file eg /usr/lib/hwdb.d/71-mouse.hwdb

Fow example, here’s an entry (in the included 70-mouse.hwdb) for a similar model mouse

# Razer Abyssus
mouse:usb:v1532p0042:name:Razer Razer Abyssus:
 MOUSE_DPI=3500@1000

Hope this is of help to you.

Another example…
https://bbs.archlinux.org/viewtopic.php?pid=1684278#p1684278

Guys, Im beginner in linux, I dont know too much commands, can post to me an example using the terminal to setup my mouse to 1700dpi? My mice can reach 6400.

I followed the links but I dont have too much skills to do it.

I thank you.

Ok, let’s get some information about your mouse first. Open a terminal and run the following command.

/usr/sbin/hwinfo --mouse

Report back with the output. When posting here, enclose the output within code tags (refer to the ‘#’ button in the forum editor).

I managed to find the chipset ID for the Razer Imperator 2012 online: 1532:002F

So, all that is needed is to create a file with an editor as root. For example, using the nano editor…

sudo nano /usr/lib/hwdb.d/71-mouse.hwdb

and adding this entry

# Razer Imperator
mouse:usb:v1532p002F:name:*:
 MOUSE_DPI=1700@1000

where 1700 is the DPI and the polling rate is 1000Hz.

Note: For this to work properly, it must match the actual mouse configuration ie its current settings.

Once the file has been saved, udev needs updating with

sudo udevadm hwdb --update

then re-plug the mouse, and see whether there is any difference to the cursor behaviour. It may also be necessary to restart the X-server with CTRL+ALT+Backspace(twice) according to the blog.

BTW, as stated in the blog, it is possible to include multiple dpi@polling_rate entries for devices that are switchable…

In the simplest case, the entry lists a single resolution with a single frequency (e.g. “MOUSE_DPI=1000@125”), for switchable gaming mice it lists a list of resolutions with frequencies and marks the default with an asterisk (“MOUSE_DPI=400@50 800@50 *1000@125 1200@125”). And you can and should help us populate the database so it gets useful really quickly.

I executed your command in the terminal, follow …

poison@linux-dblo:~> /usr/sbin/hwinfo --mouse

25: USB 00.0: 10503 USB Mouse
[Created at usb.122]
Unique ID: ItRS.tzBbtgcOJs8
Parent ID: Bgjr.lRoCB54l1cE
SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5.1/2-1.5.1:1.0
SysFS BusID: 2-1.5.1:1.0
Hardware Class: mouse
Model: “Razer Imperator”
Hotplug: USB
Vendor: usb 0x1532 “Razer USA, Ltd”
Device: usb 0x002f “Razer Imperator”
Revision: “2.00”
Compatible to: int 0x0210 0x0018
Driver: “usbhid”
Driver Modules: “usbhid”
Device File: /dev/input/mice (/dev/input/mouse0)
Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event4, /dev/input/by-id/usb-Razer_Razer_Imperator-event-mouse, /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.5.1:1.0-event-mouse, /dev/input/by-id/usb-Razer_Razer_Imperator-mouse, /dev/input/by-path/pci-0000:00:1d.0-usb-0:1.5.1:1.0-mouse
Device Number: char 13:63 (char 13:32)
Speed: 12 Mbps
Module Alias: “usb:v1532p002Fd0200dc00dsc00dp00ic03isc01ip02in00”
Driver Info #0:
Buttons: 8
Wheels: 1
XFree86 Protocol: explorerps/2
GPM Protocol: exps2
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #33 (Hub)

poison@linux-dblo:~>

Friend,

I think its working fine now.

I have to created the folder hwdb.d into the lib folder because I not found this folder as su, so I created the file 71-mouse.hwdb with kdesu kwrite and added your entry.
So I restarted the X and unplug the mouse.

Ty.

Wait, I setup to 6400 dpi but dont work, I think that I missed something.

$ kdesu kwrite (open the editor) , so i copied and pasted

Razer Imperator

mouse:usb:v1532p002F:name:*:
MOUSE_DPI=1700@1000
and created a new folder hwdb.d into /usr/lib/ so using the kwrite I saved to the file 71-mouse.hwdb.
After it sudo udevadm hwdb --update and
I restarted the X and unplug the mouse.

Are correct this steps?

ty

First, please use CODE tags when posting terminal commands and output as I already requested in post #5.

  1. I’m confused…Is your mouse configured for 1700DPI or 6400PI?

and created a new folder hwdb.d into /usr/lib/ so using the kwrite I saved to the file 71-mouse.hwdb.

  1. There should be no need to create /usr/lib/hwdb.d/ directory. It has a number of .hwdb files supplied as part of udev.
ls -l /usr/lib/hwdb.d/

For example

rpm -qf /usr/lib/udev/hwdb.d/70-mouse.hwdb
udev-228-25.1.x86_64
  1. The hexadecimal ID might need lowercase (my mistake) ie 002f as opposed to 002F…
# Razer Imperator
mouse:usb:v1532p002f:name:*:
 MOUSE_DPI=1700@1000