Click to See Complete Forum and Search --> : snd-intel8x0 not working


BrokenUSMC2003
03-01-2004, 08:47 PM
I am using an Inspiron 1100 notebook with an intel8x0 sound driver. It worked fine with Fedora Core 1, but didn't detect with Core 2 test 1. I've been all over ALSA's site, but I can't make sense of their tutorials. Its a real mess.... Any suggestions?

Icarus
03-01-2004, 09:37 PM
Wish I could say something helpful but trying to check for you I remembered why I haven't touched my Fedora partition much since I loaded it...the driverloader for my Pro/Wireless causes the keyboard to stop responding :eek:

I did see that the i8x0 drivers were loaded but did not try any sounds (all my audio files are on the network)

It does seem to me that Test is not very stable and is highly prone to problems

Honestly, if you are using Test 1 and expect things to work...don't, fall back to Fedora 1 which is much more stable, reliable and it 'works' almost out of the box.

If you want to pursue the Test problem, I would suggest opening a bug report (or filling a new one) at
http://bugzilla.redhat.com/bugzilla/

BrokenUSMC2003
03-01-2004, 10:18 PM
I don't think there is a better teacher than adversity, that's why I chose Core 2 test 1. Besides, it gives me something to do here other than homework. My laptop is mostly a note-taker, so sound isn't all that big of a deal. However, it would be nice to have for surfing the internet. I did some asking around, and my good friends Google and Jeeves said that ALSA seems to be the best bet... Has anybody had luck with that? I guess what I'm looking for, more or less, is a walkthough of sorts for the installation itself.

Icarus
03-01-2004, 10:59 PM
I'm using the ALSA drivers on my Gentoo partition and they work great there (2.6.1 and recently 2.6.3 kernels). I have no idea why it doesn't work in Fedora...didn't notice if they were using ALSA or OSS (OSS is on it's way out to be replaced by ALSA)

ask_123
03-02-2004, 03:23 AM
Here is a short tutorial in installaing ALSA in Fedora. It should work in other distro.

1) unload your existing sound driver module. comment out the necessary entry in /etc/modules
2) down load asla-driver, and the tools (utilities).
3) unpack the source for both.
4) In the driver source directory
4) ./configure --with-cards=intel8x0 --with-oss=yes --with-sequencer=yes
5) make
6) make install

7) in the tools source directory
8)./configure, make, make install

run alsaconf to configure alsa

alsa is good but documentation is not as good.

BrokenUSMC2003
03-02-2004, 08:39 PM
I updated my /etc/modules.conf as such:

# --- ALSA configuration
alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-ens1370
#--- OSS compatibility 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
options snd major=116 cards_limit=1 \
device_mode=0666 device_gid=0 device_uid=0
options snd-ens1370 index=0 id=SBPCI128
#--- Keep modules from being autocleaned
add options -k snd-card-0
#--- ALSA configuration END

I got the alsa-driver and alsa-utils and did the command ./configure --with-cards=intel8x0 --with-oss=yes --with-sequencer=yes
, and got this error:

*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CHK include/asm-i386/asm_offsets.h
CC [M] /home/tim/.Trash/alsa-driver/kbuild/../acore/memalloc.o
In file included from /home/tim/.Trash/alsa-driver/acore/memalloc.inc:13,
from /home/tim/.Trash/alsa-driver/acore/memalloc.c:1:
/home/tim/.Trash/alsa-driver/include/adriver.h:430: error: conflicting types for `class_simple_device_add'
include/linux/device.h:255: error: previous declaration of `class_simple_device_add'
/home/tim/.Trash/alsa-driver/include/adriver.h:431: error: conflicting types for `class_simple_device_remove'
include/linux/device.h:256: error: previous declaration of `class_simple_device_remove'
make[3]: *** [/home/tim/.Trash/alsa-driver/kbuild/../acore/memalloc.o] Error 1
make[2]: *** [/home/tim/.Trash/alsa-driver/kbuild/../acore] Error 2
make[1]: *** [/home/tim/.Trash/alsa-driver/kbuild] Error 2
make[1]: Leaving directory `/lib/modules/2.6.1-1.65/build'
make: *** [compile] Error 2
[root@localhost alsa-driver]# make install
find /lib/modules/2.6.1-1.65/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/home/tim/.Trash/alsa-driver/acore'
mkdir -p /lib/modules/2.6.1-1.65/kernel/sound/acore
cp snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.1-1.65/kernel/sound/acore
cp: cannot stat `snd-page-alloc.ko': No such file or directory
cp: cannot stat `snd-pcm.ko': No such file or directory
cp: cannot stat `snd-rawmidi.ko': No such file or directory
cp: cannot stat `snd-rtctimer.ko': No such file or directory
cp: cannot stat `snd-timer.ko': No such file or directory
cp: cannot stat `snd.ko': No such file or directory
make[1]: *** [modules_install] Error 1
make[1]: Leaving directory `/home/tim/.Trash/alsa-driver/acore'
make: *** [install-modules] Error 1

ask_123
03-03-2004, 02:31 AM
try to pass kernel source directory to configure

--with-kernel=/usr/src/linux-2.4xxxxx

you do not have to add the modules configure manually. alsaconf should add it automatically. Do not remember to comment out the existing sound module (if any)

BrokenUSMC2003
03-03-2004, 03:19 PM
Getting closer.... I get this message though:

checking for kernel version... The file /usr/src/linux-2.6.1-1.65/include/linux/version.h does not exist.

How do I add this? I went to the directory, did a make config command, and went through the (lengthy) process. I restarted and still nothing. Did I miss something?

mdwatts
03-03-2004, 04:27 PM
Does /usr/src/linux-2.6.1-1.65/include/linux/version.h exist?

The comments in my version.h


/*
* Dummy file include/linux/version.h that gets replaced when the
* kernel is configured for the first time.
*/

#error "The kernel sources in /usr/src/linux are not yet configured."
#error "Please run 'make cloneconfig && make dep' in /usr/src/linux/"
#error "to get a kernel that is configured like the running kernel."
#error "Alternatively, you can copy one of the config files"
#error "arch/$ARCH/defconfig.* to .config, and run"
#error "'make oldconfig && make dep' to configure the kernel"
#error "for that configuration."

BrokenUSMC2003
03-03-2004, 06:59 PM
I did some searching about version.h, but nothing really saying one way or the other about whether or not it was included. Would the oss-compatible alsa be any different?

ask_123
03-03-2004, 10:23 PM
http://www.alsa-project.org/documentation.php3

Please be aware that you are using a test version. Anything can happen.

BrokenUSMC2003
03-03-2004, 11:57 PM
I found version.h (it is there) in linux/include/sound... guess I was looking in the wrong place. It still isn't fiding it, even after I did ldconfig. :confused:

mdwatts
03-04-2004, 12:20 PM
Did you follow the instructions included in versions.h?


Dummy file include/linux/version.h that gets replaced when the kernel is configured for the first time.

The kernel sources in /usr/src/linux are not yet configured.
Please run 'make cloneconfig && make dep' in /usr/src/linux/ to get a kernel that is configured like the running kernel. Alternatively, you can copy one of the config files arch/$ARCH/defconfig.* to .config, and run
'make oldconfig && make dep' to configure the kernel for that configuration.

BrokenUSMC2003
03-04-2004, 08:19 PM
kindly distregard my previous post... I was looking at the one in my sound folder for some reason.... I blame too much studying personally.

taking the --with-kerrnel command off seems to be ok... it fixed the version.h problem. However, memalloc.o h is having problems with class_simple_device_add. Still searching for help on that online. If you have any suggestions, let me know.

ask_123
03-05-2004, 10:45 PM
The information from the alsa web site should be able to help, does't it?

http://www.alsa-project.org/documentation.php3

BrokenUSMC2003
03-05-2004, 11:18 PM
It did some, but it didn't fix my problem. I'm currently upgrading to 2.6.3 to see if there is better support in that kernel. I'll keep you posted.