LinuxQuestions.org
Help answer threads with 0 replies.
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 02-15-2004, 01:03 PM   #1
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Rep: Reputation: 15
ADI AD1980 Sound not working Mandrake 9.0


Hello,
I installed Mandrake 9.0. I had it before, but after buying a newer mother board and CPU it wouldn't work (XP either), so I reinstalled it both.
It works fine, but I can't get any sound.
My new motherboard is ASUS P4P800-VM
and it has integrated sound: ADI AD1980 SoundMAX 6-channel audio CODEC.
The sound works fine in Windows XP Pro.

When I run sndconfig it says:
A PCI sound card was found in your system. The details are:
Model: Intel Corporation|unknown device 8086:24d5

Then I press OK
The Intel Corporation|unknown device 8086:24d5 is not supported

lspci:
Code:
00:00.0 Host bridge: Intel Corp.: Unknown device 2570 (rev 02)
00:02.0 VGA compatible controller: Intel Corp.: Unknown device 2572 (rev 02)
00:1d.0 USB Controller: Intel Corp.: Unknown device 24d2 (rev 02)
00:1d.1 USB Controller: Intel Corp.: Unknown device 24d4 (rev 02)
00:1d.2 USB Controller: Intel Corp.: Unknown device 24d7 (rev 02)
00:1d.3 USB Controller: Intel Corp.: Unknown device 24de (rev 02)
00:1d.7 USB Controller: Intel Corp.: Unknown device 24dd (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 24d0 (rev 02)
00:1f.1 IDE interface: Intel Corp.: Unknown device 24db (rev 02)
00:1f.3 SMBus: Intel Corp.: Unknown device 24d3 (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp.: Unknown device 24d5 (rev 02)
01:08.0 Ethernet controller: Intel Corp.: Unknown device 1050 (rev 02)
01:09.0 Communication controller: Lucent Microelectronics F-1156IV WinModem (V90, 56KFlex) (rev 01)
The first message I get when starting Linux is
Code:
PCI: Device 00:1f.1 not available because of resource collisions
Since up (lspci) Multimedia audio contorller is 00:1f.5 the message is about something else? If it is, never mind, now I want to concentrate on sound... But, in Windows in System Information it says that the IRQ for Modem is the same as for Audio Device IRQ=17, but both work fine in WinXP...

I looked up on the Google for AD1980 driver for linux, and downloaded one from the ASUS website. I did what the readme said, and now the module sis7012 is loaded
lsmod:
Code:
sis7012                16176   0  (unused)
ac97_codec             10088   0  [sis7012]
soundcore               3812   0  [sis7012]
What does "unused" mean?

I'm pretty much a Linux Newbee, so I don't really know what all this stuff means. If the module is loaded does it mean that the sound should work or should I do something else? I'm asking because the last step of the Readme for the installation said:
Code:
9> Reboot your computer and configurate sis7012.
What does "configurate sis7012" mean?

Thank you for your time
 
Old 02-15-2004, 09:35 PM   #2
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I have the same motherboard, so this looks a bit familiar. If you search this site for AD1980 you will see quite a few problems reported, esp with MDK. One solution is to install and use the ALSA sound system instead of the default. This works for me, but I don't know the best way to do that in MDK. There should be packages, but I think the advice on

http://freshrpms.net/docs/alsa

is specific to Redhat.

If you don't want to get into ALSA you might find some advice in the search results. Also I am a bit suspicious of that 'sis7012' module. Are you sure this is the right one for this m/b? 'Unused' means exactly that - nothing in your system is making any use of this kernel module.
 
Old 02-16-2004, 09:26 AM   #3
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
Thanks for the respose.
I did look around the forum for this, but didn't really understand much of it, and on many places it said that Alsa is needed, and I didn't want to do it... Anyway, seems like the only solution.
Could you please keep looking at this thread in case I needed any help?
On some other thread I saw you used snd-intel8x0 ?
 
Old 02-16-2004, 11:34 AM   #4
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
I downloaded Alsa 0.9.6 sources from the ASUS website some days ago and installed it now, but it doesn't seem to be working. It gave some snd.o compile error or someting... When I looked it up on the forum someone said that it probably means that it's for the wrong kernel (but how if it is compiled from the sources which are all the same?).

So I downloaded the rpms of sources
http://fr.rpmfind.net/linux/freshrpms/redhat/9/
Then ./configure of alsa-driver-0.9.8, but make:
Code:
make[2]: *** [usbus428.o] Error 1
make[2]: Leaving directory `/usr/src/RPM/SOURCES/alsa-driver-0.9.8/usb/us428'
make[1]: *** [_modsubdir_us428] Error 2
make[1]: Leaving directory `/usr/src/RPM/SOURCES/alsa-driver-0.9.8/usb'
make: *** [compile] Error 1
What's wrong?
Should I have somehow uninstalled the previous alsa? How is that done when installing from sources?
 
Old 02-16-2004, 04:29 PM   #5
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I don't really know about RPM source packages. I wouldn't assume they would automatically be usable with a different distro. I'm not a Mandrake user, so it's difficult to give specific advice, especially as the Mandrake web site does not seem especially helpful (maybe it's OK if you register).

ALSA may even already be installed by Mandrake, and just needs configuring. Try running

find /lib -name alsa

or

find /lib -name 'snd-*'

to see if you have any alsa related files already installed.

I don't know what went wrong when you ran 'make'.
 
Old 02-18-2004, 09:49 AM   #6
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
Ok, I installed Alsa (I think so). At startup it says that Alsa is starting, loading module snd-intel8x0, but there is no sound...
In lsmod there isn't snd-intel8x0...
I tried:
modprobe snd-intel8x0
Code:
/lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o: unresolved symbol change_page_attr
modprobe: insmod /lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o failed
modprobe: insmod snd-intel8x0 failed
What does that mean? Could you somehow send me this file if that could solve this?
Any suggestions?
Thank you for everything...
 
Old 02-18-2004, 04:57 PM   #7
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
How did you install ALSA? From the original source or a package? If ALSA is at least starting you may have an error message in the system logs. Have a look at the output of 'dmesg' for any reference to ALSA.

'modprobe' is supposed to add a chunk of driver code to the running kernel, so that code has to be compiled as if it was part of the same kernel, otherwise things do not match up (typically there are 'unresolved symbols').

So when you compile ALSA it has to have access to exactly the same code that the kernel was compiled from.
 
Old 02-19-2004, 05:58 AM   #8
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
Sorry, I don't really know what to do with this dmesg?
When I did it:
Code:
...
mtrr: no more MTRRs available
Loading Lucent Modem Controller driver version 8.22
Detected Parameters Irq=17 BaseAddress=0xd800 ComAddress=0xdfe0
Lucent Modem Interface driver version 8.22 (2002-04-11) with SHARE_IRQ enabled
ttyLT00 at 0xd800 (irq = 17) is a Lucent Modem
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb.c: registered new driver usbscanner
scanner.c: 0.4.6:USB Scanner Driver
Splash status on console 0 changed to off
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP Deflate Compression module registered
(the first line is repeated about 30-40 times at the begining)

When I chacked what /var/log/syslog several times it's the same message:
localhost modprobe: modprobe: insmod snd-card-0 failed

I installed ALSA by compiling the sources found on www.alsa-project.org:
alsa-driver-1.0.2c, alsa-firmware-1.0.2, alsa-lib-1.0.2, alsa-utils-1.0.2
Can I somehow chack did I install it well?
On startup, it says starting Alsa (intel8x0), (but it repeats this (intel8x0) twice)

In the dir where alsa-driver sources are, there is an util dir, and when I say:
alsasound.in status
it says: ALSA sound driver loaded.

I forgot to say, I have this devfs (whatever it is...) so I didn't run the ./snddevices script because it says that if you have it you don't have to run it....

Thanks again..
 
Old 02-19-2004, 04:17 PM   #9
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
One problem with giving advice is that the answer might depend on what distro you are using. At some stage I must have run some configuration utility called 'alsaconf', which put the following lines in the file /etc/modules.conf

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
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 major=116 cards_limit=1
options snd-intel8x0 index=0
# --- END: Generated by ALSACONF, do not edit. ---

This tells the kernel which modules need to be loaded for particular services.

You should check for something similar, or maybe conflicting. Also see what 'modprobe snd-intel8x0' does - any error messages this time? Also check output of 'lsmod' command to see what modules are actually getting loaded.

If you can get alsa compiled and installed without errors it should be possible to get it running. I guess you installed all three source packages OK - libs, drivers and utils?
 
Old 02-19-2004, 07:09 PM   #10
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Code:
/lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o: unresolved symbol change_page_attr
modprobe: insmod /lib/modules/2.4.19-16mdk/kernel/sound/pci/snd-intel8x0.o failed
modprobe: insmod snd-intel8x0 failed
What options have you enabled on the sound menu in your kernel configuration? Enable sound support at the top of the sound menu and nothing else as that may prevent the alsa modules loading. Also, make sure you compile the ALSA modules with the same compiler that the kernel was compiled with. Good choice going for the user space ALSA drivers. They work better than the kernel modules so it's worth making the effort to get them working.
 
Old 02-21-2004, 05:37 AM   #11
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
/etc/modules.conf
Code:
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.2 ---
alias char-major-116 snd
alias char-major-14 soundcore
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  device_mode=0666
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
It's a little diferent, so I'll try your one instead. Probably won't work, but I'll try it in few minutes...

Sorry, I don't know how to enable this sound support? I looked up a few web pages, and they said "make xconfig" or "make menuconfig". They both give:
make: *** No rule to make target `menuconfig'. Stop.

"Also, make sure you compile the ALSA modules with the same compiler that the kernel was compiled with."
How do I know which compiler the kernel was compiled with? It's probably the same - I installed Mandrake 9.0 just days ago (I had it before, but when I baught the new moderboard and CPU, it wouldn't work...)
Thank you for helping me too.
 
Old 02-21-2004, 06:04 AM   #12
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
Same error again... lsmod gives the same thing, the only (I think) relevant stuff:
Code:
snd                    31364   0
soundcore               3812   0  [snd]
The diference is that at startup it now gives the "unresolved symbols" errror, and I think that it didn't report it to me before at sturtup... And when before it said (something like)
ALSA 1.02c starting up (intel8x0) (intel8x0)
now
ALSA 1.02c starting up (intel8x0) (card)

Should I leave it like this? I like to see the errors at startup...

Yes, I installed driver, lib and utils... How do I make sure that it's installed ok? If I installed it again, to make sure that there's no errors - would it be the same, or would it make some problems?
 
Old 02-21-2004, 06:14 AM   #13
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Quote:
Originally posted by Relja
I looked up a few web pages, and they said "make xconfig" or "make menuconfig". They both give:
make: *** No rule to make target `menuconfig'. Stop.
You need to cd into the kernel sources before you run make menuconfig. Recompiling the kernel is a large subject but it's worth learning how to do it as it may not be possible to fix a problem with hardware (like your current one - installing the drivers for your sound card) without recompiling the kernel.
As for the C compiler, that should be easier to fix. Check your Linux CD's for a copy of gcc-2.95. You may already have it installed. To find out, open a terminal and
Code:
find / -name gcc
It'll list folders you're not allowed to search but in amongst that, if it returns something like /opt/gcc-2.95.3/bin/gcc that's the one to use. If it's not installed, get it off your CD's or download it. Before you compile the ALSA modules
Code:
export CC=/opt/gcc-2.95.3/bin/gcc
and when you make the ALSA drivers use
Code:
make CC=/opt/gcc-2.95.3/bin/gcc
 
Old 02-21-2004, 06:50 AM   #14
Relja
Member
 
Registered: Oct 2002
Location: Belgrade, Yugoslavia
Distribution: Linux Mandrake 10.0
Posts: 71

Original Poster
Rep: Reputation: 15
When I do "make xconfig" it does some stuff and shows a window with lots of options. When I click sound, the first row of the new window is "Sound card support" and it's M (if I understud it right on some web pages - it's for "module", it's ok, right?). Also there is ALSA -> PCI devices all is M (my card too) except Y for some expertimental (CIrrys Logic) driver.
So, here's all OK, right?

When I did
find / -name gcc (I'm not sending the Permission denied stuff)
Code:
/etc/alternatives/gcc
/var/lib/rpm/alternatives/gcc
/usr/bin/gcc
When I
/etc/alternatives/gcc --version
and
/usr/bin/gcc --version
It gives the same:
gcc (GCC) 3.2 (Mandrake Linux 9.0 3.2-1mdk)
And the /var/lib/rpm/alternatives/gcc --version gives "Permission Denied"

So that's ok, too?
 
Old 02-21-2004, 07:38 AM   #15
maroonbaboon
Senior Member
 
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
I just did a google search for 'mandrake alsa rpm package' and found a number of hits, some of which suggest that Mandrake comes with ALSA installed. If this is right, then trying to install a parallel version could give problems, especially if MDK has changed the basic ALSA configuration.

I think this sound chip has been supported in ALSA since about v.0.9.4. Anyway that's the version I've got and it works on the Asus board. If MDK is not actively supporting new hardware by releasing new RPM packages then this is not a good choice of distro for someone with that new hardware.

So I would really concentrate initially on finding a Mandrake solution to this before getting into kernel configuring and compiling (which is either fun or frustration for different people). Maybe even try the Mandrake forum.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
No sound with ADI AD1980 integrated sound card Comptalk Red Hat 2 02-07-2005 05:08 AM
Help! No sound using AD1980 Mandrake 9.1 / KDE Muscles Linux - Newbie 16 01-28-2005 07:22 AM
No sound, using ADI AD1980 audio coyote399 Linux - Software 9 04-06-2004 01:52 AM
Strange problems with ADI AD1980 Soundcard Dipp Linux - Hardware 3 03-07-2004 03:55 PM
ADI AD1980 driver for Mandrake? sengler Mandriva 1 08-28-2003 08:46 PM

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

All times are GMT -5. The time now is 07:11 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration