You are not logged in.

#1 2013-07-02 11:23:24

shandy
Member
Registered: 2013-07-02
Posts: 6

My onboard sound chip is not detected

I'm pretty much a newbie at arch linux, so please forgive me if I am missing something obvious.

I am installing Arch Linux on my old sony vaio vgn-t1xp.
I'm really impressed with how snappy it is so far.
BUT I can't get sound working.  I've tried with both alsa and oss, and spent around 2 days on this now, but no joy.

The spec for my machine is here :http://www.sony.co.uk/support/en/product/VGN-T1XP_T/specifications

Basically the relevent bits seems to be :
Architecture Intel 855GME
Processor Name Intel Pentium M Processor Ultra Low Voltage
Graphic Card Name Intel 855GME
Audio Chipset AD1981B - 16-bit CD-quality stereo sound
Chipset Manufacturer Analog Devices
Audio Type AC Link

I found a link from someone who installed  debian sarge and got sound working using alsa
http://www.seismo.ethz.ch/static/linux/ … linux.html
Here is what this link says worked on debian sarge :

1. Install the ALSA soundsystem. If I enter 'dpkg -l | grep alsa' today, the
   following lines appear:
   ii  alsa-base      1.0.8-7        ALSA driver configuration files
   ii  alsa-utils     1.0.8-3        ALSA utilities
   ii  alsaplayer     0.99.76-0.3    PCM player designed for ALSA
   ii  alsaplayer-com 0.99.76-0.3    PCM player designed for ALSA (common files)
   ii  alsaplayer-gtk 0.99.76-0.3    PCM player designed for ALSA (GTK version)
   ii  alsaplayer-oss 0.99.76-0.3    PCM player designed for ALSA (OSS output mod
2. In the file /etc/hotplug/blacklist add a line at the bottom with: snd_intel8x0m
3. In the file /etc/modules add on two separate lines:
snd_ac97_codec
snd_intel8x0
4. After a reboot the sound should work properly.
5. Well, please note, that there is a sound on/off-switch on the front of the
   notebook; it should be set to 'on' (orange LED is then off)

I've tried manually installing the suggested modules by translating the above to modules-load.d:

 cat /etc/modules-load.d/sound.conf
snd-ac97-codec
snd-intel8x0
snd-pcm-oss

and blacklisting snd-intel8x0m in a modprobe.d/sound.conf file.

Here is my lsmod | grep 'snd':

[shandy@localhost ~]$ lsmod | grep 'snd'
snd_pcm_oss            33093  0 
snd_mixer_oss          12735  1 snd_pcm_oss
snd_intel8x0           23753  0 
snd_ac97_codec         89368  1 snd_intel8x0
ac97_bus                 874  1 snd_ac97_codec
snd_pcm                62851  3 snd_pcm_oss,snd_ac97_codec,snd_intel8x0
snd_page_alloc          6038  2 snd_intel8x0,snd_pcm
snd_timer              14846  1 snd_pcm
snd                    44486  6 snd_pcm_oss,snd_ac97_codec,snd_intel8x0,snd_timer,snd_pcm,snd_mixer_oss
soundcore               4386  1 snd
 

Whatever I do aplay -l only list : aplay: device_list:268: no soundcards found...


and lspci shows no audio device :

00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02)
00:1d.0 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03)
00:1d.2 USB controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83)
00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03)
02:04.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
02:04.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
02:04.3 Mass storage controller: Texas Instruments PCI7420/7620 Combo CardBus, 1394a-2000 OHCI and SD/MS-Pro Controller
02:08.0 Ethernet controller: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller (rev 83)
02:0b.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
 

Oh and ls /dev/snd doesn't look too promising either:

[shandy@localhost ~]$ ls /dev/snd
seq  timer

Where do I go from here???
Note, I'm sure audio was working before I uninstalled Windows XP ... so am pretty sure it is not a hardware problem.
My BIOS has no audio disabling / enabling, and is up to date.

Many thanks for anyone who has any ideas.

Offline

#2 2013-07-02 13:25:40

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,601

Re: My onboard sound chip is not detected

The spec page indicates the lappy also has a modem, which also is not showing up in lspci output. I noticed this because a thread related to AD1981B had a modem as well, and mentioned the possibility of a resource conflict between the two. I have only a very vague recollection of the IRQ conflict days, so he may be talking out his arse for all I know. Anyway, you might check out the thread, but there aren't any similarities beyond AD1981B audio.

You could also check your kernel log and/or journal for any references to either device.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#3 2013-07-02 15:10:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,392

Re: My onboard sound chip is not detected

Could you repost your lspci output, but add the -nn switch?  ( lspci -nn )  ??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#4 2013-07-03 11:30:39

shandy
Member
Registered: 2013-07-02
Posts: 6

Re: My onboard sound chip is not detected

Here is my lspci -nn:

[shandy@localhost ~]$ lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3580] (rev 02)
00:00.1 System peripheral [0880]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3584] (rev 02)
00:00.3 System peripheral [0880]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3585] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)
00:02.1 Display controller [0380]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)
00:1d.0 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 03)
00:1d.1 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 03)
00:1d.2 USB controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 [8086:24c7] (rev 03)
00:1d.7 USB controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 03)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 83)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge [8086:24cc] (rev 03)
00:1f.1 IDE interface [0101]: Intel Corporation 82801DBM (ICH4-M) IDE Controller [8086:24ca] (rev 03)
00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 03)
02:04.0 CardBus bridge [0607]: Texas Instruments PCI7420 CardBus Controller [104c:ac8e]
02:04.2 FireWire (IEEE 1394) [0c00]: Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller [104c:802e]
02:04.3 Mass storage controller [0180]: Texas Instruments PCI7420/7620 Combo CardBus, 1394a-2000 OHCI and SD/MS-Pro Controller [104c:ac8f]
02:08.0 Ethernet controller [0200]: Intel Corporation 82801DB PRO/100 VE (MOB) Ethernet Controller [8086:103d] (rev 83)
02:0b.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)

I'm not really sure what to look for in the journal but here are some seemingly abnormal entries following a reboot, no idea if they are relevent:

Jul 02 14:25:29 localhost kernel: Notice: NX (Execute Disable) protection missing in CPU!
....
Jul 02 14:25:29 localhost kernel: PAT not supported by CPU.
....
Jul 02 14:25:29 localhost kernel: Local APIC disabled by BIOS -- you can enable it with "lapic"
Jul 02 14:25:29 localhost kernel: APIC: disable apic facility
Jul 02 14:25:29 localhost kernel: APIC: switched to apic NOOP
....
Jul 02 14:25:29 localhost kernel: smpboot: weird, boot CPU (#0) not listed by the BIOS
Jul 02 14:25:29 localhost kernel: smpboot: SMP motherboard not detected
Jul 02 14:25:29 localhost kernel: smpboot: Local APIC not detected. Using dummy APIC emulation.
.....
 Jul 02 14:25:29 localhost kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S1_] (20130117/hwxface-568)
Jul 02 14:25:29 localhost kernel: ACPI Exception: AE_NOT_FOUND, While evaluating Sleep State [\_S2_] (20130117/hwxface-568)
Jul 02 14:25:29 localhost kernel: ACPI: (supports S0 S3 S4 S5)
Jul 02 14:25:29 localhost kernel: ACPI: Using PIC for interrupt routing
Jul 02 14:25:29 localhost kernel: PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
...
Jul 02 14:25:29 localhost kernel: acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
...
Jul 02 14:25:29 localhost kernel: pci 0000:00:1f.0: quirk: [io  0x1000-0x107f] claimed by ICH4 ACPI/GPIO/TCO
Jul 02 14:25:29 localhost kernel: pci 0000:00:1f.0: quirk: [io  0x1180-0x11bf] claimed by ICH4 GPIO
.....
Jul 02 14:25:29 localhost kernel: pci_bus 0000:03: busn_res: can not insert [bus 03-ff] under [bus 02] (conflicts with (null) [bus 02])
Jul 02 14:25:29 localhost kernel: pci_bus 0000:03: busn_res: [bus 03-ff] end is updated to 06
Jul 02 14:25:29 localhost kernel: pci_bus 0000:03: busn_res: can not insert [bus 03-06] under [bus 02] (conflicts with (null) [bus 02])
Jul 02 14:25:29 localhost kernel: pci_bus 0000:03: [bus 03-06] partially hidden behind transparent bridge 0000:02 [bus 02]
Jul 02 14:25:29 localhost kernel: pci_bus 0000:00: on NUMA node 0
Jul 02 14:25:29 localhost kernel: acpi PNP0A03:00: ACPI _OSC support notification failed, disabling PCIe ASPM
Jul 02 14:25:29 localhost kernel: acpi PNP0A03:00: Unable to request _OSC control (_OSC support mask: 0x08)
.....
Jul 02 14:25:29 localhost kernel: pnp 00:05: Plug and Play ACPI device, IDs SNY6001 (disabled)
....
Jul 02 14:25:29 localhost kernel: ACPI: bus type PNP unregistered
...
Jul 02 14:25:29 localhost kernel: pci 0000:02:08.0: Firmware left e100 interrupts enabled; disabling
....
Jul 02 14:25:29 localhost kernel: firewire_ohci 0000:02:04.2: added OHCI v1.10 device as card 0, 4 IR + 8 IT contexts, quirks 0x2
....
Jul 02 14:25:30 localhost kernel: tsc: Marking TSC unstable due to TSC halts in idle
...
Jul 02 14:25:31 localhost kernel: intel_rng: FWH not detected
Jul 02 14:25:31 localhost kernel: ACPI Warning: 0x000011b0-0x000011bf SystemIO conflicts with Region \GPIO 1 (20130117/utaddress-251)
Jul 02 14:25:31 localhost kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Jul 02 14:25:31 localhost kernel: ACPI Warning: 0x00001180-0x000011af SystemIO conflicts with Region \GPIO 1 (20130117/utaddress-251)
Jul 02 14:25:31 localhost kernel: ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
Jul 02 14:25:31 localhost kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich
...
Jul 02 14:25:31 localhost kernel: ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 9
Jul 02 14:25:31 localhost kernel: ACPI Warning: 0x00001880-0x0000189f SystemIO conflicts with Region \_SB_.PCI0.SBUS.SBUS 1 (20130117/utaddress-251)
...
Jul 02 14:25:32 localhost kernel: ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
Jul 02 14:25:32 localhost kernel: ipw2200: Copyright(c) 2003-2006 Intel Corporation
Jul 02 14:25:32 localhost kernel: ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
Jul 02 14:25:32 localhost kernel: ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
Jul 02 14:25:32 localhost kernel: ipw2200: Unable to load firmware: -2
Jul 02 14:25:32 localhost kernel: microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
Jul 02 14:25:32 localhost kernel: ipw2200: probe of 0000:02:0b.0 failed with error -5

Does any of this seem relevent?  I'm not sure what I am looking for (note ... I have a wired connection working.  My wireless fails at the moment, but that will be the next thing to fix after sound)

Many thanks

PS: following from thread suggested by alphanina I tried the same command as in that thread, but I see no sound cards, not a modem listed as a sound card so looks to be a different problem.

[shandy@localhost ~]$ sudo cat /proc/asound/cards
[sudo] password for shandy: 
--- no soundcards ---

Offline

#5 2013-07-03 15:12:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,392

Re: My onboard sound chip is not detected

Okay, for starters, the AD1981B chip is just an AC-97 codec; in and of itself, it will not show up on your processor buses.  It uses an ac-link interface to communicate with something that is on your bus, such as the PCIe device on my system:

00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)

.  When the driver for the sound system starts, it talks through the sound controller to discover which codecs are downstream.

Unfortunately, you don't seem to have a sound controller on your PCI.
Sony has made some, er, interesting design decisions on their systems.  Lets look and see if they put it on the USB bus using lsusb


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Offline

#6 2013-07-03 22:59:50

shandy
Member
Registered: 2013-07-02
Posts: 6

Re: My onboard sound chip is not detected

here is my lsusb:

[shandy@localhost ~]$ sudo lsusb   
Bus 002 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 003 Device 002: ID 067b:2305 Prolific Technology, Inc. PL2305 Parallel Port
Bus 004 Device 002: ID 044e:3007 Alps Electric Co., Ltd Bluetooth Controller (ALPS/UGX)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

It makes a lot of sense what you said about the sound controller not being found, as nothing to do with sound seems to have been set up at all.  e.g. no asound.conf has been created.

This laptop was pretty leading edge for its day ... so it would figure that they may have made some 'innovative' design decisions that never became main stream.

That said .. no obvious usb entries either ... anywhere else i should look?
Thanks
shandy

Offline

#7 2013-07-03 23:28:18

shandy
Member
Registered: 2013-07-02
Posts: 6

Re: My onboard sound chip is not detected

Hmmm ... I found another instance of someone who got Debian Sarge working. 
http://farrand.net/sony-vgn-t1xp.shtml
He has posted some of his system files.

I see this in the dmesg:

Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
ACPI: PCI interrupt 0000:00:1f.5[B] -> GSI 9 (level, low) -> IRQ 9
PCI: Setting latency timer of device 0000:00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49469 usecs
intel8x0: clocking to 48000
ALSA device list:
  #0: Intel 82801DB-ICH4 with AD1981B at 0xe0100c00, irq 9

He has also posted his kernel conf but I can find no instance of audio or sound in there,

Does this give any clues?
Thanks

Offline

#8 2013-07-04 01:48:37

shandy
Member
Registered: 2013-07-02
Posts: 6

Re: My onboard sound chip is not detected

One other thing ... I don't see any entries from ALSA or Advanced Linux Sound Architecture in my dmesg ... is it somehow not getting triggered at all?
(In case it wasn't clear ... the dmesg in my previous post was from the other vgn-t1xp example .. not from mine!)

Offline

#9 2013-07-04 01:51:46

shandy
Member
Registered: 2013-07-02
Posts: 6

Re: My onboard sound chip is not detected

Also ... i read that irq handling changed between kernel 2 and kernel 3 ... would it be worth trying with a kernel 2 based install?  Can I do this with arch linux?

Offline

#10 2013-07-04 10:46:21

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 4,149

Re: My onboard sound chip is not detected

http://farrand.net/sony-vgn-t1xp.shtml and http://www.seismo.ethz.ch/static/linux/ … linux.html both state the audio uses the
intel8x0 module.
It seems possible udev / system don't detect your audiochip automagically , thus don't load that module.

Is that module loaded on your system ? ( lsmod | grep intel)

If not, try loading it manually with modprobe -v intel8x0

you may have to use a special parameter, "modinfo intel8x0" will show which parameters there are.


Booting with apg Openrc, NOT systemd.
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB