[Pkg-alsa-devel] Bug#297624: azx - /dev/dsp problem, alsamixer problem and poor quality

Robert Paciorek Robert Paciorek <robert@newworld.n17.waw.pl>, 297624@bugs.debian.org
Tue, 1 Mar 2005 22:05:09 +0100


Package: alsa-source
Version: 1.0.8-4

Hi,

I have 3 problems with alsa axz driver (for ICH6 + CMI9880 on Gigabyte 
GA-8GPNXP Duo matherboard):

1. /dev/dsp problem: When I use TV application (e.g. xawtv) I haven't sound 
(line-out TV card connect to line-in).
Temporary solution: I modifity "parrot.c" /dev/dsp demo program, so as to set 
correct parametr for /dev/dsp and copy date form /dev/dsp to /dev/dsp 
(similary to: dd </dev/dsp >/dev/dsp) and sound work.

2. poor quality problem: When I play any sound file I hear this sound and 
rustle.

3. alsamixer don't control "Capture Volume" and "Capture Switch"

Thanks for helping,
Robert Paciorek



uname -a:
Linux robert 2.6.9-1-686-smp #1 SMP Thu Nov 25 02:24:54 EST 2004 i686 
GNU/Linux


lsmod:
Module                  Size  Used by
binfmt_misc            12424  1
capability              4616  0
commoncap               7360  1 capability
ipv6                  264576  12
shfs                   54960  0
pciehp                 99460  0
shpchp                102660  0
pci_hotplug            35100  2 pciehp,shpchp
hw_random               5684  0
intel_agp              22848  1
agpgart                35340  1 intel_agp
mousedev               11932  1
psmouse                22376  0
tsdev                   7872  0
evdev                   9728  0
parport_pc             37828  0
parport                42280  1 parport_pc
nvidia               3471612  12
snd_azx                16624  0
snd_hda_codec          47232  1 snd_azx
snd_pcm_oss            54344  0
snd_mixer_oss          20512  1 snd_pcm_oss
snd_pcm                96772  3 snd_azx,snd_hda_codec,snd_pcm_oss
snd_timer              26468  1 snd_pcm
snd                    60292  6 
snd_azx,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10560  1 snd
snd_page_alloc         10216  2 snd_azx,snd_pcm
tuner                  21092  0
tvaudio                23232  0
bttv                  158220  0
video_buf              22244  1 bttv
i2c_algo_bit           10184  1 bttv
v4l2_common             6144  1 bttv
btcx_risc               4840  1 bttv
i2c_core               24448  4 tuner,tvaudio,bttv,i2c_algo_bit
videodev               10208  1 bttv
uhci_hcd               33648  0
ehci_hcd               32452  0
usbcore               120196  4 uhci_hcd,ehci_hcd
eth1394                22728  0
ohci1394               35748  0
ieee1394              115192  2 eth1394,ohci1394
sk98lin               174728  0
tg3                    75216  0
firmware_class         10464  2 bttv,tg3
ide_generic             1504  0
ide_core              143292  1 ide_generic
rtc                    13000  0
ext3                  127912  2
jbd                    67448  1 ext3
mbcache                 9220  1 ext3
sd_mod                 18240  4
ata_piix                9252  3
libata                 45828  1 ata_piix
scsi_mod              126436  2 sd_mod,libata
unix                   29108  407
fbcon                  40736  71
font                    8352  1 fbcon
vesafb                  6880  1
cfbcopyarea             4160  1 vesafb
cfbimgblt               3104  1 vesafb
cfbfillrect             3808  1 vesafb


package version:
alsa-base 1.0.8-4
alsa-utils 1.0.8-4
kernel-image-2.6.9-1-686-smp 2.6.9-3


/var/lib/alsa/asound.state config:
state.HDA {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PCM Playback Switch'
                value.0 true
                value.1 true
        }
        control.2 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Surround Playback Switch'
                value.0 false
                value.1 false
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Center Playback Switch'
                value.0 false
                value.1 false
        }
        control.4 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'LFE Playback Switch'
                value.0 false
                value.1 false
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Side Playback Switch'
                value.0 false
                value.1 false
        }
        control.6 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 'Front Mic'
                comment.item.1 'Rear Mic'
                comment.item.2 Line
                comment.item.3 CD
                iface MIXER
                name 'Input Source'
                value Line
        }
        control.7 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 'Front Mic'
                comment.item.1 'Rear Mic'
                comment.item.2 Line
                comment.item.3 CD
                iface MIXER
                name 'Input Source'
                index 1
                value Line
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 30'
                iface MIXER
                name 'Capture Volume'
                value.0 6
                value.1 6
        }
        control.9 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 30'
                iface MIXER
                name 'Capture Volume'
                index 1
                value.0 0
                value.1 0
        }
        control.10 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                value.0 true
                value.1 true
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'Capture Switch'
                index 1
                value.0 false
                value.1 false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 15'
                iface MIXER
                name 'PC Speaker Playback Volume'
                value.0 15
                value.1 15
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                comment.count 2
                iface MIXER
                name 'PC Speaker Playback Switch'
                value.0 true
                value.1 true
        }
        control.14 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.count 1
                comment.item.0 '2ch'
                comment.item.1 '6ch'
                iface MIXER
                name 'Channel Mode'
                value '2ch'
        }
        control.15 {
                comment.access 'read write user'
                comment.type INTEGER
                comment.count 2
                comment.range '0 - 255'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 255
                value.1 255
        }
}