[pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Jon Smirl
I have asound.conf setup to always pass everything to pulse. pcm.!default { type pulse } ctl.!default { type pulse } And I've been statically loading the pulse drivers. load-module module-alsa-sink sink_name=mb_out device=hw:0 load-module module-alsa-source source_name=mb_in device=hw:0

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Justin Tulloss
Can I set pulse up so that I don't need to statically load the alsa drivers? I'm testing various USB audio devices and I may have one, two or even three plugged in at once. I'd like to have the device automatically create source/sinks for all of my ALSA hardware devices. Yes. Just comment out t

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Vasili Sviridov
Lennart Poettering wrote: > On Thu, 12.07.07 19:42, Jon Smirl ([EMAIL PROTECTED]) wrote: > > Hi > > >> HAL knows that my >> alsa_output.usb_device_471_155_noserial_if0_alsa_playback_0 is a >> "Philips PSC805" and that my >> alsa_output.pci_device_8086_24d6_alsa_playback_0 is a "Intel ICH5 ALSA >

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Jon Smirl
On 7/12/07, Vasili Sviridov <[EMAIL PROTECTED]> wrote: > As a side-note - it would be nice to do it like hotplug does it - > meaning - maintain a mapping between ugly sink names and nice and > legible sink names. (or maybe renaming sinks in runtime and maintaining > that as well, so it works after

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Vasili Sviridov
Jon Smirl wrote: I have the Logitech USB headphones and they also show "noserial" designation. It's just the way hal module labels the sinks (based on hardware capabilities, if you go to /proc/asound// and look around in the files - you'll see where all those extra bits come from). As a side-n

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Jon Smirl
I see the devices are using the PCI / USB ID for their name. alsa_output.usb_device_471_155_noserial_if0_alsa_playback_0 alsa_output.pci_device_8086_24d6_alsa_playback_0 Normal display includes the leading zeros [EMAIL PROTECTED]:~$ lsusb Bus 002 Device 002: ID 0471:0155 Philips What does the no

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Lennart Poettering
On Thu, 12.07.07 16:56, Vasili Sviridov ([EMAIL PROTECTED]) wrote: > Shouldn't it be possible to know everything HAL knows since you're using > native API? Sure. But the descriptive strings are not unique, while the device paths are. So we take the latter to avoid any uniqueness issues. Also, p

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Jon Smirl
On 7/12/07, Lennart Poettering <[EMAIL PROTECTED]> wrote: > On Thu, 12.07.07 19:42, Jon Smirl ([EMAIL PROTECTED]) wrote: > > Hi > > > HAL knows that my > > alsa_output.usb_device_471_155_noserial_if0_alsa_playback_0 is a > > "Philips PSC805" and that my > > alsa_output.pci_device_8086_24d6_alsa_pla

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Vasili Sviridov
Jon Smirl wrote: > On 7/12/07, Vasili Sviridov <[EMAIL PROTECTED]> wrote: > >> As a side-note - it would be nice to do it like hotplug does it - >> meaning - maintain a mapping between ugly sink names and nice and >> legible sink names. (or maybe renaming sinks in runtime and maintaining >> that

Re: [pulseaudio-discuss] dynamic loading for ALSA devices

2007-07-12 Thread Lennart Poettering
On Thu, 12.07.07 19:42, Jon Smirl ([EMAIL PROTECTED]) wrote: Hi > HAL knows that my > alsa_output.usb_device_471_155_noserial_if0_alsa_playback_0 is a > "Philips PSC805" and that my > alsa_output.pci_device_8086_24d6_alsa_playback_0 is a "Intel ICH5 ALSA > Playback Device". > > Could different H