Bug 181056

Summary: raopppcm alsa driver not shown in Phonon
Product: [Frameworks and Libraries] Phonon Reporter: Guillaume Zin <guillaume.zin>
Component: generalAssignee: Matthias Kretz <kretz>
Status: RESOLVED UPSTREAM    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: soundcardinfo.sh output
script used to install the raop pcm alsa driver at boot
output of lshal

Description Guillaume Zin 2009-01-17 09:54:56 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Hello,

I added a script to install the alsa raop pcm driver at boot. It permits to send sound output to a AirTunes compatible device. The driver shows up with "aplay -l" and works with mplayer for instance, but doesn't appear in Phonon, so I can't send the Amarok sound output to AirTunes. Any idea on how to do this ?

To reproduce : download and compile raop_play and the alsa driver (http://raop-play.sourceforge.net). Install the driver for instance from the "rc.local" file.
Comment 1 Guillaume Zin 2009-01-17 09:55:44 UTC
Created attachment 30335 [details]
soundcardinfo.sh output
Comment 2 Guillaume Zin 2009-01-17 09:56:44 UTC
Created attachment 30336 [details]
script used to install the raop pcm alsa driver at boot
Comment 3 Matthias Kretz 2009-01-17 11:26:27 UTC
Please also attach the output of 'lshal'. I suspect HAL fails to list the device properly...
Comment 4 Guillaume Zin 2009-01-17 14:34:23 UTC
Created attachment 30345 [details]
output of lshal
Comment 5 Guillaume Zin 2009-01-18 18:49:27 UTC
Hello,

hal doesn't detect the raoppcm alsa driver because it doesn't register to any bus and hal wants alsa drivers with a parent bus. If I modify the driver to register to the platform bus, hal and then Phonon can see the driver. I will see with raoppcm author to add my patch.

Thank you.

Best regards.

Guillaume Zin