I've blogged about this before. Essentially you should modify /etc/pulse/
default.pa (or ~/.pulse/default.pa, which you can cp over) and use
load-module module-alsa-sink control=PCM.

On Nov 19, 2009 5:40 PM, "tritan" <[email protected]> wrote:

Public bug reported:

Binary package hint: pulseaudio

I have just upgraded to Karmic and I'm having issues with volume
control. I'm using an external USB device for audio - the Creative XMOD.
The problem is that adjusting the volume control in the Gnome GUI (or by
using the Fn buttons on my keyboard, or the volume dial on the XMOD
itself, which seem to all do the same thing) all appear to apply
attenuation in software, as well as adjusting the ALSA PCM control. This
wouldn't be too bad, except that: the PCM control is set to 10% on most
boots, and is not intially adjusted via the GUI mixer, and the software
attenuation is not very good (it appears to introduce some high
frequency noise). These problems were not present in 9.04 (in 9.04 the
Gnome GUI mixer appeared to just change the ALSA PCM control, not apply
software attenuation). At the moment I have to manually turn the PCM
control up using alsamixer (to get it set high enough at all), leave the
GUI volume at 100% (to avoid software attenuation being added), and
adjust the volume either in alsamixer or on my speakers.

lsusb says this about my device:

Bus 002 Device 003: ID 041e:30d0 Creative Technology, Ltd
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0        64
 idVendor           0x041e Creative Technology, Ltd
 idProduct          0x30d0
 bcdDevice            1.00
 iManufacturer           1
 iProduct                2
 iSerial                 0

lsmod shows that it's using these modules:

snd_usb_audio          84224  3
snd_pcm_oss            37920  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  3 snd_usb_audio,snd_pcm_oss
snd_page_alloc          9156  1 snd_pcm
snd_usb_lib            16284  1 snd_usb_audio
snd_hwdep               7200  1 snd_usb_audio
snd_seq_dummy           2656  0
snd_seq_oss            28576  0
snd_seq_midi            6432  0
snd_rawmidi            22208  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    59204  15
snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

This is the output of amixer:

Simple mixer control 'PCM',0
 Capabilities: pvolume cvolume pswitch pswitch-joined
 Playback channels: Front Left - Front Right
 Capture channels: Front Left - Front Right
 Limits: Playback 0 - 48 Capture 0 - 48
 Front Left: Playback 48 [100%] [0.00dB] [on] Capture 39 [81%] [-3.00dB]
 Front Right: Playback 48 [100%] [0.00dB] [on] Capture 39 [81%] [-3.00dB]
Simple mixer control 'PCM Capture Source',0
 Capabilities: enum
 Items: 'Input 0' 'Mic'
 Item0: 'Input 0'
Simple mixer control 'Mic',0
 Capabilities: cvolume
 Capture channels: Front Left - Front Right
 Limits: Capture 0 - 48
 Front Left: Capture 0 [0%] [-42.00dB]
 Front Right: Capture 0 [0%] [-42.00dB]
Simple mixer control 'Auto Gain Control',0
 Capabilities: pswitch pswitch-joined
 Playback channels: Mono
 Mono: Playback [off]
Simple mixer control 'Up Down',0
 Capabilities: pswitch pswitch-joined
 Playback channels: Mono
 Mono: Playback [off]

I've just been reading
http://pulseaudio.org/wiki/PulseAudioStoleMyVolumes. That suggests that
PA wants to play with a "Master" mixer first. Perhaps the problem that
there is no "Master" control here?

Here is the other information you've requested:

output of lsb_release -rd
Description:    Ubuntu 9.10
Release:        9.10

output of apt-cache policy pulseaudio
pulseaudio:
 Installed: 1:0.9.19-0ubuntu4
 Candidate: 1:0.9.19-0ubuntu4
 Version table:
 *** 1:0.9.19-0ubuntu4 0
       500 http://gb.archive.ubuntu.com karmic/main Packages
       100 /var/lib/dpkg/status

** Affects: pulseaudio (Ubuntu)
    Importance: Undecided
        Status: New

--
PCM control in ALSA set to 10% no matter what GUI volume control is
https://bugs.launchpad.net/bugs/485530
You received this bug notification because you are a member of Ubuntu
Audio Team, which is subscribed to pulseaudio in ubuntu.

Status in “pulseaudio” package in Ubuntu: New

Bug description:
Binary package hint: pulseaudio

I have just upgraded to Karmic and I'm having issues with volume control.
I'm using an external USB device for audio - the Creative XMOD. The problem
is that adjusting the volume control in the Gnome GUI (or by using the Fn
buttons on my keyboard, or the volume dial on the XMOD itself, which seem to
all do the same thing) all appear to apply attenuation in software, as well
as adjusting the ALSA PCM control. This wouldn't be too bad, except that:
the PCM control is set to 10% on most boots, and is not intially adjusted
via the GUI mixer, and the software attenuation is not very good (it appears
to introduce some high frequency noise). These problems were not present in
9.04 (in 9.04 the Gnome GUI mixer appeared to just change the ALSA PCM
control, not apply software attenuation). At the moment I have to manually
turn the PCM control up using alsamixer (to get it set high enough at all),
leave the GUI volume at 100% (to avoid software attenuation being added),
and adjust the volume either in alsamixer or on my speakers.

lsusb says this about my device:

Bus 002 Device 003: ID 041e:30d0 Creative Technology, Ltd
Device Descriptor:
 bLength                18
 bDescriptorType         1
 bcdUSB               1.10
 bDeviceClass            0 (Defined at Interface level)
 bDeviceSubClass         0
 bDeviceProtocol         0
 bMaxPacketSize0        64
 idVendor           0x041e Creative Technology, Ltd
 idProduct          0x30d0
 bcdDevice            1.00
 iManufacturer           1
 iProduct                2
 iSerial                 0

lsmod shows that it's using these modules:

snd_usb_audio          84224  3
snd_pcm_oss            37920  0
snd_mixer_oss          16028  1 snd_pcm_oss
snd_pcm                75296  3 snd_usb_audio,snd_pcm_oss
snd_page_alloc          9156  1 snd_pcm
snd_usb_lib            16284  1 snd_usb_audio
snd_hwdep               7200  1 snd_usb_audio
snd_seq_dummy           2656  0
snd_seq_oss            28576  0
snd_seq_midi            6432  0
snd_rawmidi            22208  2 snd_usb_lib,snd_seq_midi
snd_seq_midi_event      6940  2 snd_seq_oss,snd_seq_midi
snd_seq                50224  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              22276  2 snd_pcm,snd_seq
snd_seq_device          6920  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    59204  15
snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_hwdep,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device

This is the output of amixer:

Simple mixer control 'PCM',0
 Capabilities: pvolume cvolume pswitch pswitch-joined
 Playback channels: Front Left - Front Right
 Capture channels: Front Left - Front Right
 Limits: Playback 0 - 48 Capture 0 - 48
 Front Left: Playback 48 [100%] [0.00dB] [on] Capture 39 [81%] [-3.00dB]
 Front Right: Playback 48 [100%] [0.00dB] [on] Capture 39 [81%] [-3.00dB]
Simple mixer control 'PCM Capture Source',0
 Capabilities: enum
 Items: 'Input 0' 'Mic'
 Item0: 'Input 0'
Simple mixer control 'Mic',0
 Capabilities: cvolume
 Capture channels: Front Left - Front Right
 Limits: Capture 0 - 48
 Front Left: Capture 0 [0%] [-42.00dB]
 Front Right: Capture 0 [0%] [-42.00dB]
Simple mixer control 'Auto Gain Control',0
 Capabilities: pswitch pswitch-joined
 Playback channels: Mono
 Mono: Playback [off]
Simple mixer control 'Up Down',0
 Capabilities: pswitch pswitch-joined
 Playback channels: Mono
 Mono: Playback [off]

I've just been reading http://pulseaudio.org/wiki/PulseAudioStoleMyVolumes.
That suggests that PA wants to play with a "Master" mixer first. Perhaps the
problem that there is no "Master" control here?

Here is the other information you've requested:

output of lsb_release -rd
Description:    Ubuntu 9.10
Release:        9.10

output of apt-cache policy pulseaudio
pulseaudio:
 Installed: 1:0.9.19-0ubuntu4
 Candidate: 1:0.9.19-0ubuntu4
 Version table:
 *** 1:0.9.19-0ubuntu4 0
       500 http://gb.archive.ubuntu.com karmic/main Packages
       100 /var/lib/dpkg/status

-- 
PCM control in ALSA set to 10% no matter what GUI volume control is
https://bugs.launchpad.net/bugs/485530
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to