Re: [Debian] aplay/mplayer broken with pkg-fso linux-image-2.6.34-openmoko-gta02?

2010-11-20 Thread Timo Jyrinki
2010/11/19 Gennady Kupava g...@bsdmn.com:
 I've noticed problem with alsa too. Guess that this may be related to
 100hz patch, probably need to review neo-specific code in kernel.

Ok, if that's it, even though it seemingly depends on other factors as
well, please Debian users notice the following:

* http://pkg-fso.alioth.debian.org/debian/pool/main/l/linux-2.6-openmoko/
has also all the previous kernels
* If you hit this audio playback problem, install the previous kernel
http://pkg-fso.alioth.debian.org/debian/pool/main/l/linux-2.6-openmoko/linux-image-2.6.34-openmoko-gta02_20100921.gitec52149c-2_armel.deb

-Timo

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


Re: [Debian] aplay/mplayer broken with pkg-fso linux-image-2.6.34-openmoko-gta02?

2010-11-20 Thread Paul Wise
On Fri, 2010-11-19 at 23:38 +0800, Paul Wise wrote:
 Is anyone else having broken audio on Debian with pkg-fso
 linux-image-2.6.34-openmoko-gta02?'

gena2x seems to have found the cause, I had 'Stereo Out Switch' and
'Right Mixer Right Playback Switch' turned off in my alsa settings. Zero
idea how they got like that. The arecord issue is still present though.

r...@booph(Debian):~# diff -u myfile.state aplay34_working.state
--- myfile.state2010-11-20 23:26:52.0 +0800
+++ aplay34_working.state   2010-11-20 23:25:08.0 +0800
@@ -539,7 +539,7 @@
comment.count 1
iface MIXER
name 'Stereo Out Switch'
-   value false
+   value true
}
control.54 {
comment.access 'read write'
@@ -864,7 +864,7 @@
comment.count 1
iface MIXER
name 'Right Mixer Right Playback Switch'
-   value false
+   value true
}
control.89 {
comment.access 'read write'

-- 
bye,
pabs

http://bonedaddy.net/pabs3/


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] aplay/mplayer broken with pkg-fso linux-image-2.6.34-openmoko-gta02?

2010-11-20 Thread Gennady Kupava
Hi, Timo  list,

It turned out that aplay problem is due to sound card controls
misconfiguration, not some problem with kernel.

Whoose who have this problem, please try following state file:

http://www.bsdmn.com/openmoko/alsa_aplayfail/aplay34_working.state

(with alsactl restore -f aplay34_working.state)

arecord still not investigated.

Best regards, 
Gennady

В Сбт, 20/11/2010 в 10:50 +0200, Timo Jyrinki пишет:
 2010/11/19 Gennady Kupava g...@bsdmn.com:
  I've noticed problem with alsa too. Guess that this may be related to
  100hz patch, probably need to review neo-specific code in kernel.
 
 Ok, if that's it, even though it seemingly depends on other factors as
 well, please Debian users notice the following:
 
 * http://pkg-fso.alioth.debian.org/debian/pool/main/l/linux-2.6-openmoko/
 has also all the previous kernels
 * If you hit this audio playback problem, install the previous kernel
 http://pkg-fso.alioth.debian.org/debian/pool/main/l/linux-2.6-openmoko/linux-image-2.6.34-openmoko-gta02_20100921.gitec52149c-2_armel.deb



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


[Debian] aplay/mplayer broken with pkg-fso linux-image-2.6.34-openmoko-gta02?

2010-11-19 Thread Paul Wise
Is anyone else having broken audio on Debian with pkg-fso
linux-image-2.6.34-openmoko-gta02? Timo Jyrinki can reproduce it with
one GTA02 but not with another one. Here are some symptoms:

r...@booph(Debian):~# uname -a
Linux booph 2.6.34-20101108.git1508bbb5 #1 Sat Nov 13 22:33:10 UTC 2010 armv4tl 
GNU/Linux
r...@booph(Debian):~# aplay inigo.wav 
Playing WAVE 'inigo.wav' : Unsigned 8 bit, Rate 22050 Hz, Mono
aplay: pcm_write:1603: write error: Connection timed out
r...@booph(Debian):~# mplayer stash/music/penguinplanet.ogg 
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing stash/music/penguinplanet.ogg.
[Ogg] stream 0: audio (Vorbis), -aid 0
Ogg file format detected.
Clip info:
 Name: Penguin Planet (Authentic Edit
 Artist: Void Main
==
Trying to force audio codec driver family ffmpeg...
Requested audio codec family [vorbis] (afm=libvorbis) not available.
Enable it at compilation.
Opening audio decoder: [tremor] Ogg/Vorbis audio decoder
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000-176400)
Selected audio codec: [tremor] afm: tremor (OggVorbis audio)
==
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:   0.0 (00.0) of 232.6 (03:52.5) ??,?% 

MPlayer interrupted by signal 2 in module: play_audio


MPlayer interrupted by signal 2 in module: play_audio
r...@booph(Debian):~# mplayer inigo.wav 
MPlayer 1.0rc3-4.4.4 (C) 2000-2009 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing inigo.wav.
[demux_audio] truncated extradata (0  40)
Audio only file format detected.
==
Trying to force audio codec driver family ffmpeg...
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 22050 Hz, 1 ch, u8, 176.4 kbit/100.00% (ratio: 22050-22050)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==
AO: [alsa] 22050Hz 1ch u8 (1 bytes per sample)
Video: no video
Starting playback...
[AO_ALSA] alsa-lib: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START 
failed (-110): Connection timed out
[AO_ALSA] Write error: Connection timed out
[AO_ALSA] Trying to reset soundcard.
[AO_ALSA] alsa-lib: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START 
failed (-110): Connection timed out
[AO_ALSA] Write error: Connection timed out
[AO_ALSA] Trying to reset soundcard.
[AO_ALSA] alsa-lib: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START 
failed (-110): Connection timed out
[AO_ALSA] Write error: Connection timed out
[AO_ALSA] Trying to reset soundcard.
[AO_ALSA] alsa-lib: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START 
failed (-110): Connection timed out
[AO_ALSA] Write error: Connection timed out
[AO_ALSA] Trying to reset soundcard.
[AO_ALSA] alsa-lib: pcm_hw.c:587:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START 
failed (-110): Connection timed out
[AO_ALSA] Write error: Connection timed out
[AO_ALSA] Trying to reset soundcard.
...
..
.

-- 
bye,
pabs

http://bonedaddy.net/pabs3/


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [Debian] aplay/mplayer broken with pkg-fso linux-image-2.6.34-openmoko-gta02?

2010-11-19 Thread Timo Jyrinki
2010/11/19 Paul Wise pa...@bonedaddy.net:
 Is anyone else having broken audio on Debian with pkg-fso
 linux-image-2.6.34-openmoko-gta02? Timo Jyrinki can reproduce it with
 one GTA02 but not with another one. Here are some symptoms:

And the one I can reproduce it with is up-to-date sid, while the one
where I have no problem is mostly pure Debian squeeze (only E17 and
Zhone from sid and kernel from pkg-fso) with 127 unupgraded packages
(ALSA among else). Paul mentioned he mostly has squeeze as well, so it
might be even something in testing, just recently migrated?

Same kernel is used on each device, and same modules loaded (audio
support built-in).

Mostly it would be good to hear from other Debian users if they are
seeing the problem, or if they are not seeing it. Maybe we could then
pinpoint what's causing the problem. My guess so far is that it
wouldn't be kernel related, since I at least have audio perfectly
functional on one device. I wouldn't have even noticed the problem if
I hadn't tested audio on my playground Neo after Paul mentioned it...

I will try to upgrade my working Neo to latest squeeze a few packages
at a time at some point, but right now I don't have time and need that
phone to be working :)

-Timo

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


Re: [Debian] aplay/mplayer broken with pkg-fso linux-image-2.6.34-openmoko-gta02?

2010-11-19 Thread Gennady Kupava
В Птн, 19/11/2010 в 17:48 +0200, Timo Jyrinki пишет:
 2010/11/19 Paul Wise pa...@bonedaddy.net:
  Is anyone else having broken audio on Debian with pkg-fso
  linux-image-2.6.34-openmoko-gta02? Timo Jyrinki can reproduce it with
  one GTA02 but not with another one. Here are some symptoms:
 
 And the one I can reproduce it with is up-to-date sid, while the one
 where I have no problem is mostly pure Debian squeeze (only E17 and
 Zhone from sid and kernel from pkg-fso) with 127 unupgraded packages
 (ALSA among else). Paul mentioned he mostly has squeeze as well, so it
 might be even something in testing, just recently migrated?
 
 Same kernel is used on each device, and same modules loaded (audio
 support built-in).
 
 Mostly it would be good to hear from other Debian users if they are
 seeing the problem, or if they are not seeing it. Maybe we could then
 pinpoint what's causing the problem. My guess so far is that it
 wouldn't be kernel related, since I at least have audio perfectly
 functional on one device. I wouldn't have even noticed the problem if
 I hadn't tested audio on my playground Neo after Paul mentioned it...
 
 I will try to upgrade my working Neo to latest squeeze a few packages
 at a time at some point, but right now I don't have time and need that
 phone to be working :)
 

Hi, Timo  list

I've noticed problem with alsa too. Guess that this may be related to
100hz patch, probably need to review neo-specific code in kernel. 

I noticed arecord is not working here (in both debian and qtmoko v28
with same kernel based on qtmoko v29 sources), also aplay somehow is
working in qtmoko v28(which is debian stable i think) but does not with
debian unstable (all with same kernel). i can't really say then this
stopped working - i didn't tried arecord for a while and didn't tried
aplay on debian/unstable for a while too.

Hope that 100hz patch will help us to fix some well-hidden bugs :)

Gennady.


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