LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sound Problem! Alsamixer! (https://www.linuxquestions.org/questions/linux-newbie-8/sound-problem-alsamixer-277783/)

glaz 01-14-2005 12:47 PM

Sound Problem! Alsamixer!
 
I ran the alsaconf and blacklisted the "snd-intel8x0m" and still have problems with sound.

When i type:
alsamixer

i get an error:
no mixer elems found

However when i type:
alsamixer -c 1

I get the alsamixer in console, it looks fine, nothing muted, but i still get no sound.
Any help would be appreciated.

Peacedog 01-14-2005 05:10 PM

What distro are you running, what is the output frim /sbin/lspci -v and /sbin/lsmod?
good luck.

glaz 02-03-2005 12:23 AM

The output for /sbin/lsmod is
Code:

greg@Halo:~$ /sbin/lsmod
Module                  Size  Used by    Not tainted
snd-pcm-oss            37736  0 (unused)
snd-mixer-oss          12504  0 [snd-pcm-oss]
i810_rng                2528  0 (unused)
uhci                  24444  0 (unused)
usbcore                59308  1 [uhci]
snd-intel8x0          18924  1
gameport                1420  0 [snd-intel8x0]
snd-mpu401-uart        3200  0 [snd-intel8x0]
snd-rawmidi            12740  0 [snd-mpu401-uart]
snd-seq-device          3888  0 [snd-rawmidi]
snd-intel8x0m          9544  2
snd-pcm                56072  0 [snd-pcm-oss snd-intel8x0 snd-intel8x0m]
snd-timer              13604  0 [snd-pcm]
snd-page-alloc          6328  0 [snd-intel8x0 snd-intel8x0m snd-pcm]
snd-ac97-codec        49500  0 [snd-intel8x0 snd-intel8x0m]
snd                    30852  3 [snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-mpu401-uart snd-rawmidi snd-seq-device snd-intel8x0m snd-pcm snd-timer snd-ac97-codec]
soundcore              3396  7 [snd]
eepro100              19252  0
mii                    2272  0 [eepro100]
ohci1394              24112  0 (unused)
ieee1394              42276  0 [ohci1394]
orinoco_cs              4244  1
orinoco                33076  0 [orinoco_cs]
hermes                  5668  0 [orinoco_cs orinoco]
ds                      6548  2 [orinoco_cs]
yenta_socket          10336  2
pcmcia_core            39972  0 [orinoco_cs ds yenta_socket]
ide-scsi                9328  0
agpgart                43940  0 (unused)

output for /sbin/lspci -v
Code:

greg@Halo:~$ /sbin/lspci -v
00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, fast devsel, latency 0
        Memory at ec000000 (32-bit, prefetchable) [size=64M]
        Capabilities: <available only to root>

00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04) (prog-if 00 [Normal decode])
        Flags: bus master, 66Mhz, fast devsel, latency 96
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 00003000-00003fff
        Memory behind bridge: e8000000-e80fffff
        Prefetchable memory behind bridge: f0000000-f7ffffff

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 05) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=64
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: e8100000-e81fffff

00:1f.0 ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 05)
        Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 05) (prog-if 80 [Master])
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, medium devsel, latency 0
        I/O ports at 1800 [size=16]

00:1f.2 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 05) (prog-if 00 [UHCI])
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, medium devsel, latency 0, IRQ 5
        I/O ports at 1820 [size=32]

00:1f.3 SMBus: Intel Corp. 82801BA/BAM SMBus (rev 05)
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: medium devsel, IRQ 11
        I/O ports at 1810 [size=16]

00:1f.4 USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 05) (prog-if 00 [UHCI])
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1840 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801BA/BAM AC'97 Audio (rev 05)
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 1c00 [size=256]
        I/O ports at 1880 [size=64]

00:1f.6 Modem: Intel Corp. Intel 537 [82801BA/BAM AC'97 Modem] (rev 05) (prog-if 00 [Generic])
        Subsystem: Toshiba America Info Systems: Unknown device 0001
        Flags: bus master, medium devsel, latency 0, IRQ 11
        I/O ports at 2400 [size=256]
        I/O ports at 2000 [size=128]

01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility M6 LY (prog-if 00 [VGA])
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, stepping, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 5
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at 3000 [size=256]
        Memory at e8000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: <available only to root>

02:00.0 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 01)
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 5
        Memory at 10000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
        Memory window 0: 10400000-107ff000 (prefetchable)
        Memory window 1: 10800000-10bff000
        I/O window 0: 00004400-000044ff
        I/O window 1: 00004800-000048ff
        16-bit legacy interface ports at 0001

02:00.1 CardBus bridge: O2 Micro, Inc. OZ6933 Cardbus Controller (rev 01)
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 11
        Memory at 10001000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
        Memory window 0: 10c00000-10fff000 (prefetchable)
        Memory window 1: 11000000-113ff000
        I/O window 0: 00004c00-00004cff
        I/O window 1: 00005000-000050ff
        16-bit legacy interface ports at 0001

02:08.0 Ethernet controller: Intel Corp. 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
        Subsystem: Toshiba America Info Systems PRO/100 VE Network Connection
        Flags: bus master, medium devsel, latency 66, IRQ 11
        Memory at e8104000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 4000 [size=64]
        Capabilities: <available only to root>

02:0a.0 FireWire (IEEE 1394): Texas Instruments TSB43AB22/A IEEE-1394a-2000 Controller (PHY/Link) (prog-if 10 [OHCI])
        Subsystem: Toshiba America Info Systems: Unknown device ff00
        Flags: bus master, medium devsel, latency 64, IRQ 11
        Memory at e8105000 (32-bit, non-prefetchable) [size=2K]
        Memory at e8100000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <available only to root>


Peacedog 02-03-2005 04:39 PM

Try adding this module to your /etc/hotplg/blacklist.

snd-intel8x0m

Take note of the m at the end.
good luck.

glaz 02-05-2005 11:38 PM

i did what you said, and it worked, but next time i booted the machine, it gave me an error message which i ignored (saying something about sound) and i clicked don't show again. and now the sound doesn't work. alsamixer returns the mixer and everything looks good, but no sound. Any ideas? How can I view that error message again?

Peacedog 02-06-2005 05:17 PM

My apologies mate, I misspelled the directory. I have edited that post. Have a look at dmesg, and post any relevant info. Make sure the module isn't loading, have a look at lsmod, and the blacklist file.
good luck.

glaz 02-07-2005 11:26 AM

this is what dmesg has to say about this:
Code:

ALSA ../../alsa-kernel/pci/ac97/ac97_codec.c:1860: AC'97 0 does not respond - RESET
hw_random: cannot enable RNG, aborting
PCI: Found IRQ 11 for device 00:1f.5
PCI: Sharing IRQ 11 with 00:1f.3
PCI: Sharing IRQ 11 with 00:1f.6
PCI: Sharing IRQ 11 with 02:00.1
PCI: Setting latency timer of device 00:1f.5 to 64

and it repeats the message a few times

Peacedog 02-07-2005 04:54 PM

What does lsmod and your blacklist file look like?
good luck.

JoannesX 02-07-2005 05:37 PM

take a look at your modules and stuff like that in your menuconfig (xconfig in the grafical interface)
have you ever recompiled the kernel? maybe you've changed some important option..

once,, I had to recompile my kernel and I inconsciently made some little bad changes.. It affected exactly my ALSA drivers.. and I was simply configuring the video modules

glaz 02-07-2005 08:21 PM

never recompiled the kernel
the lsmod looks:
Code:

Module                  Size  Used by    Not tainted
snd-pcm-oss            37736  0  (autoclean) (unused)
snd-mixer-oss          12504  0  (autoclean) [snd-pcm-oss]
snd-pcm                56072  0  (autoclean) [snd-pcm-oss]
snd-timer              13604  0  (autoclean) [snd-pcm]
snd-page-alloc          6328  0  (autoclean) [snd-pcm]
snd                    30852  0  (autoclean) [snd-pcm-oss snd-mixer-oss snd-pcm snd-timer]
soundcore              3396  0  (autoclean) [snd]
i810_rng                2528  0  (unused)
uhci                  24444  0  (unused)
usbcore                59308  1  [uhci]
eepro100              19252  0
mii                    2272  0  [eepro100]
ohci1394              24112  0  (unused)
ieee1394              42276  0  [ohci1394]
orinoco_cs              4244  1
orinoco                33076  0  [orinoco_cs]
hermes                  5668  0  [orinoco_cs orinoco]
ds                      6548  2  [orinoco_cs]
yenta_socket          10336  2
pcmcia_core            39972  0  [orinoco_cs ds yenta_socket]
ide-scsi                9328  0
agpgart                43940  0  (unused)

blacklist:
Code:

#
# Listing a module here prevents the hotplug scripts from loading it.
# Usually that'd be so that some other driver will bind it instead,
# no matter which driver happens to get probed first.  Sometimes user
# mode tools can also control driver binding.
#
# Syntax:  driver name alone (without any spaces) on a line. Other
# lines are ignored.
#

# To get the sound to work (blocks modem part of Audio Card)
snd-intel8x0m

