Re: Debian - alsa sound ?

2008-08-17 Thread Benoît Sibaud
Hi,

> i tried to turn my gta02 into a musicplayer on the debian distro. does
> anyone managed to get any sound out of it ? i see that the alsa modules
> are loaded and the alsamixer says every volume value is at its maximum.
> so what am i doing wrong by calling mpg321 .mp3 . the player says
> it is playing but there is no sound not from the speaker nor from a
> headset i pluged in.

perhaps pulseaudio locking /dev/dsp? Just stop it and retry?

-- 
Benoît Sibaud

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-17 Thread Rorschach
Same problem here, also on irc someone told he had it. If I play and don't 
abort I get an error-message after some time:

# mpg123 ff7-ringtone.mp3 
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.4.3; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes

Playing MPEG stream 1 of 1: ff7-ringtone.mp3 ...
Title:   Fanfare Artist: Nobuo Uematsu
Album:   Final Fantasy VII OSV CD1
Genre:   Soundtrack
MPEG 1.0 layer III, 192 kbit/s, 48000 Hz stereo
[audio.c:532] error: Error in writing audio (Input/output error?)!
[mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore!



Some further information:

debian-gta02:~# cat /proc/asound/cards
 0 [neo1973gta02   ]: WM8753 - neo1973-gta02
  neo1973-gta02 (WM8753)

debian-gta02:~# aplay -l
 List of PLAYBACK Hardware Devices 
card 0: neo1973gta02 [neo1973-gta02], device 0: WM8753 HiFi WM8753 HiFi-I2S-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: neo1973gta02 [neo1973-gta02], device 1: Voice WM8753 Voice-PCM-1 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

debian-gta02:~# lsmod|grep snd
snd_soc_neo1973_gta02_wm8753 8200  0 
snd_soc_s3c24xx_i2s 4120  1 snd_soc_neo1973_gta02_wm8753
snd_soc_s3c24xx 4736  1 snd_soc_neo1973_gta02_wm8753
snd_soc_wm8753 29376  1 snd_soc_neo1973_gta02_wm8753
snd_soc_core   27488  3 
snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx,snd_soc_wm8753
snd_pcm73733  2 snd_soc_s3c24xx,snd_soc_core
snd_timer  20388  1 snd_pcm
snd_page_alloc  6376  1 snd_pcm
snd46740  5 
snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm,snd_timer

debian-gta02:~# asoundconf list
Names of available sound cards:
neo1973gta02

debian-gta02:/# cat /proc/asound/modules 
 0 snd_soc_wm8753


signature.asc
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-17 Thread Rorschach
On Sun, 17 Aug 2008 18:02:42 +0200
Benoît Sibaud <[EMAIL PROTECTED]> wrote:

> perhaps pulseaudio locking /dev/dsp? Just stop it and retry?

There's no pulseaudio installed or running by default. So this is not the cause 
of the problem. At least not with me.


signature.asc
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-18 Thread Stefan Schweizer
* Sebastian Ohl:
> i tried to turn my gta02 into a musicplayer on the debian distro. does
> anyone managed to get any sound out of it ? i see that the alsa modules
> are loaded and the alsamixer says every volume value is at its maximum.
> so what am i doing wrong by calling mpg321 .mp3 . the player says
> it is playing but there is no sound not from the speaker nor from a
> headset i pluged in.
> 
> any suggestions what i'm doing wrong?

Have you tried

alsactl -f /usr/share/openmoko/stereoout.state restore


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-18 Thread Rorschach
On Mon, 18 Aug 2008 13:55:46 +0200
Stefan Schweizer <[EMAIL PROTECTED]> wrote:

> Have you tried
> 
> alsactl -f /usr/share/openmoko/stereoout.state restore

Yes but this changes nothing. The same errors as I posted before.


signature.asc
Description: PGP signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-19 Thread Peter Schwenke
Stefan Schweizer wrote:
> * Sebastian Ohl:
>> i tried to turn my gta02 into a musicplayer on the debian distro. does
>> anyone managed to get any sound out of it ? i see that the alsa modules
>> are loaded and the alsamixer says every volume value is at its maximum.
>> so what am i doing wrong by calling mpg321 .mp3 . the player says
>> it is playing but there is no sound not from the speaker nor from a
>> headset i pluged in.
>>
>> any suggestions what i'm doing wrong?
> 
> Have you tried
> 
> alsactl -f /usr/share/openmoko/stereoout.state restore
> 

I've managed to get sound using that (actually
/usr/share/openmoko/scenarios/stereoout.state) with an ogg/vorbis file
in totem and gstreamer on it's own (i.e. gst-launch playbin
uri=file:///root/audio.ogg).

