LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2010, 12:10 PM   #1
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Rep: Reputation: 0
Mic and Camera not working in UBUNTU


Hello!
Yesterday i installed UBUNTU Linux to my laptop, but my webcamera and mic not working in UBUNTU.
I checked sound settings, is all unmute. I downloaded GNOME Alsa MIxer, PulseAudio etc but nothing happened...

I read other topics, someone said to type that commands (may be helpful to understand any problem i have -?-)
"cat /proc/asound/card0/codec#* | grep Codec"--> Codec: Realtek ALC275
"cat /etc/modprobe.d/alsa-base" --> cat /etc/modprobe.d/alsa-base: No such file or directory

Anyone help me please?
 
Old 12-08-2010, 06:07 PM   #2
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
savvas999

Let's start with the sound card. Are you getting sound? I am assuming, yes.

So, open a terminal/console and enter
Code:
:~$ alsamixer
That is a commandline soundcard control. Your arrow keys will move you back and forth. The 'm' key will mute and unmute the different channels. You may find your mic is muted.
 
1 members found this post helpful.
Old 12-09-2010, 12:03 PM   #3
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Yea im getting sound.
I entered command "alsamixer", but its all ok (mic etc)...

Any other suggestion please ?
 
Old 12-09-2010, 12:13 PM   #4
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
what version of ubuntu are you using?

open a terminal/console run and post the output of

lspci

and

lsusb

Let's see what the hardware is
 
1 members found this post helpful.
Old 12-09-2010, 01:33 PM   #5
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Im using Ubuntu 10.10

Output of "lspci" is:
Code:
00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 330M] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
02:00.0 Network controller: Intel Corporation Centrino Advanced-N 6200 (rev 35)
03:00.0 SD Host controller: Ricoh Co Ltd Device e822
03:00.1 System peripheral: Ricoh Co Ltd Device e230
03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd Device e832
03:00.4 SD Host controller: Ricoh Co Ltd Device e822
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller (rev 10)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
3f:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
3f:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
Output of "lsusb" is:
Code:
Bus 002 Device 003: ID 0458:00a2 KYE Systems Corp. (Mouse Systems) 
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 0489:e00f Foxconn / Hon Hai 
Bus 001 Device 003: ID 064e:2100 Suyin Corp. 
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Output of "alsamixer":
http://img440.imageshack.us/img440/1201/picwwf.png
 
Old 12-09-2010, 03:57 PM   #6
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
It appears you have 2 soundcards

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)

Do you have 2 cards listed in /proc/asound? Like /card0 and /card1

In the pic you posted for alsamixer you have the "playback" section listed. Yes it shows your mic's but there is no box under them to show them active. Fire up alsamixer again and press F5 to display all the channels on your card and see if your mic is really active.

Also press F6 to see the other sound card. It may be that you are trying to control the wrong one.

As for the camera, what are these in your lsusb output. What do you have plugged in?

Bus 001 Device 004: ID 0489:e00f Foxconn / Hon Hai
Bus 001 Device 003: ID 064e:2100 Suyin Corp.
 
1 members found this post helpful.
Old 12-09-2010, 06:11 PM   #7
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
To "sound preferences - hardware" shows that I have "High Definition Audio Controller - Digital Stereo (HDMI) Output" and "Internal Audio - Analog Stereo Duplex Input"
I also pressed F5 and F6. When I pressed F6 a box appeared which shows that I have 2 sound cards "HDA Intel" and "HDA Nvidia". I unmute anything to this cards... but nothing again...

I really don't care about web cam. My priority is to fixed the mic
Thanks for your help man.
 
Old 12-09-2010, 06:41 PM   #8
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
OK so the first thing we have to determine is which sound card your mic is plugged into.

Is the machine a desktop or laptop? If it is a desktop can you take one of the cards out of it?

Another option is to try the mic and speakers in the other sound card. I do know that some soundcard drivers don't support the mic very well. Like mine for example, the mic will work but the results is full of static and there does not seem to be anything I can do about it.

Play with the controls in alsamixer for each card, one at a time and see which card controls the volume where your speakers are plugged in. Make sure the mike is enabled for that card. There are lots of sound recording apps in the repos. Install and try a couple of them.

