LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   getting grief installing SB Audigy sound card. (https://www.linuxquestions.org/questions/linux-newbie-8/getting-grief-installing-sb-audigy-sound-card-100722/)

digitized_funk 10-06-2003 02:12 AM

getting grief installing SB Audigy sound card.
 
It's so frustrating not knowing what I'm doing with LInux. I have been trying for hours to get digital output working on this card.

I checked out the docs at the emu10k1 sourceforge project and followed their installation to the letter. I run emu-config -d and it says:

/dev/mixer: No such device

Once upon a time I did actually get this working but I can't remember how. i have a feeling I had to recompile the kernel at some point? Would I be right? If so is there a link to show how to do it without breaking everything I've installed? I really am hopeless on LInux.

Any other advice is welcome? and please don't tell me to post in the forum at emu10k1 project as all posts there remain unanswered. Also ALSA is installed by default with SUSE I think and I can't get it to work on digital output, only analog so checking out ALSA is not an option either unless someone knows definitely how to configure it for digital out.

thanks a lot.

Rich

Demonbane 10-06-2003 03:24 AM

whats the output of "lsmod"?

digitized_funk 10-06-2003 04:12 AM

Okay here's some stuff, I don't really know how to make sense of it:

when I do modprobe emu10k1 like suggested in docs it just says nothing, is that right?
linux:/usr/src/emu10k1-v0.20a # modprobe emu10k1
linux:/usr/src/emu10k1-v0.20a #

and here's a modprobe list:
linux:/usr/src/emu10k1-v0.20a # modprobe --list \*emu10k\*
/lib/modules/2.4.18-4GB/kernel/drivers/char/joystick/emu10k1-gp.o
/lib/modules/2.4.18-4GB/kernel/drivers/sound/emu10k1/emu10k1.o
/lib/modules/2.4.18-4GB/kernel/sound/pci/emu10k1/snd-emu10k1-synth.o
/lib/modules/2.4.18-4GB/kernel/sound/pci/emu10k1/snd-emu10k1.o

and here's lsmod:

linux:/usr/src/emu10k1-v0.20a # lsmod
Module Size Used by Tainted: P
ppp_deflate 39456 0 (autoclean)
bsd_comp 4032 0 (autoclean)
ppp_async 6080 1 (autoclean)
ppp_generic 14984 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 4432 0 (autoclean) [ppp_generic]
hsfbasic2 96012 2 (autoclean)
hsfserial 22100 2 (autoclean)
hsfengine 868972 0 (autoclean) [hsfserial]
hsfosspec 21788 1 (autoclean) [hsfbasic2 hsfserial hsfengine]
emu10k1-gp 1248 0 (unused)
gameport 1324 0 [emu10k1-gp]
pd 15360 0 (uninitialized)
parport_pc 25448 0 (autoclean)
aten 2880 0
bpck 8800 0
comm 4640 0
dstr 5472 0
epat 6752 0
epia 5184 0
fit2 2240 0
fit3 3840 0
friq 7520 0
frpw 7104 0
kbic 6912 0
ktti 2496 0
on20 6432 0
on26 14688 0
bpck6 4608 0
paride 3456 16 [pd aten bpck comm dstr epat epia fit2 fit3 friq frpw kbic ktti on20 on26 bpck6]
parport 21856 0 [parport_pc paride]
drbd 35000 0 (unused)
loop_fish2 9120 0 (unused)
atmtcp 3840 0 (unused)
suni 3548 0
uPD98402 2564 1
idt77105 2656 0
cpuid 960 0 (unused)
msr 1184 0 (unused)
microcode 3100 0 (unused)
abi-wyse 8320 0 (unused)
abi-uw7 13472 0 (unused)
abi-solaris 12160 0 (unused)
abi-sco 11992 0 (unused)
abi-isc 7200 0 (unused)
abi-ibcs 6560 0 (unused)
abi-cxenix 6492 0 [abi-sco]
abi-svr4 70352 0 [abi-wyse abi-uw7 abi-solaris abi-sco abi-isc abi-ibcs abi-cxenix]
lcall7 1632 0 [abi-wyse abi-uw7 abi-solaris abi-sco abi-isc abi-ibcs abi-cxenix]
abi-util 1728 0 [abi-uw7 abi-solaris abi-sco abi-svr4 lcall7]
vfat 9244 0 (autoclean)
fat 28984 0 (autoclean) [vfat]
nls_iso8859-1 2880 0 (autoclean)
nvidia 1629408 11 (autoclean)
ipv6 123424 -1 (autoclean)
evdev 3904 0 (unused)
input 3072 0 [evdev]
st 25844 0 (autoclean) (unused)
sg 23620 0 (autoclean)
usb-uhci 20996 0 (unused)
usbcore 55136 1 [usb-uhci]
ide-scsi 7648 0
reiserfs 158816 1

Demonbane 10-06-2003 10:33 AM

Strange, emu10k1 is not in the list even though you've already loaded it, try modprobe -v emu10k1 and see what it says. The /dev/mixer not found usually means the module for the soundcard is not loaded.
also trying adding:

alias sound-slot-0 emu10k1

to /etc/modules.conf, and try "emu-config -d" again(no need to modprobe, it should load automatially), if this still doesnt work then I'm out of ideas for now..sorry

and yeah, modprobe without any arguments is not suppose to give you any output if there's not errors/warnings etc.

digitized_funk 10-07-2003 05:44 PM

okay here's output of that command:

linux:/home/rg # modprobe -v emu10k1
/sbin/insmod /lib/modules/2.4.18-4GB/kernel/drivers/sound/ac97_codec.o
Using /lib/modules/2.4.18-4GB/kernel/drivers/sound/ac97_codec.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.18-4GB/kernel/drivers/sound/emu10k1/emu10k1.o
Using /lib/modules/2.4.18-4GB/kernel/drivers/sound/emu10k1/emu10k1.o
linux:/home/rg #

and here's my modules.conf file (it's long) as it is now. I'm convinced the problem is with the ALSA drivers that are installed by SuSE when I installed it. I don't know how to totally get rid of them before I do the install on the emu10k1 driver.

#
# Copyright (c) 1996-2002 SuSE Linux AG Nuernberg, Germany.
# All rights reserved.
#
# Author: Hubert Mantel <mantel@suse.de>, 1996-2002
#
# Configuration file for loadable modules; used by modprobe
#

########################################################################
# Aliases - specify your hardware
########################################################################

alias eth0 off
alias eth1 off
alias tr0 off
alias scsi_hostadapter off
alias fb0 off

########################################################################
# only used for Mylex or Compaq Raid as module
########################################################################

alias block-major-48 off
alias block-major-49 off
alias block-major-72 off
alias block-major-73 off

########################################################################
# only needed for fifth and sixth IDE adaptor
########################################################################

alias block-major-56 off
alias block-major-57 off

########################################################################
# mouse (for older busmice)
########################################################################

alias char-major-10 off

########################################################################
# If you want to use the new autofs4
########################################################################

# alias autofs autofs4

########################################################################
# For parallel port devices, uncomment the following two lines and
# change "frpw" to the protocol type you use
########################################################################

# post-install paride insmod frpw
# pre-remove paride rmmod frpw

########################################################################
#
# Aliases for OSS
#
# These aliases will be changed by YaST2 sound configurator.
# If you would like to configure OSS drivers by yourself, please
# take a look at the files on /usr/src/linux/Documentation/sound.
#
########################################################################

alias sound off
alias midi off

########################################################################
# Options; these are examples; uncomment and modify the lines you need
########################################################################

# options cdu31a cdu31a_port=0x340 cdu31a_irq=0
# options sbpcd sbpcd=0x230,1
# options aztcd aztcd=0x320
# options cm206 cm206=0x340,11
# options gscd gscd=0x340
# options mcd mcd=0x300,11
# options mcdx mcdx=0x300,11
# options optcd optcd=0x340
# options sjcd sjcd_base=0x340
# options sonycd535 sonycd535=0x340
# options isp16 isp16_cdrom_base=0x340 isp16_cdrom_irq=0 isp16_cdrom_dma=0 isp16_cdrom_type=Sanyo

# options ne io=0x300 irq=5

# Use this if you have two cards:
# options ne io=0x300,0x320 irq=5,7

# options tulip options=0
# options 3c59x options=0
# options 3c501 io=0x280 irq=5
# options 3c503 io=0x280 irq=5 xcvr=0
# options 3c505 io=0x300 irq=10
# options 3c507 io=0x300 irq=10
# options 3c509 irq=10
# options at1700 io=0x260 irq=10
# options smc-ultra io=0x200 irq=10
# options wd io=0x300 irq=10
# options smc9194 io=0x200 irq=10 ifport=0
# options e2100 io=0x300 irq=10 mem=0xd0000 xcvr=0
# options depca io=0x200 irq=7
# options ewrk3 io=0x300 irq=10
# options eexpress io=0x300 irq=10
# options hp-plus io=0x300 irq=10
# options hp io=0x300 irq=10
# options hp100 hp100_port=0x380
# options apricot io=0x300 irq=10
# options ac3200 io=0x300 irq=10 mem=0xd0000
# options de620 io=0x378 irq=7 bnc=1
# options ibmtr io=0xa20
# options arcnet io=0x300 irq=10 shmem=0xd0000
# options plip io=0x378 irq=7
# options eepro io=0x260 irq=10 mem=0x6000
# options eth16i io=0x2a0 irq=10
# options fmv18x io=0x220 irq=10
# options ni52 io=0x360 irq=9 memstart=0xd0000 memend=0xd4000
# options bttv pll=1 radio=0 card=0
# options tuner type=0
# options msp3400 once=1 simple=1

# post-install bttv /sbin/modprobe "-k" tuner; # /sbin/modprobe "-k" msp3400

options dummy0 -o dummy0
options dummy1 -o dummy1

########################################################################
# cipe section
########################################################################

alias cipcb0 cipcb
alias cipcb1 cipcb

options cipcb cipe_debug=0

########################################################################
# block dev aliases
########################################################################

alias block-major-1 rd
alias block-major-2 floppy
alias block-major-3 off
alias block-major-7 loop
alias block-major-8 sd_mod
alias block-major-11 sr_mod
alias block-major-13 xd
alias block-major-15 cdu31a
alias block-major-16 gscd
alias block-major-17 optcd
alias block-major-18 sjcd
alias block-major-20 mcdx
alias block-major-22 off
alias block-major-23 mcd
alias block-major-24 sonycd535
alias block-major-25 sbpcd
alias block-major-26 sbpcd
alias block-major-27 sbpcd
alias block-major-28 sbpcd
alias block-major-29 aztcd
alias block-major-32 cm206
alias block-major-33 off
alias block-major-34 off
# network block device
alias block-major-43 off
alias block-major-45 pd
alias block-major-46 pcd
alias block-major-47 pf

########################################################################
# char dev aliases
########################################################################

alias char-major-6 lp
alias char-major-9 st
alias char-major-10-130 softdog
alias char-major-10-135 off
alias char-major-10-175 agpgart
alias char-major-10-181 toshiba
alias char-major-10-240 agpgarti810
alias char-major-10-250 sonypi
options sonypi minor=250
alias char-major-15 off
alias char-major-19 cyclades
alias char-major-20 cyclades
alias char-major-21 sg
alias char-major-27 ftape
# fb
alias char-major-29 off
alias char-major-36 netlink_dev
# alias char-major-43 hisax
# alias char-major-44 hisax
# alias char-major-45 hisax
alias char-major-43 off
alias char-major-44 off
alias char-major-45 off
alias char-major-48 riscom8
alias char-major-49 riscom8
alias char-major-67 coda
alias char-major-75 specialix
alias char-major-76 specialix
alias char-major-81 bttv

alias char-major-83 vtx
options vtx quiet=1

alias char-major-89 i2c-dev
alias char-major-96 pt
alias char-major-97 pg
alias char-major-107 3dfx
alias char-major-109 lvm-mod

# Alsa sound support.
# Warning: please don't modify comments over aliases 'snd-card-#'

########################################################################
# ppp over ethernet
# the kernel 2.2 uses pppox
# the kernel 2.4 uses pppoe
########################################################################

if `kernelversion` == "2.2"
alias char-major-144 pppox
post-install pppox insmod mssclampfw
pre-remove pppox rmmod mssclampfw
else
alias char-major-108 ppp_generic
alias char-major-144 pppoe
alias net-pf-24 pppoe
endif

########################################################################
# IrDA
########################################################################

alias char-major-161 ircomm-tty

########################################################################
# USB
########################################################################

alias char-major-166 acm

########################################################################
# Moxa Multiport Serial Boards
########################################################################

alias char-major-172 moxa
alias char-major-173 moxa

# options moxa type=2,,, baseaddr=0xdc000,,, numports=8,,,
alias char-major-174 mxser
alias char-major-175 mxser
# options mxser ioaddr=0x180

#alias char-major-180 usbcore

alias InterMezzo intermezzo
alias char-major-185 intermezzo

alias char-major-195 nvidia
alias char-major-206 osst
alias char-major-240 usb-serial

alias binfmt-204 binfmt_aout
alias binfmt-263 binfmt_aout
alias binfmt-264 binfmt_aout
alias binfmt-267 binfmt_aout
alias binfmt-0064 binfmt_aout
alias binfmt-0008 binfmt_aout

alias iso9660 isofs
alias tty-ldisc-1 slip
alias tty-ldisc-5 mkiss

# alias tty-ldisc-7 6pack
alias tty-ldisc-7 off

# IrDA
alias tty-ldisc-11 irtty

# alias ax0 mkiss
alias ax0 off
# alias sp0 6pack
alias sp0 off
alias slip0 slip
alias sl0 slip
alias slip1 slip
alias sl1 slip

########################################################################
# the kernel 2.2 uses ppp.o as ppp driver,
# the kernel 2.4 uses ppp_generic.o
########################################################################

if `kernelversion` == "2.2"
alias ppp0 ppp
alias ppp1 ppp
alias tty-ldisc-3 ppp
else
alias ppp0 ppp_generic
alias ppp1 ppp_generic
alias tty-ldisc-3 ppp_async
endif

alias plip0 plip
alias plip1 plip

alias ppp-compress-18 ppp_mppe
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate

alias net-pf-1 unix
alias net-pf-3 ax25
# alias net-pf-3 off
alias net-pf-4 ipx
# alias net-pf-4 off
alias net-pf-5 appletalk
# alias net-pf-5 off
alias net-pf-6 netrom
# alias net-pf-6 off
alias net-pf-10 ipv6
# alias net-pf-10 off
alias net-pf-11 rose
# alias net-pf-11 off
alias net-pf-17 af_packet

alias tap0 ethertap
alias tap1 ethertap
alias tap2 ethertap
alias tap3 ethertap
alias tap4 ethertap
alias tap5 ethertap
alias tap6 ethertap
alias tap7 ethertap
alias tap8 ethertap
alias tap9 ethertap
alias tap10 ethertap
alias tap11 ethertap
alias tap12 ethertap
alias tap13 ethertap
alias tap14 ethertap
alias tap15 ethertap

# don't try to reset isa-pnp cards on startup
options isa-pnp isapnp_reset=0

########################################################################
# AGP
########################################################################

pre-install mga /sbin/modprobe "-k" "agpgart"
pre-install r128 /sbin/modprobe "-k" "agpgart"
pre-install radeon /sbin/modprobe "-k" "agpgart"
options agpgart agp_try_unsupported=1

# end of common part for modules.conf
# begin of i386 part for modules.conf

alias char-major-4 serial
alias char-major-5 serial

alias parport_lowlevel parport_pc
# options parport_pc io=0x378 irq=none,none
# If you have multiple parallel ports, specify them this way:
# options parport_pc io=0x378,0x278 irq=none,none

# Linux ACP modem (Mwave)
alias char-major-10-219 mwave
# options mwave dspirq=10 dspio=0x130 uartirq=3 uartio=0x2f8

# nVidia nforce chipset (network + audio)
#alias eth0 nvnet
#alias sound-slot-1 nvaudio
#alias usb-interface usb-ohci

# IBM thinkpad tpctl
# see /usr/share/doc/packages/tpctl/
alias char-major-10-170 thinkpad

# Alsa sound support.
# Warning: please don't modify comments over aliases 'snd-card-#'
# --- END: Generated by ALSACONF, do not edit. ---

alias /dev/ttySHSF* hsfserial
alias char-major-241 hsfserial
alias /dev/ttyCUA* hsfserial
alias char-major-242 hsfserial
alias /dev/modem hsfserial
options hsfserial calloutmajor=242 serialmajor=241

# Alsa sound support.
# Warning: please don't modify comments over aliases 'snd-card-#'
# --- END: Generated by ALSACONF, do not edit. ---

# qnJ_.trsEqNGuZ00:SB Audigy

#

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
alias char-major-14 soundcore
alias sound-slot-0 snd-card-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
options snd snd_major=116 cards_limit=1 device_mode=0666
options snd-emu10k1 index=0
# --- END: Generated by ALSACONF, do not edit. ---

digitized_funk 10-07-2003 05:52 PM

Strangely enough, emu-config -d now gives no errors, but there's still no sound on the digital speakers.

neophyte 10-07-2003 07:32 PM

Good Luck!
 
I've been working on the same problem, Emu10K1 driver install for over a month, utilizing several different distros. Tried ALL! the tricks and tips from this forum and others ---and still no sound. Yet the sound card plays just fine from Windows XP. Obviously, Linux is not ready to support even the most common of devices without a great deal of messing around, and even then it may never work.

Take a look at LinuxSucks and you will find many others who have seen the light and shucked Linux.

Electro 10-07-2003 08:09 PM

Go to ALSA and download the packages. Follow the instructions on how to compile the packages. Add a few lines to the modules.conf.

To setup digital output, have a look at http://alsa.opensrc.org/index.php?page=emu10k1

For some strange reason, ALSA edited the instructions but they didn't finish them.

Windows users do not understand about the computer or the command line to understand LINUX so they revert to Windows. Windows is ok if you don't mind all the security holes, crappy sercurity patches, letting Microsoft set up your computer their way, and using only 70% - 80% of the computer speed.

digitized_funk 10-07-2003 08:56 PM

well I've tried those ALSA settings before and they don't work on my card. Strangely the ALSA driver installed with SuSE works with SB Live and 5.1 but not the Audigy card. ?? Oh well.

So I just want to revert to the old emu10k1 driver and do away with ALSA all together if possible. I have got this working previously I just can't recall how I did it. It's real close to working now though, emu-config works and it even displays that it should be playing on the digital output, but there's no sound though, but it's closer than I was previously.

On another note, I don't think it's fair to blame the Linux OS, it's just the terrible hardware vendors are probably on the Microsoft Payroll. So before claiming LInux sux, bear in mind LInux is actually very good it's just hard to configure because it's yet to penetrate sufficiently to gain widespread vendor support such as that for Windows. But Kudos to the community who provide drivers even when Creative won't give their driver code out or release a decent driver for Linux!

Demonbane 10-08-2003 12:18 AM

hmm maybe try commenting out all of the ALSA section in modules.conf, and just have
alias sound-slot-0 emu10k1
and make sure the software you use to play your mp3s/videos etc is set to use the OSS output module.
Frankly I never had any problems with the emu10k1 driver from sourceforge, I use digital output for my speaker on my Audigy DE as well and it worked on every distro I've tried. But then again I always use my own kernel and I have nothing but emu10k1 module compiled in the sound section(which gets overwritten when installing the one from sourceforge)

digitized_funk 10-08-2003 12:40 AM

I'll try this when I get home later tonight. When I change something in modules.conf what happens? am I supposed to reboot or restart something?

Demonbane 10-08-2003 01:09 AM

shouldn't need to reboot, what happens when you change modules.conf is that when a software, say xmms, tries to play an mp3 using the OSS output plugin, the OSS output plugin will try to access sound-slot-0, which is defined in your modules.conf as the emu10k1 module.
Ah and also comment out "alias sound off" and "alias midi off" as well, just in case.

Looking_Lost 10-08-2003 03:15 AM

Just a variation on above that may or may not be of help.

When I used that driver ( now using alsa) as far as I remember instructions were compile your kernel as normal with sound support enabled but don't select any soundcards and select OSS support as well but again don't select any soundcards.

Compile and install the driver and add an alias to modules.conf

alias soundcore emu10k1

that was about it as far as I remember, commenting out any references to sound devices that are already in modules.conf

digitized_funk 10-15-2003 09:46 PM

g'day guys, Just thought I'd say thanks for the help. I got it sorted at last, the word "stupidity" could apply, I'd plugged the speaker connection into the wrong socket. It was working as of the point I said emu-config started to work. anyway, thanks again.


All times are GMT -5. The time now is 05:08 PM.