gst-launch is available via the gstreamer-tools package.

BTW video sort of plays with those, as well.

...Peter

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-22 Thread Fox Mulder
I got the same problem as you with no sound but the modules are loaded
and the soundcard is listed. The test with mpg123 gives also the same
result. :(

The command
alsactl -f /usr/share/openmoko/stereoout.state restore
didn't help at all.

Did you find a solution for the problem that the neo doesn't output any
sound?

Maybe i'm missing some essential sound module or what ever. It makes me
sad that i can't hear anything from my lovely neo. :)

Ciao,
 Rainer

Rorschach wrote:
> Same problem here, also on irc someone told he had it. If I play and don't 
> abort I get an error-message after some time:
> 
> # mpg123 ff7-ringtone.mp3 
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
>   version 1.4.3; written and copyright by Michael Hipp and others
>   free software (LGPL/GPL) without any warranty but with best wishes
> 
> Playing MPEG stream 1 of 1: ff7-ringtone.mp3 ...
> Title:   Fanfare Artist: Nobuo Uematsu
> Album:   Final Fantasy VII OSV CD1
> Genre:   Soundtrack
> MPEG 1.0 layer III, 192 kbit/s, 48000 Hz stereo
> [audio.c:532] error: Error in writing audio (Input/output error?)!
> [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore!
> 
> 
> 
> Some further information:
> 
> debian-gta02:~# cat /proc/asound/cards
>  0 [neo1973gta02   ]: WM8753 - neo1973-gta02
>   neo1973-gta02 (WM8753)
> 
> debian-gta02:~# aplay -l
>  List of PLAYBACK Hardware Devices 
> card 0: neo1973gta02 [neo1973-gta02], device 0: WM8753 HiFi WM8753 HiFi-I2S-0 
> []
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: neo1973gta02 [neo1973-gta02], device 1: Voice WM8753 Voice-PCM-1 []
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 
> debian-gta02:~# lsmod|grep snd
> snd_soc_neo1973_gta02_wm8753 8200  0 
> snd_soc_s3c24xx_i2s 4120  1 snd_soc_neo1973_gta02_wm8753
> snd_soc_s3c24xx 4736  1 snd_soc_neo1973_gta02_wm8753
> snd_soc_wm8753 29376  1 snd_soc_neo1973_gta02_wm8753
> snd_soc_core   27488  3 
> snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx,snd_soc_wm8753
> snd_pcm73733  2 snd_soc_s3c24xx,snd_soc_core
> snd_timer  20388  1 snd_pcm
> snd_page_alloc  6376  1 snd_pcm
> snd46740  5 
> snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm,snd_timer
> 
> debian-gta02:~# asoundconf list
> Names of available sound cards:
> neo1973gta02
> 
> debian-gta02:/# cat /proc/asound/modules 
>  0 snd_soc_wm8753
> 
> 
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-23 Thread Matt
I have Debain+FSO+Updates installed and do have sound.
aplay made an awful racket, but mplayer worked fine.

Sound comes out the FR and one headphone.  not sure why both headphone 
don't work.

I didn't do any configuring to get sound working, if you want any of my 
config file, ask.

~ Matt


Fox Mulder wrote:
> I got the same problem as you with no sound but the modules are loaded
> and the soundcard is listed. The test with mpg123 gives also the same
> result. :(
> 
> The command
> alsactl -f /usr/share/openmoko/stereoout.state restore
> didn't help at all.
> 
> Did you find a solution for the problem that the neo doesn't output any
> sound?
> 
> Maybe i'm missing some essential sound module or what ever. It makes me
> sad that i can't hear anything from my lovely neo. :)
> 
> Ciao,
>  Rainer
> 
> Rorschach wrote:
>> Same problem here, also on irc someone told he had it. If I play and don't 
>> abort I get an error-message after some time:
>>
>> # mpg123 ff7-ringtone.mp3 
>> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
>>  version 1.4.3; written and copyright by Michael Hipp and others
>>  free software (LGPL/GPL) without any warranty but with best wishes
>>
>> Playing MPEG stream 1 of 1: ff7-ringtone.mp3 ...
>> Title:   Fanfare Artist: Nobuo Uematsu
>> Album:   Final Fantasy VII OSV CD1
>> Genre:   Soundtrack
>> MPEG 1.0 layer III, 192 kbit/s, 48000 Hz stereo
>> [audio.c:532] error: Error in writing audio (Input/output error?)!
>> [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore!
>>
>>
>>
>> Some further information:
>>
>> debian-gta02:~# cat /proc/asound/cards
>>  0 [neo1973gta02   ]: WM8753 - neo1973-gta02
>>   neo1973-gta02 (WM8753)
>>
>> debian-gta02:~# aplay -l
>>  List of PLAYBACK Hardware Devices 
>> card 0: neo1973gta02 [neo1973-gta02], device 0: WM8753 HiFi WM8753 
>> HiFi-I2S-0 []
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>> card 0: neo1973gta02 [neo1973-gta02], device 1: Voice WM8753 Voice-PCM-1 []
>>   Subdevices: 1/1
>>   Subdevice #0: subdevice #0
>>
>> debian-gta02:~# lsmod|grep snd
>> snd_soc_neo1973_gta02_wm8753 8200  0 
>> snd_soc_s3c24xx_i2s 4120  1 snd_soc_neo1973_gta02_wm8753
>> snd_soc_s3c24xx 4736  1 snd_soc_neo1973_gta02_wm8753
>> snd_soc_wm8753 29376  1 snd_soc_neo1973_gta02_wm8753
>> snd_soc_core   27488  3 
>> snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx,snd_soc_wm8753
>> snd_pcm73733  2 snd_soc_s3c24xx,snd_soc_core
>> snd_timer  20388  1 snd_pcm
>> snd_page_alloc  6376  1 snd_pcm
>> snd46740  5 
>> snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm,snd_timer
>>
>> debian-gta02:~# asoundconf list
>> Names of available sound cards:
>> neo1973gta02
>>
>> debian-gta02:/# cat /proc/asound/modules 
>>  0 snd_soc_wm8753
>>
>>
>> 
>>
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-23 Thread Fox Mulder
Interesting is, that alsaplayer produces sound output when playing a mp3
file. But the playing is stuttering extremly.

MPG123 (MPG123-alsa) can't output sound with an error message writing to
the output device.

Audacious crashes with a segmentation fault.

BMPX hangs as soon as i want to select a mp3 file.

Only mplayer plays the mp3's without any problems so i can hear it.

It seems that the sound system and programs are not as stable/useable as
i hoped. :/

Ciao,
 Rainer

Matt wrote:
> I have Debain+FSO+Updates installed and do have sound.
> aplay made an awful racket, but mplayer worked fine.
> 
> Sound comes out the FR and one headphone.  not sure why both headphone 
> don't work.
> 
> I didn't do any configuring to get sound working, if you want any of my 
> config file, ask.
> 
> ~ Matt
> 
> 
> Fox Mulder wrote:
>> I got the same problem as you with no sound but the modules are loaded
>> and the soundcard is listed. The test with mpg123 gives also the same
>> result. :(
>>
>> The command
>> alsactl -f /usr/share/openmoko/stereoout.state restore
>> didn't help at all.
>>
>> Did you find a solution for the problem that the neo doesn't output any
>> sound?
>>
>> Maybe i'm missing some essential sound module or what ever. It makes me
>> sad that i can't hear anything from my lovely neo. :)
>>
>> Ciao,
>>  Rainer
>>
>> Rorschach wrote:
>>> Same problem here, also on irc someone told he had it. If I play and don't 
>>> abort I get an error-message after some time:
>>>
>>> # mpg123 ff7-ringtone.mp3 
>>> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
>>> version 1.4.3; written and copyright by Michael Hipp and others
>>> free software (LGPL/GPL) without any warranty but with best wishes
>>>
>>> Playing MPEG stream 1 of 1: ff7-ringtone.mp3 ...
>>> Title:   Fanfare Artist: Nobuo Uematsu
>>> Album:   Final Fantasy VII OSV CD1
>>> Genre:   Soundtrack
>>> MPEG 1.0 layer III, 192 kbit/s, 48000 Hz stereo
>>> [audio.c:532] error: Error in writing audio (Input/output error?)!
>>> [mpg123.c:557] error: Deep trouble! Cannot flush to my output anymore!
>>>
>>>
>>>
>>> Some further information:
>>>
>>> debian-gta02:~# cat /proc/asound/cards
>>>  0 [neo1973gta02   ]: WM8753 - neo1973-gta02
>>>   neo1973-gta02 (WM8753)
>>>
>>> debian-gta02:~# aplay -l
>>>  List of PLAYBACK Hardware Devices 
>>> card 0: neo1973gta02 [neo1973-gta02], device 0: WM8753 HiFi WM8753 
>>> HiFi-I2S-0 []
>>>   Subdevices: 1/1
>>>   Subdevice #0: subdevice #0
>>> card 0: neo1973gta02 [neo1973-gta02], device 1: Voice WM8753 Voice-PCM-1 []
>>>   Subdevices: 1/1
>>>   Subdevice #0: subdevice #0
>>>
>>> debian-gta02:~# lsmod|grep snd
>>> snd_soc_neo1973_gta02_wm8753 8200  0 
>>> snd_soc_s3c24xx_i2s 4120  1 snd_soc_neo1973_gta02_wm8753
>>> snd_soc_s3c24xx 4736  1 snd_soc_neo1973_gta02_wm8753
>>> snd_soc_wm8753 29376  1 snd_soc_neo1973_gta02_wm8753
>>> snd_soc_core   27488  3 
>>> snd_soc_neo1973_gta02_wm8753,snd_soc_s3c24xx,snd_soc_wm8753
>>> snd_pcm73733  2 snd_soc_s3c24xx,snd_soc_core
>>> snd_timer  20388  1 snd_pcm
>>> snd_page_alloc  6376  1 snd_pcm
>>> snd46740  5 
>>> snd_soc_neo1973_gta02_wm8753,snd_soc_wm8753,snd_soc_core,snd_pcm,snd_timer
>>>
>>> debian-gta02:~# asoundconf list
>>> Names of available sound cards:
>>> neo1973gta02
>>>
>>> debian-gta02:/# cat /proc/asound/modules 
>>>  0 snd_soc_wm8753
>>>
>>>
>>> 
>>>
>>> ___
>>> Openmoko community mailing list
>>> community@lists.openmoko.org
>>> http://lists.openmoko.org/mailman/listinfo/community
>> ___
>> Openmoko community mailing list
>> community@lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-23 Thread Matt

smplayer [1] is a usable gui for mplayer.
I do get some choppy sound, is that due the the os and mp3 being on the 
same sd?


[1]
debian-gta02:~# apt-cache show smplayer
Package: smplayer
Priority: optional
Section: graphics
Installed-Size: 1916
Maintainer: Matvey Kozhev <[EMAIL PROTECTED]>
Architecture: armel
Version: 0.6.1-1
Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.3), libqt4-network (>= 
4.4.0), libqtcore4 (>= 4.4.0), libqtgui4 (>= 4.4.0), libstdc++6 (>= 
4.3), smplayer-translations (= 0.6.1-1), mplayer | mplayer-nogui
Recommends: smplayer-themes
Filename: pool/main/s/smplayer/smplayer_0.6.1-1_armel.deb
Size: 870362
MD5sum: f8197d12190469db204bbf3d1cbf39a7
SHA1: 17bb3b854aa65c7348485fd00802551772b4885e
SHA256: e62660931d09066387b9b2d9651147fce650ca827e7425a1c096e56bf9f9da93
Description: complete front-end for MPlayer
  Qt Mplayer front-end, with basic features like playing
  videos, DVDs, and VCDs to more advanced features like support
  for MPlayer filters and more. One of the most interesting features
  of SMPlayer: it remembers the settings of all files you play.
  So you start to watch a movie but you have to leave... don't
  worry, when you open that movie again it will resume at the same
  point you left it, and with the same settings: audio track,
  subtitles, volume...
Homepage: http://smplayer.sourceforge.net/
Tag: uitoolkit::qt


Fox Mulder wrote:
> Interesting is, that alsaplayer produces sound output when playing a mp3
> file. But the playing is stuttering extremly.
> 
> MPG123 (MPG123-alsa) can't output sound with an error message writing to
> the output device.
> 
> Audacious crashes with a segmentation fault.
> 
> BMPX hangs as soon as i want to select a mp3 file.
> 
> Only mplayer plays the mp3's without any problems so i can hear it.
> 
> It seems that the sound system and programs are not as stable/useable as
> i hoped. :/
> 
> Ciao,
>  Rainer
> 
> Matt wrote:
>> I have Debain+FSO+Updates installed and do have sound.
>> aplay made an awful racket, but mplayer worked fine.
>>


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Debian - alsa sound ?

2008-08-24 Thread Fox Mulder
Now i got audicious running but don't know why. Maybe i installed a
package which was missing but is not in the dependencies list.

I found out, that the text2speech engines were not compiles with alsa
support, wha i had to install "alsa-oss" to support oss sound output.
With help of this package i can use espeak and flite with no problems. :)

And thanks for the tip with smplayer. It seems i overread this in the
last posts.

But there are two things what gives me headaches.

When playing one mp3 file i got heavy cpu usage. Audacious uses ~45-50%
cpu and mplayer uses ~65% cpu. I think this is a bit high for just
playing mp3, or is this really normal?

The other thing is, that xfce always starts applications in maximized
windows and i can't change this state. I can only minimize them, but not
use them in a normal sized window like on the pc xfce desktop. Specially
for small programs like audacious it is a bad thing to run in full
screen. Even when i open the file list it opens a new maximized window
instead of opening it beneath the main audacious window. :/

Is there any way to let me change the window size like with the normal
pc xfce desktop?

Ciao,
 Rainer

Matt wrote:
> smplayer [1] is a usable gui for mplayer.
> I do get some choppy sound, is that due the the os and mp3 being on the 
> same sd?
> 
> 
> [1]
> debian-gta02:~# apt-cache show smplayer
> Package: smplayer
> Priority: optional
> Section: graphics
> Installed-Size: 1916
> Maintainer: Matvey Kozhev <[EMAIL PROTECTED]>
> Architecture: armel
> Version: 0.6.1-1
> Depends: libc6 (>= 2.7-1), libgcc1 (>= 1:4.3), libqt4-network (>= 
> 4.4.0), libqtcore4 (>= 4.4.0), libqtgui4 (>= 4.4.0), libstdc++6 (>= 
> 4.3), smplayer-translations (= 0.6.1-1), mplayer | mplayer-nogui
> Recommends: smplayer-themes
> Filename: pool/main/s/smplayer/smplayer_0.6.1-1_armel.deb
> Size: 870362
> MD5sum: f8197d12190469db204bbf3d1cbf39a7
> SHA1: 17bb3b854aa65c7348485fd00802551772b4885e
> SHA256: e62660931d09066387b9b2d9651147fce650ca827e7425a1c096e56bf9f9da93
> Description: complete front-end for MPlayer
>   Qt Mplayer front-end, with basic features like playing
>   videos, DVDs, and VCDs to more advanced features like support
>   for MPlayer filters and more. One of the most interesting features
>   of SMPlayer: it remembers the settings of all files you play.
>   So you start to watch a movie but you have to leave... don't
>   worry, when you open that movie again it will resume at the same
>   point you left it, and with the same settings: audio track,
>   subtitles, volume...
> Homepage: http://smplayer.sourceforge.net/
> Tag: uitoolkit::qt
> 
> 
> Fox Mulder wrote:
>> Interesting is, that alsaplayer produces sound output when playing a mp3
>> file. But the playing is stuttering extremly.
>>
>> MPG123 (MPG123-alsa) can't output sound with an error message writing to
>> the output device.
>>
>> Audacious crashes with a segmentation fault.
>>
>> BMPX hangs as soon as i want to select a mp3 file.
>>
>> Only mplayer plays the mp3's without any problems so i can hear it.
>>
>> It seems that the sound system and programs are not as stable/useable as
>> i hoped. :/
>>
>> Ciao,
>>  Rainer
>>
>> Matt wrote:
>>> I have Debain+FSO+Updates installed and do have sound.
>>> aplay made an awful racket, but mplayer worked fine.
>>>
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
> 

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community