Make the user account your using is a member of the audio group in / etc/groups
David On 2009-09-27, at 8:26 AM, 刘应杰 wrote: > Hi gays: > > we have tested moblin2 OS on menlow platform(Z510+us15wx),and > found that we can not get sound except we run command "pulseaudio -- > start". then we can run "aplay xxx.wav" and get the sound. > However once the music is over or you shut down it wich "Ctrt > +c",you should exec command "pulseaudio --start" before you get > sound the next time. > So can any body just gave me a guide by how I make the driver > work all the time. or point to the place which moblin got wrong > configure. > > Looking forward your anwsers > > > Yours:Lori > attachment: > 1、getting wrong > [r...@localhost linux-2.6.30]# aplay /Downloads/26721.wav > ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: > Connection refused > > aplay: main:608: audio open error: Connection refused > [r...@localhost linux-2.6.30]# > 2、start the pluseaudio > [r...@localhost linux-2.6.30]# pulseaudio --start > W: main.c: This program is not intended to be run as root (unless -- > system is specified). > 3、then it works and get sound > [r...@localhost linux-2.6.30]# aplay /Downloads/26721.wav > Playing WAVE '/Downloads/26721.wav' : Unsigned 8 bit, Rate 8000 Hz, > Mono > > > _______________________________________________ > Moblin dev Mailing List > dev@moblin.org > > To manage or unsubscribe from this mailing list visit: > http://lists.moblin.org/listinfo/dev or your user account on > http://moblin.org > once logged in. > > For more information on the Moblin Developer Mailing lists visit: > http://moblin.org/community/mailing-lists David A. Ellis Toronto Based Technologist Phone: 416 450 4467 Blog: www.ellisonline.ca Email: da...@ellisonline.ca _______________________________________________ Moblin dev Mailing List dev@moblin.org To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists