[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Microphone does not work on wheezy laptop.



Good time of the day, Camaleón.


Thank You for Your time and answer.
You wrote:

> >> head -n 1 /proc/asound/card0/codec*
> > 
> > head: cannot open `/proc/asound/card0/codec' for reading: No such
> > file or directory
> > 
> > What do I miss here?
> 
> I don't know... I just have run the above command from my wheezy 
> (installed in a netbook) and I got a reply ("codec: IDT 92HD88B1") :-?
> 
> Check if there's something of interest in the directory, try with:
> 
> ls -la /proc/asound/card[0-9]/*

That's what I get:
ls -la /proc/asound/card[0-9]/*
-r--r--r-- 1 root root 0 Aug  7 14:32 /proc/asound/card0/codec#0
-r--r--r-- 1 root root 0 Aug  7 14:32 /proc/asound/card0/codec#1
-r--r--r-- 1 root root 0 Aug  7 14:32 /proc/asound/card0/id
-rw-r--r-- 1 root root 0 Aug  7 14:32 /proc/asound/card0/oss_mixer

/proc/asound/card0/pcm0c:
dr-xr-xr-x 3 root root 0 Aug  7 14:32 .
dr-xr-xr-x 4 root root 0 Aug  7 14:32 ..
-r--r--r-- 1 root root 0 Aug  7 14:32 info
-rw-r--r-- 1 root root 0 Aug  7 14:32 oss
dr-xr-xr-x 2 root root 0 Aug  7 14:32 sub0

/proc/asound/card0/pcm0p:
dr-xr-xr-x 3 root root 0 Aug  7 14:32 .
dr-xr-xr-x 4 root root 0 Aug  7 14:32 ..
-r--r--r-- 1 root root 0 Aug  7 14:32 info
-rw-r--r-- 1 root root 0 Aug  7 14:32 oss
dr-xr-xr-x 2 root root 0 Aug  7 14:32 sub0

cat /proc/asound/card0/codec#0
Codec: Conexant ID 2bfa
Address: 0
MFG Function Id: 0x2 (unsol 1)
Vendor Id: 0x14f12bfa
Subsystem Id: 0x14f100c3
Revision Id: 0x90000
Modem Function Group: 0x2

Any ideas? :o)
 
> And also run "aplay -l".

Oh, it's better:

**** List of PLAYBACK Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

That gives us same

dell-m26

module from
<http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt>.

> >> http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt
> > 
> > I have searched through the list for "HDA-Intel" - but did not find
> > it,
> 
> Before going to the list of HD Intel codecs and select one, you have 
> first to know what codec uses your soundcard :-)

OK :o)
 
> > but at the same time I have found corresponding line for my laptop
> > model, so I've got the module is called
> > 
> > dell-m26
> 
> Oh, good catch, you can try with that but do you really have an
> "Inspiron 1501"? :-?

I do! :o) I have told it is an old laptop that works very well still.

> > Now, where should I put it? Can You bring here the line example?
> 
> This has to be placed in "/etc/modprobe.d/alsa-base.conf", at the end
> of the file add new line similar to this:
> 
> options snd-hda-intel enable=1 index=0 model=dell-m26 

Thank You very much! - What did You check to find out that
"snd-hda-intel" should be specified here? - I understand that
"HDA-Intel" tells about this - but what about exact "snd-hda-intel"
cypher? :o)

> After editing the file restart the alsa service or reboot, which is 
> usually easier.

I have done as You said:

cat /etc/modprobe.d/alsa-base.conf
# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7
# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe
--quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; } install
snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi &&
{ /sbin/modprobe --quiet snd-seq-midi ; : ; } install
snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 &&
{ /sbin/modprobe --quiet snd-emu10k1-synth ; : ; }

# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
options snd-hda-intel enable=1 index=0 model=dell-m26

Then rebooted, but w/o luck:

amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 27 [87%] [-6.00dB] [on]
  Front Right: Playback 27 [87%] [-6.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 110 [43%] [-29.00dB]
  Front Right: Playback 110 [43%] [-29.00dB]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Digital',0
  Capabilities: cvolume penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 0 [0%] [-30.00dB]
  Front Right: Capture 0 [0%] [-30.00dB]
Simple mixer control 'Mux',0
  Capabilities: cvolume
penum Capture channels: Front Left - Front
Right Limits: Capture 0 -
4 Front Left: Capture 0 [0%]
[0.00dB] Front Right: Capture 0 [0%] [0.00dB] 

- no mic. nor mic. working. :o(

> (if there's already a line starting with "options snd-hda-intel ..."
> just append the "model=dell-m26" parameter and keep the rest as is)

No, there was not.

> > My kernel is 3.2.0-3-amd64.
> 
> The most recent kernel version is usually the better for hardware 
> support :-)

I think the same. :o)

> > Opposite, it is old laptop. And the situation w/ mic was ever that
> > way. I'm just trying again to make it working.
> 
> Mmm... if it was working before the chances that the card is still 
> supported are higher. It could be just that now it requires some
> tweaking or specific settings to make it to work :-?

Hmm. I do not think the lap. is too old that the code will be removed
from kernel/ALSA to support the HW. You know at the time laptop was new
and latter - I thought, When will kernel support my mic. ? And You say
it is old. I think it is misconfiguration on ALSA/whatever side that
withheld mic. from working rather than a support issue.

If You will not get borried w/ the thread, I will supply any info
needed in order to solve the mic. problem.

Again. thank You!


Sthu.


Reply to: