2009-11-27

Linux on a Fujitsu U810 - webcam II

After debugging the camera upside-down issue, here are the final instructions to have the webcam working 100%:

1) install the r5u87x software to download the firmware to the webcam

from the package readme:


Ubuntu
$ sudo apt-get install libglib2.0-dev libusb-dev build-essential gcc automake mercurial
$ hg clone http://bitbucket.org/ahixon/r5u87x/
$ cd r5u87x
$ make; make rules
$ sudo make install
$ sudo r5u87x-loader --reload

r5u87x-loader will automatically be run on boot when it detects your webcam.



2) if your webcam doesn't work yet, reload the uvcvideo module:

as root:
rmmod uvcvideo
modprobe uvcvideo

and then the last lines of 'dmesg' should be:

[ 562.597838] uvcvideo: Found UVC 1.00 device (05ca:1841)
[ 562.610394] input: UVC Camera (05ca:1841) as /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/input/input19
[ 562.610538] usbcore: registered new interface driver uvcvideo
[ 562.610546] USB Video Class driver (v0.1.0)


And it's done!!!

It works (I have tested it) with cheese, xawtv, skype (the image with skype is horizontally mirrored, but t works).

2009-11-24

Linux on a Fujitsu U810 - webcam

update 2009.11.27: please go to this post for webcam setup, where easier instructions and links to latest versions of software is included !!



With the U810, the webcam has two annoyances:

- the webcam is windows based, to webcam's firmware is in the windows driver, and needs to be downloaded to the webcam before using it

- the webcam is mounted upside down, so in some cases you may see the image upside down; it's needed to make the driver to automatically flip back the image, unless the video application can do it


1) to have the webcam firmware load to the webcam, you have to have the "R5U87x Userspace Tools" available here: http://bitbucket.org/ahixon/r5u87x/src/

having that package installed and compiled, then, as root, first unload the webcam module and then run the command to load the firmware:


# rmmod uvcvideo

# ./loader
r5u87x firmware loader v0.2

Searching for device...
Found camera: 05ca:1841
Camera reports negative microcode state.
Sending microcode to camera...
Enabled microcode.
Camera reports microcode version 0x0103.

Successfully uploaded firmware to device 05ca:1841!



will load the correct firmware to the webcam.

This action must be done on every computer reboot; I haven't automated this step, but it should be fairly easy to do.


2) once the webcam is set, just loading the kernel module will find the webcam; as root just type:


# modprobe uvcvideo


running dmesg you can see that the webcam is now detected:


[81252.074453] uvcvideo: Found UVC 1.00 device (05ca:1841)
[81252.077719] input: UVC Camera (05ca:1841) as /devices/pci0000:00/0000:00:1d.7/usb1/1-5/1-5:1.0/input/input25
[81252.077863] usbcore: registered new interface driver uvcvideo
[81252.077871] USB Video Class driver (v0.1.0)


and from this point on the webcam is available in video apps like cheese or skype.

In cheese, there is one video filter which you can activate to automatically flip back the image, so it's not upside down.

To have the image automatically upside down back, so it shows ok, last time I checked I needed to manually apply a patch to the uvcvideo module, since this module didn't have any option to activate this 'filter' automatically; I'll check again later ...


update: I have already contacted someone that may help having this upside down annoyance fixed, so keep tuned for more info !!

2009-11-16

Linux on a Fujitsu U810 - Upgrade to karmic koala

Yesterday I was brave enough to upgrade my reliable jaunty to an unpredictable karmic, so here are my results so far:

- touchscreen driver - works ok

I just reinstalled it just typing, with the latest version,

make clean
make
sudo make install

and it worked OK


- external monitor - I'm having some issues:

Update: also read this update

*) in order to have the monitor work, I have to plug it once ubuntu is started (was ok on jaunty)

*) my monitor is 1920x1200, the maximum I get is 1360x768 (was ok on jaunty)

I have just opened a bug in the video-intel group at xorg, https://bugs.freedesktop.org/show_bug.cgi?id=25115


- suspend/resume - works ok!

- fujitsu buttons driver (fjbtndrv) - works ok

- webcam - works ok!