Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X not recognising my razer imperator
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
qinjuehang
n00b
n00b


Joined: 15 Jun 2010
Posts: 7

PostPosted: Tue Nov 01, 2011 12:58 pm    Post subject: X not recognising my razer imperator Reply with quote

Hi everyone, I am having this strange problem where my Razer Imperator is recognized by X when I plug it into certain USB ports, and not with others.

When it works, the xorg log is as follows:

Code:
[ 10079.724] (II) config/udev: Adding input device Razer Razer Imperator (/dev/input/event4)
[ 10079.724] (**) Razer Razer Imperator: Applying InputClass "evdev keyboard catchall"
[ 10079.724] (II) Using input driver 'evdev' for 'Razer Razer Imperator'
[ 10079.724] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 10079.725] (**) Razer Razer Imperator: always reports core events
[ 10079.725] (**) Razer Razer Imperator: Device: "/dev/input/event4"
[ 10079.725] (--) Razer Razer Imperator: Found 1 mouse buttons
[ 10079.725] (--) Razer Razer Imperator: Found scroll wheel(s)
[ 10079.725] (--) Razer Razer Imperator: Found relative axes
[ 10079.725] (--) Razer Razer Imperator: Found absolute axes
[ 10079.725] (--) Razer Razer Imperator: Found keys
[ 10079.725] (II) Razer Razer Imperator: Configuring as mouse
[ 10079.725] (II) Razer Razer Imperator: Configuring as keyboard
[ 10079.725] (II) Razer Razer Imperator: Adding scrollwheel support
[ 10079.725] (**) Razer Razer Imperator: YAxisMapping: buttons 4 and 5
[ 10079.725] (**) Razer Razer Imperator: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 10079.725] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.1/input/input74/event4"
[ 10079.725] (II) XINPUT: Adding extended input device "Razer Razer Imperator" (type: KEYBOARD)
[ 10079.725] (**) Option "xkb_rules" "evdev"
[ 10079.725] (**) Option "xkb_model" "evdev"
[ 10079.725] (**) Option "xkb_layout" "us"
[ 10079.725] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 10079.725] (EE) Razer Razer Imperator: failed to initialize for relative axes.
[ 10079.725] (II) Razer Razer Imperator: initialized for absolute axes.
[ 10079.725] (**) Razer Razer Imperator: (accel) keeping acceleration scheme 1
[ 10079.725] (**) Razer Razer Imperator: (accel) acceleration profile 0
[ 10079.725] (**) Razer Razer Imperator: (accel) acceleration factor: 2.000
[ 10079.725] (**) Razer Razer Imperator: (accel) acceleration threshold: 4
[ 10079.725] (II) config/udev: Adding input device Razer Razer Imperator (/dev/input/event3)
[ 10079.725] (**) Razer Razer Imperator: Applying InputClass "evdev pointer catchall"
[ 10079.725] (II) Using input driver 'evdev' for 'Razer Razer Imperator'
[ 10079.725] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 10079.725] (**) Razer Razer Imperator: always reports core events
[ 10079.725] (**) Razer Razer Imperator: Device: "/dev/input/event3"
[ 10079.725] (--) Razer Razer Imperator: Found 11 mouse buttons
[ 10079.725] (--) Razer Razer Imperator: Found scroll wheel(s)
[ 10079.725] (--) Razer Razer Imperator: Found relative axes
[ 10079.725] (--) Razer Razer Imperator: Found x and y relative axes
[ 10079.725] (II) Razer Razer Imperator: Configuring as mouse
[ 10079.725] (II) Razer Razer Imperator: Adding scrollwheel support
[ 10079.725] (**) Razer Razer Imperator: YAxisMapping: buttons 4 and 5
[ 10079.725] (**) Razer Razer Imperator: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 10079.725] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input73/event3"
[ 10079.725] (II) XINPUT: Adding extended input device "Razer Razer Imperator" (type: MOUSE)
[ 10079.725] (II) Razer Razer Imperator: initialized for relative axes.
[ 10079.725] (**) Razer Razer Imperator: (accel) keeping acceleration scheme 1
[ 10079.725] (**) Razer Razer Imperator: (accel) acceleration profile 0
[ 10079.725] (**) Razer Razer Imperator: (accel) acceleration factor: 2.000
[ 10079.725] (**) Razer Razer Imperator: (accel) acceleration threshold: 4
[ 10079.726] (II) config/udev: Adding input device Razer Razer Imperator (/dev/input/mouse0)
[ 10079.726] (**) Razer Razer Imperator: Applying InputClass "Razer Imperator"
[ 10079.726] (**) Razer Razer Imperator: Applying InputClass "Razer Imperator"
[ 10079.726] (II) Using input driver 'evdev' for 'Razer Razer Imperator'
[ 10079.726] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 10079.726] (**) Razer Razer Imperator: always reports core events
[ 10079.726] (**) Razer Razer Imperator: Device: "/dev/input/mouse0"
[ 10079.726] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
[ 10079.738] (EE) PreInit returned 8 for "Razer Razer Imperator"
[ 10079.738] (II) UnloadModule: "evdev"
[ 10079.738] (II) Unloading evdev


And when it does not:

Code:
[  9924.093] (II) config/udev: Adding input device Razer Razer Imperator (/dev/input/mouse0)
[  9924.093] (**) Razer Razer Imperator: Applying InputClass "Razer Imperator"
[  9924.093] (**) Razer Razer Imperator: Applying InputClass "Razer Imperator"
[  9924.093] (II) Using input driver 'evdev' for 'Razer Razer Imperator'
[  9924.093] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  9924.093] (**) Razer Razer Imperator: always reports core events
[  9924.093] (**) Razer Razer Imperator: Device: "/dev/input/mouse0"
[  9924.093] (EE) ioctl EVIOCGNAME failed: Inappropriate ioctl for device
[  9924.110] (EE) PreInit returned 8 for "Razer Razer Imperator"
[  9924.110] (II) UnloadModule: "evdev"
[  9924.110] (II) Unloading evdev
[  9924.110] (II) config/udev: Adding input device Razer Razer Imperator (/dev/input/event3)
[  9924.110] (**) Razer Razer Imperator: Applying InputClass "evdev pointer catchall"
[  9924.110] (II) Using input driver 'evdev' for 'Razer Razer Imperator'
[  9924.110] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  9924.110] (**) Razer Razer Imperator: always reports core events
[  9924.110] (**) Razer Razer Imperator: Device: "/dev/input/event3"
[  9924.110] (--) Razer Razer Imperator: Found 11 mouse buttons
[  9924.110] (--) Razer Razer Imperator: Found scroll wheel(s)
[  9924.110] (--) Razer Razer Imperator: Found relative axes
[  9924.110] (--) Razer Razer Imperator: Found x and y relative axes
[  9924.110] (II) Razer Razer Imperator: Configuring as mouse                                                                                                         
[  9924.110] (II) Razer Razer Imperator: Adding scrollwheel support                                                                                                   
[  9924.110] (**) Razer Razer Imperator: YAxisMapping: buttons 4 and 5                                                                                                 
[  9924.110] (**) Razer Razer Imperator: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200                                                     
[  9924.110] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/input/input71/event3"                                       
[  9924.110] (II) XINPUT: Adding extended input device "Razer Razer Imperator" (type: MOUSE)                                                                           
[  9924.110] (II) Razer Razer Imperator: initialized for relative axes.                                                                                               
[  9924.110] (**) Razer Razer Imperator: (accel) keeping acceleration scheme 1                                                                                         
[  9924.110] (**) Razer Razer Imperator: (accel) acceleration profile 0                                                                                               
[  9924.110] (**) Razer Razer Imperator: (accel) acceleration factor: 2.000                                                                                           
[  9924.110] (**) Razer Razer Imperator: (accel) acceleration threshold: 4                                                                                             
[  9924.111] (II) config/udev: Adding input device Razer Razer Imperator (/dev/input/event4)
[  9924.111] (**) Razer Razer Imperator: Applying InputClass "evdev keyboard catchall"
[  9924.111] (II) Using input driver 'evdev' for 'Razer Razer Imperator'
[  9924.111] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[  9924.111] (**) Razer Razer Imperator: always reports core events
[  9924.111] (**) Razer Razer Imperator: Device: "/dev/input/event4"
[  9924.111] (--) Razer Razer Imperator: Found 1 mouse buttons
[  9924.111] (--) Razer Razer Imperator: Found scroll wheel(s)
[  9924.111] (--) Razer Razer Imperator: Found relative axes
[  9924.111] (--) Razer Razer Imperator: Found absolute axes
[  9924.111] (--) Razer Razer Imperator: Found keys
[  9924.111] (II) Razer Razer Imperator: Configuring as mouse
[  9924.111] (II) Razer Razer Imperator: Configuring as keyboard
[  9924.111] (II) Razer Razer Imperator: Adding scrollwheel support
[  9924.111] (**) Razer Razer Imperator: YAxisMapping: buttons 4 and 5
[  9924.111] (**) Razer Razer Imperator: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  9924.111] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.1/input/input72/event4"
[  9924.111] (II) XINPUT: Adding extended input device "Razer Razer Imperator" (type: KEYBOARD)
[  9924.111] (**) Option "xkb_rules" "evdev"
[  9924.111] (**) Option "xkb_model" "evdev"
[  9924.111] (**) Option "xkb_layout" "us"
[  9924.111] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[  9924.111] (EE) Razer Razer Imperator: failed to initialize for relative axes.
[  9924.111] (II) Razer Razer Imperator: initialized for absolute axes.
[  9924.111] (**) Razer Razer Imperator: (accel) keeping acceleration scheme 1
[  9924.111] (**) Razer Razer Imperator: (accel) acceleration profile 0
[  9924.111] (**) Razer Razer Imperator: (accel) acceleration factor: 2.000
[  9924.111] (**) Razer Razer Imperator: (accel) acceleration threshold: 4


It seems the mouse works only if the keyboard part of the device responsible for macro keys is loaded before the mouse. Does anyone know how to make sure that always happens?
Back to top
View user's profile Send private message
qinjuehang
n00b
n00b


Joined: 15 Jun 2010
Posts: 7

PostPosted: Tue Nov 01, 2011 1:24 pm    Post subject: Reply with quote

It seems that the problem is not with X, but somewhere in the kernel. When the mouse is plugged into certain USB ports, dmesg outputs
Code:
usb 2-1.4: reset full speed USB device number 30 using ehci_hcd
repeatedly. Any help is much appreciated!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum