soundcore snd-page-alloc snd snd-rawmidi snd-hwdep snd-timer snd-pcm snd-mixer-oss snd-pcm-oss snd-usb-lib snd-usb-audioand then run polypaudio server in daemon mode, listening on tcp socket using native as well as esound protocol.
This way I can play MP3s and watch movies on my notebook PC, using my old aplituner and 4 speakers instead of notebook's built-in speaker, with no cables lying around (notebook is using wifi connection).
soundcore snd-page-alloc snd snd-rawmidi snd-hwdep snd-timer snd-pcm snd-usb-lib snd-usb-audioEdit esd options in /etc/esd.conf:
auto_spawn=0 default_options=-nobeeps -as 2 -public -tcpYou may also add "-promiscuous -bind <your-LAN-ip>" to options. Then run esd in background (esd &).
Update: I've compiled esound 0.2.38 for kamikaze 8.09 rc1 (with new uClibc). You can find it here. I didn't bother to make a package - somehow I can't get the grip of the new buildroot. Just untar the archive and move files to respective directories. Make sure you have libaudiofile installed (and all necessary kmod-* packages to get sound support).
::respawn:/usr/sbin/mgetty usb/tts/<deviceon>Then edit /etc/conserver.cf and configure all your serial ports, using following template:
default * { logfile /var/log/console-&; logfilemax 512k; timestamp 1hab; master localhost; rw *; } console 0 { type device; device /dev/usb/tts/0; parity none; baud 9600; } console 1 { type device; device /dev/usb/tts/1; parity none; baud 9600; } console 2 { type device; device /dev/usb/tts/2; parity none; baud 9600; } access * { trusted 127.0.0.1; } config * { daemonmode yes; }Run conserver, and you're all set. Use "console <device_no>" to connect to a serial port.
scanimage -LYou should get something like this:
root@OpenWrt:~# scanimage -L device `hp:libusb:001:004' is a Hewlett-Packard ScanJet 63x0C flatbed scanner root@OpenWrt:~#Edit /etc/sane.d/<your_backend>.conf if neccessary. Edit /etc/sane.d/saned.conf and add "+" to allow all IP addresses to use scanner. Add line:
sane-port 6566/tcpto /etc/services. Create /etc/xinetd.d/sane:
service sane-port { socket_type = stream server = /usr/sbin/saned protocol = tcp user = root group = root wait = no disable = no }Start xinetd: /etc/init.d/xinetd start. You can now connect to saned using XSane or any other SANE frontend.
input hid evdevLoad modules in this order. Connect your USB device. Look into /dev/input/ directory and check for event* files (event0, event1 etc.). Each of these corresponds to some part of some input device. Now run:
cmdpad --device /dev/input/eventX --verboseTry pressing keys on your device, and notice the PRESS/RELEASE events and key codes showing up:
cmdpad - version 0.0.3 - Copyright (C) 2002-2003 Alessandro Fausto Input driver version is 1.0.0 Input device ID: bus 0x3 vendor 0x46d product 0xc526 version 0x500 Input device name: Logitech USB Receiver no command found for key 272, event PRESS no command found for key 272, event RELEASE no command found for key 273, event PRESS no command found for key 273, event RELEASE ...Write down codes for keys you're interested in. Now edit /etc/cmdpad.conf, set device= line, so it points to your device. Look at the example commands in the config file, and add your own or modify the existing ones. Use P for PRESS even, R for RELEASE event, H for HOLD event (if your device supports hold events).