Ask Your Question
0

Camera Lumens DC 125 freezes Fedora 19 and 20

asked 2013-11-29 09:33:20 -0600

ccsc gravatar image

updated 2014-02-13 13:47:19 -0600

mether gravatar image

The camera is working fine in Windows, OSX and Ubuntu but it freezes Fedora when I plug it in. At first, most of the errors seemed to be sound related so I created a conf file under udev to ignore any form of input other than video from the camera.

Gstreamer-properties hangs most times when the camera is plugged, sometimes I get to the point where I can select the camera as input but it fails the test with 'Video for Linux 2 (v4l2)': Device '/dev/video0' cannot capture at 1600x1200 .

gst-inspect fails at VIDIOC_QUERYCTRL/MENU , VIDIOC_G/S/TRY_EXT_CTRLS , VIDIOC_G/S_PARM and VIDIO_G_FMT.

v4l2-ctl reports unknown colorspace when I can get it to work and other times it throws that the device is busy.

I rebuilt uvcvideo from source, installed all available plugins and tried most fixes around. I also tried setting up an Ubuntu virtualbox and plugging the camera but I get a load error. I got the same errors in a physical installation of Fedora 19 and two virtual machines (19 and 20). Ubuntu physical installation and a virtual machine in Windows worked straight away with good picture from the camera, no extra drivers installed and no errors reported.

Any suggestions?

edit retag flag offensive close merge delete

Comments

Try and make its setup as similar as possible to the Ubuntu one -drivers, config etc - thats how I got an old USB camera working. The problem is, Ubuntu is good at drivers, but in Fedora it ain't always as simple

wilf gravatar imagewilf ( 2013-11-30 09:58:37 -0600 )edit

That is what I've been trying to do but the freezing + no errors afterwards is making it much harder. I suspect that the unknown colorspace might be the source of the problem but I can't find a way to force sRGB to verify.

ccsc gravatar imageccsc ( 2013-11-30 11:42:42 -0600 )edit

You could use lspci -v to find the drivers it is using in Ubuntu.

wilf gravatar imagewilf ( 2013-12-01 18:10:09 -0600 )edit

It is a USB camera, lspci won't be very useful. I'm trying to find something with lsusb -v and lshw in Ubuntu.

ccsc gravatar imageccsc ( 2013-12-02 04:53:56 -0600 )edit

lshw - and the previous comment inidicates that I should not post comments after 8 hours of work - lsusb -v I meant. You may need to install lshw with sudo yum install lshw lshw -gui, and then you can also use the graphical interface called 'Hardware Lister'

wilf gravatar imagewilf ( 2013-12-02 06:12:49 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-12-04 18:08:30 -0600

ccsc gravatar image

I "fixed" it by doing the following (it's far from a good fix but I get video out):

  1. Install gnome-media gnome-media-apps guvcview (+ dependencies). This fixes some of the issues with uvcvideo.
  2. Create lumens.conf at /etc/X11/xorg.conf.d and add the following

    Section "InputClass" Identifier

    "disable Lumens buttons" MatchProduct

    "DHK107" Option "Ignore" "on"

    EndSection

  3. Blacklist snd-usb-audio by adding

    blacklist snd-usb-audio

    to /etc/modprobe.d/blacklist.conf

  4. Reboot, plug camera. No freezing, cheese works, good quality picture.

Issues still to address:

  • Key toggling: camera buttons are seen as input but keys seem to be constantly pressed leading to the first fix.
  • Usb microphone: Since snd-usb-audio is blacklisted, I can't use the usb microphone. ALSA needs to be patched to fix the volume range problem. Issues related to clock.c and pcm.c also exist but I don't know yet how to fix.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-11-29 09:33:20 -0600

Seen: 286 times

Last updated: Dec 04 '13