Skip to contentSkip to conversation

New BIOS, new vendor and device IDs

DISCUSSION Chris Pemberton 2 participants 7 messages Oct 17, 2008

lore
Share & tools
lore
#0 lore raw

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work.
Built-in mic works.
External mic works
Headphones work; but automatic speaker muting does not.

I tried to debug why I needed this module option at all, several months ago (old BIOS), but I didn't get far and just became complacent with using the module option.

If anyone is interested, I'll do what I can to help debug. It would be nice to be able to use Skype with headphones...

Output of the alsa info script is at:
http://www.alsa-project.org/db/?f=701ca6efa0500080dc78a555813f66c1d42096e6
That is with driver 1.0.17. I'll try to update to the latest snapshot and run the script again.

Thanks,

Chris

#1 lore raw
Quoted 22 lines · Chris Pemberton

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work. Built-in mic works. External mic works Headphones work; but automatic speaker muting does not.
I tried to debug why I needed this module option at all, several months ago (old BIOS), but I didn't get far and just became complacent with using the module option.

If anyone is interested, I'll do what I can to help debug. It would be nice to be able to use Skype with headphones...

Output of the alsa info script is at:
http://www.alsa-project.org/db/?f=701ca6efa0500080dc78a555813f66c1d42096e6

Quoted 7 lines

That is with driver 1.0.17. I'll try to update to the latest snapshot and run the script again.

Thanks,

Chris

Well, forget everything I said about the BIOS and new device ids: I was mistaken.

Running "lspci -nnvv" gives the following:

00:1b.0 Audio device [0403]: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller [8086:27d8] (rev 02)
*Subsystem: Lenovo Device [17aa:2066]*
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 22
Region 0: Memory at d0340000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel

I mistakenly thought "lspci -nn" was the correct command. This gave the vendor info, not the device into. Sorry for the noise. I feel like a tool.

But, I'd still like to help debug the headphone jack sensing and module option if possible.

Chris

#2 lore raw
In reply to Chris Pemberton

At Thu, 16 Oct 2008 21:51:27 -0500,

Quoted 7 lines · Chris Pemberton

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

Quoted 7 lines

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work.
Built-in mic works.
External mic works
Headphones work; but automatic speaker muting does not.

3stack model doesn't do auto-muting by design.
Try without any model option with the latest driver below,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
If the auto-probing still doesn't work, you can try first model=lenovo.

thanks,

Takashi

#3 lore raw
Quoted 24 lines · Takashi Iwai

At Thu, 16 Oct 2008 21:51:27 -0500,

Quoted 6 lines · Chris Pemberton

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

Quoted 8 lines

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work.
Built-in mic works.
External mic works
Headphones work; but automatic speaker muting does not.

3stack model doesn't do auto-muting by design.
Try without any model option with the latest driver below,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
If the auto-probing still doesn't work, you can try first model=lenovo.

Quoted 5 lines

thanks,

Takashi

Updated to latest alsa-driver snapshot; configured with full debug support.

Results:

auto-probing:  no sound
model=lenovo:  no sound 
model=3stack:  sound works as described previously (no auto-muting)

Results of alsa-info script (latest driver snapshot):
auto-probe:
http://www.alsa-project.org/db/?f=66f43ddfdabc4b48b9e5c50f9a792d2fcb775905
model=lenovo:
http://www.alsa-project.org/db/?f=5e082f9a1361d28c187ae3eba21605de8196e4aa
model=3stack:
http://www.alsa-project.org/db/?f=410592e40da7324d76a39e1b201beb2436a9a96b

Thanks,

Chris

#4 lore raw

At Fri, 17 Oct 2008 09:44:17 -0500,

Quoted 28 lines · Chris Pemberton
Quoted 26 lines · Takashi Iwai

At Thu, 16 Oct 2008 21:51:27 -0500,

Quoted 6 lines · Chris Pemberton

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

Quoted 8 lines

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work.
Built-in mic works.
External mic works
Headphones work; but automatic speaker muting does not.

3stack model doesn't do auto-muting by design.
Try without any model option with the latest driver below,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
If the auto-probing still doesn't work, you can try first model=lenovo.

thanks,

Quoted 7 lines
Quoted 3 lines

Takashi

Updated to latest alsa-driver snapshot; configured with full debug support.

Results:
auto-probing: no sound

OK, it means that the BIOS setup is still broken... or there is still a bug in auto-probing code.

The snapshot tarball has HEAD and alsa-kernel/HEAD files to indicate the recent commits. What do they show?

Quoted 10 lines
model=lenovo:  no sound 
model=3stack:  sound works as described previously (no auto-muting)

Results of alsa-info script (latest driver snapshot):
auto-probe:
http://www.alsa-project.org/db/?f=66f43ddfdabc4b48b9e5c50f9a792d2fcb775905
model=lenovo:
http://www.alsa-project.org/db/?f=5e082f9a1361d28c187ae3eba21605de8196e4aa
model=3stack:
http://www.alsa-project.org/db/?f=410592e40da7324d76a39e1b201beb2436a9a96b

Please post the files (run with --no-upload option) than pasting the URL...

thanks,

Takashi

#5 lore raw
Quoted 61 lines · Takashi Iwai

At Fri, 17 Oct 2008 09:44:17 -0500,

Quoted 29 lines · Chris Pemberton
Quoted 27 lines · Takashi Iwai

At Thu, 16 Oct 2008 21:51:27 -0500,

Quoted 6 lines · Chris Pemberton

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

Quoted 9 lines

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work.
Built-in mic works.
External mic works
Headphones work; but automatic speaker muting does not.

3stack model doesn't do auto-muting by design.
Try without any model option with the latest driver below,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
If the auto-probing still doesn't work, you can try first model=lenovo.

thanks,

Quoted 9 lines
Quoted 4 lines

Takashi

Updated to latest alsa-driver snapshot; configured with full debug support.

Results:
auto-probing: no sound

OK, it means that the BIOS setup is still broken... or there is still a bug in auto-probing code.

The snapshot tarball has HEAD and alsa-kernel/HEAD files to indicate the recent commits. What do they show?

Quoted 11 lines
model=lenovo:  no sound 
model=3stack:  sound works as described previously (no auto-muting)

Results of alsa-info script (latest driver snapshot):
auto-probe:
http://www.alsa-project.org/db/?f=66f43ddfdabc4b48b9e5c50f9a792d2fcb775905
model=lenovo:
http://www.alsa-project.org/db/?f=5e082f9a1361d28c187ae3eba21605de8196e4aa
model=3stack:
http://www.alsa-project.org/db/?f=410592e40da7324d76a39e1b201beb2436a9a96b

Quoted 9 lines

Please post the files (run with --no-upload option) than pasting the URL...

thanks,

Takashi

HEAD:

