[pulseaudio-tickets] [PulseAudio] #588: PulseAudio does not see cards which have only sources

PulseAudio trac-noreply at tango.0pointer.de
Sat Jun 20 06:06:26 PDT 2009


#588: PulseAudio does not see cards which have only sources
--------------------+-------------------------------------------------------
 Reporter:  zap     |       Owner:  lennart
     Type:  defect  |      Status:  new    
Milestone:          |   Component:  daemon 
 Keywords:          |  
--------------------+-------------------------------------------------------
 I have a Philips SAA7133-based TV card, which can work like an ALSA input
 device (for TV sound). It does not have any output devices, however.
 Here's the aplay -l and arecord -l output:

 {{{
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
   Subdevices: 0/1
   Subdevice #0: subdevice #0
 card 1: YMF754 [Yamaha DS-1E (YMF754)], device 0: YMFPCI [YMFPCI]
   Subdevices: 32/32
   Subdevice #0: subdevice #0
   Subdevice #1: subdevice #1
   Subdevice #2: subdevice #2
   Subdevice #3: subdevice #3
   Subdevice #4: subdevice #4
   Subdevice #5: subdevice #5
   Subdevice #6: subdevice #6
   Subdevice #7: subdevice #7
   Subdevice #8: subdevice #8
   Subdevice #9: subdevice #9
   Subdevice #10: subdevice #10
   Subdevice #11: subdevice #11
   Subdevice #12: subdevice #12
   Subdevice #13: subdevice #13
   Subdevice #14: subdevice #14
   Subdevice #15: subdevice #15
   Subdevice #16: subdevice #16
   Subdevice #17: subdevice #17
   Subdevice #18: subdevice #18
   Subdevice #19: subdevice #19
   Subdevice #20: subdevice #20
   Subdevice #21: subdevice #21
   Subdevice #22: subdevice #22
   Subdevice #23: subdevice #23
   Subdevice #24: subdevice #24
   Subdevice #25: subdevice #25
   Subdevice #26: subdevice #26
   Subdevice #27: subdevice #27
   Subdevice #28: subdevice #28
   Subdevice #29: subdevice #29
   Subdevice #30: subdevice #30
   Subdevice #31: subdevice #31
 card 1: YMF754 [Yamaha DS-1E (YMF754)], device 1: YMFPCI - IEC958 [YMFPCI
 - IEC958]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: YMF754 [Yamaha DS-1E (YMF754)], device 2: YMFPCI - Rear [YMFPCI -
 Rear PCM]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 }}}

 {{{
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 0: Intel [HDA Intel], device 2: ALC883 Analog [ALC883 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: YMF754 [Yamaha DS-1E (YMF754)], device 0: YMFPCI [YMFPCI]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 1: YMF754 [Yamaha DS-1E (YMF754)], device 3: YMFPCI - PCM2 [YMFPCI -
 Direct Recording]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 card 2: SAA7134 [SAA7134], device 0: SAA7134 PCM [SAA7134 PCM]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 }}}

 HAL sees the device:

 {{{
 26: udi =
 '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0_alsa_control__1'
   access_control.type = 'sound'  (string)
   access_control.file = '/dev/snd/controlC2'  (string)
   info.callouts.add = { 'hal-acl-tool --add-device' } (string list)
   info.callouts.remove = { 'hal-acl-tool --remove-device' } (string list)
   access_control.grant_user = { 'mpd' } (string list)
   linux.sysfs_path =
 '/sys/devices/pci0000:00/0000:00:1e.0/0000:05:00.0/sound/card2/controlC2'
 (string)
   info.parent = '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0'
 (string)
   info.product = 'saa7133[0] ALSA Control Device'  (string)
   info.subsystem = 'sound'  (string)
   info.udi =
 '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0_alsa_control__1'
 (string)
   linux.device_file = '/dev/snd/controlC2'  (string)
   info.category = 'alsa'  (string)
   info.capabilities = { 'alsa', 'access_control' } (string list)
   alsa.device_file = '/dev/snd/controlC2'  (string)
   alsa.originating_device =
 '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0'  (string)
   alsa.card = 2  (0x2)  (int)
   alsa.type = 'control'  (string)
   alsa.card_id = 'saa7133[0]'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'sound'  (string)

 32: udi =
 '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0_alsa_capture_0'
   access_control.type = 'sound'  (string)
   access_control.file = '/dev/snd/pcmC2D0c'  (string)
   info.callouts.add = { 'hal-acl-tool --add-device' } (string list)
   info.callouts.remove = { 'hal-acl-tool --remove-device' } (string list)
   alsa.device = 0  (0x0)  (int)
   alsa.pcm_class = 'generic'  (string)
   alsa.device_id = 'SAA7134 PCM'  (string)
   access_control.grant_user = { 'mpd' } (string list)
   linux.sysfs_path =
 '/sys/devices/pci0000:00/0000:00:1e.0/0000:05:00.0/sound/card2/pcmC2D0c'
 (string)
   info.parent = '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0'
 (string)
   info.product = 'SAA7134 PCM ALSA Capture Device'  (string)
   info.subsystem = 'sound'  (string)
   info.udi =
 '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0_alsa_capture_0'
 (string)
   linux.device_file = '/dev/snd/pcmC2D0c'  (string)
   info.category = 'alsa'  (string)
   info.capabilities = { 'alsa', 'access_control' } (string list)
   alsa.device_file = '/dev/snd/pcmC2D0c'  (string)
   alsa.originating_device =
 '/org/freedesktop/Hal/devices/pci_1131_7133_sound_card_0'  (string)
   alsa.card = 2  (0x2)  (int)
   alsa.type = 'capture'  (string)
   alsa.card_id = 'saa7133[0]'  (string)
   linux.hotplug_type = 2  (0x2)  (int)
   linux.subsystem = 'sound'  (string)
 }}}

 However, pavucontrol shows only two input devices - "YMF-754" and
 "Internal Audio".

-- 
Ticket URL: <http://pulseaudio.org/ticket/588>
PulseAudio <http://pulseaudio.org/>
The PulseAudio Sound Server


More information about the pulseaudio-bugs mailing list