xwiimote / xf86-input-xwiimote

X.org XInput2 Wii Remote driver based on XWiimote
Other
37 stars 14 forks source link

Not functioning with latest xorg #22

Open zakkudo opened 9 years ago

zakkudo commented 9 years ago

For some reason the wiimote input has stopped working on the lastest versions of xorg on arch linux. It looks like it's not polling after the initial detection

zakkudo commented 9 years ago

Hey dvdhrm, I wanted to ask you some questions on the repository for if I take over the xf86 driver. Are you usually on any of the redhat irc channels?

dvdhrm commented 9 years ago

Please feel free to take over. I'd gladly add a note to this repository that someone else maintains it. You can find me on freenode as 'dvdhrm'.

superkartoffel commented 9 years ago

I can confirm this bug. xwiishow still works fine, but using it with xorg doesn't. Tell me if I can provide any information.

Found any workarounds/fixes yet?

Elinvention commented 8 years ago

I can confirm too. I am running Debian testing and I suspect the problem is root-less Xorg server. Here is the relevant part of my log located at ~/.local/share/xorg/Xorg.0.log

[  1118.225] (II) config/udev: Adding input device Nintendo Wii Remote (/dev/input/js1)
[  1118.225] (**) Nintendo Wii Remote: Ignoring device from InputClass "Nintendo Wii Remote Raw Input Blacklist"
[  1118.257] (II) config/udev: Adding input device Nintendo Wii Remote (/dev/input/event18)
[  1118.257] (**) Nintendo Wii Remote: Applying InputClass "evdev keyboard catchall"
[  1118.257] (**) Nintendo Wii Remote: Applying InputClass "Nintendo Wii Remote Raw Input Blacklist"
[  1118.257] (**) Nintendo Wii Remote: Applying InputClass "Nintendo Wii Remote"
[  1118.257] (**) Nintendo Wii Remote: Applying InputClass "Nintendo Wii Remote"
[  1118.257] (II) Using input driver 'xwiimote' for 'Nintendo Wii Remote'
[  1118.257] (**) Nintendo Wii Remote: always reports core events
[  1118.258] (II) xwiimote: Nintendo Wii Remote: Is a core device
[  1118.259] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/bluetooth/hci0/hci0:1/0005:057E:0306.0002/input/input20/event18"
[  1118.259] (II) XINPUT: Adding extended input device "Nintendo Wii Remote" (type: MOUSE, id 10)
[  1118.259] (**) Option "xkb_rules" "evdev"
[  1118.259] (**) Option "xkb_model" "pc105"
[  1118.259] (**) Option "xkb_layout" "it"
[  1118.260] (WW) Option "xkb_variant" requires a string value
[  1118.260] (WW) Option "XkbVariant" requires a string value
[  1118.260] (WW) Option "xkb_options" requires a string value
[  1118.260] (WW) Option "XkbOptions" requires a string value
[  1118.260] (II) xwiimote: Nintendo Wii Remote: Cannot open all requested interfaces
[  1118.261] (II) config/udev: Adding input device Nintendo Wii Remote Accelerometer (/dev/input/event16)
[  1118.261] (**) Nintendo Wii Remote Accelerometer: Applying InputClass "Nintendo Wii Remote Raw Input Blacklist"
[  1118.261] (**) Nintendo Wii Remote Accelerometer: Applying InputClass "Nintendo Wii Remote"
[  1118.261] (**) Nintendo Wii Remote Accelerometer: Applying InputClass "Nintendo Wii Remote"
[  1118.261] (II) Using input driver 'xwiimote' for 'Nintendo Wii Remote Accelerometer'
[  1118.261] (**) Nintendo Wii Remote Accelerometer: always reports core events
[  1118.261] (II) xwiimote: Nintendo Wii Remote Accelerometer: No core device
[  1118.261] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/bluetooth/hci0/hci0:1/0005:057E:0306.0002/input/input21/event16"
[  1118.261] (II) XINPUT: Adding extended input device "Nintendo Wii Remote Accelerometer" (type: MOUSE, id 11)
[  1118.725] (II) config/udev: Adding input device Nintendo Wii Remote IR (/dev/input/event17)
[  1118.725] (**) Nintendo Wii Remote IR: Applying InputClass "Nintendo Wii Remote Raw Input Blacklist"
[  1118.725] (**) Nintendo Wii Remote IR: Applying InputClass "Nintendo Wii Remote"
[  1118.725] (**) Nintendo Wii Remote IR: Applying InputClass "Nintendo Wii Remote"
[  1118.725] (II) Using input driver 'xwiimote' for 'Nintendo Wii Remote IR'
[  1118.725] (**) Nintendo Wii Remote IR: always reports core events
[  1118.725] (II) xwiimote: Nintendo Wii Remote IR: No core device
[  1118.725] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0/bluetooth/hci0/hci0:1/0005:057E:0306.0002/input/input22/event17"
[  1118.725] (II) XINPUT: Adding extended input device "Nintendo Wii Remote IR" (type: MOUSE, id 12)
[  1118.728] (II) xwiimote: Nintendo Wii Remote: Cannot open all requested interfaces
Elinvention commented 8 years ago

Yes, it works! /dev/input/event* on Debian are owned by root:input, so adding myself to the input group solved the issue.