The screen shot shows my mic's. Note that they have to be captured.

I did find this info about the camera (put on back burner for now)

Using lsusb, the webcam id is:
Bus 001 Device 003: ID 064e:2100 Suyin Corp.

The webcam is handled with module uvcvideo.ko

There may be a mic in the camera, I don't know the specs for it.
Attached Thumbnails
Click image for larger version

Name:	soundcard.jpeg
Views:	8
Size:	61.5 KB
ID:	5435  
 
1 members found this post helpful.
Old 12-10-2010, 09:58 AM   #9
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
The machine is a laptop. In the other sound card, speakers / mic don't work.
Speakers are plugged in the RealTek ALC275 sound card.

I've tried everything, nothings worked... That sucks, forget it man, thanks anyway for your help...
 
Old 12-10-2010, 10:20 AM   #10
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
Don't give up so easy.

Sometimes it takes me months to get something figured out.

So the realtek card, how is it hooked to the laptop?
 
1 members found this post helpful.
Old 12-10-2010, 01:38 PM   #11
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
What do you mean?
 
Old 12-10-2010, 02:51 PM   #12
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
Laptop's typically have an onboard soundcard. If your laptop has two soundcards, how is the second one hooked to the machine? USB, PCcard, docking station?
 
Old 12-11-2010, 09:19 AM   #13
savvas999
LQ Newbie
 
Registered: Dec 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Yea ur are right. But I dont know either why terminal or alsamixer shows that my laptop has two soundcards!
My laptop has an onboard soundcard (Realtek ALC275)

Last edited by savvas999; 12-11-2010 at 09:46 AM.
 
Old 12-11-2010, 05:19 PM   #14
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 797

Rep: Reputation: 42
Quote:
Originally Posted by rbees View Post
There may be a mic in the camera, I don't know the specs for it.
If the webcam does have a mic then it must have a soundcard to handle it. It may not be much of a soundcard but.....

How is the webcam hooked to the laptop? Unhook it, and run lspci again and see if they both show up.

Another thing that may have a soundcard in it is a tv adapter card. I know that some laptops have them onboard now. Does your laptop have that feature?

You get sound from your speakers, with alsamixer running you can play with the volume and tell which soundcard they are hooked to. Then you will know which one the mic should be hooked to. Is the mic captured on that card? If not then you will need to capture it. man alsamixer will tell you how to do so.

There are still lots of questions to answer. Have you tried any of the live-cd's to see if the mic works in them? What kernel are you using? Is your system fully patched? .......

And so we plod along. Every step is progress.

Last edited by rbees; 12-11-2010 at 05:21 PM.
 
Old 03-26-2012, 06:59 PM   #15
jmlm_1970
Member
 
Registered: Nov 2010
Location: Aveiro, Portugal, Europe
Posts: 38
Blog Entries: 1

Rep: Reputation: 1
How to make microphone work!

The only solution to make microphone work is to install linux-backports-modules-alsa-generic...

Just go to:

Menu / System / Administration / Synaptic Package Manager

And search and mark for installation:

linux-backports-modules-alsa-generic

tip: if you have multiple versions click on the first and read the description which should inform what name to install...

If after the reboot and mic mute is off, still does not work, just go to terminal and type:

sudo nano /etc/modprobe.d/alsa-base.conf

and add or change the following:

options snd-hda-intel model=auto enable=yes

Then Ctrl+X, type Y to write and exit, reboot and mic will work.

Bye and have lots of fun with Ubuntu (the best).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mic not working on HP 6830 with ubuntu Broder Linux - Laptop and Netbook 1 03-26-2012 07:09 PM
Mic not working in Mumble (using jaunty version of Ubuntu) jlacy1987 Linux - Newbie 2 03-26-2012 07:09 PM
[SOLVED] external mic not working on Dell XPS M1530, Ubuntu 8.04 drkayak Linux - Hardware 1 11-10-2009 06:00 PM
mic and camera setup for recording and skype zoran119 Slackware 11 07-08-2009 04:43 PM
HP dv2000 Camera & Mic not working in Ubuntu or Suse Fouad Riaz Bajwa Linux - Laptop and Netbook 1 12-23-2006 07:34 AM


All times are GMT -5. The time now is 12:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration