Hi

I have now added /etc/asound.state after running "alsactl strore".

I had sound working with the "i810_audio" module loaded, but gnomemeeting
would not work. The suggestion was to use the ALSA sound driver. Entries
in /etc/modules.conf and output of lspci are given below.

After I login (KDE) I get a warning message the message saying something as:
  Could not get 41100, using 32000 instead
  Sound driver will continue to run using the null device

Rec gives a warning message and play does not work at all.

How can I get sound working with ALSA?

$ rec xxx.au
Send break (control-c) to end recording
sox: Unable to set audio speed to 8000 (set to 32000)


###########################################
/etc/modules.conf
#alias sound-slot-0 i810_audio

#ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
###########################################

$ lsmod
Module                  Size  Used by    Not tainted
snd-seq                42640    (autoclean)
btaudio                12204   0
autofs4                11540   5 (autoclean)
r128                   83608  13
agpgart                40928   3
snd-mixer-oss          14488    (autoclean)
snd-intel8x0           22020   0
snd-ac97-codec         40224    [snd-intel8x0]
snd-pcm                77568    [snd-intel8x0]
snd-timer              18376    [snd-seq snd-pcm]
snd-mpu401-uart         4396    [snd-intel8x0]
snd-rawmidi            17632    [snd-mpu401-uart]
snd-seq-device          5864    [snd-seq snd-rawmidi]
snd-page-alloc          7780    [snd-intel8x0 snd-pcm]
snd                    40900    [snd-seq snd-mixer-oss snd-intel8x0
snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi
snd-seq-device] nfsd                   74288    (autoclean)
af_packet              14984   1 (autoclean)
sr_mod                 16952    (autoclean)
floppy                 55164   0
8139too                17160   1 (autoclean)
mii                     3832    (autoclean) [8139too]
nls_iso8859-15          4092   1 (autoclean)
nls_cp850               4316   1 (autoclean)
vfat                   11820   1 (autoclean)
fat                    37976    (autoclean) [vfat]
supermount             15296   2 (autoclean)
ide-cd                 33856   0
cdrom                  31680    [sr_mod ide-cd]
tuner                  11776   1 (autoclean)
tvaudio                15068    (autoclean) (unused)
msp3400                17836   1 (autoclean)
bttv                   78528   0
i2c-algo-bit            9096   1 [bttv]
soundcore               6308    [btaudio snd bttv]
ide-scsi               11312   0
scsi_mod              103316   2 [sr_mod ide-scsi]
ovsensor               18220   1
ov511                  89752   0
videodev                7904   4 [bttv ov511]
i2c-core               21224    [tuner tvaudio msp3400 bttv i2c-algo-bit
ovsensor ov511] usb-uhci               24684    (unused)
usbcore                73024   1 [ov511 usb-uhci]
rtc                     8092    (autoclean)
ext3                   59916   6
jbd                    38972   6 [ext3]

$ aumix -q
vol 72, 72, P
pcm 71, 71
speaker 59, 59
line 100, 100, P
mic 100, 100, R
cd 82, 82, P
igain 70, 70
line1 100, 100, P
phin 100, 100, P
video 100, 100, P

$ /sbin/chkconfig --list sound
sound           0:off   1:off   2:on    3:on    4:on    5:on    6:off

$ /sbin/chkconfig --list alsa
alsa            0:off   1:off   2:on    3:on    4:on    5:on    6:off

$ runlevel
N 5

##### /etc/asound.state after running "alsactl store"
state.82801BAICH2 {
        control.1 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Playback Switch'
                value false
        }
        control.2 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 63'
                iface MIXER
                name 'Master Playback Volume'
                value.0 0
                value.1 0
        }
        control.3 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Headphone Playback Switch'
                value false
        }
        control.4 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 63'
                iface MIXER
                name 'Headphone Playback Volume'
                value.0 0
                value.1 0
        }
        control.5 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Master Mono Playback Switch'
                value false
        }
        control.6 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Master Mono Playback Volume'
                value 0
        }
        control.7 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PC Speaker Playback Switch'
                value false
        }
        control.8 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'PC Speaker Playback Volume'
                value 0
        }
        control.9 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Phone Playback Switch'
                value false
        }
        control.10 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Phone Playback Volume'
                value 0
        }
        control.11 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Playback Switch'
                value false
        }
        control.12 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Mic Playback Volume'
                value 0
        }
        control.13 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Mic Boost (+20dB)'
                value false
        }
        control.14 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Line Playback Switch'
                value false
        }
        control.15 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Line Playback Volume'
                value.0 0
                value.1 0
        }
        control.16 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'CD Playback Switch'
                value false
        }
        control.17 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'CD Playback Volume'
                value.0 0
                value.1 0
        }
        control.18 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Video Playback Switch'
                value false
        }
        control.19 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Video Playback Volume'
                value.0 0
                value.1 0
        }
        control.20 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Aux Playback Switch'
                value false
        }
        control.21 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'Aux Playback Volume'
                value.0 0
                value.1 0
        }
        control.22 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'PCM Playback Switch'
                value false
        }
        control.23 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 31'
                iface MIXER
                name 'PCM Playback Volume'
                value.0 0
                value.1 0
        }
        control.24 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic
                comment.item.1 CD
                comment.item.2 Video
                comment.item.3 Aux
                comment.item.4 Line
                comment.item.5 Mix
                comment.item.6 'Mix Mono'
                comment.item.7 Phone
                iface MIXER
                name 'Capture Source'
                value.0 Mic
                value.1 Mic
        }
        control.25 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'Capture Switch'
                value true
        }
        control.26 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name 'Capture Volume'
                value.0 0
                value.1 0
        }
        control.27 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 'pre 3D'
                comment.item.1 'post 3D'
                iface MIXER
                name 'PCM Out Path & Mute'
                value 'pre 3D'
        }
        control.28 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name '3D Control - Switch'
                value false
        }
        control.29 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mix
                comment.item.1 Mic
                iface MIXER
                name 'Mono Output Select'
                value Mix
        }
        control.30 {
                comment.access 'read write'
                comment.type ENUMERATED
                comment.item.0 Mic1
                comment.item.1 Mic2
                iface MIXER
                name 'Mic Select'
                value Mic1
        }
        control.31 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name '3D Control - Center'
                value 0
        }
        control.32 {
                comment.access 'read write'
                comment.type INTEGER
                comment.range '0 - 15'
                iface MIXER
                name '3D Control - Depth'
                value 0
        }
        control.33 {
                comment.access 'read write'
                comment.type BOOLEAN
                iface MIXER
                name 'External Amplifier Power Down'
                value false
        }
}
-- 
 Chitta
 10 Mar, '04 16:09:10 IST


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to