LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-02-2004, 08:55 AM   #1
rosol11
LQ Newbie
 
Registered: Mar 2004
Location: Cracow, POLAND
Distribution: Red Hat 9.0
Posts: 13

Rep: Reputation: 0
Question ALSA won't work with Creative Ensoniq 1371 on 2.6.4 kernel


Hello,

I've been using RH9 with 2.6.4 kernel and have noticed that there's somethin wrong with my Creative Ensoniq 64 PCI (es1371), esp. when trying to use ALSA system. I should add I'm still a .

Before compiling 2.6.4 kernel I marked the following options reffering to sound devices:


--- Sound Card Support - compiled into Kernel

--- Advanced Linux Sound Architecture - compiled into Kernel
--- PCI Devices
--- Ensoniq Audio PCI 1370 - compiled as a module
--- Ensoniq Audio PCI 1371/1373 - compiled as a module

--- Open Sound System - compiled as a module
--- Ensoniq Audio PCI 1371/1373 - compiled as a module

When the system boots, the ALSA shows its version (1.0.3c) but says it cannot find any soundcard. In my modprobe.conf file there are no alias entries referring to snd-ens1371.ko module - shouldn't they appear after i've succesfuly compiled the 2.6.4 kernel and installed the new modules (including snd-ens1371.ko)? I think they should be in the modprobe.conf or modules.conf- but they aren't.


Another weird thing is just the opposite: in both: 'modprobe.conf' and 'modules.conf' there are aliases to OSS driver for my soundcard:

alias sound-slot-0 es1371

Therefore I expected the es1371.o module to be loaded into kernel at startup. But when, having succesfully logged in as root I give 'lsmod' command I can see neither 'es1371' nor 'ac_97' module displayed in the list.Of course when I manually load these modules into kernel using 'modprobe' they of course appear and work fine. If not manually loaded, these modules will load anyway right after launching XMMS for example.


QUESTIONS:

1. Is this thing with OSS drivers a normal situation - I mean this strange module not-loading at startup.

2. What's going on with the ALSA thing? Should I manually add the following line:


alias snd-card-0 snd-ens1371


to my modprobe.conf to make ALSA detect my soundcard?


Thank You in advance for any reply, friends
 
Old 04-02-2004, 10:00 AM   #2
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
you shouldnt compile any conflicting modules into the kernel....

OSS and ALSA are 2 different sound card drivers.
only one of them can be using the sound card at a time,

what i think is happening, is redhat 9 is loading OSS (as this is the only sound it comes with) but failing because ALSA is built into the kenrel.

never ever ever compile anything into the kernel, there is no advantage to having somthing compiled into the kernel, just compile everthing as a module, that way things can be loaded or unloaded as desired.

here is what i would recomend......
re-compile the kernel, but do not compile (into or as module) anything to do with ALSA or OSS.

(Alsa can emulate OSS, so if you intend to use ALSA, you realy shouldnt need OSS)

now, wonder off the ALSA's homepage, (i think its on sourceforge.net) or google for it.
and download the following source code packages....

ALSA-driver
ALSA-utils
ALSA-libs

read the ./configure --help output for each package, make sure you pass yes to OSS emulation and mixers devices.... also, use the --with-cards=(your card) when compiling the driver.

now.... run the snddevices script in the alsa-driver folder.

now run alsaconf to detect and setup the card.

now run "service alsasound start"

now run alsamixer to un mute all he channels (also aumix for the oss channels)

now run `alsactl store` to save the volume.

now run `echo "alsactl restore" >> /etc/rc.d/rc.local`
to load the saved volumes on re-boot.

you may also need to modprobe snd-pcm-oss for oss compatability, (not loaded by default)

anyway, there are tutorials all over the place, its not as hard as it sounds.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No Sound: Alsa 1.0.3, Kernel 2.6.4, Creative Audigy ygnas Slackware 4 04-05-2004 09:02 AM
Creative Ensoniq ES1371 problem on Gentoo Linux zeroversion Linux - Hardware 0 11-09-2003 07:43 AM
poblems PCI Creative Ensonic 1371 soundcard appie Linux - Software 5 08-16-2003 10:41 AM
Can't get MIDI to work, Mandrake 9.1 + Ensoniq ES1370, need help! King V Linux - Hardware 0 08-08-2003 06:15 PM
RedHat Linux 8.0 and Ensoniq 1371 sound card jimmmac Linux - Software 8 01-06-2003 03:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration