[pulseaudio-discuss] Generic device names in pavucontrol

Valmantas Palikša walmis at gmail.com
Tue Nov 3 13:33:33 PST 2009


OK, I've fiddled around with that udev rule and now it works like it's
supposed to.
And it seems almost everything here is on pci bus 0 :)

$ ls /sys/bus/pci/devices/
0000:00:00.0  0000:00:0f.0  0000:00:10.2  0000:00:11.5  0000:00:18.2
0000:00:01.0  0000:00:0f.1  0000:00:10.3  0000:00:12.0  0000:00:18.3
0000:00:0c.0  0000:00:10.0  0000:00:10.4  0000:00:18.0  0000:01:00.0
0000:00:0d.0  0000:00:10.1  0000:00:11.0  0000:00:18.1

On Tue, 2009-11-03 at 23:19 +0200, Valmantas Palikša wrote:
> Here's the lspci output:
> 
> 00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host
> Bridge (rev 01)
> 00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge
> [K8T800/K8T890 South]
> 00:0c.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev
> 08)
> 00:0d.0 Multimedia video controller: Conexant Systems, Inc.
> CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
> 00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID
> Controller (rev 80)
> 00:0f.1 IDE interface: VIA Technologies, Inc.
> VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
> 00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 81)
> 00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 81)
> 00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 81)
> 00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
> Controller (rev 81)
> 00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
> 00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge
> [KT600/K8T800/K8T890 South]
> 00:11.5 Multimedia audio controller: VIA Technologies, Inc.
> VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
> 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II]
> (rev 78)
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> HyperTransport Technology Configuration
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> Address Map
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
> Miscellaneous Control
> 01:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce
> 6600] (rev a2)
> 
> On Tue, 2009-11-03 at 22:11 +0100, Lennart Poettering wrote:
> > On Tue, 03.11.09 23:06, Valmantas Palikša (walmis at gmail.com) wrote:
> > 
> > > Since upgrading to ubuntu 9.10 devices in pavucontrol and gnome sound
> > > settings are listed as "Internal Audio Analog Stereo". I have two sound
> > > cards on my pc and both of them are listed with the same name.
> > > Previously they were listed with actual card names like "VIA 8237", so
> > > now it's kind of unclear which card should be used when moving streams
> > > for example. 
> > > 
> > > Here's a fragment from pactl list
> > > 
> > > Card #1
> > > 	Name: alsa_card.pci-0000_00_11.5
> > > 	Driver: module-alsa-card.c
> > > 	Owner Module: 5
> > > 	Properties:
> > > 		alsa.card = "1"
> > > 		alsa.card_name = "VIA 8237"
> > 
> > Hmm, that is surprising. How come you have two cards on PCI bus 0?
> > Could you provide your lspci output?
> > 
> > Currently we use the "Internal sound card" name for all PCI cards
> > that are on PCU bus #0, which normally should be internal bus of the
> > chipset. In your case this seems be an invalid assumption?
> > 
> > The name is assigned indirectly, based on the SOUND_FORM_FACTOR udev
> > property, which is set in /lib/udev/rules.d/78-sound-card.rules. You
> > should be able to drop that special label by commenting a rule in
> > that file.
> > 
> > Ideally however I'd like to see this fixed properly, i.e. I am
> > wondering if there is some way so that we can safely identify internal
> > sound cards even for setups like yours.
> > 
> > Lennart
> > 
> 
> 





More information about the pulseaudio-discuss mailing list