LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-10-2003, 06:47 PM   #1
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Rep: Reputation: 15
SIS 7012 PCI card not working on Cicero Laptop, Redhat 9.0


Okay... for a few weeks I've been trying to get my soundcard working with no success. I have included all the important files (or at least I think I have). If anybody out there could give me a hand getting my sound to work I can finally be rid of windows.

Code:
[root@blk2-193-162 root]# cat /proc/pci
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Silicon Integrated Systems [SiS] 650 Host (rev 1).
      Master Capable.  Latency=64.
      Non-prefetchable 32 bit memory at 0xe8000000 [0xebffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (rev 0).
      Master Capable.  Latency=99.  Min Gnt=12.
  Bus  0, device   2, function  0:
    ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 37).
  Bus  0, device   2, function  5:
    IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 0).
      Master Capable.  Latency=128.
      I/O at 0x1000 [0x100f].
  Bus  0, device   2, function  6:
    Modem: Silicon Integrated Systems [SiS] 56k Winmodem (Smart Link HAMR5600 compatible) (rev 160).
      Master Capable.  Latency=173.  Min Gnt=52.Max Lat=11.
      I/O at 0x1400 [0x14ff].
      I/O at 0x1080 [0x10ff].
  Bus  0, device   2, function  7:
    Multimedia audio controller: Silicon Integrated Systems [SiS] SiS7012 PCI Audio Accelerator (rev 160).
      Master Capable.  Latency=173.  Min Gnt=52.Max Lat=11.
      I/O at 0x1c00 [0x1cff].
      I/O at 0x1800 [0x187f].
  Bus  0, device   3, function  0:
    USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 15).
      IRQ 11.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xec000000 [0xec000fff].
  Bus  0, device   3, function  1:
    USB Controller: Silicon Integrated Systems [SiS] 7001 (#2) (rev 15).
      IRQ 10.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xec001000 [0xec001fff].
  Bus  0, device   3, function  2:
    USB Controller: PCI device 1039:7002 (Silicon Integrated Systems [SiS]) (rev 0).
      IRQ 10.
      Master Capable.  Latency=64.  Max Lat=80.
      Non-prefetchable 32 bit memory at 0xec002000 [0xec002fff].
  Bus  0, device  10, function  0:
    Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 16).
      IRQ 11.
      Master Capable.  Latency=64.  Min Gnt=32.Max Lat=64.
      I/O at 0x2000 [0x20ff].
      Non-prefetchable 32 bit memory at 0xec003000 [0xec0030ff].
  Bus  0, device  11, function  0:
    FireWire (IEEE 1394): Texas Instruments TSB43AB21 IEEE-1394a-2000 Controller (PHY/Link) (rev 0).
      IRQ 10.
      Master Capable.  Latency=64.  Min Gnt=2.Max Lat=4.
      Non-prefetchable 32 bit memory at 0xec003800 [0xec003fff].
      Non-prefetchable 32 bit memory at 0xec004000 [0xec007fff].
  Bus  0, device  12, function  0:
    CardBus bridge: PCI device 1524:1410 (ENE Technology Inc) (rev 0).
      IRQ 5.
      Master Capable.  Latency=168.  Min Gnt=192.Max Lat=5.
      Non-prefetchable 32 bit memory at 0x10000000 [0x10000fff].
  Bus  1, device   0, function  0:
    VGA compatible controller: PCI device 1039:6325 (Silicon Integrated Systems [SiS]) (rev 0).
      IRQ 5.
      Prefetchable 32 bit memory at 0xf0000000 [0xf7ffffff].
      Non-prefetchable 32 bit memory at 0xec100000 [0xec11ffff].
      I/O at 0x9000 [0x907f].
      
      
[root@blk2-193-162 root]# cat /etc/modules.conf
alias xirc2ps_cs
alias eth0 8139too
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
above snd-intel8x0 snd-pcm-os
alias sound-slot-0 snd-intel8x0
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