# uhci ... usb-uhci handles the same pci class, so one of the two
# needs to be listed below.
usb-uhci
# usbcore ... module is loaded implicitly, ignore it otherwise
usbcore

# tulip ... de4x5, xircom_tulip_cb, dmfe (...) handle same devices
de4x5

# At least 2.4.3 and later xircom_tulip doesn't have that conflict
# xircom_tulip_cb
dmfe

#evbug is a debug tool and should be loaded explicitly
evbug

# Alternate Intel EtherExpress Pro/100 support driver.  List it
# here so it won't conflict with an already-loaded eepro100 module.
e100

# Alternate 8139 driver.  Some 8139 cards need this specific driver,
# though...
8139cp

# This module causes many Intel motherboards to crash and reboot.
i810-tco

# The kernel lists this as "experimental", but for now it's "broken"
via-ircc

# OSS (Open Sound System) modules.  This is the old and deprecated Linux
# sound system, though we still ship modules for it (for now).  If you
# want to use OSS, remove the alsa-driver package and cut out (or comment
# out) this list.  With these modules blacklisted ALSA will load by default.
ac97
ac97_codec
aci
ad1816
ad1848
ad1889
adlib_card
aedsp16
ali5455
awe_wave
btaudio
cmpci
cs4232
cs4281
cs46xx
emu10k1
es1370
es1371
esssolo1
forte
gus
i810_audio
kahlua
mad16
maestro
maestro3
maui
mpu401
msnd
msnd_classic
msnd_pinnacle
nm256_audio
opl3
opl3sa
opl3sa2
pas2
pss
rme96xx
sb
sb_lib
sgalaxy
sonicvibes
sound
sscape
trident
trix
uart401
uart6850
v_midi
via82cxxx_audio
wavefront
ymfpci

# Hardware specific video framebuffer modules.  If the user wants
# these, they can load them manually or de-blacklist them.  Having
# them load automatically may lead to funny side effects with
# certain revisions of video hardware.
atyfb
sisfb
radeonfb
cyber2000fb
rivafb
tdfxfb
vga16fb
aty128fb
hgafb
clgenfb
pm2fb
sstfb
fbgen
matroxfb_DAC1064
i2c-matroxfb
matroxfb_accel
matroxfb_g450
matroxfb_Ti3026
matroxfb_misc
matroxfb_base
matroxfb_crtc2
matroxfb_maven
fbcon-cfb2
fbcon-cfb4
tridentfb
fbcon-mfb
fbcon-hga
pm3fb
fbcon-vga-planes
neofb

# SCSI and SATA controller modules.  Typically these are either
# built into the kernel or loaded with an initrd already.
3w-xxxx
53c7,8xx
AM53C974
BusLogic
NCR53c406a
a100u2w
advansys
aha152x
aha1542
aha1740
aic79xx
aic7xxx
aic7xxx_old
ata_piix
atp870u
cpqfc
dc395x
dmx3191d
dpt_i2o
dtc
eata
eata_dma
eata_pio
fdomain
g_NCR5380
g_NCR5380_mmio
gdth
ide-scsi
imm
in2000
initio
ipr
ips
libata
megaraid
ncr53c8xx
nsp32
osst
pas16
pci2000
pci2220i
ppa
psi240i
qla1280
qla2100
qla2200
qla2300
qla2322
qla2xxx
qla6312
qla6322
qlogicfas
qlogicfas408
qlogicfc
qlogicisp
seagate
sim710
sata_promise
sata_sil
sata_sis
sata_svw
sata_sx4
sata_via
sata_vsc
scsi_debug
scsi_transport_fc
scsi_transport_spi
sym53c416
sym53c8xx
sym53c8xx
t128
tmscsim
u14-34f

Anything look funky here?

Peacedog 02-08-2005 06:41 AM

Blacklist looks ok, but lsmod says the modules aren't loaded. Try modprobing them.

Code:

modprobe snd-intel8x0
good luck.

glaz 02-08-2005 01:36 PM

what's interesting everything seems to work in gnome. I think i'm going to abandon kde and stick with gnome, at least till the new version of kde comes out.
Thanks for your help

Peacedog 02-08-2005 05:14 PM

If everything is working with gnome, it may be an arts problem.
good luck.

glaz 02-10-2005 01:27 PM

Well actually it's weird sometimes the sound works and sometimes it doesn't. As if sometimes the modules don't load right. One time the mixer will work, but i get not sound. Next time there is sound, and sometimes the mixer won't even work. Is this an issue with Slackware or hardware?

Peacedog 02-10-2005 05:07 PM

What does /etc/modules.conf look like?
good luck.


All times are GMT -5. The time now is 03:52 PM.