2007-05-06 14:06:19 UTC
NEWS
====
Today, I publish the revision 36 with some corrections :
- Bug correction in VIDIOC_QUERYCTRL ioctl. (Thanks to Jaime Velasco)
- Add writable settings from "sysfs"
- Correct the resolution 1024x758 to 1024x768
TODO
====
+ Debug STK-1135 webcam
I have always a kernel crash after several load/unload module !!!
+ Add 800x600 and 1024x768 resolutions
Not very important...
+ Add YUV420P and UYVY colors palette
Increase the performance. Less CPU usage.
+ Work about the sensor OmniVision... it seems that 0x174F:0xa311 and 0x05E1:0x0501 webcams use the sensor OmniVision 9652.
Add features by hardware (and no by soft !)... by sample image flip or quality correction...
Reverse the STK-1135 USB logs to identify a sensor ???
USAGE
=====
To use the driver :
$ make clean && make
$ modeprobe videodev
$ insmod stk11xx.ko [hflip=0/1] [vflip=0/1] [fps=10-30]
To use Camorama :
$ camorama -R
$ camorama
$ camorama --width=320 --height=240
With camorama, you have to install the filter correction.
To use XawTV :
$ xawtv
$ xawtv -nodga
To use ekiga :
$ ekiga
Then, in preferences menu, enable V4L or V4Lv2
To use mplayer :
$ mplayer
tv:// -tv "driver=v4l:device=/dev/video0:outfmt=bgr24"
To change settings via SYSFS :
$ cd /sys/class/video4linux/video0
$ cat vflip
$ echo 0 > vflip
$ cat brightness
$ echo 3000 > brightness
DEBUG
=====
In the stk11xx.h, you can enable : CONFIG_STK11XX_DEBUG and CONFIG_STK11XX_DEBUG_STREAM
(I don't need CONFIG_STK11XX_DEBUG_STREAM)
To give me your the USB traces :
1°/ Compile the USB_MON module (Device Drivers / USB ; Support / USB Monitor) or compile it into the kernel
2°/ Enable debugfs in the kernel, rebuild the kernel and reboot using the new kernel
3°/ mount -t debugfs none_debugs /sys/kernel/debug
4°/ modprobe usbmon
5°/ Find the Bus to which the USB device connects (cat /proc/bus/usb/devices and look for the 'T:' line which
gives the bus number
6°/ cat /sys/kernel/debug/usbmon/<Bus Number>t > /tmp/Bus<Bus Number>.txt (NOTE : It's <Bus Number>t, not just <Bus Number>)
7°/ Use the USB device
8°/ Kill the 'cat' command
9°/ Examine the file /tmp/Bus<Bus Number>.txt
I need USB logs get from usbmon module !!!
Especially, if you want me to debug your STK1135 webcam...
CONTACT
=======
On this forum or with this mail :
progweb AROBA free.fr
Nicklas