Menu

#23 Cumulative patch for rev 101, version 01

devel
open
Driver (16)
5
2011-05-03
2011-05-03
No

Hello everybody,

This is a small contribution but it should help : I have applied several patches from cr1st1 and jgasjr, against truck last revision (101), then used svn diff to make this patch.

Hence, it can be applied simply by less technical users (who can't read C code). Without such a cumulative patch, such a user could only take advantage of rev.99, and would have to keep using kernels including V4L1 (which was already dropped in latest fedora stable). Until Nicolas can integrate them nicely...

Works great here for some time against kernel 2.6.35.12-90 with Kopete, Skype and Google video plugin for Firefox (well, the last one sends video just fine, but doesn't show anything here -- unrelated issue, obviously ^^ ).

Thanks a lot folks !

The following should be the shortest steps on a Fedora 14 installation being up to date :

As root:
# yum install ctags doxygen gcc kernel-devel patch

As user:
$ svn co -r 101 https://syntekdriver.svn.sourceforge.net/svnroot/syntekdriver/trunk/driver
$ cd driver
$ wget https://sourceforge.net/.............. [link of the attached cumulative patch]
$ patch -p0 -i rev-101.patches-01
$ make -f Makefile.standalone driver

As root again
# mkdir /lib/modules/`uname -r`/kernel/drivers/extra
# cp stk11xx.ko /lib/modules/`uname -r`/kernel/drivers/extra
# depmod
# modprobe stk11xx

List of included patches:

* Remove obsolete V4L1 calls to build against 2.6.35.11+ kernels
From jgasjr, "stk11xx-sysfs.c" and "stk11xx-v4l.c"
http://sourceforge.net/projects/syntekdriver/forums/forum/616182/topic/4427484

* Fix kernel oops if webcam is already used during init
From cr1st1, "stk11xx-v4l.c"
http://sourceforge.net/tracker/?func=detail&aid=3201155&group_id=178178&atid=884193

* Add flip controls and default values handling
From cr1st1, "stk11xx.h", "stk11xx-usb.c" and "stk11xx-v4l.c"
http://sourceforge.net/tracker/index.php?func=detail&aid=3201636&group_id=178178&atid=884193

* Clear error messages by disabling unrequired function
From cr1st1, "stk11xx-dev.c::dev_stk11xx_watchdog_camera"
http://sourceforge.net/tracker/index.php?func=detail&aid=3201461&group_id=178178&atid=884193

* Let `make` free again :) & small logging improvement
From me, "Makefile.standalone", "stk11xx.h", "stk11xx-usb.c"

I just realized cr1st1 seems to have posted some more, anyone feel free to issue the cumulative patch version 02 :)

Discussion

  • Xavier Hourcade

    Xavier Hourcade - 2011-05-03

    Cumulative patch for trunk rev 101

     
  • Xavier Hourcade

    Xavier Hourcade - 2011-05-03
    • labels: --> Driver
    • milestone: --> devel
    • assigned_to: nobody --> nicklas79
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.