Ticket #115 (closed enhancement: fixed)

Opened 1 year ago

Last modified 10 months ago

Skip modems when finding devices with HAL

Reported by: iwienand Assigned to: lennart
Priority: normal Milestone: 0.9.7
Component: module-hal-detect Severity: normal
Keywords: modem Cc: ianw@ieee.org

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 on 08/08/07 04:18:05.
patch to skip modems
pa-hal-devices.txt (135.1 kB) - added by iwienand on 08/08/07 04:19:30.
hal-device output showing fields for the audio devices in my dell x1 laptop

Change History

08/08/07 04:18:05 changed by iwienand

  • attachment pa-skip-modem.diff added.

patch to skip modems

08/08/07 04:19:30 changed by iwienand

  • attachment pa-hal-devices.txt added.

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

08/08/07 04:24:23 changed by iwienand

  • cc set to ianw@ieee.org.
  • component changed from module-esound-* to module-hal-detect.

08/26/07 03:15:55 changed by lennart

  • status changed from new to assigned.

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

Thanks for the patch.

08/26/07 04:26:25 changed by lennart

  • milestone set to 0.9.7.

08/28/07 11:00:45 changed 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.

10/30/07 14:55:14 changed by lennart

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

Commited to trunk.