Ticket #588 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

PulseAudio does not see cards which have only sources

Reported by: zap Owned by: lennart
Milestone: 0.9.16 Component: module-alsa-*
Keywords: Cc:

Description

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".

Change History

Changed 3 years ago by lennart

  • component changed from daemon to module-alsa-*

Hmm, PA should support those just fine.

I'd guess that r39aa1cf94d43efaa80571b3f9d3dc56297f2f5be might fix your problem. Could you check that please?

Changed 2 years ago by lennart

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 0.9.16

Had reports from other folks that this fixes the problem. So closing now. Feel free to reopen if it didn't fix the issue for you.

Note: See TracTickets for help on using tickets.