LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-26-2003, 12:22 AM   #1
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Rep: Reputation: 30
ALSA troubles slack 9.1 emu10k1


Heya,

yes, this is the same n00b that had those horrible graphics card issues - now my sound is out too!

Anyways, I just recently decided to configure sound on my box. I typed 'alsaconf' in a command line and set it to use my emu10k1 device. I then went into the alsamixer program and everything appeared to be opperational - nothing was muted. However, my sound problem persists. I can't seem to get my sound working. All help to solve this problem is greatly appreciated

I want sound so that I can get Max Payne 2 to not only look good but sound good too!

PS: Emulation of that game is fantastic in WineX so I highly recommend it.

Thanks!

Aman9090
 
Old 12-26-2003, 02:20 AM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Which desktop environment or Window manager are you using?

Can you post the output of:

lspci -v
lsmod
dmesg | less
 
Old 12-26-2003, 12:07 PM   #3
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
Code:
00:09.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
        Subsystem: Creative Labs SB0090 Audigy Player
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at b000 [size=32]
        Capabilities: [dc] Power Management version 2

00:09.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
        Subsystem: Creative Labs SB Audigy MIDI/Game Port
        Flags: bus master, medium devsel, latency 32
        I/O ports at b400 [size=8]
        Capabilities: [dc] Power Management version 2

00:09.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (prog-if 10 [OHCI])
        Subsystem: Creative Labs SB Audigy FireWire Port
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at ec126000 (32-bit, non-prefetchable) [size=2K]
        Memory at ec120000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2
Code:
Module                  Size  Used by    Tainted: P  
fglrx                 172552   6 
snd-pcm-oss            37252   0 
snd-mixer-oss          11992   2  [snd-pcm-oss]
appletalk              21540  12  (autoclean)
keybdev                 1952   0  (unused)
mousedev                4244   1 
hid                    21156   0  (unused)
usbmouse                2008   0  (unused)
input                   3200   0  [keybdev mousedev hid usbmouse]
snd-emu10k1            60212   1 
snd-util-mem            1136   0  [snd-emu10k1]
snd-ac97-codec         37240   0  [snd-emu10k1]
emu10k1-gp              1352   0  (unused)
gameport                1452   0  [emu10k1-gp]
ohci1394               24200   0  (unused)
ieee1394               42436   0  [ohci1394]
tuner                  10272   1  (autoclean)
tvaudio                13628   0  (autoclean) (unused)
bttv                   94432   0  (unused)
i2c-algo-bit            6984   1  [bttv]
i2c-core               12740   0  [tuner tvaudio bttv i2c-algo-bit]
videodev                5664   3  [bttv]
8139too                15240   0  (unused)
snd-cmipci             17760   1 
snd-pcm                55904   0  [snd-pcm-oss snd-emu10k1 snd-cmipci]
snd-page-alloc          6004   0  [snd-emu10k1 snd-pcm]
snd-opl3-lib            5764   0  [snd-cmipci]
snd-hwdep               4672   0  [snd-emu10k1 snd-opl3-lib]
snd-timer              13252   0  [snd-pcm snd-opl3-lib]
snd-mpu401-uart         3136   0  [snd-cmipci]
snd-rawmidi            12512   0  [snd-emu10k1 snd-mpu401-uart]
snd-seq-device          3920   0  [snd-emu10k1 snd-opl3-lib snd-rawmidi]
snd                    27460   0  [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-util-mem snd-ac97-codec snd-cmipci snd-pcm snd-opl3-lib snd-hwdep snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
soundcore               3332  15  [bttv snd]
uhci                   24496   0  (unused)
ehci-hcd               16872   0  (unused)
usbcore                58400   1  [hid usbmouse uhci ehci-hcd]
via-rhine              13552   1 
mii                     2304   0  [8139too via-rhine]
crc32                   2880   0  [8139too via-rhine]
pcmcia_core            40032   0 
ide-scsi                9424   0 
agpgart                39576   4
Code:
Linux version 2.4.22 (root@midas) (gcc version 3.2.3) #6 Tue Sep 2 17:43:01 PDT 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
 BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
On node 0 totalpages: 131056
zone(0): 4096 pages.
zone(1): 126960 pages.
zone(2): 0 pages.
Kernel command line: BOOT_IMAGE=Linux ro root=302
Initializing CPU#0
Detected 2000.121 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 3984.58 BogoMIPS
Memory: 515368k/524224k available (1813k kernel code, 8472k reserved, 614k data, 116k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: CLK_CTL MSR was 6003d223. Reprogramming to 2003d223
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU:     After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU:             Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU: AMD Athlon(tm) XP 2400+ stepping 01
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb4d0, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/3177] at 00:11.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
vesafb: framebuffer at 0xe0000000, mapped to 0xe080d000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=41
vesafb: protected mode interface info at c000:5496
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
Detected PS/2 Mouse Port.
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
HPT372: IDE controller at PCI slot 00:0f.0
PCI: Found IRQ 10 for device 00:0f.0
PCI: Sharing IRQ 10 with 00:09.2
PCI: Sharing IRQ 10 with 00:0a.0
PCI: Sharing IRQ 10 with 00:0a.1
PCI: Sharing IRQ 10 with 00:10.2
HPT372: chipset revision 5
HPT372: not 100% native mode: will probe irqs later
 
Old 12-26-2003, 12:12 PM   #4
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
BTW I am using Fluxbox
 
Old 12-26-2003, 10:16 PM   #5
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
Code:
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz failed
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod emu10k1 failed
I just did that under X - I modprobed emu10k1 and that's what it came up with.

When I rebooted, I, to my surprise, found many errors on startup containing modprobe of emu10k1. It tried to modprobe various modules from the emu10k1 section and all returned errors. When I do dmesg:
Code:
gameport0: Emu10k1 Gameport at 0xb400 size 8 speed 1242 kHz
EMU10K1/Audigy soundcard not found or device busy
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00023c002002b1a4]
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
usb.c: registered new driver usbmouse
input0: Logitech USB Receiver on usb2:2.0
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
mice: PS/2 mouse device common for all mice
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
EMU10K1/Audigy soundcard not found or device busy
parport0: PC-style at 0x378 [PCSPP,TRISTATE]
lp0: using parport0 (polling).
NET4: AppleTalk 0.18a for Linux NET4.0
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
[fglrx] AGP detected, AgpState   = 0x1f000207 (hardware caps of chipset)
[fglrx] To use AGP on this CPU with this kernel, you really should have 4MB page                                                                s disabled. Use `mem=nopentium` on the bootloader commandline.
[fglrx] AGP enabled,  AgpCommand = 0x1f000304 (selected caps)
[fglrx] free  AGP = 54800384
[fglrx] max   AGP = 54800384
[fglrx] free  LFB = 41971712
[fglrx] max   LFB = 41971712
[fglrx] free  Inv = 0
[fglrx] max   Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 16384
Creative EMU10K1 PCI Audio Driver, version 0.20, 18:39:42 Sep  2 2003
Creative EMU10K1 PCI Audio Driver, version 0.20, 18:39:42 Sep  2 2003
That's the last bit of the output from dmesg .. hope this helps to solve my problem and thanks in advance!
 
