Internal (Built-in) Microphone and webcam

DeaR FORUM,

i finally managed to get opensuse 11 up on my Sony Vaio laptop but i am not able to use the microphone and webcam (because i use skype a lot)

here is my tsalsa report :

tsalsa.txt - nopaste.com (beta)

i would highly appreciate your help because i use skype extensively.

GURUs , please…

I was doing a search thru the forum for old unanswered posts reference multimedia/audio, and I stumbled across yours. (I was away on vacation in mid-September). Have you had any success yet?

I note this:

Amixer item options for card 0 [Intel] _________________________________

‘Input Source’ ; Item #0 ‘Front Mic’ : values=0
‘Input Source’,index=1 ; Item #0 ‘Front Mic’ : values=0
‘Input Source’,index=2 ; Item #0 ‘Front Mic’

Amixer contents for card 0 [Intel] _____________________________________
amixer set ‘Master’,0 68% on
amixer set ‘Headphone’,0 on on
amixer set ‘PCM’,0 100% 100%
amixer set ‘Front’,0 68%,68% on
amixer set ‘Front Mic’,0 0% off 0% off
amixer set ‘Front Mic Boost’,0 0% 0%
amixer set ‘Capture’,0 Capture 0 0%,Capture 0 0% on
amixer set ‘Capture’,1 Capture 0 0%,Capture 0 0% on
amixer set ‘Capture’,2 Capture 0 0%,Capture 0 0% on
amixer set ‘Input Source’,0 Items: ‘Front Mic’ Item0: ‘Front Mic’
amixer set ‘Input Source’,1 Items: ‘Front Mic’ Item0: ‘Front Mic’
amixer set ‘Input Source’,2 Items: ‘Front Mic’ Item0: ‘Front Mic’
Your front mic is OFF, and the boost is at zero, and the capture is at 0%. That is likely one of your problems (you may have more).

I also note you have an ALC262 chipset. Searching the alsa web site, I note the alsa driver has some updates for that chipset, which may, or may not, be relevant:
Search results for ALC262 - AlsaProject

What version of alsa are you using? How about also posting the output of:rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

I can NOT help with skype. I have never used it.

But reference your webcam, did you try working your way thru this guide:
HCL/Web Cameras - openSUSE

If that fails, to provide further help, we need more information. Please ensure you have usbutils installed, and then post here the output of:lsusb
rpm -qa | grep spc
rpm -qa | grep uvc
uname -a

Yes!
Having the same problem here!
The built in webcam and microphone is not detected by any program like skype or kopete in my HP laptop DV1000. ( Ricoh webcam r5u870 )
Can use skype with a headset though.

I followed the instructions in this thread without any error messages.
And here are the outcome from commands:
linux-gnyb:/home/magnus/webcam/r5u870-0.11.1 # lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 003: ID 05ca:1870 Ricoh Co., Ltd Webcam 1000
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
linux-gnyb:/home/magnus/webcam/r5u870-0.11.1 # rpm -qa | grep spc
gspcav1-kmp-pae-20071224_2.6.25.5_1.1-10.4
gspcav-kmp-default-01.00.20_2.6.25.5_1.1-1.1
gspcav1-kmp-default-20071224_2.6.25.5_1.1-10.4
gspcav-kmp-pae-01.00.20_2.6.25.5_1.1-1.1
gspcav-kmp-xen-01.00.20_2.6.25.5_1.1-1.1
gspcav1-kmp-xen-20071224_2.6.25.5_1.1-10.4
linux-gnyb:/home/magnus/webcam/r5u870-0.11.1 # rpm -qa | grep uvc
uvcvideo-kmp-debug-r200_2.6.25.11_0.1-2.4
luvcview-0.2.4-0.pm.1
uvcvideo-kmp-pae-r200_2.6.25.11_0.1-2.4
uvcvideo-kmp-xen-r200_2.6.25.11_0.1-2.4
uvcvideo-kmp-default-r200_2.6.25.11_0.1-2.4
linux-gnyb:/home/magnus/webcam/r5u870-0.11.1 # uname -a
Linux linux-gnyb 2.6.25.16-0.1-debug #1 SMP 2008-08-21 00:34:25 +0200 i686 i686 i386 GNU/Linux

I found this page for driver:
Installation - mediati|wiki
But as a newbie to Linux I ran into problems directly…:
linux-gnyb:/home/magnus/webcam # cd r5u870-0.11.1
linux-gnyb:/home/magnus/webcam/r5u870-0.11.1 # make
make -C /lib/modules/2.6.25.16-0.1-debug/build M=/home/magnus/webcam/r5u870-0.11.1 V=0 modules
make[1]: Entering directory /usr/src/linux-2.6.25.16-0.1-obj/i386/debug' make[1]: *** Ingen regel för att skapa målet "modules". Stannar. make[1]: Leaving directory /usr/src/linux-2.6.25.16-0.1-obj/i386/debug’
make: *** [all] Fel 2
linux-gnyb:/home/magnus/webcam/r5u870-0.11.1 # make install
make -C /lib/modules/2.6.25.16-0.1-debug/build M=/home/magnus/webcam/r5u870-0.11.1 V=0 modules
make[1]: Entering directory /usr/src/linux-2.6.25.16-0.1-obj/i386/debug' make[1]: *** Ingen regel för att skapa målet "modules". Stannar. make[1]: Leaving directory /usr/src/linux-2.6.25.16-0.1-obj/i386/debug’
make: *** [all] Fel 2

How on earth will I be able to fix that…?
Translation: No rule for creating the target “modules” stops, error 2.

Everything else works fine in the laptop such as wireless network, sound and video playback.

Thanks in advance!

OK, well, you sort of went astray … apologies if I wander a bit, but I wish to explain the logic behind installing the driver, so others watching this thread can learn.

Ok, so the “lsusb” command illustrates your Ricoh webcam ID is: 05ca:1870.

Going to the openSUSE webcam page (that I provided above):
HCL/Web Cameras - openSUSE
and then searching the URLs for the gspca and uvc drivers, it is clear that your webcam is not listed there. Hence do not install those drivers. If you install drivers not intended for your webcam you will have problems.

remove ALL of those. You should not have installed them. They are not for your webcam. If you do NOT remove those, you will not get your web cam functioning!

?? Why are you using a 2.6.25.-0.1-debug kernel? That is NOT the kernel you should be using, unless you have a specific reason. That could cause you problems. Anyway, my next recommendation is based on the assumption that you keep the debug kernel. If you change that kernel, then my recommendation is not valid.

Yes! That is the site to go to, and that r5u870 driver supports your webcam.

But why custom compile? Are you forced into compiling because of your “debug” kernel (instead of a standard “default” or “pae” kernel ? ).

Its far easier to use an rpm with the driver compiled (and packaged) by someone else. If you go to webpin and search for the r5u870 you get this hit: Webpin search results for r5u870

And given you have a 2.6.25.-0.1-debug kernel, you should choose to install the driver:

r5u870-kmp-debug (0.11.1_2.6.25.16_0.1)

If it were me, after removing the incorrect uvc and gspca drivers, I would install that by opening a gnome-terminal or konsole and type the following 3 commands:

zypper ar http://download.opensuse.org/repositories/drivers:/webcam/openSUSE_11.0_Update webcam1 
zypper install r5u870-kmp-debug (0.11.1_2.6.25.16_0.1)
zypper rr webcam1

and then reboot and test your webcam.

Note, you need root permissions when you type those 3 commands. So type “su” (no quotes) before you type those (to get root permissions) and enter root password when prompted.

A good basic test for one’s microphone’s functionality is to type this in a gnome-terminal or konsole:arecord -f cd -vv /dev/nullthen talk into your mic and watch the volume “meter”, adjusting your mixer as appropriate such that you get movement on the meter. Press <CTR><C> to stop the arecord.

Thanks so much!
I sorry to not geting back until now, but the use of the cam where a bit more important first…if you might understand what I mean…:wink:
Amazing things we have nowadays…:slight_smile:

Yes, I want astray and didnt read your info careful enough…
Did uninstall all irrelevant drivers as described.
I had from beginning the Webpin
in mind, but forgot about it when visiting the homepage of Installation - mediati|wiki
There its SUSE is listed but the link say “not existent” project or so, which made me pessimistic.

Now I know that one can always search in Webpin
first.
And there I even used the one-click installations.
Both the one for debug-kernel, and one for the ordinary.
The reason for the debug is only that I have rebooted some times with the SUSE 11 DVD in, and sometime maybe not pick the ordinary kernel but the debug one.

Anyway, both works when it comes to the webcam and its microphone.
Only problem now is that I find the picture quality very bad and dark. It needs a lot of light and no settings can improve anything significantly.
Is there anyone else who have the same experience?
That the webcam, Ricoh webcam ID is: 05ca:1870. , is a useless piece of hardware?
Or is there some tweaks to improve it?

Again, thank you for your great support, I will continue to use SUSE for a long time I think!:slight_smile:

Some drivers do not support the webcams well, and some users do have problems with brightness. Still, at the risk of stating the obvious, have you tried ensuring your room is very bright?

I don’t understand. … Do you mean “useless” because the video is not very good? If the video is really dark and can not be fixed, then maybe “useless” is an appropriate description.

You could visit the mediati suport page: Support - mediati|wiki and possibly join a mailing list, and see if you can get driver specific help there.

Some drivers do not support the webcams well, and some users do have problems with brightness. Still, at the risk of stating the obvious, have you tried ensuring your room is very bright?

OK, I see. Well all except studio light is tested…
I will soon switch to a more modern laptop, so I leave this as it is.
Thanks so much for all help!