1. Alex Hixon
  2. r5u87x
Issue #72 open

Flybook V5 Ubuntu 9.04 I386... little but just little pissed off! ;)

rickyprose
created an issue

Dear friend, I hope this project is still survive and i want to post my problem hope anyone can help me, because is 2 weeks i'm going mad... with this Ricoh webcam. My hardware is a Flybook V5, I installed ubuntu 9.04 and everythings works out of the box, exept the webcam, the fingerprint and touch screen. Fingerprint I installed, Touch screen I'm waiting the manufacture is preparing the driver, but what is making me crazy is the webcam I can not understand why is not working, I applied a lot of different guide in internet but the result is still the same. Here all my report hope some good technical gui want to reply to me:

Download the driver and:

rickyprose@rickyprose-v5:~/Desktop/r5u87x$ make cc -g -Wall -DHAVE_CONFIG_H -DUCODE_PATH=\”/usr/lib/r5u87x/ucode/r5u87x-%vid%-%pid%.fw\” pkg-config –cflags glib-2.0 libusb -c loader.c loader.h cc -g -Wall -o loader loader.o pkg-config –libs glib-2.0 libusb rickyprose@rickyprose-v5:~/Desktop/r5u87x$ make rules cat contrib/90-r5u87x-loader.rules.in | awk ‘BEGIN{P=1;}/^###BEGINTEMPLATE###/{P=0;} {if (P) print;}’ | grep -v ‘^###’ >contrib/90-r5u87x-loader.rules for sedline in ls ucode | sed ’s/^r5u87x-\([0-9a-zA-Z]\+\)-\([0-9a-zA-Z]\+\)\.fw$/s\/#VENDORID#\/\1\/g;s\/#PRODUCTID#\/\2\/g/p;d’; do \ cat contrib/90-r5u87x-loader.rules.in | awk ‘BEGIN{P=0;}/^###BEGINTEMPLATE###/{P=1;}/^###ENDTEMPLATE###/{P=0;} {if (P) print;}’ | grep -v ‘^###’ | sed “$sedline” >>contrib/90-r5u87x-loader.rules; \ done >>contrib/90-r5u87x-loader.rules cat contrib/90-r5u87x-loader.rules.in | awk ‘BEGIN{P=0;}/^###ENDTEMPLATE###/{P=1;} {if (P) print;}’ | grep -v ‘^###’ >>contrib/90-r5u87x-loader.rules rickyprose@rickyprose-v5:~/Desktop/r5u87x$ sudo make install install -d /usr install -d /usr/sbin install -m 0755 loader /usr/sbin/r5u87x-loader install -d /usr/lib/r5u87x/ucode install -m 0644 ucode/r5u87x-05ca-1803.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1803.fw install -m 0644 ucode/r5u87x-05ca-1810.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1810.fw install -m 0644 ucode/r5u87x-05ca-1812.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1812.fw install -m 0644 ucode/r5u87x-05ca-1830.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1830.fw install -m 0644 ucode/r5u87x-05ca-1832.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1832.fw install -m 0644 ucode/r5u87x-05ca-1833.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1833.fw install -m 0644 ucode/r5u87x-05ca-1834.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1834.fw install -m 0644 ucode/r5u87x-05ca-1835.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1835.fw install -m 0644 ucode/r5u87x-05ca-1836.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1836.fw install -m 0644 ucode/r5u87x-05ca-1837.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1837.fw install -m 0644 ucode/r5u87x-05ca-1839.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1839.fw install -m 0644 ucode/r5u87x-05ca-183a.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-183a.fw install -m 0644 ucode/r5u87x-05ca-183b.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-183b.fw install -m 0644 ucode/r5u87x-05ca-183e.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-183e.fw install -m 0644 ucode/r5u87x-05ca-1841.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1841.fw install -m 0644 ucode/r5u87x-05ca-1870_1.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1870_1.fw install -m 0644 ucode/r5u87x-05ca-1870.fw /usr/lib/r5u87x/ucode/r5u87x-05ca-1870.fw

If we have the rules file generated, install it while we’re here

if [ -f contrib/90-r5u87x-loader.rules ]; then \ install -d /etc/udev/rules.d/; \ install -m 0644 contrib/90-r5u87x-loader.rules /etc/udev/rules.d/; \ fi rickyprose@rickyprose-v5:~/Desktop/r5u87x$ modprobe r5u870 WARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it will be ignored in a future release. FATAL: Module r5u870 not found.

Anyway I tried: rickyprose@rickyprose-v5:~/Desktop/r5u87x$ sudo ./loader [sudo] password for rickyprose: r5u87x firmware loader v0.2

Searching for device... Found camera: 05ca:1803 Warning: Failed to get microcode status.

Error: Failed to upload firmware to device: Protocol error (code -71).

rickyprose@rickyprose-v5:~/Desktop/r5u87x$ sudo r5u87x-loader --reload r5u87x firmware loader v0.2

Searching for device... Found camera: 05ca:1803 Warning: Failed to get microcode status.

Error: Failed to upload firmware to device: Cannot send after transport endpoint shutdown (code -108).

If you see the webcam is on here the usb list: root@rickyprose-v5:/home/rickyprose/Desktop/r5u87x# lsusb Bus 001 Device 096: ID 05ca:1803 Ricoh Co., Ltd

But I also noted on the file loader.h this specific line referred to my camera:

{ 0×05CA, 0×1803, 0xFFFF }, // Unknown ucode version.

Why when I try to upload the firmware i can not get the microcode status?

I tryed a lot of different guide, butno one is helping, someone can write correct procedure?

Thanks a lot.

Ciao

Riccardo

Comments (5)

  1. Anonymous

    Hey there!

    A few things:

    1. You don't need to do the whole modprobe r5u870 jazz, since we're not USING r5u870 :)
    2. I can't quite remember, but I think we had someone confirm that this works against the flybook, but I can't remember.

    I'm not quite sure how these cameras work, since they're based on the R5U875 chipset (not R5U870), but I want to support them. :)

    Actually, this one might work out of the box; have you tried it purely with uvcvideo?

    If not, I might ask you to come up with some USB traces for me.

  2. rickyprose reporter

    Dear Alex,

    thanks a lot for the quick reply. For what I understand now the UVC driver they are included in all linux distribution natively from the kernel 2.6.26, that mean I don't need to install. But in this way the cam need to work out of the box, but is not my case.

    I locate the UVC and is installed:

    rickyprose@rickyprose-v5:$ locate uvcvideo

    /home/rickyprose/Desktop/r5u87x/trunk/uvcvideo.h

    /home/rickyprose/Desktop/r5u87x/trunk/.svn/text-base/uvcvideo.h.svn-base

    /lib/modules/2.6.28-11-generic/kernel/drivers/media/video/uvc/uvcvideo.ko

    My USB list is that one:

    rickyprose@rickyprose-v5:$ lsusb

    Bus 001 Device 076: ID 05ca:1803 Ricoh Co., Ltd

    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    Bus 005 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor

    Bus 005 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

    rickyprose@rickyprose-v5:$

    what other informations you need? Just let me know what command I need to type and I will show to you the result.

    Thanks a lot.

    Riccardo

  3. Anonymous

    rickyprose,

    If you're still hunting for a solution for the Flybook V5 camera, email me at lxman@calcutils.tuxfamily.org. I have one.

  4. Log in to comment