Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Webcam Woes

  1. #1
    Join Date
    Dec 2011
    Beans
    29

    Webcam Woes

    I just bought a new webcam. It was unbranded and very cheap, but excellent build quality, decent specs, and the design just looks awesome so for the price I thought I'd try it.

    I've pretty much established now that it should be compatible with Ubuntu using the uvcvideo driver. I personally, though, just can't get it to work.

    I'm on 12.04 Beta 2 64 bit. The webcam itself has turned out to be a Genesys Logic one, and as I say should work with the uvcvideo driver (which of course I've activated). There are two problems which may or may not have the same cause:

    1. The webcam simply not working. The lsusb command detects it fine, as does hwinfo. I have, of course, activated the driver, but still every program I tries gives either a black screen or a message saying that no camera has been found.

    2. When I try to use it with a program, my wireless disconnects and won't reconnect until reboot. May sound odd, but Googling has revealed that others have had the same problem, especially those with Toshiba laptops (mine is Toshiba too). Sadly, I didn't find a solution among those results.

    Any help, with either problem, would be much appreciated.

  2. #2
    Join Date
    Aug 2009
    Location
    Bogotá, Colombia
    Beans
    230
    Distro
    Kubuntu Development Release

    Re: Webcam Woes

    Hi, Please copy/paste the lsusb output so we can see the webcam chip.

  3. #3
    Join Date
    Dec 2011
    Beans
    29

    Re: Webcam Woes

    Hi, thanks muchly for your reply. The output is as follows, but to my admittedly inexpert eyes I'm afraid the relevant line doesn't look very informative:

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 002: ID 0930:6545 Toshiba Corp. Kingston DataTraveler 102 Flash Drive / HEMA Flash Drive 2 GB / PNY Attache 4GB Stick
    Bus 001 Device 004: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B Wireless Adapter
    Bus 003 Device 002: ID 093a:2510 Pixart Imaging, Inc. Optical Mouse
    Bus 001 Device 005: ID 05e3:0512 Genesys Logic, Inc.

  4. #4
    Join Date
    Dec 2011
    Beans
    29

    Re: Webcam Woes

    In case it's any more use, here's what hwinfo has to say on the matter too:

    13: USB 00.0: 0000 Unclassified device
    [Created at usb.122]
    Unique ID: ADDn.r07n5zHkQVA
    Parent ID: k4bc.MrJLBLcWB9F
    SysFS ID: /devices/pci0000:00/0000:00:13.5/usb1/1-1/1-1:1.0
    SysFS BusID: 1-1:1.0
    Hardware Class: unknown
    Model: "Genesys Logic U2 EE Cam"
    Hotplug: USB
    Vendor: usb 0x05e3 "Genesys Logic, Inc."
    Device: usb 0x0512 "U2 EE Cam"
    Revision: "12.14"
    Driver: "uvcvideo"
    Driver Modules: "uvcvideo"
    Device File: /dev/input/event10
    Device Files: /dev/input/event10, /dev/input/by-id/usb-05e3_U2_EE_Cam-event-if00, /dev/input/by-path/pci-0000:00:13.5-usb-0:1:1.0-event
    Device Number: char 13:74
    Speed: 480 Mbps
    Module Alias: "usb:v05E3p0512d1214dcEFdsc02dp01ic0Eisc01ip00 "
    Driver Info #0:
    Driver Status: uvcvideo is active
    Driver Activation Cmd: "modprobe uvcvideo"
    Config Status: cfg=new, avail=yes, need=no, active=unknown
    Attached to: #4 (Hub)

  5. #5
    Join Date
    Aug 2009
    Location
    Bogotá, Colombia
    Beans
    230
    Distro
    Kubuntu Development Release

    Re: Webcam Woes

    Lets try something. You already said that you activated the driver, how did you do it?

    The driver is there but it seems like is not loaded.

    Type "sudo modprobe uvcvideo" in a terminal, and then "ls /dev/video*" and please paste the output.

    Wich program are you using to test your webcam?

  6. #6
    Join Date
    Dec 2011
    Beans
    29

    Re: Webcam Woes

    Activated by typing that same command. Done it again in case, and the output is "/dev/video0"

  7. #7
    Join Date
    Aug 2009
    Location
    Bogotá, Colombia
    Beans
    230
    Distro
    Kubuntu Development Release

    Re: Webcam Woes

    What software are you using to test the camera?

    Try launching the software from a terminal, You can try Cheese or Guvcview. That way we can see whats happening.
    Last edited by samigina; April 18th, 2012 at 04:55 PM.

  8. #8
    Join Date
    Dec 2011
    Beans
    29

    Re: Webcam Woes

    Had tried a range of programs, though not Guvcview until your suggestion. Pretty much installed everything half decent I found in the Ubuntu software centre. Programs I've tested and the results are as follows (launching from terminal seems to make no difference):

    Cheese: No camera detected. Wi-fi connection lost as soon as software starts, and will not reconnect until reboot.

    Guvcview: Exactly the same results as Cheese.

    Camorama: Refuses to open. Says it quit unexpectedly before a window actually appears. Tried opening without webcam connected just to see if there any difference, and there is. Instead of quitting unexpectedly, it refuses to open on grounds there no camera, so since it doesn't do that when it is connected I'm guessing it detects it in some form.

    Kamoso: No camera detected. Wi-fi connection lost a couple of minutes after software first opens.

  9. #9
    Join Date
    Aug 2009
    Location
    Bogotá, Colombia
    Beans
    230
    Distro
    Kubuntu Development Release

    Re: Webcam Woes

    Launch them from a terminal to get the logs.

    Meanwhile try starting gstreamer-properties and changing the value V4L2 to V4L in the video tab.

    Edit:
    I havent seen you already launched the software from a terminal, but you didnt get any messages?
    Last edited by samigina; April 18th, 2012 at 07:18 PM.

  10. #10
    Join Date
    Dec 2011
    Beans
    29

    Re: Webcam Woes

    Thank you good sir!

    The solution turned out to be surprisingly simple if only I'd known where to look. I went to the gstreamer-properties as you suggested, but v4l didn't seem to be an option. However, I fiddled around a bit more and discovered that "Device" was set to "Default," while my webcam was the other available option. Changed that, did the test. Webcam worked perfectly, so opened Cheese. Webcam still worked perfectly, and no loss of wireless connection. All seems to be fine.

    EDIT: Or not (see next post).
    Last edited by OutlandishKnight; April 18th, 2012 at 08:07 PM. Reason: Made mistake, and as end of page prefer to have fact in view here.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •