| Summary: | qc-usb-messenger-0.8 (New Package) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marcos González <mgtroyas> |
| Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | lucamarturana, media-video, Simon80, somekool |
| Priority: | Lowest | Keywords: | EBUILD |
| Version: | 2004.3 | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://home.mag.cx/messenger/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
qc-usb-messenger-0.8.ebuild
0.8-linux-2.6.11.patch ebuild for qc-usb-messenger My ebuild qc-usb-messenger-1.1.ebuild qc-usb-messenger-1.1.ebuild, revision 1 |
||
|
Description
Marcos González
2005-03-12 03:12:50 UTC
Created attachment 53242 [details]
qc-usb-messenger-0.8.ebuild
Ebuild that applies the patch
Created attachment 53243 [details, diff]
0.8-linux-2.6.11.patch
The patch itself. Is the qc-usb-0.6.2 patch edited to apply to the
qc-usb-messenger sources.
I don't know where the problem is, but the /dev/v4l/video0 device is created with the right permissions, as defined in udev config (user: root, group: video), but when I start my gnome session it changes to user: marcos (my user), group: don't remember right now but maybe also wrong. I think it could be a dbus/hal problem. Other people seem to have a problem with /dev/video0 devices not created at all. I think these people aren't using udev. Perhaps the ebuild forgets to do some important step. It was copied and customized from the "qc-usb" one, so perhaps something was forgotten (I didn't write the ebuild). All this info is in the forums thread I posted before. There is already a bug #75705 for qc-usb-messenger Just to say that it seems to work for me with xawtv :D I have bookmarked this bug and I'll post back after I've done some more testing because it might just be fluke -- alsuren Created attachment 61478 [details]
ebuild for qc-usb-messenger
The previous ebuild did not install qcset
Just a note to say this works great! -- KrypT Confirmed working with two Quickcam Messengers on amd64. does not qc-usb-messenger require some SDK from Axis ? # modprobe quickcam FATAL: Error inserting quickcam (/lib/modules/2.6.14-gentoo/misc/quickcam.ko): Unknown symbol in module, or unknown parameter (see dmesg) # dmesg quickcam: Unknown symbol io_remap_page_range quickcam: Unknown symbol io_remap_page_range quickcam: Unknown symbol io_remap_page_range # (In reply to comment #0) > There is a fork of the qc-usb module (for logitech quickcam webcams), ... Better is to use media-video/spca5xx. Works with a lot of Logitech webcams. Created attachment 73666 [details]
My ebuild
With this my modified ebuild the module will be compiled for the kernel in
/usr/src/linux instead for the current kernel running.
is this suppose to compile at all ? (In reply to comment #12) > is this suppose to compile at all ? Yes, works fine on my system. (In reply to comment #10) > (In reply to comment #0) > > There is a fork of the qc-usb module (for logitech quickcam webcams), ... > > Better is to use media-video/spca5xx. Works with a lot of Logitech webcams. You should probably do your homework before saying something like that. As far as I know this is the only driver that supports the quickcam messenger. Simon Created attachment 78629 [details]
qc-usb-messenger-1.1.ebuild
Here is an up to date ebuild for the package. It's similar to the others, but I added a block dependency to qc-usb, a debug USE flag,and a couple of extra doc files (_README_MESSENGER and _CHANGES_MESSENGER). I also pass in ${CFLAGS} to make, and I run depmod after the package is installed or uninstalled (if this isn't a good idea, someone please enlighten me).
I've tested it on this box with gentoo-sources-2.6.15-r1 and so far it hasn't done anything horrible, even if I unplugged the cam while it was in use, and then plugged it back in. However, I haven't tested it for long, so anybody else with this cam should try it out.
Considering that qc-usb is in stable portage, my humble opinion is that this driver should eventually end up in portage as well. It's still the only way to use a Quickcam Messenger, AFAIK.
>I run depmod after the package is installed or uninstalled (if
> this isn't a good idea, someone please enlighten me).
linux-mod eclass that you have inherited already do it. It isn't necessary do it manually.
Comment on attachment 78629 [details] qc-usb-messenger-1.1.ebuild ># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit linux-mod > >DESCRIPTION="Logitech Quickcam Messenger USB webcam driver module and util, >based on qc-usb" >HOMEPAGE="http://home.mag.cx/messenger/" ># note that judging by the older versions on the homepage, this URL will change ># to http://home.mag.cx/messenger/source/old/${P}.tar.gz when the next version ># is released, and this URL will cease to function >SRC_URI="http://home.mag.cx/messenger/source/${P}.tar.gz" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="x86 ~ppc ~amd64" >IUSE="debug" > >DEPEND="!media-video/qc-usb" >RDEPEND="" > >src_compile() >{ > QCFLAGS="${CFLAGS}" > use debug && QCFLAGS="${QCFLAGS} -DDEBUG" > emake LINUX_DIR=${KERNEL_DIR} USER_OPT="${QCFLAGS}" all || die "make failed" >} > >src_install() >{ > insinto /lib/modules/${KV}/drivers/usb > doins quickcam.${KV_OBJ} > dobin qcset > > dodoc README* APPLICATIONS COPYING CREDITS TODO FAQ _README_MESSENGER _CHANGES_MESSENGER > docinto examples > dodoc quickcam.sh debug.sh freeshm.sh >} > >pkg_postinst() >{ > einfo "This driver is based on qc-usb-0.6.2, but support for cameras other" > einfo "than the Quickcam Messenger has been removed." >} Oops.. that was rather noobish, I thought I might have a shot of revising the original attachment. Anyway, I just hope that this gets into portage, for people who have this camera. (In reply to comment #17) > (From update of attachment 78629 [details] [edit]) (In reply to comment #17) >pkg_postinst() >{ > einfo "This driver is based on qc-usb-0.6.2, but support for cameras other" > einfo "than the Quickcam Messenger has been removed." >} if you specifify another pkg_postinst and you want to use the pkg_postinst from the eclass it is necessary to recall him manually, then your pkg_postinst will be: pkg_postinst() { linux-mod_pkg_postinst einfo "This driver is based on qc-usb-0.6.2, but support for cameras other" einfo "than the Quickcam Messenger has been removed." } For example on the metacity ebuild: pkg_postinst() { gnome2_pkg_postinst einfo "Metacity & Xorg X11 with composite enabled may cause unwanted" einfo "border effects" } Created attachment 78718 [details]
qc-usb-messenger-1.1.ebuild, revision 1
Dupe, please comment/attach to the other bug, if necessary. *** This bug has been marked as a duplicate of 75705 *** |