Laptop built-in USB camera detected by lsusb but nothing else.

I’m running OS V13.1 with KDE3 on an ASUS G73Jh2 laptop with a built-in camera, that I have not been able to get working since ~OS V12.2, and I’d like to get it working again.


$ **uname -a**
Linux pinto 3.11.10-7-desktop #1 SMP PREEMPT Mon Feb 3 09:41:24 UTC 2014 (750023e) x86_64 x86_64 x86_64 GNU/Linux

lsusb reports it thus:


#**lsusb**
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 8086:0186 Intel Corp. WiMAX Connection 2400m
**Bus 001 Device 004: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC Webcam / CNF7129**
Bus 001 Device 005: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 002 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 002 Device 004: ID 111d:0000
Bus 002 Device 005: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 002 Device 006: ID 051d:0002 American Power Conversion Uninterruptible Power Supply

which I have verified as a UVC compatible device, from the link found elsewhere in thread http://forums.opensuse.org/showthread.php/398425-How-to-get-a-USB-webcam-to-work-under-SuSE-11-0. However, the driver information in that thread is well out of date, and I’m not sure how to proceed from this point.

The camera worked with Kopete at one time.

Hoping you can help,

Leslie

Checking the uvc driver compatibility list ( http://www.ideasonboard.org/uvc/#devices ) , I see the 04f2:b071 webcam listed, with a couple of notes next to it.
Note-3: This camera module is known to be mounted upside-down in some notebooks. Applications that use the libv4l library should display the video correctly, as libv4l detects upside-down cameras and rotates the image automatically. See Hans de Goede’s post on the linux-uvc-devel mailing list for more information. For applications that don’t use libv4l, try holding your computer upside-down.

Note Hans de Goede (back in 2009) was asking for information on such laptops so he could update the library libv4l with more relevant camera information.
Note-4: iSight webcams require a proprietary firmware that can’t be redistributed. Tools to extract the firmware from the MacOS X driver and load it into the device are available at http://bersace03.free.fr/ift/.

I don’t think note-4 is applicable to your webcam (although there is an ‘isight-firmware-tools’ packaged for openSUSE-13.1).

Hence I recommend instead you focus on what v4l libraries you have installed.

On my PC with a UVC webcam, I obtain the following if I type "rpm -qa ‘v4l’ :


oldcpu@4770:~> rpm -qa '*v4l*'
libv4lconvert0-0.8.9-5.1.3.x86_64
libv4l2-0-32bit-0.8.9-5.1.3.x86_64
libv4l-0.8.9-5.1.3.x86_64
libv4lconvert0-32bit-0.8.9-5.1.3.x86_64
libv4l2-0-0.8.9-5.1.3.x86_64
libv4l1-0-0.8.9-5.1.3.x86_64
libv4l1-0-32bit-0.8.9-5.1.3.x86_64

Good luck, and thank you for posting on our forum.

In addition to my above post, I have a further question for you. Under openSUSE-13.1, what application were you using to test your webcam ?

I’ll take a look at that.

Note-4: iSight webcams require a proprietary firmware that can’t be redistributed. Tools to extract the firmware from the MacOS X driver and load it into the device are available at http://bersace03.free.fr/ift/.

I don’t think note-4 is applicable to your webcam (although there is an ‘isight-firmware-tools’ packaged for openSUSE-13.1).

Hence I recommend instead you focus on what v4l libraries you have installed.

On my PC with a UVC webcam, I obtain the following if I type "rpm -qa ‘v4l’ :

oldcpu@4770:~> rpm -qa ‘v4l
libv4lconvert0-0.8.9-5.1.3.x86_64
libv4l2-0-32bit-0.8.9-5.1.3.x86_64
libv4l-0.8.9-5.1.3.x86_64
libv4lconvert0-32bit-0.8.9-5.1.3.x86_64
libv4l2-0-0.8.9-5.1.3.x86_64
libv4l1-0-0.8.9-5.1.3.x86_64
libv4l1-0-32bit-0.8.9-5.1.3.x86_64

Good luck, and thank you for posting on our forum.

Here’s what I see:


#rpm -qa '*v4l*'
qv4l2-0.8.9-5.1.3.x86_64
libv4lconvert0-32bit-0.8.9-5.1.3.x86_64
libv4l2-0-32bit-0.8.9-5.1.3.x86_64
libv4l1-0-32bit-0.8.9-5.1.3.x86_64
libv4l-0.8.9-5.1.3.x86_64
libv4l2-0-0.8.9-5.1.3.x86_64
libv4lconvert0-0.8.9-5.1.3.x86_64
libv4l1-0-0.8.9-5.1.3.x86_64

Kopete. It used to work with Skype, but I stopped using that when MacroShaft bought it.

Also Kamera, a component of the KDE Control Center.

Are you saying it worked with Skype in openSUSE-13.1 ?

I use neither ‘kopete’ nor ‘kamera’. Is it possible to launch either of those applications from a konsole/terminal ? If so, when you attempt to use the webcam, are there any errors in the konsole ? Are there any errors in the /var/log/messages file at the exact same time you attempt to use the webcam ? If so, what are they ?

The application I prefer to use with my webcam is the Packman package guvcview.

No, on 12 or perhaps even 11.

I use neither ‘kopete’ nor ‘kamera’. Is it possible to launch either of those applications from a konsole/terminal ?

Yes. In neither of these programs is the camera detected. Screen shots are http://postimg.org/image/dsm38qehp/ (Kamera) and http://postimg.org/image/4gk3sdpyn/ (Kopete).

If so, when you attempt to use the webcam, are there any errors in the konsole ?

Kopete writes

libpng warning: Interlace handling should be turned on when using png_read_image

when I select the themes tab of the settings. I suspect that this has nothing to do with the camera device.

Are there any errors in the /var/log/messages file at the exact same time you attempt to use the webcam ? If so, what are they ?

I saw no messages there that I could associate with the camera device.

The application I prefer to use with my webcam is the Packman package guvcview.

Huh. The camera works with guvcview. Here are messages that were produced by guvcview:


**$cat guvcview.log**
guvcview 1.7.0
file guvcview_video.mkv has extension type 1
file guvcview_image.jpg has extension type 0
file guvcview_image.jpg has extension type 0
Video file suffix detected: 0
Image file suffix detected: 0
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:961:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1022:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
video device: /dev/video0
Init. CNF7129 (location: usb-0000:00:1a.0-1.2)
{ pixelformat = 'YUYV', description = 'YUV 4:2:2 (YUYV)' }
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
        Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30,
{ discrete: width = 1280, height = 800 }
        Time interval between frame: 1/7,
{ discrete: width = 1280, height = 1024 }
        Time interval between frame: 1/7,
{ pixelformat = 'RGB3', description = 'RGB3' }
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
        Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30,
{ discrete: width = 1280, height = 800 }
        Time interval between frame: 1/7,
{ discrete: width = 1280, height = 1024 }
        Time interval between frame: 1/7,
{ pixelformat = 'BGR3', description = 'BGR3' }
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
        Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30,
{ discrete: width = 1280, height = 800 }
        Time interval between frame: 1/7,
{ discrete: width = 1280, height = 1024 }
        Time interval between frame: 1/7,
{ pixelformat = 'YU12', description = 'YU12' }
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
        Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30,
{ discrete: width = 1280, height = 800 }
        Time interval between frame: 1/7,
{ discrete: width = 1280, height = 1024 }
        Time interval between frame: 1/7,
{ pixelformat = 'YV12', description = 'YV12' }
{ discrete: width = 640, height = 480 }
        Time interval between frame: 1/30,
{ discrete: width = 352, height = 288 }
        Time interval between frame: 1/30,
{ discrete: width = 320, height = 240 }
        Time interval between frame: 1/30,
{ discrete: width = 176, height = 144 }
        Time interval between frame: 1/30,
{ discrete: width = 160, height = 120 }
        Time interval between frame: 1/30,
{ discrete: width = 1280, height = 800 }
        Time interval between frame: 1/7,
{ discrete: width = 1280, height = 1024 }
        Time interval between frame: 1/7,
vid:04f2
pid:b071
driver:uvcvideo
checking format: 1448695129
fps is set to 1/30
drawing controls

fps is set to 1/30
Checking video mode 640x480@32bpp : OK
write /home/leslie/.config/guvcview/video0 OK
free controls
cleaned allocations - 100%
Closing portaudio ...OK
Closing GTK... OK

Perhaps I need to switch this thread over to the KDE3 support group?

Good news ! Thus this appears to be an application or KDE problem ??

KDE3 or KDE4, dependent on which one you are using.

I was unable to contact the OpenSuSE KDE3 mailing list, so I have no resolution for KDE3.:frowning: The camera works in KDE4, but otherwise I’m still not impressed with KDE4’s other capabilities, nor its performance.

Maybe its time to consider an alternative DE? XFCE or LXDE might be a good fit perhaps.

Too much disruption. Just the change from KDE3 to KDE4 was more than traumatic enough.

The Linux desktop folks seem to think a lot like the MacroShaft folks: the desktop is merely a place to show off fancy eye-candy; considerations like useability are beneath their notice.

If the KDE folks ever get KDE4 to the level of friendliness that KDE3 had I’ll switch to it in a minute; but so far the widget system has been amazingly unstable, Nepomuk and Akonadi have locked up my system (an i7) and made it unusable (they finally knucked under and provided a way to turn Nepomuk off) and many important components are still unavailable.

Gnome has always been to limiting in my opinion, and I don’t have time to spend puzzling out the ins and outs of the other DEs.

The camera USED to work fine in KDE3, but somewhere aroung OpenSuSE 12.? it stopped, and hasn’t worked since. It would be nice to get a response on the OpenSuSE KDE3 mailing list, but no luck there.

Okay, fair enough.

If the KDE folks ever get KDE4 to the level of friendliness that KDE3 had I’ll switch to it in a minute; but so far the widget system has been amazingly unstable, Nepomuk and Akonadi have locked up my system (an i7) and made it unusable (they finally knucked under and provided a way to turn Nepomuk off) and many important components are still unavailable.

There was a time when I had both KDE3 and KDE4 installed (~2008 IIRC), but I haven’t found any major issues since that time, and KDE4 has been an immense improvement over its predecessor IMO. The eye candy (desktop effects) can be turned off fir the most part.

FWIW, I encourage you to take a look at LXQT (similar features to modular KDE, and probably more like the KDE3 you’re comfortable with)

http://lxqt.org/
http://www.jupiterbroadcasting.com/57112/lxqt-the-xfce-killer-las-312/

The camera USED to work fine in KDE3, but somewhere aroung OpenSuSE 12.? it stopped, and hasn’t worked since. It would be nice to get a response on the OpenSuSE KDE3 mailing list, but no luck there.

Good luck with that. It will only be a matter of time before it disappears.