Description of problem: When attempting to use the wiimote driver, X crashes. If I'm lucky, I can get a clean shutdown by pressing my computer's power button a few times. If I ssh into the machine and launch X from there, I can see the following: wiimote_select_device(): socket: Permission denied X: symbol lookup error: /usr/lib/libcwiimote.so.0: undefined symbol: hci_devba If I run LD_PRELOAD="/usr/lib/libbluetooth.so.2" startx, I get the following: wiimote_select_device(): socket: Permission denied wiimote_connect(): devba: Permission denied wiimote_api.c(39): wiimote_open(): unable to connect to host Version-Release number of selected component (if applicable): xorg-x11-drv-wiimote: 0.0.1 X: 1.4.99.901 How reproducible: Steps to Reproduce: 1. Add an input device section for the wiimote as described on the package's website 2. add it to the server layout 3. Restart X Actual results: Black screen with strange flickering. Expected results: Wiimote awesomeness! Or at least the ability to do something. Additional info:
Thanks for the bug report. We have reviewed the information you have provided above, and there is some additional information we require that will be helpful in our diagnosis of this issue. Please attach your X server config file (/etc/X11/xorg.conf) and X server log file (/var/log/Xorg.*.log) to the bug report as individual uncompressed file attachments using the bugzilla file attachment link below. Could you please also try to run without any /etc/X11/xorg.conf whatsoever and let X11 autodetect your display and video card? Attach to this bug /var/log/Xorg.0.log from this attempt as well, please. We will review this issue again once you've had a chance to attach this information. Thanks in advance.
If I use the default xorg.conf (and I suspect if I remove it as well), it will not use the wiimote driver, and everything will work fine (except for the wiimote). I'll try to get the log and xorg.conf uploaded later today.
Created attachment 303007 [details] This is an xorg.conf that works.
Created attachment 303008 [details] This is the log file resulting from using the working xorg.conf.
Created attachment 303009 [details] This is the xorg.conf that causes the crash.
Created attachment 303010 [details] This is the log file from an xorg crash.
Created attachment 303011 [details] Console output from running X with the non-working xorg.conf
Judging by the errors, it looks like this may be a problem with libcwiimote.so.0 instead of X.
Right you are.
Well, fixed libcwiimote to be linked correctly anyway. That's sorted in libwiimote-0.4-6.fc9 and later. I'm still not completely sure how to get the input device to magically plug in and work though. If you come up with a solid recipe I'd love to hear it, I doubt I'll be able to get to it on my own before F9.
The crash was fixed. I think some development work on BlueZ or xinput is necessary before Wiimotes work automatically.
Thanks for letting us know.