96f7fb25cfed645d0b76cbe3ab506ed06d8a3764 Fix patches for device_create() updates
3d81866ee2022dad07ffb020a9892067c7d32673 Mark CONFIG_SND_JACK as 2.6.27 or later
5c8695e2c9a9440ebdaf9af13215977af2b069bc Add missing jack.c build stub dbae2ea3627142cb382e6f5a2a7ade02a8502a09 Add pci/hda/patch_nvhdmi.c build stub
3943d3e5994e4b27faf3b113dd00bfd77fcaaeee add print_hex_dump_bytes() wrapper 2bb9d53803f2383489d62bc405061864668ebfe6 Release v1.0.18rc3 c30e34d7099dd4e5d3243f22dd816a80f126ce17 Add soc/blackfin build stub 45a5d457816b81130d7fd8a2268441a71b69a6cf Regenerated pcm_native.patch 1821e39988d1999ffaa8f04133eb0cb6afbdb6c3 soc - Add a workaround for incompatible debugfs
d3dc16875ee12dae0522f54e8a846af5b42119ab Add patches for sparc/*.c

alsa-kernel/HEAD:

c41ec26f49e4dd714ec4fbb7d7c85e14b49f9672 Merge branch 'upstream' 2e532d68a2b3e2aa6b19731501222069735c741c {pci,pnp} quirks.c: don't use deprecated print_fn_descriptor_symbol() 52ad096465d60ee7fdc99583f969a99a1166c7c3 Merge
git://git.linux-nfs.org/projects/trondmy/nfs-2.6
8cde1ad6683f8738ad71f788dca8ab4810cf5afe Merge branch 'sched-fixes-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
6bb7a935489dab20802dde6c2cb7d8582f4849bf Merge branch 'for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
08d19f51f05a68ce89a289320ce4ed96e757df72 Merge branch 'kvm-updates/2.6.28' of
git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
1c95e1b69073cff5ff179e592fa1a1e182c78a17 Fix kernel/softirq.c printk format warning properly e533b227055598b1f7dc8503a3b4f36b14b9da8a Merge branch 'core-v28-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
0999d978dcdcf59350dafa25afd70def9f924eee Merge branch 'x86-fixes-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
70a3075d40154053ad90d342b3dcb1b795c73dbb FRV: Eliminate NULL test and memset after alloc_bootmem

Chris

#6 lore raw

At Fri, 17 Oct 2008 11:03:56 -0500,

Quoted 106 lines · Chris Pemberton
Quoted 61 lines · Takashi Iwai

At Fri, 17 Oct 2008 09:44:17 -0500,

Quoted 29 lines · Chris Pemberton
Quoted 27 lines · Takashi Iwai

At Thu, 16 Oct 2008 21:51:27 -0500,

Quoted 6 lines · Chris Pemberton

My machine is a Lenovo 3000 N100 laptop (0768 model). I had to recently update the BIOS.

Old BIOS: lspci -> device id: [17aa:2066] which is a Realtek ALC861VD (found in patch_realtek.c)

Quoted 9 lines

New BIOS: lspci -> device id: [8086:27d8] (found in hda_intel.c)

In both cases, I use the module option "model=3stack" to get sound working:
Laptop speakers work.
Built-in mic works.
External mic works
Headphones work; but automatic speaker muting does not.

3stack model doesn't do auto-muting by design.
Try without any model option with the latest driver below,
ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.gz
If the auto-probing still doesn't work, you can try first model=lenovo.

thanks,

Quoted 9 lines
Quoted 4 lines

Takashi

Updated to latest alsa-driver snapshot; configured with full debug support.

Results:
auto-probing: no sound

OK, it means that the BIOS setup is still broken... or there is still a bug in auto-probing code.

The snapshot tarball has HEAD and alsa-kernel/HEAD files to indicate the recent commits. What do they show?

Quoted 11 lines
model=lenovo:  no sound 
model=3stack:  sound works as described previously (no auto-muting)

Results of alsa-info script (latest driver snapshot):
auto-probe:
http://www.alsa-project.org/db/?f=66f43ddfdabc4b48b9e5c50f9a792d2fcb775905
model=lenovo:
http://www.alsa-project.org/db/?f=5e082f9a1361d28c187ae3eba21605de8196e4aa
model=3stack:
http://www.alsa-project.org/db/?f=410592e40da7324d76a39e1b201beb2436a9a96b

Quoted 9 lines

Please post the files (run with --no-upload option) than pasting the URL...

thanks,

Takashi

HEAD:

96f7fb25cfed645d0b76cbe3ab506ed06d8a3764 Fix patches for device_create() updates
3d81866ee2022dad07ffb020a9892067c7d32673 Mark CONFIG_SND_JACK as 2.6.27 or later
5c8695e2c9a9440ebdaf9af13215977af2b069bc Add missing jack.c build stub dbae2ea3627142cb382e6f5a2a7ade02a8502a09 Add pci/hda/patch_nvhdmi.c build stub
3943d3e5994e4b27faf3b113dd00bfd77fcaaeee add print_hex_dump_bytes() wrapper 2bb9d53803f2383489d62bc405061864668ebfe6 Release v1.0.18rc3 c30e34d7099dd4e5d3243f22dd816a80f126ce17 Add soc/blackfin build stub 45a5d457816b81130d7fd8a2268441a71b69a6cf Regenerated pcm_native.patch 1821e39988d1999ffaa8f04133eb0cb6afbdb6c3 soc - Add a workaround for incompatible debugfs
d3dc16875ee12dae0522f54e8a846af5b42119ab Add patches for sparc/*.c

alsa-kernel/HEAD:

c41ec26f49e4dd714ec4fbb7d7c85e14b49f9672 Merge branch 'upstream' 2e532d68a2b3e2aa6b19731501222069735c741c {pci,pnp} quirks.c: don't use deprecated print_fn_descriptor_symbol() 52ad096465d60ee7fdc99583f969a99a1166c7c3 Merge
git://git.linux-nfs.org/projects/trondmy/nfs-2.6
8cde1ad6683f8738ad71f788dca8ab4810cf5afe Merge branch 'sched-fixes-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
6bb7a935489dab20802dde6c2cb7d8582f4849bf Merge branch 'for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
08d19f51f05a68ce89a289320ce4ed96e757df72 Merge branch 'kvm-updates/2.6.28' of
git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm
1c95e1b69073cff5ff179e592fa1a1e182c78a17 Fix kernel/softirq.c printk format warning properly

Quoted 8 lines

e533b227055598b1f7dc8503a3b4f36b14b9da8a Merge branch 'core-v28-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
0999d978dcdcf59350dafa25afd70def9f924eee Merge branch 'x86-fixes-for-linus' of
git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
70a3075d40154053ad90d342b3dcb1b795c73dbb FRV: Eliminate NULL test and memset after alloc_bootmem

Good, it looks like a fairly new one.

Takashi