[root@blk2-193-162 root]# cat /proc/modules
nls_iso8859-1           3516   2 (autoclean)
ntfs                   59008   2 (autoclean)
soundcore               6404   0 (autoclean)
ipt_MASQUERADE          2200   1 (autoclean)
iptable_nat            21720   1 (autoclean) [ipt_MASQUERADE]
ip_conntrack           26976   1 (autoclean) [ipt_MASQUERADE iptable_nat]
ip_tables              15096   4 [ipt_MASQUERADE iptable_nat]
parport_pc             19076   1 (autoclean)
lp                      8996   0 (autoclean)
parport                37056   1 (autoclean) [parport_pc lp]
autofs                 13268   0 (autoclean) (unused)
xirc2ps_cs             16228   1
ds                      8680   2 [xirc2ps_cs]
yenta_socket           13472   1
pcmcia_core            57216   0 [xirc2ps_cs ds yenta_socket]
8139too                18088   1
mii                     3976   0 [8139too]
sg                     36524   0 (autoclean)
sr_mod                 18136   0 (autoclean)
ide-scsi               12208   0
scsi_mod              107160   3 [sg sr_mod ide-scsi]
ide-cd                 35708   0
cdrom                  33728   0 [sr_mod ide-cd]
ohci1394               20168   0 (unused)
ieee1394               48780   0 [ohci1394]
keybdev                 2944   0 (unused)
mousedev                5492   1
hid                    22148   0 (unused)
input                   5856   0 [keybdev mousedev hid]
ehci-hcd               19976   0 (unused)
usb-ohci               21480   0 (unused)
usbcore                78784   1 [hid ehci-hcd usb-ohci]
ext3                   70784   1
jbd                    51892   1 [ext3]


[root@blk2-193-162 root]# cat /dev/dsp*
cat: /dev/dsp: No such device
cat: /dev/dsp0: No such device
cat: /dev/dsp1: No such device
cat: /dev/dsp10: No such device
cat: /dev/dsp11: No such device
cat: /dev/dsp12: No such device
cat: /dev/dsp13: No such device
cat: /dev/dsp14: No such device
cat: /dev/dsp15: No such device
cat: /dev/dsp2: No such device
cat: /dev/dsp3: No such device
cat: /dev/dsp4: No such device
cat: /dev/dsp5: No such device
cat: /dev/dsp56k: No such device
cat: /dev/dsp6: No such device
cat: /dev/dsp7: No such device
cat: /dev/dsp8: No such device
cat: /dev/dsp9: No such device
cat: /dev/dspW: No such device
cat: /dev/dspW0: No such device
cat: /dev/dspW1: No such device
cat: /dev/dspW10: No such device
cat: /dev/dspW11: No such device
cat: /dev/dspW12: No such device
cat: /dev/dspW13: No such device
cat: /dev/dspW14: No such device
cat: /dev/dspW15: No such device
cat: /dev/dspW2: No such device
cat: /dev/dspW3: No such device
cat: /dev/dspW4: No such device
cat: /dev/dspW5: No such device
cat: /dev/dspW6: No such device
cat: /dev/dspW7: No such device
cat: /dev/dspW8: No such device
cat: /dev/dspW9: No such device


root@blk2-193-162 root]# rpm -qa | grep "alsa"
alsa-driver-0.9.6-1.fr
kernel-module-alsa-0.9.6-1.fr_2.4.20_19.9
[root@blk2-193-162 root]# rpm -qa | grep "kernel"
kernel-pcmcia-cs-3.1.31-13
kernel-ntfs-2.4.20-8
kernel-2.4.20-8
kernel-module-alsa-0.9.6-1.fr_2.4.20_19.9

[root@blk2-193-162 root]# modprobe -v snd-intel8x0
modprobe: Can't locate module snd-intel8x0
[root@blk2-193-162 root]# modprobe -v snd-pcm-oss
modprobe: Can't locate module snd-pcm-oss
Now for one more piece of information, after the install in the /etc/modules.conf the alias sound-slot-0 has "disabled" beside it, so after reading and trying to get help on another board, I went into pico and edited the /etc/modules.conf file and changed that line myself.

If anybody could help me get over the top with this problem I would be eternally gratefull.

Thanks in advance.

Jeff
 
Old 10-12-2003, 03:18 PM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Whew, looked at this one for quite a while... whatever started you off was probably either documenting Mandrake or SuSe, that use the alternative (about to be kernel standard), alsa modules for sound. RedHat uses oss.

modprobe snd-intel8x0

won't work as RH has the oss module, i810_audio, so try:

modprobe i810_audio

Cheers,

Finegan
 
Old 10-13-2003, 09:13 AM   #3
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Original Poster
Rep: Reputation: 15
Code:
[root@blk2-193-162 jeff]# /sbin/modprobe -v i810_audio
/sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/sound/ac97_codec.o
Using /lib/modules/2.4.20-8/kernel/drivers/sound/ac97_codec.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.20-8/kernel/drivers/sound/i810_audio.o
Using /lib/modules/2.4.20-8/kernel/drivers/sound/i810_audio.o
/lib/modules/2.4.20-8/kernel/drivers/sound/i810_audio.o: init_module: No such device
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.20-8/kernel/drivers/sound/i810_audio.o: insmod /lib/modules/2.4.20-8/kernel/drivers/sound/i810_audio.o failed
# delete ac97_codec
/lib/modules/2.4.20-8/kernel/drivers/sound/i810_audio.o: insmod i810_audio failed
So all signs point to no, but I'll be dammed if that wasen't closer than I've gotton before.
 
Old 10-14-2003, 03:53 PM   #4
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Okay, this is a little odd, we know its the right card, its an all SiS chipset laptop... its brand spankin' new, so it might be a rev of the chipset that the module doesn't know about as RH 9.0 is getting a little... venerable. Is this an all acpi machine? they have a tendency to not assign IRQs right unless the OS is support acpi... Is there something useful at the end of "dmesg" right after the attempt to load the i810_audio module?

Cheers,

Finegan
 
Old 10-17-2003, 07:39 AM   #5
Tap-Out
Member
 
Registered: Oct 2002
Location: Halifax, NS
Distribution: Ubuntu, Mepis, Debian
Posts: 130

Original Poster
Rep: Reputation: 15
Okay so here's the story now,

I updated the kernel, re-downloaded the alsa drivers. I noticed now that when I log in as "root" in my "system tray" (for lack of a better term) that a blank sport comes up and if I right click on it then it is the kmix window, however there are no mixer available.

Here is a whole bunch of information for all you readers to puzzle through to see why this thing isn't working.

Code:
[root@localhost root]# cat /etc/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,2)
#          kernel /boot/vmlinuz-version ro root=/dev/hda3
#          initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-20.9)
        root (hd0,2)
        pci=biosirq
        pci=noacpi
        noapic
        noapm
        kernel /boot/vmlinuz-2.4.20-20.9 ro root=LABEL=/ hdc=ide-scsi
        initrd /boot/initrd-2.4.20-20.9.img
title Windows 2000 Advanced Server
        rootnoverify (hd0,0)
        chainloader +1


[root@localhost root]# cat /etc/modules.conf
alias xirc2ps_cs
alias eth0 8139too
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias ieee1394-controller ohci1394
above snd-intel8x0 snd-pcm-oss
alias eth1 xirc2ps_cs
alias sound-slot-0 snd-intel8x0
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

[root@localhost root]# dmesg
...
PCI: Enabling device 00:02.7 (0000 -> 0001)
PCI: No IRQ known for interrupt pin C of device 00:02.7. Please try using pci=biosirq.
ALSA intel8x0.c:2471: unable to grab IRQ 0
Intel ICH soundcard not found or device busy
PCI: No IRQ known for interrupt pin C of device 00:02.7. Please try using pci=biosirq.
ALSA intel8x0.c:2471: unable to grab IRQ 0
Intel ICH soundcard not found or device busy
PCI: No IRQ known for interrupt pin C of device 00:02.7. Please try using pci=biosirq.
ALSA intel8x0.c:2471: unable to grab IRQ 0
Intel ICH soundcard not found or device busy
PCI: No IRQ known for interrupt pin C of device 00:02.7. Please try using pci=biosirq.
ALSA intel8x0.c:2471: unable to grab IRQ 0
Intel ICH soundcard not found or device busy
PCI: No IRQ known for interrupt pin C of device 00:02.7. Please try using pci=biosirq.
ALSA intel8x0.c:2471: unable to grab IRQ 0
Intel ICH soundcard not found or device busy

[root@localhost root]# modprobe -v snd-intel8x0
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd.o
Symbol version prefix ''
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-seq-device.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-seq-device.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-rawmidi.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-rawmidi.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-mpu401-uart.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-mpu401-uart.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-page-alloc.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-page-alloc.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-timer.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-timer.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-pcm.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-pcm.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-ac97-codec.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-ac97-codec.o
/sbin/insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-intel8x0.o
Using /lib/modules/2.4.20-20.9/kernel/sound/snd-intel8x0.o
/lib/modules/2.4.20-20.9/kernel/sound/snd-intel8x0.o: init_module: No such device
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.20-20.9/kernel/sound/snd-intel8x0.o: insmod /lib/modules/2.4.20-20.9/kernel/sound/snd-intel8x0.o failed
# delete snd-ac97-codec
# delete snd-pcm
# delete snd-timer
# delete snd-page-alloc
# delete snd-mpu401-uart
# delete snd-rawmidi
# delete snd-seq-device
# delete snd
/lib/modules/2.4.20-20.9/kernel/sound/snd-intel8x0.o: insmod snd-intel8x0 failed

