View Single Post
Posts: 52 | Thanked: 33 times | Joined on Oct 2011 @ Poland, Tricity
#28
So I made some tests and I found out that I would probably need to initialize PulseAudio somehow to play sounds. Or at least when using `/usr/bin/aplay` I get this error:
Code:
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
But I also noticed that devices in /dev/snd have different rights in preinit and after booted to MeeGo (when booted the group is audio). Do you think it would be wise to change the group and in preinit and try that? Or maybe of more importance - dsp seem to be unavailable and I have no clue how to initialize it.

Oh and BTW - I did try what seemed to be easier to just beep in console. But neither of below work :-(.
Code:
echo -ne '\007'
echo -ne '\007' > /dev/tty
echo -ne '\007' > /dev/console
In preinit there are also many links missing like vibra -> event4 - which might be more interesting for you, if you still want to vibrate.

This is in preinit stage:
Code:
event4          crw-------    1 root     root       13,  68
This is after booting:
Code:
event4          crw-rw----    1 root     input      13,  68 
vibra -> event4 lrwxrwxrwx    1 root     root             6
Maybe there are some internal dependencies to /dev/input/vibra being available? I know this is a long shot, but I've actually seen worse things ;-).
 

The Following 2 Users Say Thank You to eccenux For This Useful Post: