lenovo 3000 N100 -- driver loads, but no audio

Asked by Sam Green

I have a model 0768 A53 with a fresh install (plus updates) of Edgy.

I unsuccessfully tried rebooting after setting /etc/modprobe.d/options to
options snd-hda-intel model=laptop-eapd
and
options snd-hda-intel

I unsuccessfully tried all the paths at https://help.ubuntu.com/community/SoundTroubleshooting.

Finally, I removed then installed my sound from a fresh kernel.
sudo apt-get --purge remove linux-sound-base alsa-base alsa-utils
sudo apt-get install linux-sound-base alsa-base alsa-utils

I also reset /etc/modprob.d/options, so everything should be at the clean state.

My modem is enabled in BIOS.

Here are my current stats:

$ tail -2 /proc/asound/oss/sndstat
mixers:
0: realtek id 862

$ amixer -c0
simple mixer control 'master',0
  capabilities: pvolume
  playback channels: front left - front right
  limits: playback 0 - 64
  mono:
  front left: playback 64 [100%]
  front right: playback 64 [100%]
simple mixer control 'pcm',0
  capabilities: pvolume
  playback channels: front left - front right
  limits: playback 0 - 255
  mono:
  front left: playback 255 [100%]
  front right: playback 255 [100%]
simple mixer control 'capture',0
  capabilities: cvolume cswitch
  capture channels: front left - front right
  limits: capture 0 - 31
  front left: capture 22 [71%] [on]
  front right: capture 22 [71%] [on]

$ aplay -l
**** list of playback hardware devices ****
card 0: intel [hda intel], device 0: hda generic [hda generic]
  subdevices: 1/1
  subdevice #0: subdevice #0

$ lsmod | grep snd*
snd_hda_intel 20116 1
snd_hda_codec 164608 1 snd_hda_intel
snd_pcm_oss 47360 0
snd_mixer_oss 19584 1 snd_pcm_oss
snd_pcm 84612 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer 25348 1 snd_pcm
snd 58372 8 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 11232 1 snd
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm

$ modinfo snd-hda-intel
filename: /lib/modules/2.6.17-11-generic/kernel/sound/pci/hda/snd-hda-intel.ko
license: gpl
description: intel hda driver
vermagic: 2.6.17-11-generic smp mod_unload 586 regparm gcc-4.1
depends: snd-pcm,snd-page-alloc,snd-hda-codec,snd
alias: pci:v00008086d00002668sv*sd*bc*sc*i*
alias: pci:v00008086d000027d8sv*sd*bc*sc*i*
alias: pci:v00008086d0000269asv*sd*bc*sc*i*
alias: pci:v00008086d0000284bsv*sd*bc*sc*i*
alias: pci:v00001002d0000437bsv*sd*bc*sc*i*
alias: pci:v00001002d00004383sv*sd*bc*sc*i*
alias: pci:v00001002d0000793bsv*sd*bc*sc*i*
alias: pci:v00001106d00003288sv*sd*bc*sc*i*
alias: pci:v00001039d00007502sv*sd*bc*sc*i*
alias: pci:v000010b9d00005461sv*sd*bc*sc*i*
alias: pci:v000010ded0000026csv*sd*bc*sc*i*
alias: pci:v000010ded00000371sv*sd*bc*sc*i*
srcversion: 31ca0c84834dee3882349d3
parm: enable:bool
parm: single_cmd:use single command to communicate with codecs (for debugging only). (bool)
parm: probe_mask:bitmask to probe codecs (default = -1). (int)
parm: position_fix:fix dma pointer (0 = auto, 1 = none, 2 = posbuf, 3 = fifo size). (int)
parm: model:use the given board model. (charp)
parm: id:id string for intel hd audio interface. (charp)
parm: index:index value for intel hd audio interface. (int)

$ head -5 /proc/asound/card0/codec#0
codec: realtek id 862
address: 0
vendor id: 0x10ec0862
subsystem id: 0x17aa8e2d
revision id: 0x100001

$ lspci -v
00:1b.0 audio device: intel corporation 82801g (ich7 family) high definition audio controller (rev 02)
        subsystem: lenovo unknown device 2066
        flags: bus master, fast devsel, latency 0, irq 225
        memory at d0340000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