[root@localhost root]# cat /proc/modules
soundcore               6404   0 (autoclean)
nls_iso8859-1           3516   2 (autoclean)
ntfs                   59008   2 (autoclean)
ipt_MASQUERADE          2200   1 (autoclean)
iptable_nat            21752   1 (autoclean) [ipt_MASQUERADE]
ip_conntrack           27272   1 (autoclean) [ipt_MASQUERADE iptable_nat]
ip_tables              15096   4 [ipt_MASQUERADE iptable_nat]
parport_pc             19076   1 (autoclean)
lp                      8996   0 (autoclean)
parport                37056   1 (autoclean) [parport_pc lp]
nfsd                   80176   8 (autoclean)
lockd                  58704   1 (autoclean) [nfsd]
sunrpc                 81564   1 (autoclean) [nfsd lockd]
autofs                 13268   0 (autoclean) (unused)
xirc2ps_cs             16228   1
ds                      8680   2 [xirc2ps_cs]
yenta_socket           13504   1
pcmcia_core            57216   0 [xirc2ps_cs ds yenta_socket]
8139too                18120   1
mii                     3976   0 [8139too]
sg                     36524   0 (autoclean)
sr_mod                 18136   0 (autoclean)
ide-scsi               12208   0
scsi_mod              107544   3 [sg sr_mod ide-scsi]
ide-cd                 35712   0
cdrom                  33728   0 [sr_mod ide-cd]
ohci1394               20168   0 (unused)
ieee1394               48780   0 [ohci1394]
keybdev                 2976   0 (unused)
mousedev                5556   1
hid                    22244   0 (unused)
input                   5856   0 [keybdev mousedev hid]
ehci-hcd               20072   0 (unused)
usb-ohci               21704   0 (unused)
usbcore                79040   1 [hid ehci-hcd usb-ohci]
ext3                   70784   1
jbd                    51924   1 [ext3]

[root@localhost root]# rpm -qa | grep "kernel"
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-20.9
kernel-ntfs-2.4.20-20.9
kernel-module-alsa-0.9.7-1.fr_2.4.20_20.9
[root@localhost root]# rpm -qa | grep "alsa"
kernel-module-alsa-0.9.7-1.fr_2.4.20_20.9
alsa-driver-0.9.7-1.fr
So there you have it. One other thing, is that when I go into system settings -> soundcard detection it has a module loaded, but it's the wrong one. It says the i810_audio module is loaded even though the snd-intel8x0 module should be loaded since it's in the /etc/modules.conf file.
 
Old 10-18-2003, 05:43 PM   #6
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
There it is:

Code:
PCI: No IRQ known for interrupt pin C of device 00:02.7. Please try using pci=biosirq.
ALSA intel8x0.c:2471: unable to grab IRQ 0
Intel ICH soundcard not found or device busy
That's all... RH 9.0 has no acpi support, your bios is pure acpi, no apm support and the bios needs acpi on the kernel side in order to assign an IRQ properly to the soundcard. It can't get an IRQ, so the driver can't do anything.

The only thing to do really is to compile a 2.4.21 or 22 with acpi support and get the acpid daemon:

http://acpi.sourceforge.net/

OR...

Suse 8.2, the newest Mandrake that's out in a few days... the RCs of Fedora, Slackware, Gentoo... or a Debian unstable install. RH added a lot to their kernel builds of 2.4.20, but one thing they didn't add was acpi support...

Cheers,

Finegan
 
Old 10-23-2003, 12:58 AM   #7
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
Hmmm ?

looks nice to me as i was also for sometime investigating this on my laptop !

something like this helped - i do not know what i am doing but still it helped


copy the i810_audio.c from the kernel source and then edit the file

if you have a chance that the card is working in some other OS (like MS win ) then find out what is the IRQ used there.

edit the code and force the IRQ here

there will be a line chip->irq and assign IRQ no. to this

mine was 10

try loading this module - if it loads fine then woow !

but if the audio play is broken and bit by bit then u need to do some more - we can disucss more on that later ...
 
  


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
SiS 7012 Sound Card on SuSE 9.2 not working sipatha Linux - Hardware 1 07-22-2005 08:10 AM
sis 7012 sound not working with mandrake 10 big_rees Mandriva 3 07-03-2004 03:52 PM
Mandrake 10.0: Audio problem with SiS-7012 on a laptop Hyundai P571 armenias Mandriva 1 06-22-2004 07:07 AM
Sound not working - sis 7012 chipset - sony laptop vervet Fedora 3 03-11-2004 09:06 PM
SiS 7012 sound card on a laptop with Redhat 9.0 won't work! oncemorewith Linux - Laptop and Netbook 10 02-28-2004 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:00 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