lspci displays no sound device - Sigmaltel STAC 9767 codec
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In addition, I have done google searches regarding this "Sigmaltel STAC 9767" sound card, those who have got it working and probed it claim that is actually an "ALi M5451 PCI AC-Link Controller Audio Device"
I have tried recompiling the kernel with the module as well as built in, but the result is always the same in dmesg ... "No soundcards found". Please help!
# dmesg
Linux version 2.6.7 (root@icebox) (gcc version 3.3.4) #6 SMP Tue Jul 6 00:00:36 PDT 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 0000000003ff0000 (usable)
BIOS-e820: 0000000003ff0000 - 0000000003fff000 (ACPI data)
BIOS-e820: 0000000003fff000 - 0000000004000000 (ACPI NVS)
BIOS-e820: 00000000fffc0000 - 0000000100000000 (reserved)
63MB LOWMEM available.
On node 0 totalpages: 16368
DMA zone: 4096 pages, LIFO batch:1
Normal zone: 12272 pages, LIFO batch:2
HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 ACPIAM ) @ 0x000f52c0
ACPI: RSDT (v001 A M I OEMRSDT 0x08000314 MSFT 0x00000097) @ 0x03ff0000
ACPI: FADT (v002 A M I OEMFACP 0x08000314 MSFT 0x00000097) @ 0x03ff0200
ACPI: OEMB (v001 A M I OEMBIOS 0x08000314 MSFT 0x00000097) @ 0x03fff040
ACPI: DSDT (v001 AMIBI AMIBI002 0x00000002 INTL 0x02002026) @ 0x00000000
Built 1 zonelists
Kernel command line: BOOT_IMAGE=LinuxNew ro root=302
Local APIC disabled by BIOS -- reenabling.
Could not enable APIC!
Initializing CPU#0
CPU 0 irqstacks, hard=c0536000 soft=c052e000
PID hash table entries: 256 (order 8: 2048 bytes)
Detected 1427.522 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Memory: 59668k/65472k available (2960k kernel code, 5344k reserved, 1104k data, 200k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay loop... 2547.71 BogoMIPS
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0380a97b 00c0a17b 00000000 00000000
CPU: After vendor identify, caps: 0380a97b 00c0a17b 00000000 00000000
CPU: CLK_CTL MSR was 0. Reprogramming to 20000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps: 0380a97b 00c0a17b 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: AMD Athlon(tm) XP-M (LV) 1900+ stepping 00
per-CPU timeslice cutoff: 1463.32 usecs.
task migration cache decay timeout: 2 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
CPU0: online
domain 0: span 01
groups: 01
domain 1: span 01
groups: 01
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040326
ACPI: IRQ9 SCI: Level Trigger.
ACPI: Interpreter enabled
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 7 9 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 7 9 10 11 12 14 15) *0, disabled.
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 7 *9 10 11 12 14 15)
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ACPI: No IRQ known for interrupt pin A of device 0000:00:07.3 - using IRQ 9
ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
PCI: Using ACPI for IRQ routing
audit: initializing netlink socket (disabled)
audit(1089072232.159:0): initialized
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
udf: registering filesystem
Limiting direct PCI/PCI transfers.
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU1] (supports C1)
lp: driver loaded but no devices found
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a TI16750
ttyS1 at I/O 0x2f8 (irq = 3) is a TI16750
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 82078.
Linux Tulip driver version 1.1.13 (May 11, 2002)
tulip0: EEPROM default media type 100baseTx-FDX.
tulip0: Index #0 - Media 100baseTx (#3) described by a 21140 non-MII (0) block.
tulip0: Index #1 - Media 100baseTx-FDX (#5) described by a 21140 non-MII (0) block.
eth0: Digital DS21140 Tulip rev 32 at 0xec00, 00:03:FF:1F:0E:7C, IRQ 11.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: Virtual HD, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Virtual CD, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 8379504 sectors (4290 MB) w/64KiB Cache, CHS=8313/16/63, DMA
hda: hda1 < hda5 > hda2
hdc: ATAPI DVD-ROM drive, 128kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
libata version 1.02 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
mice: PS/2 mouse device common for all mice
serio: i8042 AUX port at 0x60,0x64 irq 12
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
serio: i8042 KBD port at 0x60,0x64 irq 1
input: AT Translated Set 2 keyboard on isa0060/serio0
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
ALSA device list:
No soundcards found.
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
ip_conntrack version 2.1 (511 buckets, 4088 max) - 300 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S5)
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 200k freed
Adding 497972k swap on /dev/hda5. Priority:-1 extents:1
Linux agpgart interface v0.100 (c) Dave Jones
eth0: Using EEPROM-set media 100baseTx-FDX.
I'm not sure if the card uses the PCI bus, but I know that is an onboard chip. I am running Microsoft Virtual PC, and the sound is working in Windows.
pnpdump displayed 2 things ... "Sound Blaster 16" and "Game Port". Fujitsu labels my notebook sound device as "Sigmatel Audio STAC 9767 codec", so I'm guessing "Sound Blaster 16" is inaccurate.
# pnpdump
# $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
# Release isapnptools-1.26
#
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of the output file format, see isapnp.conf(5)
#
# For latest information and FAQ on isapnp and pnpdump see:
# I AM UNABLE TO POST LINKS YET
#
# Compiler flags: -DREALTIME -DHAVE_PROC -DENABLE_PCI -DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE
#
# Trying port address 0273
# Board 1 has serial identifier 1a ff ff ff ff b0 03 41 d0
# Board 2 has serial identifier 53 ff ff ff ff b0 2f 41 d0
# Card 1: (serial identifier 1a ff ff ff ff b0 03 41 d0)
# Vendor Id tBA03b0, No Serial Number (-1), checksum 0x1A.
# Version 1.0, Vendor version 0.0
# ANSI string -->Sound Blaster 16<--
#
# Logical device id PNPb003
# Device capable of taking part in boot process
# Device supports vendor reserved register @ 0x38
# Device supports vendor reserved register @ 0x3d
# Device supports vendor reserved register @ 0x3e
# Device supports vendor reserved register @ 0x3f
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE tBA03b0/-1 (LD 0
# Compatible device id PNPb003
# IRQ 5.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# First DMA channel 1.
# 8 bit DMA only
# Logical device is a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
# Next DMA channel 5.
# 16 bit DMA only
# Logical device is a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
# Fixed IO base address 0x0220
# Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
# Fixed IO base address 0x0380
# Number of IO addresses required: 16
# (IO 1 (SIZE 16) (BASE 0x0380))
(NAME "tBA03b0/-1[0]{Sound Blaster 16 }")
# (ACT Y)
))
# End tag... Checksum 0xbe (BAD)
# Card 2: (serial identifier 53 ff ff ff ff b0 2f 41 d0)
# Vendor Id tBA2fb0, No Serial Number (-1), checksum 0x53.
# Version 1.0, Vendor version 0.0
# ANSI string -->Game Port<--
#
# Logical device id PNPb02f
# Device capable of taking part in boot process
# Device supports vendor reserved register @ 0x3d
# Device supports vendor reserved register @ 0x3e
# Device supports vendor reserved register @ 0x3f
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE tBA2fb0/-1 (LD 0
# Compatible device id PNPb02f
# Fixed IO base address 0x0201
# Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0201))
(NAME "tBA2fb0/-1[0]{Game Port }")
# (ACT Y)
))
# End tag... Checksum 0xbe (BAD)
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
Can you please try to boot with following options:
pci=bios nolapic acpi=off
Make sure apic is enabled (so there isn't a noapic option)
Check /etc/lilo.conf if you are using lilo
or
/boot/grub/grub.conf (in some versions /boot/grub/menu.lst) if you are using grub
Also: What kernel version are you using ?
What displays
uname -r
Be aware that there will problems if you have multiple append lines within one kernel section.
It's better to put all boot options for a certain kernel image withen one append.
Here how it looks in my lilo.conf. /sbin/lilo did not report any errors after adding the above
options.
Vlad-A, I got the boot options to work. However, when I perform lspci, nothing shows up. pnpdump displays the same information as before. As well, during bootup it still displays "No soundcard found".
# $Id: pnpdump_main.c,v 1.27 2001/04/30 21:54:53 fox Exp $
# Release isapnptools-1.26
#
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of the output file format, see isapnp.conf(5)
#
# For latest information and FAQ on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DHAVE_PROC -DENABLE_PCI -DHAVE_SCHED_SETSCHEDULER -DHAVE_NANOSLEEP -DWANT_TO_VALIDATE
#
# Trying port address 0273
# Board 1 has serial identifier 1a ff ff ff ff b0 03 41 d0
# Board 2 has serial identifier 53 ff ff ff ff b0 2f 41 d0
# Card 1: (serial identifier 1a ff ff ff ff b0 03 41 d0)
# Vendor Id tBA03b0, No Serial Number (-1), checksum 0x1A.
# Version 1.0, Vendor version 0.0
# ANSI string -->Sound Blaster 16<--
#
# Logical device id PNPb003
# Device capable of taking part in boot process
# Device supports vendor reserved register @ 0x38
# Device supports vendor reserved register @ 0x3d
# Device supports vendor reserved register @ 0x3e
# Device supports vendor reserved register @ 0x3f
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE tBA03b0/-1 (LD 0
# Compatible device id PNPb003
# IRQ 5.
# High true, edge sensitive interrupt (by default)
# (INT 0 (IRQ 5 (MODE +E)))
# First DMA channel 1.
# 8 bit DMA only
# Logical device is a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 0 (CHANNEL 1))
# Next DMA channel 5.
# 16 bit DMA only
# Logical device is a bus master
# DMA may not execute in count by byte mode
# DMA may execute in count by word mode
# DMA channel speed in compatible mode
# (DMA 1 (CHANNEL 5))
# Fixed IO base address 0x0220
# Number of IO addresses required: 16
# (IO 0 (SIZE 16) (BASE 0x0220))
# Fixed IO base address 0x0380
# Number of IO addresses required: 16
# (IO 1 (SIZE 16) (BASE 0x0380))
(NAME "tBA03b0/-1[0]{Sound Blaster 16 }")
# (ACT Y)
))
# End tag... Checksum 0xbe (BAD)
# Card 2: (serial identifier 53 ff ff ff ff b0 2f 41 d0)
# Vendor Id tBA2fb0, No Serial Number (-1), checksum 0x53.
# Version 1.0, Vendor version 0.0
# ANSI string -->Game Port<--
#
# Logical device id PNPb02f
# Device capable of taking part in boot process
# Device supports vendor reserved register @ 0x3d
# Device supports vendor reserved register @ 0x3e
# Device supports vendor reserved register @ 0x3f
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if required
# Don't forget to uncomment the activate (ACT Y) when happy
(CONFIGURE tBA2fb0/-1 (LD 0
# Compatible device id PNPb02f
# Fixed IO base address 0x0201
# Number of IO addresses required: 1
# (IO 0 (SIZE 1) (BASE 0x0201))
(NAME "tBA2fb0/-1[0]{Game Port }")
# (ACT Y)
))
# End tag... Checksum 0xbe (BAD)
# Returns all cards to the "Wait for Key" state
(WAITFORKEY)
Do you have enabled ISA and ISA PnP support when you compiled your kernel ?
CONFIG_ISA
CONFIG_ISAPNP
and also
CONFIG_PNPBIOS
How were those settings in your .conf file whne you compiled the kernel ?
What is the setting of "PnP OS" in your BIOS ? If you enable it, then the BIOS does *not* configure the PnP devices,
but relies on the Operating System.
What is the contens of your /etc/isapnp.conf file ?
I compiled my 2.6.7 kernel to have ISA support. I'm not too sure about ISA PnP, so I did the following ...
Using "make menuconfig" I saved my kernel configuration to a file, then I used pico to open the file and searched for the values
CONFIG_ISA=y
That's all good, but when I tried searching for the others, pico reported ...
"CONFIG_ISAPNP" not found
"CONFIG_PNPBIOS" not found
So I cut down the words ...
"ISAPNP" not found
"PNPBIOS" not found
Apparently, the values aren't even there for me to change.
So I decided to add them in instead, like the following ...
CONFIG_ISA=y
CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y
Saved the configuration, and recompiled the kernel. However, when I rebooted, I still go the same message "no soundcards found" so then I decided to do a "alsaconf" to see if alsa could probe my sound device given the new kernel settings. Unfortunately, alsaconf couldn't probe anything.
Those entries seemed uneffective, shall I remove them?
As for BIOS settings, my laptop has VERY few options. I was unable to find a "PnP OS" or "Plug an Play OS" option in my BIOS. The only uncommon setting I found was ...
ACPI Aware OS [Yes]
I don't have a isapnp.conf file, but there is a isa.conf.sample file. Here are the contents of my isapnp.conf.sample file ...
# LD n = Logical device, ie write to reg 7
# IO n = IO descriptor n
# BASE n = IO/Mem address
# INT n = Interrupt req n
# IRQ n = Interrupt level
# MODE = line levels etc
# ACT = Activate
Well, since we do not know if your BIOS is PnP able or not,
you can disable CONFIG_PNPBIOS.
However your sound card *IS* PnP able, otherwise pnpdump would not find it.
Therefore CONFIG_ISA=y, CONFIG_ISAPNP=y shall reamain as they are.
However in order to configure the card isapnp needs informations which are
stored in /etc/isapnp.conf.
You can generate the /etc/isapnp.conf from the pnpdump output. Be aware that
you need to uncoment the config. statements since they all have a # in front of them.
take a closer look on the pnpdump to see what to uncoment.
Full list of options is given under the Subdirectory Documentation/sound in your linux kernel sourcefile directory (/usr/src/linux-2.x.y.)
./Documentation/sound/alsa/ALSA-Configuration.txt
Take a look on the Section:
Module snd-sb16 and snd-sbawe
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.