User Tools

Site Tools


software:cwiid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
software:cwiid [2008/05/12 14:12] – created kratz00software:cwiid [2008/09/07 11:53] (current) kratz00
Line 2: Line 2:
  
 http://abstrakraft.org/cwiid/downloads/cwiid-0.6.00.tgz http://abstrakraft.org/cwiid/downloads/cwiid-0.6.00.tgz
 +
 +Required: [[software:bluez]]
  
 <code> <code>
 +# change a deprecated function call 
 +sed -ie "s/hci_remote_name/hci_read_remote_name/g" libcwiid/bluetooth.c &&
 ./configure --prefix=/usr --sysconfdir=/etc && ./configure --prefix=/usr --sysconfdir=/etc &&
 make make
Line 10: Line 14:
 <code> <code>
 make install make install
 +</code>
 +
 +A Linux kernel with support for uinput, evdev and joydev is needed:
 +
 +|**Linux Kernel Configuration:** //Device Drivers  -> Input device support //  |
 +|<code>
 +...
 +<M> Joystick interface
 +<M> Event interface
 +...
 +</code>|
 +
 +|**Linux Kernel Configuration:** //Device Drivers  -> Input device support ->  Miscellaneous devices//  |
 +|<code>
 +...
 +<M> User level driver support
 +...
 +</code>|
 +
 +To use this software without root access, create a new group:
 +<code>
 +groupadd input
 +</code>
 +
 +Add your user to this group:
 +<code>
 +usermod -aG input kratz00
 +</code>
 +
 +And then log out and login in again to take effect of this changes.
 +
 +Create a udev rule file:
 +<code>
 +cat > /etc/udev/rules.d/98-input.rules << "EOF"
 +KERNEL=="uinput", MODE="0660", GROUP="input"
 +EOF
 +</code>
 +
 +After restarting the udev daemon, load the kernel module:
 +<code>
 +modprobe uinput
 +</code>
 +
 +The uinput device permissons should look like:
 +<code>
 +crw-rw---- 1 root input 10, 223 2008-05-19 22:30 /dev/uinput
 </code> </code>
software/cwiid.1210594370.txt.gz · Last modified: 2008/05/12 14:12 by kratz00