Choose style:

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

0 Members and 1 Guest are viewing this topic.

Offline jam_27

  • Jr. Member
  • **
  • Posts: 32
  • Karma: 0
  • Sony vaio UX1XN
    • View Profile
  • Peppermint version(s): 5
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, 06:01:46 pm by jam_27 »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24810
  • Karma: 2736
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
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.sh
to 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: 32
  • Karma: 0
  • Sony vaio UX1XN
    • View Profile
  • Peppermint version(s): 5
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

  • Global Moderator
  • 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: 32
  • Karma: 0
  • Sony vaio UX1XN
    • View Profile
  • Peppermint version(s): 5
Spoiler (click here to view / hide)
here it is together with lsusb
 inxi -F
System:    Host: ux1xn Kernel: 3.8.0-35-generic i686 (32 bit) Desktop: N/A Distro: Peppermint Four
Machine:   System: Sony product: VGN-UX1XN version: J0023XKQ
           Mobo: Sony model: VAIO Bios: Phoenix version: R0112N2 date: 12/05/2007
CPU:       Single core Intel Core Solo CPU U1500 (-UP-) cache: 2048 KB flags: (nx sse sse2 sse3 vmx) clocked at 800.00 MHz
Graphics:  Card: Intel Mobile 945GM/GMS 943/940GML Express Integrated Graphics Controller
           X.Org: 1.13.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1024x600@60.3hz, 1280x1024@60.0hz
           GLX Renderer: Mesa DRI Intel 945GM x86/MMX/SSE2 GLX Version: 1.4 Mesa 9.1.7
Audio:     Card: Intel NM10/ICH7 Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture ver: k3.8.0-35-generic
Network:   Card-1: Intel PRO/Wireless 3945ABG [Golan] Network Connection driver: iwl3945
           IF: wlan0 state: down mac: 00:19:d2:50:68:21
           Card-2: Marvell 88E8036 PCI-E Fast Ethernet Controller driver: sky2
           IF: eth0 state: down mac: 00:13:a9:8e:e9:c9
           Card-3: NetGear WG111v3 54 Mbps Wireless [realtek RTL8187B] driver: rtl8187
           IF: wlan1 state: up mac: 00:26:f2:b4:1c:0f
Drives:    HDD Total Size: 40.7GB (23.5% used) 1: id: /dev/sda model: MCBOE32GQMPQ size: 32.7GB
           2: id: /dev/sdb model: FC size: 7.9GB
Partition: ID: / size: 29G used: 3.4G (13%) fs: ext4 ID: swap-1 size: 1.06GB used: 0.00GB (0%) fs: swap
RAID:      No RAID devices detected - /proc/mdstat and md_mod kernel raid module present
Sensors:   System Temperatures: cpu: 63.9C mobo: 63.0C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 144 Uptime: 1 min Memory: 196.1/993.2MB Client: Shell inxi: 1.8.4

