The Following User Says Thank You to shiny For This Useful Post: | ||
|
2010-01-02
, 15:31
|
|
Posts: 1,665 |
Thanked: 1,649 times |
Joined on Jun 2008
@ Praha, Czech Republic
|
#2
|
|
2010-01-02
, 15:43
|
Posts: 3 |
Thanked: 1 time |
Joined on Dec 2009
|
#3
|
|
2010-01-02
, 17:51
|
|
Posts: 147 |
Thanked: 53 times |
Joined on Dec 2009
@ West London, UK
|
#4
|
|
2010-01-02
, 18:00
|
|
Posts: 147 |
Thanked: 53 times |
Joined on Dec 2009
@ West London, UK
|
#5
|
How about "lsof /dev/snd/*" from xterm
and kill the process owning the entries?
maybe post the results also, would be nice..
|
2010-01-02
, 18:35
|
Posts: 3 |
Thanked: 1 time |
Joined on Dec 2009
|
#6
|
Sure: running this as root gives the following output (apologies for the poor formatting):
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
alsaped 1676 root 3u CHR 116,0 1746 /dev/snd/controlC0
pulseaudi 1718 root 18u CHR 116,0 1746 /dev/snd/controlC0
Killing these process makes them restart, but playing any media then results in silence for the first try, and then the "audio in use" error again.
Thanks for your advice so far. It almost feels like there might be some kind of lockfile issue, but my Linux audio knowledge is admittedly zilch.
The Following User Says Thank You to Eero Nurkkala For This Useful Post: | ||
|
2010-01-02
, 18:52
|
|
Posts: 147 |
Thanked: 53 times |
Joined on Dec 2009
@ West London, UK
|
#7
|
Hmm. That doesn't look bad. IIRC, if you're aplay'ing stuff and try to play MP3s at the same time from the media player, you get the "audio in use" -message.
I think you can stop / start pulseaudio with
"stop pulseaudio" and "start pulseaudio". May be worth a try.. as well as starting the pulseaudio with "pulseaudio --system -v &" (may give some traces)
also it'd be interesting to see what "aplay -Dhw:0 -fdat /dev/zero" says.
|
2010-01-02
, 19:08
|
|
Posts: 147 |
Thanked: 53 times |
Joined on Dec 2009
@ West London, UK
|
#8
|
|
2010-01-03
, 00:14
|
|
Posts: 147 |
Thanked: 53 times |
Joined on Dec 2009
@ West London, UK
|
#9
|
|
2010-01-04
, 12:01
|
|
Posts: 1,665 |
Thanked: 1,649 times |
Joined on Jun 2008
@ Praha, Czech Republic
|
#10
|
It seems that somehow the internal audio system has become "locked" - whenever I try to play any audio, either nothing happens or (as in the case of Media Player) I get a message to the effect of "Audio already in use by another application." Rebooting has no effect. I recently had a random reboot I had while using maemo-pc-connectivity, which may be the root of the problem.
Some other odd behaviour too that I think may be related:
- Anyone calling by phone can't be heard
- Calling out by phone forces other caller to speakerphone
- Nokia Video on bootup plays as expected
- /usr/bin/browser hangs at 100%
- Any kind of DNS resolution appears to be broken
- Text message noises etc. are replaced by a system "beep"
I have some extras-devel/extras-testing apps installed. While comfortable with the command-line, I don't know much about the internals of the N900 so it would be great if anyone could point me in the direction of what might be going on.
Last edited by shiny; 2010-01-03 at 00:15.