Thursday, November 6, 2008

linux-uvc_flip updates

I've updated several times, and at the moment it works with SVN-261 of linux-uvc. If anyone has any problems with certain kernel versions, or with certain parameters compiled in, let me know. It seems to work with 2.6.27.4, but I will need to look into some delay issues I'm experiencing at 640x480.

http://github.com/dfu/linux-uvc_flip

Labels: , , ,

Saturday, July 5, 2008

linux-uvc_flip update

Updated linux-uvc_flip to svn-223 of linux-uvc. Grab it from the git repository:
git://github.com/dfu/linux-uvc_flip.git

Saturday, June 21, 2008

Git Repository for linux-uvc hack

Since there is an issue with downloading my patch, I've started a git repository for my linux-uvc_flip hack. It's still the same as before, but I'll update it eventually to use the current svn version of the linux-uvc driver (217 currently).

git://github.com/dfu/linux-uvc_flip.git

Saturday, May 24, 2008

UVC Webcam Flip Patch v03

I updated the patch slightly to copy whole lines of data, instead of 4 byte chunks.

http://www.uhacc.org/~dfu/uvc-hack-v03.tar.gz
http://www.uhacc.org/~dfu/uvc-hack-v03.patch

Thursday, May 15, 2008

Updated UVC Flip Hack

I've created an updated patch to fix a couple issues of the original patch. In the original the image was not only flipped vertically, but horizontally too. However, since my understanding of the video format was not the greatest, the luminance bits were not flipped. Every four bytes corresponds to two pixels, with each pixel having its own luminance, but the chrominance is shared between the two. Well, since I didn't switch the luminance bits, it looked blocky at low resolutions.

This new patch is somewhat more complex, but, is also more accurate. It creates a vertical flip by understanding the height and width of the image, and not just dealing with the length of the array.

Again, this is for Asus Laptops using the Chicony based webcam:
http://www.uhacc.org/~dfu/uvc-hack-v02.tar.gz
http://www.uhacc.org/~dfu/uvc-hack-v02.patch

Tuesday, May 6, 2008

Chicony 04f2:b012 Webcam UVC Hack

Since on the Asus W7S, the cam is installed upside down, I did a small hack for the Linux UVC driver to flip the Chicony webcam's image vertically. At the moment it is very hacky, but works fine. This really shouldn't be in the kernel, but I would rather have the cam work than not.

Based on SVN Rev 207 of the UVC driver: http://www.uhacc.org/~dfu/uvc-hack.tar.gz
If you want to see what I did: http://www.uhacc.org/~dfu/uvc-hack.patch

I will post more findings later.

Labels: , , , ,

Monday, August 20, 2007

Gentoo Linux on the Asus W7S-A1B

I've been using my Asus W7S-A1B for awhile now, and it's a cool little notebook. I, as usual, put Linux on it when I first received it with little headache. Just make sure to use a 2.6.22+ kernel so that you have the mac80211 stack for the Intel 4965 wireless controller. The SDHCI drivers work flawless too, and it's nice to actually be able to use the integrated SD card reader. The only caveat is that the webcam has no driver. Maybe I found a new little side project. :)

However, lately I've been looking into bandwidth while transferring files and noticed it is extremely slow with not only wireless, but wired too. Needless to say I will have to look into it. Maybe it's something I compiled in the kernel (or lack of something).