lsmod
Module                  Size  Used by
nls_iso8859_1          12617  2
snd_hda_codec_realtek    63829  1
uvcvideo               71279  0
videobuf2_vmalloc      12920  1 uvcvideo
videobuf2_memops       13042  1 videobuf2_vmalloc
pata_pcmcia            16938  2
videobuf2_core         39161  1 uvcvideo
mspro_block            22240  2
videodev               95806  2 uvcvideo,videobuf2_core
coretemp               13131  0
joydev                 17097  0
hid_generic            12484  0
tifm_ms                13067  0
memstick               15842  2 mspro_block,tifm_ms
kvm                   376584  0
pcmcia                 39544  1 pata_pcmcia
snd_hda_intel          38307  3
yenta_socket           27095  0
snd_hda_codec         117617  2 snd_hda_codec_realtek,snd_hda_intel
rtl8187                60184  0
pcmcia_rsrc            18191  1 yenta_socket
eeprom_93cx6           13168  1 rtl8187
lpc_ich                16925  0
pcmcia_core            21505  3 pcmcia,pcmcia_rsrc,yenta_socket
usbhid                 41805  0
microcode              18286  0
i915                  544217  2
arc4                   12543  4
btusb                  17986  0
tifm_7xx1              12905  0
hid                    87001  2 hid_generic,usbhid
snd_hwdep              13272  1 snd_hda_codec
psmouse                81065  0
iwl3945                63619  0
tifm_core              15068  2 tifm_7xx1,tifm_ms
drm_kms_helper         47545  1 i915
serio_raw              13031  0
snd_pcm                80890  2 snd_hda_codec,snd_hda_intel
iwlegacy               87690  1 iwl3945
snd_page_alloc         14230  2 snd_pcm,snd_hda_intel
drm                   228489  3 i915,drm_kms_helper
snd_seq_midi           13132  0
snd_seq_midi_event     14475  1 snd_seq_midi
mac80211              526619  3 iwl3945,iwlegacy,rtl8187
snd_rawmidi            25114  1 snd_seq_midi
snd_seq                51280  2 snd_seq_midi_event,snd_seq_midi
sony_laptop            44238  1
snd_seq_device         14137  3 snd_seq,snd_rawmidi,snd_seq_midi
cfg80211              440887  4 iwl3945,iwlegacy,mac80211,rtl8187
snd_timer              24411  2 snd_pcm,snd_seq
mac_hid                13037  0
rfcomm                 37420  12
bnep                   17736  2
bluetooth             202266  22 bnep,btusb,rfcomm
parport_pc             27504  0
ppdev                  12817  0
i2c_algo_bit           13197  1 i915
snd                    56485  15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
video                  18894  1 i915
soundcore              12600  1 snd
lp                     13299  0
parport                40753  3 lp,ppdev,parport_pc
firewire_ohci          35451  0
btrfs                 783372  0
zlib_deflate           26445  1 btrfs
libcrc32c              12543  1 btrfs
firewire_core          61718  1 firewire_ohci
crc_itu_t              12627  1 firewire_core
sky2                   52882  0

lsusb
Bus 001 Device 002: ID 0409:0059 NEC Corp. HighSpeed Hub
Bus 001 Device 005: ID 05ca:1832 Ricoh Co., Ltd Visual Communication Camera VGP-VCC3 [R5U870]
Bus 003 Device 002: ID 0637:0003 
Bus 004 Device 002: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 005 Device 002: ID 044e:300d Alps Electric Co., Ltd Bluetooth Controller (ALPS/UGPZ6)
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 001 Device 007: ID 0846:4260 NetGear, Inc. WG111v3 54 Mbps Wireless [realtek RTL8187B]
Bus 001 Device 008: ID 04b3:301a IBM Corp.
Bus 001 Device 009: ID 04f3:02f4 Elan Microelectronics Corp. 2.4G Cordless Mouse
Bus 001 Device 010: ID 04b3:301b IBM Corp. SK-8815 Keyboard
[close]


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

Offline mac

  • Global Moderator
  • 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, 03:34:27 pm by mac »
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline jam_27

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

Offline mac

  • Global Moderator
  • 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, 03:12:25 pm by mac »
Peppermint: Standing Out from the Cloud
Reg. Linux User #432835

Offline jam_27

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

Offline mac

  • Global Moderator
  • 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: 32
  • Karma: 0
  • Sony vaio UX1XN
    • View Profile
  • Peppermint version(s): 5
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

  • Global Moderator
  • 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: 24810
  • Karma: 2736
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Does Cheese even support UVC webcams .. try installing guvcview
Code: [Select]
sudo apt-get install guvcview
and 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: 32
  • Karma: 0
  • Sony vaio UX1XN
    • View Profile
  • Peppermint version(s): 5
Still nothing. I get the attached error.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 24810
  • Karma: 2736
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
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-generic
then
Code: [Select]
mkdir ~/r5u870-source
then
Code: [Select]
cd ~/r5u870-source
then
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/r5u870-kernel3.8.tar.gz
then
Code: [Select]
tar xvf r5u870-kernel3.8.tar.gz
then
Code: [Select]
cd ~/r5u870-source/r5u870
then
Code: [Select]
make
then
Code: [Select]
sudo make install
then
Code: [Select]
sudo modprobe r5u870
Now 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