User Tools

Site Tools


software:cwiid

http://abstrakraft.org/cwiid/

http://abstrakraft.org/cwiid/downloads/cwiid-0.6.00.tgz

Required: bluez

# change a deprecated function call 
sed -ie "s/hci_remote_name/hci_read_remote_name/g" libcwiid/bluetooth.c &&
./configure --prefix=/usr --sysconfdir=/etc &&
make
make install

A Linux kernel with support for uinput, evdev and joydev is needed:

Linux Kernel Configuration: Device Drivers → Input device support
...
<M> Joystick interface
<M> Event interface
...
Linux Kernel Configuration: Device Drivers → Input device support → Miscellaneous devices
...
<M> User level driver support
...

To use this software without root access, create a new group:

groupadd input

Add your user to this group:

usermod -aG input kratz00

And then log out and login in again to take effect of this changes.

Create a udev rule file:

cat > /etc/udev/rules.d/98-input.rules << "EOF"
KERNEL=="uinput", MODE="0660", GROUP="input"
EOF

After restarting the udev daemon, load the kernel module:

modprobe uinput

The uinput device permissons should look like:

crw-rw---- 1 root input 10, 223 2008-05-19 22:30 /dev/uinput
software/cwiid.txt · Last modified: 2008/09/07 11:53 by kratz00