Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127086 - New ebuild for linux-uvc (Driver for UVC compatible webcams)
Summary: New ebuild for linux-uvc (Driver for UVC compatible webcams)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL: http://linux-uvc.berlios.de/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-03-21 07:39 UTC by Jürgen Geuter
Modified: 2006-08-08 12:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild for checking out the uvcvideo kernel module form SVN (uvcvideo-9999.ebuild,1.17 KB, text/plain)
2006-03-21 07:40 UTC, Jürgen Geuter
Details
newer ebuild to make the driver work with 2.6.16 kernels (uvcvideo-9999.ebuild,1.46 KB, text/plain)
2006-03-28 11:01 UTC, Jürgen Geuter
Details
the patch for the driver to compile with 2.6.16 kernels (kernel-2.6.16.patch,736 bytes, patch)
2006-03-28 11:02 UTC, Jürgen Geuter
Details | Diff
media-video/linux-uvc/linux-uvc-0.1.0_pre41.ebuild (linux-uvc-0.1.0_pre41.ebuild,2.16 KB, text/plain)
2006-07-23 16:11 UTC, Armando Di Cianno
Details
patch for iSight camera support, for use with media-video/linux-uvc-0.1.0_pre41.ebuild (41-001-isight.patch,12.71 KB, patch)
2006-07-23 16:13 UTC, Armando Di Cianno
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jürgen Geuter 2006-03-21 07:39:34 UTC
This is an ebuild for the linux-uvc driver, that supports uvc compatible Webcams like for example:
Logitech Quickcam Fusion
Logitech Quickcam Orbit
Logitech Quickcam Pro for Notebooks
Logitech Quickcam Pro 5000

It is a pure V4l2 driver but since ekiga now already supports it completely it might be worth adding.

The attached ebuild checks the driver out from the berlios SVN, if interested I can checkout the current (working and stable) version and make a tar.gz. 

Let it be noted that the driver is still far from being complete but it does at least work an some newer apps.
Comment 1 Jürgen Geuter 2006-03-21 07:40:35 UTC
Created attachment 82784 [details]
ebuild for checking out the uvcvideo kernel module form SVN
Comment 2 Jürgen Geuter 2006-03-28 11:01:35 UTC
Created attachment 83314 [details]
newer ebuild to make the driver work with 2.6.16 kernels

ebuild had to change a little to appy a patch for 2.6.16 kernels. patch will be attached, too.
Comment 3 Jürgen Geuter 2006-03-28 11:02:26 UTC
Created attachment 83315 [details, diff]
the patch for the driver to compile with 2.6.16 kernels
Comment 4 Jürgen Geuter 2006-03-28 11:04:35 UTC
If noone else has time I'd be willing to maintain this package, too, but I've not yet maintained any other package.
Comment 5 Niv Vaizer 2006-04-21 14:50:43 UTC
I want to note it works well with Ekiga
Comment 6 José María Fernández González 2006-04-27 05:40:16 UTC
I have a Logitech Quickcam Pro 5000 and I have tested it with SVN snapshot from yesterday (2006-04-26). I can see that the patch is not needed any more for a 2.6.16 kernel. I have tested the driver+camera both on x86 (a centrino laptop) and amd64 (a two-processor dual core workstation), and it worked on both cases! Also, I have tested it with Ekiga and it worked with no problem, and even color controls were working!

I have also tested it with tvtime, but in this case I needed a very small patch from the linux-uvc SVN in order to get it working with the camera.

I had no success with xawtv, camE, SDLcam and mplayer.

(A little offtopic)The integrated microphone in the camera works very well with the ALSA USB audio driver, and it can be used with Ekiga.
Comment 7 Jürgen Geuter 2006-05-02 14:18:13 UTC
The patch has found it's way to the SVN so it's obsolete now.

To circumvent that kind of problem I created "stable" snapshots for the uvcvideo driver. They can be found on my website (http://www.the-gay-bar.com). That's where the distfiles are, too.

I didn't want to spam the Bugzilla with every version change so I'll keep putting them on my website, if putting them here would be preferred I can do that, too.
Comment 8 Armando Di Cianno 2006-07-23 16:11:58 UTC
Created attachment 92581 [details]
media-video/linux-uvc/linux-uvc-0.1.0_pre41.ebuild

Created new ebuild, based somewhat on old.
- changed the name to reflect project name v. module name (I personally feel this has the best grep value -- but 'uvc' is in both anyways.)
- not live svn from HEAD, but based on revision; _pre?? in the version is the svn revision number, in case others want to bump later; the main part of the version is grepped for in sources (hopefully this will set the stage for tar releases, but it at least offers a more regular sense of what you are installing, since svn HEAD can/will change)
- uses more of linux-mod default behavior; only specializes on behavior changes based on USE flags
- added 'isight' USE flag, and patch, for Apple iSight camera's on new Intel mac models
- isight USE flag will build a firmware loader called 'isight-firmware-tool'
- isight USE flag will create modules.d entry (using linux-mod methods) with necessary pre-install calls for modprobe to automagically work
- isight USE flag sends out einfo for what a user must do manually after installations is complete (which is copy the firmware from their Apple OSX install, to the linux install root -- or change the path in modules.d uvcvideo)
Comment 9 Armando Di Cianno 2006-07-23 16:13:30 UTC
Created attachment 92582 [details, diff]
patch for iSight camera support, for use with media-video/linux-uvc-0.1.0_pre41.ebuild

Put this in ${OVERLAY}/media-video/linux-uvc/files
Comment 10 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-26 09:49:47 UTC
thanks for your ebuilds!

I made a few changes and committed it.

changes include:
- always install isight
- use a tarball instead of svn
- use elog instead of einfo
...
Comment 11 Thomas Galliano 2006-07-31 05:00:56 UTC
IMHO I think iSight patch must not be install by default and be still install with a use flag.
As you can see on the mailing list.
https://lists.berlios.de/pipermail/linux-uvc-devel/2006-July/000663.html

I expected the issue with a QC Pro 5000 and needed to remove the patch.
Comment 12 Jürgen Geuter 2006-08-01 06:39:39 UTC
I have the problem with the isight patch and my QC 5000, too, it should be a useflag-able patch.
Comment 13 kilian 2006-08-08 05:16:16 UTC
I second this:; iSight patch has to be USE flag dependent. With that patch, Logitech QuickCam for Notebooks does not work either. See bug #143201.
Comment 14 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-08 05:33:28 UTC
kilian opened a new bug about the additional issues of this ebuild, bug 143201 - copied from there and please answer there
--
I am wondering - can the patch maybe be changed to allow useage of all supported webcam models? Some if; else; calls should be enough. Not a lot of work to do ..

I do not like to add another use flag - and I cannot maintain the other driver as I do not own the hardware. So for now I will leave it as-is - maybe you have a better patch or a better suggestion not including an use flag?
---
also adding an useflag would break current isight users - not an easy thing to solve :(
Comment 15 Thomas Galliano 2006-08-08 12:35:37 UTC
isight users will just need to use the flag. I don't understand the problem.
The main developper will add isight patch properly in the next release yet he has no time now
Comment 16 Armando Di Cianno 2006-08-08 12:43:00 UTC
Though I use the isight patch (I submitted it here), I think the "right way" is to bug upstream about getting the patches in so that they work well with other webcam models, and then bumping the svn revision to match (or even make a snapshot tar at that point).

To make everyone happy, with maybe a little strain put on the isight users, maybe gratuitous use of ewarn would be okay in this case?

Either way, I'm confident that this can/will be resolved soon, with maybe a little prodding upstream devs.