LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Webcam integrated microphone in dv6-3013nr (http://www.linuxquestions.org/questions/linux-hardware-18/webcam-integrated-microphone-in-dv6-3013nr-890828/)

photoelectricgeek 07-09-2011 02:59 PM

Webcam integrated microphone in dv6-3013nr
 
Hello and thanks ahead of time for your help.

I'm running Ubuntu 11.04 on my HP dv6-3013nr that came with Windows 7 64-bit.(now it's simply a linux system)

Product Spec's from HP website

I was setting up google video chat and discovered that the internal webcam worked fine but the microphone either wasn't being recognized or wasn't receiving input for some reason. I tried recording in the default sound recorder app that comes with Ubuntu with the same result.

My first thought was to check the HP website for drivers, but in the specifications I saw that my laptop has a, "HP TrueVision Webcam with integrated digital microphone," and there was nothing more than webcam drivers listed.

I'm not sure where to go from here, but I guess that's why I made a forum post; any ideas?

P.S. (The webcam runs perfectly fine regarding video)

Peacedog 07-09-2011 07:21 PM

Hi photoelectricgeek, Welcome to LQ. It's likely a matter of telling the software which device to use for recording or input. Please post the output from the following.

Code:

$ sudo cat /proc/asound/card0/codec#* | grep Codec
$ arecord -l

Good luck. ;-)

photoelectricgeek 07-09-2011 08:36 PM

1 Attachment(s)
Quote:

patrick@dv6-3013nr:~$ sudo cat /proc/asound/card0/codec#* | grep Codec
[sudo] password for patrick:
Codec: IDT 92HD81B1X5
patrick@dv6-3013nr:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: SB [HDA ATI SB], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Output attached as a png

Sorry for the delayed response, I've been doing some stuff around the house and didn't get the notification but it's not a huge rush. No outstanding need for the mic just yet but I'd like to get it up and running.

Peacedog 07-09-2011 09:59 PM

Okay, looks like your mic is card 0, device 0. Can you record from any application?

Good luck. ;-)

photoelectricgeek 07-09-2011 10:45 PM

Well I've tried recording in sound recorder and gmail's voice chat but I'll download audacity and see if it records.

EDIT: Audacity didn't work either. Still no sound.

Peacedog 07-10-2011 07:59 AM

Sounds (no pun intended) like your mic just isn't configured. Please post the output from the following.

Code:

$ cat /etc/modprobe.d/alsa-base.conf
What does alsamixer or any mixer say about the mic?

Good luck. ;-)

photoelectricgeek 07-10-2011 03:40 PM

I would post the output but after running that code the mic worked. :)

Thanks for the help.

Peacedog 07-11-2011 10:00 PM

Glad you got it sorted.

Good luck. ;-)

photoelectricgeek 07-13-2011 12:29 PM

weird.
The mic was working fine after I ran some of those things you told me to enter in Terminal but now after a system restart it's no longer recognizing the microphone in chrome or the sound recorders.

Here's the output to the last code you gave...

Quote:

patrick@dv6-3013nr:~$ 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 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being 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

Peacedog 07-14-2011 06:22 PM

Try adding one of the following options to /etc/modprobe.d/alsa-base.conf

Code:

options snd-hda-intel model=ref
options snd-hda-intel model=auto
options snd-hda-intel model=hp

Add each option one at a time to see if any of those work. After each change, restart, the open alsamixer and see what's working. If any of these work, you can stop there.

Good luck. ;-)

Jimi-James 07-21-2012 07:52 PM

I have the exact same problem with the exact same webcam (on an HP Touchsmart tm2-2150us) and the exact same terminal output, with one difference: my mic didn't randomly start working again after typing those commands. I tried the instructions in the post above mine, but they didn't work for me. They all changed what was in alsamixer, but my mic still failed to record no matter what settings I set the new channels to.

I'm running Kubuntu 12.04, and my mic did work in 11.04.

Peacedog 08-02-2012 09:44 PM

Hi Jimi-James, Welcome to LQ. Sorry it took so long to get back to you here. Could you please post the results from the commands in the above posts #2 & #6?

Good luck. ;-)

Jimi-James 08-02-2012 09:52 PM

Code:

~$ sudo cat /proc/asound/card0/codec#* | grep Codec
Codec: IDT 92HD81B1X5
Codec: Intel IbexPeak HDMI
jimi@Death-Book:~$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
~$ 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 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-ioctl32 ; /sbin/modprobe --quiet --use-blacklist snd-seq ; }
#
# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-pcm-oss ; : ; }
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-mixer-oss ; : ; }
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; /sbin/modprobe --quiet --use-blacklist snd-seq-oss ; : ; }
#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq-midi ; : ; }
# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-emu10k1-synth ; }
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist snd-seq ; }

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && { /sbin/modprobe --quiet --use-blacklist saa7134-alsa ; : ; }
# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-ua101 index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
~$


Peacedog 08-03-2012 08:29 PM

Try adding the following to the end of /etc/modprobe.d/alsa-base.conf

Code:

options snd-hda-intel model=auto
Save and close the file, then restart the services or reboot and see if you have any additional mixer options for the mic.

Good luck. ;-)

Jimi-James 08-03-2012 08:51 PM

I don't have any additional mixer options when I do that (I did press F4 to see the capture devices).


All times are GMT -5. The time now is 10:13 PM.