Page 3 of 7 FirstFirst 12345 ... LastLast
Results 21 to 30 of 66

Thread: Vaio r5u870 webcam driver, DKMS package

  1. #21
    Join Date
    Oct 2007
    Location
    Belfort, France
    Beans
    12
    Distro
    Ubuntu

    Re: Vaio r5u870 webcam driver, DKMS package

    Hi guys,

    I'm the maintainer of the Ricoh webcam package from Arakhne.org.

    The version 0.11.3 you have tried to install could not be compiled on newer kernels due to changes in the Video4Linux API.

    The version 0.11.4 is patched to be compilable, so installable, on Karmic.

    Regards,
    Stéphane.

  2. #22
    Join Date
    Nov 2006
    Location
    UK
    Beans
    661
    Distro
    Ubuntu Development Release

    Lightbulb UVC driver for R5U870 cameras in Karmic+

    For Karmic and after (and possibly Jaunty) it would be better to use the kernel's uvcvideo module (instead of the now deprecated r5u870 module) together with Alex Hixon's userspace firmware loader tools for those devices it supports.

    Code:
    VID     PID     Chipset Type    Name                                        Notes
    
    0x05CA  0x1803  R5U870  UVC     Flybook V5                                  
    0x05CA  0x1810  R5U870  UVC     HP Pavilion Webcam                          
    0x05CA  0x1812  Unknown UVC     HP Pavilion Webcam                          Used on HP Pavilion DV6502AU laptops. Apparently does not require ucode.
    0x05CA  0x1830  R5U870  WDM     Sony Visual Communication Camera VGP-VCC2   Used on Sony VAIO SZ laptops.
    0x05CA  0x1832  R5U870  WDM     Sony Visual Communication Camera VGP-VCC3   Used on Sony VAIO UX laptops.
    0x05CA  0x1833  R5U870  WDM     Sony Visual Communication Camera VGP-VCC2   Used on Sony VAIO AR1 laptops.
    0x05CA  0x1834  R5U870  WDM     Sony Visual Communication Camera VGP-VCC2   Used on Sony VAIO AR2 laptops.
    0x05CA  0x1835  R5U870  UVC     Sony Visual Communication Camera VGP-VCC5   Used on Sony VAIO SZ laptops.
    0x05CA  0x1836  R5U870  UVC     Sony Visual Communication Camera VGP-VCC4   Used on Sony VAIO FE laptops.
    0x05CA  0x1837  R5U870  UVC     Sony Visual Communication Camera VGP-VCC4   Used on Sony VAIO FZ laptops. The camera is installed upside down.
    0x05CA  0x1839  R5U870  UVC     Sony Visual Communication Camera VGP-VCC6   Used on Sony VAIO CR laptops.
    0x05CA  0x183a  R5U870  UVC     Sony Visual Communication Camera VGP-VCC7   Used on Sony VAIO SZ and TZ11 laptops.
    0x05CA  0x183b  R5U870  UVC     Sony Visual Communication Camera VGP-VCC8   Used on Sony VAIO FZ laptops.
    0x05CA  0x183e  R5U870  UVC     Sony Visual Communication Camera VGP-VCC9   Used on Sony VAIO FZ laptops.
    0x05CA  0x1841  R5U870  UVC     Fujitsu F01 / Fujitsu Lifebook U810         The camera is installed upside down.                     
    0x05CA  0x1870  R5U870  WDM     HP Pavilion Webcam / HP Webcam 1000         VID/PID combination used by two distinct devices. dv1xxx appears to be
                                                                                the less common of the two. The only way to check the difference is to
                                                                                read the model number out via DMI. Not currently supported by loader.
    Willem Van Engel did try to get the tools added to the Ubuntu repositories (bug #120434) but they were rejected and removed from his PPA because the firmware images contained in the package don't have a suitable license to allow redistribution.

    As a result it is necessary to install the userspace tools and firmware images from Alex's code repository. The instructions on installing are in the source repository.
    Code:
    sudo apt-get install libglib2.0-dev libusb-dev build-essential gcc automake mercurial
    hg clone http://bitbucket.org/ahixon/r5u87x/
    cd r5u87x
    make
    sudo make install
    This installs a udev rule (/etc/udev/rules.d/90-r5u87x-loader.rules) which ensures that the firmware is loaded when the kernel discovers the camera (on reboots, resumes, etc.).

    To reload the camera driver manually and upload the firmware:
    Code:
    sudo r5u87x-loader --reload
    
    r5u87x firmware loader v0.2
    
    Searching for device...
    Found camera: 05ca:1836
    Camera reports negative microcode state.
    Sending microcode to camera...
    Enabled microcode.
    Camera reports microcode version 0x0115.
    
    Successfully uploaded firmware to device 05ca:1836!
    Reloading uvcvideo module...
    Finished.
    The log (/var/log/kern.log) should show something like:
    Code:
    [10358.844446] Linux video capture interface: v2.00
    [10358.849638] uvcvideo: Found UVC 1.00 device <unnamed> (05ca:1836)
    [10358.850902] input: UVC Camera (05ca:1836) as /devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/input/input12
    [10358.851002] usbcore: registered new interface driver uvcvideo
    [10358.851008] USB Video Class driver (v0.1.0)

  3. #23
    Join Date
    Feb 2007
    Beans
    11

    Re: Vaio r5u870 webcam driver, DKMS package

    I tried to install it on Jaunty, but Skype does not see the webcam. On the terminal got some curious messages:

    Successfully uploaded firmware to device 05ca:1830!
    Reloading uvcvideo module...
    WARNING: All config files need .conf: /etc/modprobe.d/snd-hda-intel, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/hsf, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/hsf.conflicts, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/snd-hda-intel, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/hsf, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
    WARNING: All config files need .conf: /etc/modprobe.d/hsf.conflicts, it will be ignored in a future release.
    Finished.

    The The log (/var/log/kern.log) gives:

    Nov 27 14:59:26 VAIO kernel: [ 2020.615210] process `skype' is using obsolete setsockopt SO_BSDCOMPAT
    Nov 27 15:16:14 VAIO kernel: [ 3028.751232] Linux video capture interface: v2.00
    Nov 27 15:16:14 VAIO kernel: [ 3028.781627] usbcore: registered new interface driver uvcvideo
    Nov 27 15:16:14 VAIO kernel: [ 3028.781635] USB Video Class driver (v0.1.0)

    So it seems it is working, but skype does not see it because it is using some other obsolete stuff.

    Any idea?

    Best

  4. #24
    Join Date
    Oct 2007
    Location
    Belfort, France
    Beans
    12
    Distro
    Ubuntu

    Re: Vaio r5u870 webcam driver, DKMS package

    Hi Francus,

    Are you sure you are a member of the video group?

    One of the common simple errors encountered with this driver in Skype (and other software) is that the driver create /dev/video* with write right set for the members of the "video" group. So you may be inside this group to allow your software to use the webcam.

    Stéphane.

  5. #25
    Join Date
    Nov 2009
    Beans
    1

    Re: Vaio r5u870 webcam driver, DKMS package

    I'm seeing the same thing. The /dev/video0 device node is not created. Based on the dmesg output, it doesn't look like the uvcvideo module recognized the USB device.

    Manually creating the /dev/video0 device doesn't help - getting "no device address" or similar message.

    Firmware was successfully uploaded using the r5u870_k2.6.30_i386.tar.bz2 tools. Another USB cam with a different driver works fine when plugged in.

  6. #26
    Join Date
    Feb 2007
    Beans
    11

    Re: Vaio r5u870 webcam driver, DKMS package

    Quote Originally Posted by galland View Post
    Hi Francus,

    Are you sure you are a member of the video group?

    One of the common simple errors encountered with this driver in Skype (and other software) is that the driver create /dev/video* with write right set for the members of the "video" group. So you may be inside this group to allow your software to use the webcam.

    Stéphane.
    Well, don't know. I checked into grops and a video group does not exist. I tried to create it myself and get myself part of this group, but no improvement.

    I also checked dmesg and got the following:

    [ 239.329037] Linux video capture interface: v2.00
    [ 239.352521] usbcore: registered new interface driver uvcvideo
    [ 239.352528] USB Video Class driver (v0.1.0)
    [ 241.600074] usbcore: deregistering interface driver uvcvideo
    [ 241.621510] Linux video capture interface: v2.00
    [ 241.627393] usbcore: registered new interface driver uvcvideo
    [ 241.627399] USB Video Class driver (v0.1.0)

    So it seems that the driver is working

    Any idea?

    Best

  7. #27
    Join Date
    Nov 2004
    Beans
    185
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Vaio r5u870 webcam driver, DKMS package

    It seems that the latest version is available here:

    http://www.palmix.org/r5u870-en.html

    But now it doesn't work for the newest 2.6.31:

    avilella@magneto:~/sonyvaio/camera/latest/r5u870$ sudo make install
    make -C /lib/modules/2.6.31-15-generic/build M=/home/avilella/sonyvaio/camera/latest/r5u870 V=0 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.31-15-generic'
    CC [M] /home/avilella/sonyvaio/camera/latest/r5u870/r5u870_md.o
    In file included from /home/avilella/sonyvaio/camera/latest/r5u870/r5u870_md.c:55:
    /home/avilella/sonyvaio/camera/latest/r5u870/usbcam.h:36:29: error: media/video-buf.h: No such file or directory
    make[2]: *** [/home/avilella/sonyvaio/camera/latest/r5u870/r5u870_md.o] Error 1
    make[1]: *** [_module_/home/avilella/sonyvaio/camera/latest/r5u870] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-15-generic'
    make: *** [all] Error 2


    Quote Originally Posted by Dr.Dran View Post
    Hi!
    I have the same problem with the amd64 Kernel in Kubuntu Karmic :S

    Best regards

    Franco Tampieri

  8. #28
    Join Date
    Oct 2007
    Location
    Belfort, France
    Beans
    12
    Distro
    Ubuntu

    Re: Vaio r5u870 webcam driver, DKMS package

    Hi guys,

    I will ltry to sumarize the process to install a Ricoh webcam here to help you.

    Two drivers are currently available on Internet: r5u870 and r5u87x.

    First of all you need to determine if your webcam has a WDM chipset (see here).

    Driver r5u870 requires a kernel module and supports WDM chipsets. Driver r5u87x does not requires a kernel module but does not support WDM chipsets.

    To install r5u870, you need to use one of the driver's versions according to your kernel version. Arakhne.org gives several of them. On lastest kernels, DKMS is using. I'm currently using 2.6.31.15.28-i386 kernel and r5u870 works fine.

    To install r5u87x, you need to download and compile by hand. Never tried because my webcam is a WDM.

    All my explorations on r5u870 are related to http://www.arakhne.org/ricoh/

    When loaded, the driver must create a /dev/videoXX file (where XX is a number). If no /dev/videoXX file is created, your kernel or your webcam driver does not recognize your webcam device.
    Creating by hand the /dev/videoXX does not help because no driver in the kernel is using it. If not present you must try another way.

    Finally to use your webcam you need to put your user inside the "video" group. (This video may not be manually created because it is a default standard group on Ubuntu. You may only put your user inside).

    Stéphane.
    Last edited by galland; November 29th, 2009 at 10:56 PM.

  9. #29
    Join Date
    Nov 2009
    Beans
    21
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: Vaio r5u870 webcam driver, DKMS package

    Hi!
    I have a Sony VAIO fz31m. My webcam is
    Code:
    05ca: 183B Ricoh Co., Ltd Visual Communication Camera VGP-VCC8 [r5u870]
    I followed the instructions
    sudo apt-get install libglib2.0-dev libusb-dev build-essential gcc automake mercurial
    hg clone http://bitbucket.org/ahixon/r5u87x/
    cd r5u87x
    make
    sudo make install
    and now my webcam is set for the module uvcvideo and it work very well woth high resolutions (there are still problems with low ones).

    r5u87x firmware loader v0.2

    Searching for device...
    Found camera: 05ca:183b
    Camera reports positive microcode state.
    Camera reports microcode version 0x0131.
    Not doing anything - camera already setup.

    Successfully uploaded firmware to device 05ca:183b!
    Reloading uvcvideo module...
    Finished.
    Even before my webcam works with the uvcvideo module, but sometimes it was not loaded. Now everything seems affixed instead.

    There are possibilities that the package r5u87x be included in the Ubuntu repositories and automatically installed?
    Last edited by superlex; December 7th, 2009 at 05:39 PM.

  10. #30
    Join Date
    Mar 2009
    Beans
    21

    Re: Vaio r5u870 webcam driver, DKMS package

    Quote Originally Posted by galland View Post
    Hi Francus,

    Are you sure you are a member of the video group?

    One of the common simple errors encountered with this driver in Skype (and other software) is that the driver create /dev/video* with write right set for the members of the "video" group. So you may be inside this group to allow your software to use the webcam.

    Stéphane.
    I don't really understand how to put myself in the "video" group. I checked the /dev/video0 properties, and it does say the group "video" has read and write access, but when I go to "Manage Groups" no such group exists.

    My camera is recognized in gstreamer-properties, but not in Cheese or in Skype. Please, any ideas? I have the Ricoh Co., Ltd Visual Communication Camera VGP-VCC2 running in Jaunty, with the r5u870 driver installed from the repos.

    Please help!!

Page 3 of 7 FirstFirst 12345 ... LastLast

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
  •