$ lspci -nv
00:00.0 0600: 8086:27a0 (rev 03)
        Subsystem: 17aa:2061
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

00:02.0 0300: 8086:27a2 (rev 03)
        Subsystem: 17aa:2062
        Flags: bus master, fast devsel, latency 0, IRQ 177
        Memory at d0200000 (32-bit, non-prefetchable) [size=512K]
        I/O ports at 1800 [size=8]
        Memory at c0000000 (32-bit, prefetchable) [size=256M]
        Memory at d0300000 (32-bit, non-prefetchable) [size=256K]
        Capabilities: <access denied>

00:02.1 0380: 8086:27a6 (rev 03)
        Subsystem: 17aa:2062
        Flags: bus master, fast devsel, latency 0
        Memory at d0280000 (32-bit, non-prefetchable) [size=512K]
        Capabilities: <access denied>

00:1b.0 0403: 8086:27d8 (rev 02)
        Subsystem: 17aa:2066
        Flags: bus master, fast devsel, latency 0, IRQ 225
        Memory at d0340000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

00:1c.0 0604: 8086:27d0 (rev 02)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Capabilities: <access denied>

00:1c.1 0604: 8086:27d2 (rev 02)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        Memory behind bridge: d0000000-d00fffff
        Capabilities: <access denied>

00:1d.0 0c03: 8086:27c8 (rev 02)
        Subsystem: 17aa:206b
        Flags: bus master, medium devsel, latency 0, IRQ 217
        I/O ports at 1820 [size=32]

00:1d.1 0c03: 8086:27c9 (rev 02)
        Subsystem: 17aa:206c
        Flags: bus master, medium devsel, latency 0, IRQ 209
        I/O ports at 1840 [size=32]

00:1d.2 0c03: 8086:27ca (rev 02)
        Subsystem: 17aa:206d
        Flags: bus master, medium devsel, latency 0, IRQ 233
        I/O ports at 1860 [size=32]

00:1d.3 0c03: 8086:27cb (rev 02)
        Subsystem: 17aa:206e
        Flags: bus master, medium devsel, latency 0, IRQ 177
        I/O ports at 1880 [size=32]

00:1d.7 0c03: 8086:27cc (rev 02) (prog-if 20)
        Subsystem: 17aa:206f
        Flags: bus master, medium devsel, latency 0, IRQ 217
        Memory at d0544000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>

00:1e.0 0604: 8086:2448 (rev e2) (prog-if 01)
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=09, sec-latency=32
        I/O behind bridge: 00002000-00002fff
        Memory behind bridge: d0100000-d01fffff
        Prefetchable memory behind bridge: 0000000050000000-0000000051f00000
        Capabilities: <access denied>

00:1f.0 0601: 8086:27b9 (rev 02)
        Subsystem: 17aa:2071
        Flags: bus master, medium devsel, latency 0
        Capabilities: <access denied>

00:1f.2 0101: 8086:27c4 (rev 02) (prog-if 80)
        Subsystem: 17aa:2072
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 209
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at 18b0 [size=16]
        Capabilities: <access denied>

00:1f.3 0c05: 8086:27da (rev 02)
        Subsystem: 17aa:2073
        Flags: medium devsel, IRQ 10
        I/O ports at 18c0 [size=32]

03:00.0 0280: 14e4:4311 (rev 01)
        Subsystem: 14e4:0465
        Flags: bus master, fast devsel, latency 0, IRQ 169
        Memory at d0000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>

05:01.0 0200: 10ec:8139 (rev 10)
        Subsystem: 17aa:2074
        Flags: bus master, medium devsel, latency 64, IRQ 50
        I/O ports at 2000 [size=256]
        Memory at d0100000 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

05:04.0 0607: 1524:1410 (rev 01)
        Subsystem: 17aa:2075
        Flags: bus master, medium devsel, latency 168, IRQ 177
        Memory at d0102000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=05, secondary=06, subordinate=09, sec-latency=176
        Memory window 0: 50000000-51fff000 (prefetchable)
        Memory window 1: 52000000-53fff000
        I/O window 0: 00002400-000024ff
        I/O window 1: 00002800-000028ff
        16-bit legacy interface ports at 0001

05:06.0 0c00: 1180:0832 (prog-if 10)
        Subsystem: 17aa:2076
        Flags: bus master, medium devsel, latency 64, IRQ 225
        Memory at d0100800 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>

05:06.1 0805: 1180:0822 (rev 19)
        Subsystem: 17aa:2077
        Flags: bus master, medium devsel, latency 64, IRQ 217
        Memory at d0100400 (32-bit, non-prefetchable) [size=256]
        Capabilities: <access denied>

05:06.2 0880: 1180:0843 (rev 01)
        Subsystem: 17aa:2078
        Flags: medium devsel, IRQ 5
        Memory at d0101000 (32-bit, non-prefetchable) [disabled] [size=256]
        Capabilities: <access denied>

05:06.3 0880: 1180:0592 (rev 0a)
        Subsystem: 17aa:2079
        Flags: medium devsel, IRQ 5
        Memory at d0101400 (32-bit, non-prefetchable) [disabled] [size=256]
        Capabilities: <access denied>

05:06.4 0880: 1180:0852 (rev 05)
        Subsystem: 17aa:207a
        Flags: medium devsel, IRQ 5
        Memory at d0101800 (32-bit, non-prefetchable) [disabled] [size=256]
        Capabilities: <access denied>

Thanks,
Sam

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu alsa-driver Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Stephen Touset (stephen-touset) said :
#1

Try doing the following:

  $ modprobe -r snd-hda-intel
  $ modprobe snd-hda-intel

I have a similar problem on my laptop, and removing/reinstalling the module after the laptop is booted inexplicably seems to work.

Best of luck.

Revision history for this message
Sam Green (sgreen) said :
#2

I can not remove the module:
$ sudo modprobe -r snd-hda-intel
FATAL: Module snd_hda_intel is in use.

Indeed, it is:
$ lsmod | grep snd_hda_intel
snd_hda_intel 20116 4
snd_hda_codec 164608 1 snd_hda_intel
snd_pcm 84612 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd 58372 12 snd_hda_intel, snd_hda_codec, snd_pcm_oss, snd_mixer_oss, snd_pcm, snd_timer
snd_page_alloc 11400 2 snd_hda_intel,snd_pcm

Thanks,
Sam

p.s. I see that in the above post I should have run lspci as su:

$ sudo lspci -v
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
        Subsystem: Lenovo Unknown device 2066
        Flags: bus master, fast devsel, latency 0, IRQ 233
        Memory at d0340000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)
..

$ sudo lspci -nv
00:1b.0 0403: 8086:27d8 (rev 02)
        Subsystem: 17aa:2066
        Flags: bus master, fast devsel, latency 0, IRQ 233
        Memory at d0340000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [50] Power Management version 2
        Capabilities: [60] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
        Capabilities: [70] Express Unknown type IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [130] Unknown (5)
..

Revision history for this message
Denes Kiss (kiss-denes) said :
#3

I have Lenovo 3000 C200 with the same sound chip and I have no sound either.
I think the driver cannot initialize the sound chip, because I get an error message:
# aplay Noise.wav
ALSA lib pcm_direct.c:819:(snd_pcm_direct_initialize_slave) snd_pcm_hw_params_any failed
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to initialize slave

Denes

Revision history for this message
Sam Green (sgreen) said :
#4

Hi Denes, thanks for the email.

My driver is initializing and the computer is playing the file, but there is no sound :(

$ aplay sound.mp3
Playing raw data 'sound.mp3' : Unsigned 8 bit, Rate 8000 Hz, Mono

It's as if my computer is muted, but a look at amixer shows me that it is not.

./Sam

Revision history for this message
Denes Kiss (kiss-denes) said :
#5

Hello Sam,
I tried: apci=ht, many options, the latest alsa driver, and the linux driver from the Realtek.
The opeSUSE 10.2 does not work too. Everything seems to be good, but no sound at all.
Only the XP can work with this Realtek chip. But it uses original Realtek driver.
I think it is a kompatibility problem.
With regards: Denes

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#6

Taked from http://divilinux.netsons.org/index.php/archives/642

Please open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo sh -c 'echo options snd-hda-intel model=lenovo >>/etc/modprobe.d/alsa-base'

give your user password when requested, you don't see nothing when you type it, then press enter.

Reboot your pc and try.

Hope this helps

Can you help with this problem?

Provide an answer of your own, or ask Sam Green for more information if necessary.

To post a message you must log in.