![]() |
Re: Why is pulseaudio crippled on the n900?
Interesting.
I tried the interactive method suggested by javispedro: - gain root Code:
stop pulseaudio Code:
E: client-ext.c: client-ext.c: Can't obtain command line EDIT: can confirm that it happens with 0.9.21 as well. |
Re: Why is pulseaudio crippled on the n900?
Quote:
Quote:
EDIT (sorry, missed a post). So, did you try copying the maemo PA client libraries to the chroot? Though lenny amd64's are working here. :P |
Re: Why is pulseaudio crippled on the n900?
OK, very interesting news. I noticed that I was actually using the squeeze version of pulseaudio in the chroot, version 0.9.21 instead of 0.9.10.
So I started with a fresh image (no pulseaudio installed) and disabled all the squeeze and sid repositories, and then installed the lenny version (0.9.10) of pulseaudio. I then closed the chroot and reopened it (so that /var/run/pulse would get mounted from Maemo correctly) and set the PULSE_SERVER variable like so: Code:
PULSE_SERVER=unix:/var/run/pulse/native Woot! Pulseaudio in the chroot connects to Maemo! I can see all of the devices and server information! A quick test of Code:
mplayer -ao pulse musicfile.mp3 So the secret is to use version 0.9.10 not 0.9.21 because something gets broken in the protocol between 0.9.15 (Maemo version) and 0.9.21 (Debian Squeeze version)... |
Re: Why is pulseaudio crippled on the n900?
Hi qole,
Does the latest image include pulseaudio 0.9.10? If not, will it be included in the next image? If I already have the squeeze version installed, is there an easy way to back out to 0.9.10? Keep up the good work! |
Re: Why is pulseaudio crippled on the n900?
is there a way to change the server of pulseaudio?
In Ubuntu thanks to papref It's really easy:but a i cant find how to do it in command line! If we find this it ll be so easy to stream the desktop to the phone! |
Re: Why is pulseaudio crippled on the n900?
It looks as though pr1.5 is using pulseaudio 0.9.15 which is still unable to communicate with 0.9.21.
0.9.15 is in lenny-backports so I'll see if I can get sound out of the chroot when I have time. I don't know if it is interesting but I tried installing mpd in the chroot and could get sound out by selecting alsa output on hw:0,0 but there was no way for me to control the volume through mpd or maemo. |
Re: Why is pulseaudio crippled on the n900?
Quote:
http://mpd.wikia.com/wiki/Alsa I found it earlier as I was looking for something else alsa volume related. I've been playing with gstreamer and the alsa plugins in maemo and suffering from from very low volume on the hw devices :( |
Re: Why is pulseaudio crippled on the n900?
Please excuse me if the following question doesnt make sense.
Is it possible to setup PA so that mediaplayer/mplayer streams audio via head-phone jack, but the Phone app sends audio out over bluetooth. The usecase is for an N900 connected to a Sat Nav (like TomTom) via bluetooth.With the above scenario all the phone calls will be routed to the SatNav, however all the music will be played through 3.5mm jack connected to the car stereo. |
Re: Why is pulseaudio crippled on the n900?
i've found a better way to get to pulseaudio cli.
First edit /etc/pulse/system.pa add a following line at the end: load-module module-cli-protocol-unix socket=/tmp/pulsecli and restart pulseaudio (or phone). That will create /tmp/pulsecli linux socket you can connect to it using socat: socat stdin /tmp/pulsecli and you have pulseaudio cli. There is another way (less safe) where you can open a port and telnet to it. All you have to do is to uncomment last line in the file mentioned above. That is less safe for obvious reason, that anyone on local network can connect to this port without authentication unless you specify some iptables rules. |
Re: Why is pulseaudio crippled on the n900?
1 Attachment(s)
pulse audio manager works consistently for me on the highest version of the easy debian pulse libraries. i have a very vague memory of it not working the first time i tried it, so i did:
sudo /etc/init.d/pulseaudio start from within easy debian, and it seems to have worked ever since. i ran the mplayer command qole gave above and it worked fine. as i said, this is all with the most recent version of everything in easy debian. edit: also i didnt need to set any environment variables within easy debian edit: also i don't have to run that command everytime, it's like when you run it once it sorts out it's configuration and remembers it. as a result i think i've been living in blissful ignorance that others have been having easy debian audio 'issues' |
All times are GMT. The time now is 06:49. |
vBulletin® Version 3.8.8