Old 12-27-2003, 11:39 AM   #6
Leper_Messiah
LQ Newbie
 
Registered: Dec 2003
Location: Buenos Aires@Argentina
Distribution: Slackware 9.1
Posts: 6

Rep: Reputation: 0
according to the very first lines of lsmod output, your system is loading some OSS drivers, when you actually want to play with ALSA...
 
Old 12-27-2003, 12:08 PM   #7
karthikrr
Member
 
Registered: Nov 2003
Location: India
Distribution: Slackware 13.0 32-bit
Posts: 129

Rep: Reputation: 16
nah LM, thats just ALSA-OSS-emulation, I think.... not sure, but prolly...
 
Old 12-27-2003, 10:51 PM   #8
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
so am i just loading the wrong drivers? if so - how do I load the correct ones?

Thanks!
 
Old 12-28-2003, 11:24 PM   #9
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
bump
 
Old 12-30-2003, 12:14 AM   #10
cybrjackle
Member
 
Registered: Jul 2003
Distribution: Debian etch/lenny/sid, Fedora 7/Rawhide, CentOS 4/5, FreeBSD 6.2 and Solaris 10/Nevada
Posts: 110

Rep: Reputation: 15
lspci -v

Code:
01:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 04)
        Subsystem: Creative Labs: Unknown device 2002
        Flags: bus master, medium devsel, latency 32, IRQ 5
        I/O ports at d000 [size=64]
        Capabilities: [dc] Power Management version 2
lsmod

Code:
 
Module                  Size  Used by    Not tainted
snd-seq-midi            3552   0  (autoclean) (unused)
snd-emu10k1-synth       3900   0  (autoclean) (unused)
snd-emux-synth         26364   0  (autoclean) [snd-emu10k1-synth]
snd-seq-midi-emul       4736   0  (autoclean) [snd-emux-synth]
snd-seq-virmidi         2952   0  (autoclean) [snd-emux-synth]
snd-seq-oss            26112   0  (unused)
snd-seq-midi-event      3264   0  [snd-seq-midi snd-seq-virmidi snd-seq-oss]
snd-seq                33648   2  [snd-seq-midi snd-emux-synth snd-seq-midi-emul snd-seq-virmidi snd-seq-oss snd-seq-midi-event]
snd-pcm-oss            37252   0
snd-mixer-oss          11992   1  [snd-pcm-oss]
usb-ohci               18888   0  (unused)
ehci-hcd               16872   0  (unused)
usbcore                58400   1  [usb-ohci ehci-hcd]
snd-emu10k1            60212   1  [snd-emu10k1-synth]
snd-pcm                55904   0  [snd-pcm-oss snd-emu10k1]
snd-timer              13252   0  [snd-seq snd-pcm]
snd-hwdep               4672   0  [snd-emu10k1]
snd-util-mem            1136   0  [snd-emux-synth snd-emu10k1]
snd-page-alloc          6004   0  [snd-emu10k1 snd-pcm]
snd-rawmidi            12512   0  [snd-seq-midi snd-seq-virmidi snd-emu10k1]
snd-seq-device          3920   0  [snd-seq-midi snd-emu10k1-synth snd-emux-synth snd-seq-oss snd-seq snd-emu10k1 snd-rawmidi]
snd-ac97-codec         37240   0  [snd-emu10k1]
snd                    27460   0  [snd-seq-midi snd-emux-synth snd-seq-virmidi snd-seq-oss snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-rawmidi snd-seq-device snd-ac97-codec]
soundcore               3332  10  [snd]
emu10k1-gp              1352   0  (unused)
gameport                1452   0  [emu10k1-gp]
ohci1394               24200   0  (unused)
ieee1394               42436   0  [ohci1394]
3c59x                  26832   1
ide-scsi                9424   0
agpgart                39576   0  (unused)
modprobe emu10k1
Code:
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz failed
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod emu10k1 failed
I have recompiled alsa I used the .0.9.8 drivers, utils and libs. I have had alsa and "emu10k1" working in slack before, recently I upgraded mobo, proc, video & sound. The sound card is the SB Audigy zs2, if that helps. I'm going to try higher version of alsa, but if anyone can thinkg of anything, please let me know.

I used this btw:

alsa-guide for emu10k1

thx,
 
Old 12-30-2003, 04:29 AM   #11
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
You don't have to use alsa. I uninstalled the alsa-driver package and removed the emu10k1 module from the /etc/hotplug/blacklist file so it will be probed when booting.
This way the alsa-drivers can't get in the way and the emu10k1 (oss) module is loaded automaticly.
 
Old 12-30-2003, 05:25 AM   #12
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 32
Quote:
Originally posted by Aman9090
Code:
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: init_module: No such device
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod /lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz failed
/lib/modules/2.4.22/kernel/drivers/sound/emu10k1/emu10k1.o.gz: insmod emu10k1 failed
I just did that under X - I modprobed emu10k1 and that's what it came up with...
'modprobe emu10k1' will always fail...

Try this instead:
modprobe snd-emu10k1

 
Old 12-30-2003, 05:32 AM   #13
thegeekster
Member
 
Registered: Dec 2003
Location: USA (Pacific coast)
Distribution: Vector 5.8-SOHO, FreeBSD 6.2
Posts: 513

Rep: Reputation: 32
Quote:
Originally posted by rotvogel
You don't have to use alsa. I uninstalled the alsa-driver package and removed the emu10k1 module from the /etc/hotplug/blacklist file so it will be probed when booting.
This way the alsa-drivers can't get in the way and the emu10k1 (oss) module is loaded automaticly.
From the hotplug blacklist:
Code:
# 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.
Sounds like it would be better to try to fix the alsa problem if oss is fading out in favor of alsa....

My 2 cents
 
Old 12-30-2003, 06:30 AM   #14
rotvogel
Member
 
Registered: Oct 2003
Posts: 534

Rep: Reputation: 30
Well, alsa sucks in my opinion. See the lsmod list, it loads 15 modules or so and didn't work on my soundcard neither (sblive value) . The alsamixer shows so many controls and vague desribtions I don't even know what it is and 99% of it I will never use anyway. Alsa requires too much packages to be installed. I heard some developpers mention that it is too complicated as well. That's why I think alsa sucks.
Earlier versions of alsa did work with my card but the version shipped doesn't work out of the box.

Topicstarter: you have to make a choice what sound system you will use. If you use alsa (modules starting with snd- ) you can't use oss (emu10k1) and vice versa. Setting up oss is much easier then setting up alsa. So before loading emu10k1 you'll have to unload all 15 alsa snd-modules or unload all oss sound modules before loading alsa.

-edit-
alsa is the preferred sound system in kernel 2.6.x, not in kernel 2.4.x. As long as you are using a 2.4 kernel there is no need to use alsa anyway.

Last edited by rotvogel; 12-30-2003 at 06:33 AM.
 
Old 12-31-2003, 12:17 AM   #15
Aman9090
Member
 
Registered: Sep 2002
Location: Connecticut, USA
Distribution: Gentoo 2004.0
Posts: 174

Original Poster
Rep: Reputation: 30
If I shouldn't use alsa then what should I use? I am pretty lost right now ..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with alsa and emu10k1 elyk Slackware 11 02-04-2006 02:15 AM
emu10k1/ALSA doralsoral Linux - Software 0 03-12-2004 08:22 PM
ALSA Surround for EMU10K1 smehi Slackware 2 03-04-2004 09:44 AM
ALSA/emu10k1 doralsoral Linux - Software 2 01-09-2004 12:14 PM
Alsa, emu10k1 and flash djbanaan Slackware 8 09-05-2003 05:07 PM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration