A quick one I hope. I copied my Arch Linux partition (2.6.13 kernel) onto my daughter's PC. She has a Kyro II video card and the powerVR drivers only work with a 2.4 kernel, so after getting everything working I'm just left with a couple of lines I put in rc.local because the mouse didn't work and she had no sound:
mknod /dev/psaux c 10 1 chmod a+rw /dev/sound/dsp
All works just fine but there's probably a better place to set these up, anyone know? devfs or something?
maybe you should use /dev/input/mice in your xorg.conf instead of /dev/psaux. Also, possible /dev/misc/psaux exists on her system? Finally, the 'better way' to create the device, if that is necessary is to use some sort of udev rule.
As for the second one, add the user to group 'audio' instead. taht group already has rw permissions on /dev/sound/dsp
/dev/input/mice is 13 63 (unified mouse according to the docs)
Ah, there it is /dev/misc/psaux! Thanks.
/dev/sound/dsp has owner=root and group=root and she's in the audio group anyway as she had been set up on my PC.
I wonder if I have to reinstate "devfs=nomount" in /boot/grub/menu.lst to force udev on an Arch 2.4 kernel? I compiled my own 2.6 so I didn't need that option. I'll probably complie her a 2.4 in the next few days.
Finally, the 'better way' to create the device, if that is necessary is to use some sort of udev rule.
So you are suggesting that he uses udev with Linux 2.4. I think I'll just remind you that udev requires /sys.