Ticket #115 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

Skip modems when finding devices with HAL

Reported by: iwienand Owned by: lennart
Milestone: 0.9.7 Component: module-hal-detect
Keywords: modem Cc: ianw@…

Description

Hi,

I noticed my audio devices have a "pcm_class" which says if they are a modem. Patch below adds a simple check for this and hence skips any modems. I was a bit confused when I first installed Pulseaudio because I didn't realise audio was defaulting to the ALSA modem device, so hopefully this will help that.

Attachments

pa-skip-modem.diff (0.9 kB) - added by iwienand 5 years ago.
patch to skip modems
pa-hal-devices.txt (135.1 kB) - added by iwienand 5 years ago.
hal-device output showing fields for the audio devices in my dell x1 laptop

Change History

Changed 5 years ago by iwienand

patch to skip modems

Changed 5 years ago by iwienand

hal-device output showing fields for the audio devices in my dell x1 laptop

Changed 5 years ago by iwienand

  • cc ianw@… added
  • component changed from module-esound-* to module-hal-detect

Changed 4 years ago by lennart

  • status changed from new to assigned

The "lennart" branch in SVN now contains a similar patch.

Thanks for the patch.

Changed 4 years ago by lennart

  • milestone set to 0.9.7

Changed 4 years ago by tanuk

It is reported that the patch attached here doesn't work, so if you read this because pulseaudio (version <= 0.9.6) tries to use your modem, try the "lennart" branch in svn or configure the device manually in /etc/pulse/default.pa.

Changed 4 years ago by lennart

  • status changed from assigned to closed
  • resolution set to fixed

Commited to trunk.

Note: See TracTickets for help on using tickets.