Bug#412319: xserver-xorg-input-evdev: Mighty Mouse doesn't recognize the udev created devive link
Package: xserver-xorg-input-evdev
Version: 1:1.1.2-6
Severity: important
Hi,
I am running PPC and try to get my Apple Mighty Mouse to work:
udev rule:
BUS=="usb", SYSFS{idProduct}=="0304", SYSFS{product}=="Apple Optical
USB Mouse", NAME="input/%k", SYMLINK="input/mightymouse"
ls -al /dev/input
crw-rw---- 1 root root 13, 66 Feb 25 13:46 event2
crw-rw---- 1 root root 13, 68 Feb 25 12:53 event4
crw-rw---- 1 root root 13, 69 Feb 25 12:53 event5
crw-rw---- 1 root root 13, 70 Feb 25 12:53 event6
crw-rw---- 1 root root 13, 63 Feb 25 12:53 mice
lrwxrwxrwx 1 root root 6 Feb 25 13:46 mightymouse -> event2
xorg.conf:
.....
Section "InputDevice"
Identifier "Mighty Mouse"
Driver "evdev"
Option "Device" "/dev/input/mightymouse"
Option "Dev Name" "Primax Electronics Apple Optical USB Mouse" #cat /proc/bus/input/devices
Option "Dev Phys" "usb-*/input0" #cat /proc/bus/input/devices
EndSection
.....
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Synaptics Touchpad"
InputDevice "Configured Mouse"
InputDevice "Mighty Mouse"
EndSection
....
Xorg.0.log:
(EE) PreInit returned NULL for "Mighty Mouse"
If I use
Option "Device" "/dev/input/event2"
the mouse works perfect (horizontal scrolling as well ;)
But the event device vairies so I need an udev link.
-- System Information:
Debian Release: 4.0
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing')
Architecture: powerpc (ppc)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.20-aragorn
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)
Versions of packages xserver-xorg-input-evdev depends on:
ii libc6 2.3.6.ds1-13 GNU C Library: Shared libraries
ii xserver-xorg-core 2:1.1.1-18 X.Org X server -- core server
xserver-xorg-input-evdev recommends no packages.
-- no debconf information
--
It's a good thing we don't get all
the government we pay for.
Reply to: