[chuck-users] examples/hid/kb.ck

Atte André Jensen atte.jensen at gmail.com
Sun Nov 26 12:16:08 EST 2006

Kassen wrote:

> I'm not the bigggest Linux-HID expert around but I have a suspicion the 
> post by Nescivi here might help;
> http://electro-music.com/forum/topic-14590.html

Yeah, that helped, thanks alot!

In case anyone runs into the same problem, I added 'GROUP="audio"' to 
the end of the lines related to input in /etc/udev/rules.d/udev.rules:

atte at ajstrup:~$ grep audio /etc/udev/rules.d/udev.rules
KERNEL=="mice",                 NAME="input/%k" GROUP="audio"
KERNEL=="mouse[0-9]*",          NAME="input/%k" GROUP="audio"
KERNEL=="event[0-9]*",          NAME="input/%k" GROUP="audio"
KERNEL=="js[0-9]*",             NAME="input/%k" GROUP="audio"
KERNEL=="ts[0-9]*",             NAME="input/%k" GROUP="audio"
KERNEL=="uinput",               NAME="input/%k" GROUP="audio"

Now, it works well (using id 1).

I have two questions related to running chuck on the unmodified kb.ck:
atte at ajstrup:~/semi_automate/sandbox$ chuck kb.ck
keyboard ' PC Speaker ' ready

1) What's up with the "here1" lines? Some old debug that someone forgot 
to remove?

2) What's my PC-speaker doing as a hid input device? Of course it 
doesn't work, but I'm surprised it even shows up. Did I wrongfully 
"enable" too many devices with my modifications in udev.rules.

peace, love & harmony

http://www.atte.dk      | quintet:      http://www.anagrammer.dk
                         | compositions: http://www.atte.dk/compositions

More information about the chuck-users mailing list