Author Topic: Sony Vaio UX1XN Webcam - Ricoh VGP-VCC3 R5U870 driver installation (SOLVED)  (Read 14648 times)

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
1. Installed Peppermint OS 4 on my VGN-UX1XN.
2. Running quite fast- love it.
3. Cannot install the webcam driver (Ricoh VGP-VCC3 R5U870)
4. This https://bitbucket.org/ahixon/r5u87x/ runs without issues.
5. Haven't tried this http://code.google.com/p/r5u870/ yet as I am not sure if my kernel (3.8.0-35-generic ) is supported.
6. Firing cheese gives me the following error

jm@ux1xn ~ $ cheese

** (cheese:2049): WARNING **: cheese-main.vala:251: Error: No device found


(cheese:2049): cheese-CRITICAL **: cheese_camera_device_get_device_node: assertion `CHEESE_IS_CAMERA_DEVICE (device)' failed

(cheese:2049): GLib-CRITICAL **: g_variant_new_string: assertion `string != NULL' failed

(cheese:2049): GLib-GIO-CRITICAL **: g_settings_schema_key_type_check: assertion `value != NULL' failed

(cheese:2049): GLib-CRITICAL **: g_variant_get_type_string: assertion `value != NULL' failed

(cheese:2049): GLib-GIO-CRITICAL **: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given

** (cheese:2049): CRITICAL **: cheese_preferences_dialog_setup_resolutions_for_device: assertion `device != NULL' failed



7. modprobe gives

    jm@ux1xn ~ $ modprobe r5u870
    FATAL: Module r5u870 not found



Looking for a solution. Please help.
« Last Edit: April 21, 2014, 03:01:46 pm by jam_27 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Try this ....

Download ONE of these 2 files to your PC depending on if you're running 32bit or 64bit Peppermint 4

32bit:
https://launchpad.net/~r5u87x-loader/+archive/ppa/+files/r5u87x_0.2.1%2Br64%2Bdfsg1-0ppa12_i386.deb

64bit:
https://launchpad.net/~r5u87x-loader/+archive/ppa/+files/r5u87x_0.2.1%2Br64%2Bdfsg1-0ppa12_amd64.deb

Once downloaded, double-click it to install.

Once installed, open a terminal and run:
Code: [Select]
sudo /usr/share/r5u87x/r5u87x-download-firmware.shto download and install the firmware.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
installation of driver (32bit) and firmware proceeds without any hiccups. But there is still now webcam. Cheese throws the same error as above. modprobe still gives the "FATAL" error. Waiting for further instructions.....

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
hello jam_27 and welcome to the forum

please post the output from the following commands

Code: [Select]
inxi -F
Code: [Select]
lsmod
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
Spoiler (click here to view / hide)
[close]


waiting for next instruction
« Last Edit: April 21, 2014, 07:05:09 pm by mac »

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
try
Code: [Select]
modprobe -v r5u87x
EDIT:  log off / on then test

Edit: correction
« Last Edit: April 21, 2014, 12:34:27 pm by mac »
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
result pasted below
Code: [Select]
jm@ux1xn ~ $ modprobe -v r5u870
FATAL: Module r5u870 not found.
corrected below for r5u87x
« Last Edit: April 21, 2014, 12:20:08 pm by jam_27 »

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Should be r5u87x
That's the one downloaded as per PCNetSpec's instructions.
There are two drivers for that camera:  r5u87x and r5u870

Edit: corrected above
« Last Edit: April 21, 2014, 12:12:25 pm by mac »
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
after log off/on 
result pasted below for r5u87x
Code: [Select]
jm@ux1xn ~ $ modprobe -v r5u87x
FATAL: Module r5u87x not found.

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Hmmmm.  Stumped.  Let me see what I can find.

Might be of interest to you:
Quote
The driver r5u870 is being replaced by a set of userland tools named r5u87x. These tools load the firmware for the supported uvcvideo webcams and make those work with the standard kernel driver.
At this moment the WDM[1] webcameras are only supported by the r5u870 driver, not by the r5u87x driver.
The webcams supported by the r5u87x driver are marked as UVC
SOURCE

According to your output your's is uvc.
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
Also, the model_matrix file https://bitbucket.org/ahixon/r5u87x/src/a9b2171d762bdf3e2eb9d35d142c11077be401f9/docs/model_matrix.txt?at=default
says that my machine (Sony VAio UX) is supported.

Source: https://bitbucket.org/ahixon/r5u87x/

Could my previous installation attempts for the R5U87x drivers be causing conflicts? Is there a way I could try a clean install. I am relatively new to linux so would need instructions for that too.

waiting for next instruction...

Offline mac

  • Veteran
  • ****
  • Posts: 1088
  • Karma: 336
    • View Profile
  • Peppermint version(s): Peppermint 7-8-9
Okay, your camera is the Sony Camera VGP-VCC3
According this.......

Supported hardware
================
05ca:1803 Flybook V5
05ca:1810 HP Pavilion Webcam
05ca:1835 Sony Camera VGP-VCC5 (used on Sony Vaio SZ laptops)
05ca:1836 Sony Camera VGP-VCC4 (used on Sony Vaio FE laptops)
05ca:1837 Sony Camera VGP-VCC4 (used on Sony Vaio FZ laptops)
05ca:1839 Sony Camera VGP-VCC6 (used on Sony Vaio CR laptops)
05ca:183a Sony Camera VGP-VCC7 (used on Sony Vaio SZ and TZ11 laptops)
05ca:183b Sony Camera VGP-VCC8 (used on Sony Vaio FZ laptops)
05ca:183e Sony Camera VGP-VCC9 (used on Sony Vaio FZ laptops)
05ca:1841 Fujitsu F01 / Fujitsu Lifebook U810

.......your camera is not supported by the r5u87x driver / firmware.

That does not necessarily mean it can't work but it does mean that making it work
requires an expertise beyond my own.  PCNetSpec will chime back in
shortly....I suggest you wait for his next reply. 

SOURCE FOR QUOTE
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Does Cheese even support UVC webcams .. try installing guvcview
Code: [Select]
sudo apt-get install guvcviewand see if that can see your webcam.

the driver you keep trying to modprobe is no longer supported .. instead the instructions I gave you are supposed to load the firmware via the uvcvideo driver .. which IS being loaded.

It may just be that Cheese only supports v4l webcams.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline jam_27

  • Jr. Member
  • **
  • Posts: 33
  • Karma: 0
  • Panasonic CF-SX1
    • View Profile
  • Peppermint version(s): 10
Still nothing. I get the attached error.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
OK, I've just patched the r5u870 driver so it should now compile in Peppermint 4 (kernel 3.8 ), and uploaded it to my dropbox.

Open a terminal and run these commands in sequence:
Code: [Select]
sudo apt-get install build-essential linux-headers-genericthen
Code: [Select]
mkdir ~/r5u870-sourcethen
Code: [Select]
cd ~/r5u870-sourcethen
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/r5u870-kernel3.8.tar.gzthen
Code: [Select]
tar xvf r5u870-kernel3.8.tar.gzthen
Code: [Select]
cd ~/r5u870-source/r5u870then
Code: [Select]
makethen
Code: [Select]
sudo make installthen
Code: [Select]
sudo modprobe r5u870Now test the webcam in both Cheese and guvcview
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec