Debian Bug report logs - #524112
qc-usb-source: linux-2.6.29 provides an equivalent driver

version graph

Package: qc-usb-source; Maintainer for qc-usb-source is Martín Ferrari <tincho@debian.org>;

Reported by: Antonio Ospite <ospite@studenti.unina.it>

Date: Tue, 14 Apr 2009 21:18:01 UTC

Severity: wishlist

Found in version qc-usb/0.6.6-6

Done: Martín Ferrari <martin.ferrari@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Tue, 14 Apr 2009 21:18:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Antonio Ospite <ospite@studenti.unina.it>:
New Bug report received and forwarded. Copy sent to Martín Ferrari <tincho@debian.org>. (Tue, 14 Apr 2009 21:18:12 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Antonio Ospite <ospite@studenti.unina.it>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: qc-usb-source: linux-2.6.29 provides an equivalent driver
Date: Tue, 14 Apr 2009 23:12:21 +0200
Package: qc-usb-source
Severity: wishlist


Hi,

linux-2.6.29 provides the gspca_stv06xx driver, a port to v4l2 of qc-usb which
should support all the cameras supported by qc-usb.

This is just for your info, you might consider removing qc-usb from debian in
future, for now I can just say I tested the new driver with a QuickCam Express
and it worked very well.

Regards,
   Antonio Ospite

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qc-usb-source depends on:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  debhelper                     7.2.7      helper programs for debian/rules
ii  make                          3.81-5     The GNU version of the "make" util
ii  module-assistant              0.11.0     tool to make module package creati

qc-usb-source recommends no packages.

qc-usb-source suggests no packages.




Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Sat, 02 May 2009 18:39:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martín Ferrari <martin.ferrari@gmail.com>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Sat, 02 May 2009 18:39:03 GMT) Full text and rfc822 format available.

Message #10 received at 524112@bugs.debian.org (full text, mbox):

From: Martín Ferrari <martin.ferrari@gmail.com>
To: Antonio Ospite <ospite@studenti.unina.it>, 524112@bugs.debian.org
Subject: Re: Bug#524112: qc-usb-source: linux-2.6.29 provides an equivalent driver
Date: Sat, 2 May 2009 20:23:50 +0200
Hi,

On Tue, Apr 14, 2009 at 23:12, Antonio Ospite <ospite@studenti.unina.it> wrote:

> linux-2.6.29 provides the gspca_stv06xx driver, a port to v4l2 of qc-usb which
> should support all the cameras supported by qc-usb.
>
> This is just for your info, you might consider removing qc-usb from debian in
> future, for now I can just say I tested the new driver with a QuickCam Express
> and it worked very well.

Thanks for noticing this. Sadly, I don't have any camera to try it
out. So maybe other people can comment on this bug with their
experience with that driver to see if I should remove the package
altogether...

-- 
Martín Ferrari




Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Sat, 09 May 2009 00:09:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Sat, 09 May 2009 00:09:02 GMT) Full text and rfc822 format available.

Message #15 received at 524112@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Martín Ferrari <martin.ferrari@gmail.com>, 524112@bugs.debian.org
Cc: Antonio Ospite <ospite@studenti.unina.it>
Subject: Re: Bug#524112: qc-usb-source: linux-2.6.29 provides an equivalent driver
Date: Sat, 9 May 2009 02:05:54 +0200
[Message part 1 (text/plain, inline)]
Martín Ferrari <martin.ferrari@gmail.com> (02/05/2009):
> On Tue, Apr 14, 2009 at 23:12, Antonio Ospite <ospite@studenti.unina.it> wrote:
> > linux-2.6.29 provides the gspca_stv06xx driver, a port to v4l2 of
> > qc-usb which should support all the cameras supported by qc-usb.
> >
> > This is just for your info, you might consider removing qc-usb from
> > debian in future, for now I can just say I tested the new driver
> > with a QuickCam Express and it worked very well.
> 
> Thanks for noticing this. Sadly, I don't have any camera to try it
> out. So maybe other people can comment on this bug with their
> experience with that driver to see if I should remove the package
> altogether...

Heya,

given I'd like to buy a cheap webcam, I'm most likely going to try the
QC E2500 out, which seems to have the following IDs, which seem to be
indeed known in the linux source tree:
| -(cyril@talisker pts/9)-(~/hack/various/linux-2.6.git/drivers)
| $ git grep 046d | grep 089d
| media/video/gspca/zc3xx.c:	{USB_DEVICE(0x046d, 0x089d), .driver_info = SENSOR_MC501CB},

Also, since there's no more qc-usb releases, I guess it's good news to
have it in the kernel. ;)

I'll report back ASAP.

Mraw,
KiBi.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Sat, 09 May 2009 13:51:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martín Ferrari <martin.ferrari@gmail.com>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Sat, 09 May 2009 13:51:03 GMT) Full text and rfc822 format available.

Message #20 received at 524112@bugs.debian.org (full text, mbox):

From: Martín Ferrari <martin.ferrari@gmail.com>
To: Cyril Brulebois <kibi@debian.org>
Cc: 524112@bugs.debian.org, Antonio Ospite <ospite@studenti.unina.it>
Subject: Re: Bug#524112: qc-usb-source: linux-2.6.29 provides an equivalent driver
Date: Sat, 9 May 2009 15:49:13 +0200
Hi Kibil,

On Sat, May 9, 2009 at 02:05, Cyril Brulebois <kibi@debian.org> wrote:

> given I'd like to buy a cheap webcam, I'm most likely going to try the
> QC E2500 out, which seems to have the following IDs, which seem to be
> indeed known in the linux source tree:
> | -(cyril@talisker pts/9)-(~/hack/various/linux-2.6.git/drivers)
> | $ git grep 046d | grep 089d
> | media/video/gspca/zc3xx.c:    {USB_DEVICE(0x046d, 0x089d), .driver_info = SENSOR_MC501CB},
>
> Also, since there's no more qc-usb releases, I guess it's good news to
> have it in the kernel. ;)
>
> I'll report back ASAP.

Great, thanks!

-- 
Martín Ferrari




Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Wed, 13 May 2009 01:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Wed, 13 May 2009 01:54:02 GMT) Full text and rfc822 format available.

Message #25 received at 524112@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Martín Ferrari <martin.ferrari@gmail.com>
Cc: 524112@bugs.debian.org, Antonio Ospite <ospite@studenti.unina.it>
Subject: Re: Bug#524112: qc-usb-source: linux-2.6.29 provides an equivalent driver
Date: Wed, 13 May 2009 03:53:18 +0200
[Message part 1 (text/plain, inline)]
Martín Ferrari <martin.ferrari@gmail.com> (09/05/2009):
> Hi Kibil,

Heh :)

> On Sat, May 9, 2009 at 02:05, Cyril Brulebois <kibi@debian.org> wrote:
> > Also, since there's no more qc-usb releases, I guess it's good news
> > to have it in the kernel. ;)
> >
> > I'll report back ASAP.
> 
> Great, thanks!

Woops, got delayed a bit. Findings:
 - get a Logitech QC E1000 for < 15 bucks,
 - plug it in,
 - profit!

Almost, actually. AFAICT from googling around, around 2.6.27, some
palettes stuff were added, and many applications can't talk V4L2 yet, so
they need some bits of help to use recent drivers; for that matter, some
.so (to be used through LD_PRELOAD) come to the rescue:
| LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so $application

I've been able to view stuff using mplayer that way:
| mplayer tv:// -v driver=v4l:device=/dev/video0

I've also started playing around with motion, which writes to many files
when stuff happens in front of the camera.

Fnu ahead!

Ah, and I'm on 2.6.29-1-amd64, I almost forgot. ;)

Mraw,
KiBi.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, devel@tootai.net, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Mon, 22 Jun 2009 11:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to root <devel@tootai.net>:
Extra info received and forwarded to list. Copy sent to devel@tootai.net, Martín Ferrari <tincho@debian.org>. (Mon, 22 Jun 2009 11:09:03 GMT) Full text and rfc822 format available.

Message #30 received at 524112@bugs.debian.org (full text, mbox):

From: root <devel@tootai.net>
To: Debian Bug Tracking System <524112@bugs.debian.org>
Subject: qc-usb-source: No one of those drivers are working/compiling with QE 046d:0840
Date: Mon, 22 Jun 2009 13:07:19 +0200
Package: qc-usb-source
Version: 0.6.6-6
Severity: normal


Hi,

I tried the gspca_STV06xx driver with Logitech Quick Cam Express and only have a black screen. I saw an already bug on bugzilla.kernel.org (#13074)
I then dowloaded the qc-usb-source and try to compile them. Result is:

  CC [M]  /home/dh/src/modules/qc-usb/qc-driver.o
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_i2c_init’:
/home/dh/src/modules/qc-usb/qc-driver.c:827: warning: assignment from incompatible pointer type
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_proc_create’:
/home/dh/src/modules/qc-usb/qc-driver.c:999: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_proc_init’:
/home/dh/src/modules/qc-usb/qc-driver.c:1037: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_isoc_start’:
/home/dh/src/modules/qc-usb/qc-driver.c:1869: warning: assignment from incompatible pointer type
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_poll’:
/home/dh/src/modules/qc-usb/qc-driver.c:2258: error: ‘struct video_device’ has no member named ‘priv’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_open’:
/home/dh/src/modules/qc-usb/qc-driver.c:2310: error: ‘struct video_device’ has no member named ‘priv’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_close’:
/home/dh/src/modules/qc-usb/qc-driver.c:2378: error: ‘struct video_device’ has no member named ‘priv’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_read’:
/home/dh/src/modules/qc-usb/qc-driver.c:2426: error: ‘struct video_device’ has no member named ‘priv’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_mmap’:
/home/dh/src/modules/qc-usb/qc-driver.c:2481: error: ‘struct video_device’ has no member named ‘priv’
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_ioctl’:
/home/dh/src/modules/qc-usb/qc-driver.c:2513: error: ‘struct video_device’ has no member named ‘priv’
/home/dh/src/modules/qc-usb/qc-driver.c:2531: error: ‘struct video_device’ has no member named ‘type’
/home/dh/src/modules/qc-usb/qc-driver.c: At top level:
/home/dh/src/modules/qc-usb/qc-driver.c:3000: warning: initialization from incompatible pointer type
/home/dh/src/modules/qc-usb/qc-driver.c:3010: error: unknown field ‘type’ specified in initializer
/home/dh/src/modules/qc-usb/qc-driver.c:3017: warning: initialization from incompatible pointer type
/home/dh/src/modules/qc-usb/qc-driver.c: In function ‘qc_usb_init’:
/home/dh/src/modules/qc-usb/qc-driver.c:3162: error: ‘struct video_device’ has no member named ‘priv’
make[6]: *** [/home/dh/src/modules/qc-usb/qc-driver.o] Erreur 1
make[5]: *** [_module_/home/dh/src/modules/qc-usb] Erreur 2
make[4]: *** [sub-make] Erreur 2
make[3]: *** [all] Erreur 2
make[3]: quittant le répertoire « /home/dh/src/linux-headers-2.6.30-1-amd64 »
make[2]: *** [default] Erreur 2
make[2]: quittant le répertoire « /home/dh/src/modules/qc-usb »
make[1]: *** [binary-modules] Erreur 2
make[1]: quittant le répertoire « /home/dh/src/modules/qc-usb »
make: *** [kdist_build] Erreur 2

So no more working driver available for QE camera in 2.6.30
 
-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages qc-usb-source depends on:
ii  bzip2                         1.0.5-2    high-quality block-sorting file co
ii  debhelper                     7.2.16     helper programs for debian/rules
ii  make                          3.81-6     An utility for Directing compilati
ii  module-assistant              0.11.1     tool to make module package creati

qc-usb-source recommends no packages.

qc-usb-source suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Wed, 26 Aug 2009 04:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Blanford <jimmybgood9@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Wed, 26 Aug 2009 04:36:04 GMT) Full text and rfc822 format available.

Message #35 received at 524112@bugs.debian.org (full text, mbox):

From: James Blanford <jimmybgood9@yahoo.com>
To: 524112@bugs.debian.org
Subject: qc-usb-source: linux-2.6.29 provides an equivalent
Date: Wed, 26 Aug 2009 00:27:58 -0400
Howdy,

While it's important that the linux kernel developers develop
generalized driver frameworks to replace out-of-tree drivers, some
still don't fully support all their target hardware. gspca_stv06xx is
one of those.

I'm working with the kernel maintainer to try improve support for a
webcam that he doesn't have access to and is not currently working
well with gspca_stv06xx.

In the meantime, here's a patch that might get qc-usb working in 2.6.30
and 2.6.31 kernels.  It might also work in 2.6.29.  I've only tested it
in 2.6.31-rc7 and it's fine so far.  Good luck.

   -  Jim




Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Wed, 26 Aug 2009 04:42:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Blanford <jimmybgood9@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Wed, 26 Aug 2009 04:42:10 GMT) Full text and rfc822 format available.

Message #40 received at 524112@bugs.debian.org (full text, mbox):

From: James Blanford <jimmybgood9@yahoo.com>
To: 524112@bugs.debian.org
Subject: qc-usb-source: linux-2.6.29 provides an equivalent
Date: Wed, 26 Aug 2009 00:30:34 -0400
[Message part 1 (text/plain, inline)]
Oops.  Here's the patch:



   -  Jim
[kcompat-2.6.30.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Wed, 26 Aug 2009 18:33:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to James Blanford <jimmybgood9@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Wed, 26 Aug 2009 18:33:06 GMT) Full text and rfc822 format available.

Message #45 received at 524112@bugs.debian.org (full text, mbox):

From: James Blanford <jimmybgood9@yahoo.com>
To: 524112@bugs.debian.org
Subject: qc-usb-source: linux-2.6.29 provides an equivalent
Date: Wed, 26 Aug 2009 14:18:47 -0400
[Message part 1 (text/plain, inline)]
Back again,

This version of the patch adapts the driver to the new v4l file system
operations API to all versions of the kernel 2.6.29 and above.  The
change to the way /proc entry ownership is established is applied only
to kernels 2.6.30 and above.  No changes were necessary for 2.6.31.

I've tested it in 2.6.29.6 and 2.6.31-rc7

References are in the patch.

Good luck,

   -  Jim
[kcompat-2.6.30.patch (text/x-patch, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Mon, 21 Sep 2009 06:24:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dominique Brazziel <dbrazziel@snet.net>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Mon, 21 Sep 2009 06:24:07 GMT) Full text and rfc822 format available.

Message #50 received at 524112@bugs.debian.org (full text, mbox):

From: Dominique Brazziel <dbrazziel@snet.net>
To: 524112@bugs.debian.org
Subject: This compile still fails even with the patch
Date: Mon, 21 Sep 2009 02:15:05 -0400
make -C /usr/src/linux SUBDIRS='/usr/src/modules/qc-usb'
make: Entering directory `/usr/src/linux-headers-2.6.30-1-amd64'
  CC [M]  /usr/src/modules/qc-usb/qc-driver.o
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_i2c_init’:
/usr/src/modules/qc-usb/qc-driver.c:827: warning: assignment from
incompatible pointer type
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_isoc_start’:
/usr/src/modules/qc-usb/qc-driver.c:1873: warning: assignment from
incompatible pointer type
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_poll’:
/usr/src/modules/qc-usb/qc-driver.c:2262: error: ‘struct video_device’
has no member named ‘priv’
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_open’:
/usr/src/modules/qc-usb/qc-driver.c:2318: error: ‘struct video_device’
has no member named ‘priv’
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_close’:
/usr/src/modules/qc-usb/qc-driver.c:2390: error: ‘struct video_device’
has no member named ‘priv’
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_read’:
/usr/src/modules/qc-usb/qc-driver.c:2438: error: ‘struct video_device’
has no member named ‘priv’
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_mmap’:
/usr/src/modules/qc-usb/qc-driver.c:2493: error: ‘struct video_device’
has no member named ‘priv’
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_v4l_ioctl’:
/usr/src/modules/qc-usb/qc-driver.c:2529: error: ‘struct video_device’
has no member named ‘priv’
/usr/src/modules/qc-usb/qc-driver.c:2547: error: ‘struct video_device’
has no member named ‘type’
/usr/src/modules/qc-usb/qc-driver.c: At top level:
/usr/src/modules/qc-usb/qc-driver.c:3020: warning: initialization from
incompatible pointer type
/usr/src/modules/qc-usb/qc-driver.c:3022: warning: initialization from
incompatible pointer type
/usr/src/modules/qc-usb/qc-driver.c:3030: error: unknown field ‘type’
specified in initializer
/usr/src/modules/qc-usb/qc-driver.c: In function ‘qc_usb_init’:
/usr/src/modules/qc-usb/qc-driver.c:3182: error: ‘struct video_device’
has no member named ‘priv’
make[3]: *** [/usr/src/modules/qc-usb/qc-driver.o] Error 1
make[2]: *** [_module_/usr/src/modules/qc-usb] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.30-1-amd64'






Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Mon, 21 Sep 2009 18:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dominique Brazziel <dbrazziel@snet.net>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Mon, 21 Sep 2009 18:33:03 GMT) Full text and rfc822 format available.

Message #55 received at 524112@bugs.debian.org (full text, mbox):

From: Dominique Brazziel <dbrazziel@snet.net>
To: 524112@bugs.debian.org
Subject: It seems like 'LINUX_VERSION_CODE' is not being evaluated correctly
Date: Mon, 21 Sep 2009 14:08:40 -0400
For instance:

 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
        struct video_device *dev = video_devdata(file);
#endif
        struct quickcam *qc = dev->priv;  


How can I tell the results of the preprocessor evaluation
of 'LINUX_VERSION_CODE' to be sure?  I've run a whole
lot of makes in the last 24 hours and at this point
I don't even care if this gets built because I see
that the 'gspca_stv...' driver is getting loaded.
I just want to understand why the version code is
not being evaluated when I'm running 2.6.30 (on AMD64)
and can see the version code in 'version.h' is correct:


cat /usr/src/linux-headers-2.6.30-1-amd64/include/linux/version.h
#define LINUX_VERSION_CODE 132638
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))







Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Tue, 22 Sep 2009 08:24:32 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martín Ferrari <martin.ferrari@gmail.com>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Tue, 22 Sep 2009 08:24:32 GMT) Full text and rfc822 format available.

Message #60 received at 524112@bugs.debian.org (full text, mbox):

From: Martín Ferrari <martin.ferrari@gmail.com>
To: Dominique Brazziel <dbrazziel@snet.net>, 524112@bugs.debian.org
Subject: Re: Bug#524112: It seems like 'LINUX_VERSION_CODE' is not being evaluated correctly
Date: Tue, 22 Sep 2009 10:23:51 +0200
Hi,

On Mon, Sep 21, 2009 at 20:08, Dominique Brazziel <dbrazziel@snet.net> wrote:
> For instance:
>
>  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
>        struct video_device *dev = video_devdata(file);
> #endif
>        struct quickcam *qc = dev->priv;

> How can I tell the results of the preprocessor evaluation
> of 'LINUX_VERSION_CODE' to be sure?  I've run a whole

you can run gcc -E to see the preprocessor output, or you can just
create a C file with something like:

printf("%d %d\n", LINUX_VERSION_CODE, KERNEL_VERSION(2,6,0));

to see the actual numbers produced

> lot of makes in the last 24 hours and at this point
> I don't even care if this gets built because I see
> that the 'gspca_stv...' driver is getting loaded.
> I just want to understand why the version code is
> not being evaluated when I'm running 2.6.30 (on AMD64)
> and can see the version code in 'version.h' is correct:
>
>
> cat /usr/src/linux-headers-2.6.30-1-amd64/include/linux/version.h
> #define LINUX_VERSION_CODE 132638
> #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
>
>
>
>
>
>



-- 
Martín Ferrari




Information forwarded to debian-bugs-dist@lists.debian.org, Martín Ferrari <tincho@debian.org>:
Bug#524112; Package qc-usb-source. (Tue, 22 Sep 2009 20:57:16 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dominique Brazziel <dbrazziel@snet.net>:
Extra info received and forwarded to list. Copy sent to Martín Ferrari <tincho@debian.org>. (Tue, 22 Sep 2009 20:57:16 GMT) Full text and rfc822 format available.

Message #65 received at 524112@bugs.debian.org (full text, mbox):

From: Dominique Brazziel <dbrazziel@snet.net>
To: 524112@bugs.debian.org
Subject: OK, thanks. I didn't notice the lack of
Date: Tue, 22 Sep 2009 15:54:39 -0400
an '#else' before the reference to the 'priv' member of
struct 'video_device'.  I only see the video_device
structure defined in 'v4l2-dev.h' which is part of
the kernel common headers package 
(linux-headers-2.6.30-1-common).  I guess something
changed that removed that member.

Also, gspca driver only shows a black screen.  







Reply sent to Martín Ferrari <martin.ferrari@gmail.com>:
You have taken responsibility. (Tue, 29 Jun 2010 00:00:07 GMT) Full text and rfc822 format available.

Notification sent to Antonio Ospite <ospite@studenti.unina.it>:
Bug acknowledged by developer. (Tue, 29 Jun 2010 00:00:07 GMT) Full text and rfc822 format available.

Message #70 received at 524112-done@bugs.debian.org (full text, mbox):

From: Martín Ferrari <martin.ferrari@gmail.com>
To: 524112-done@bugs.debian.org
Subject: Not for now
Date: Tue, 29 Jun 2010 01:57:49 +0200
Hi there, reviewing old bugs...

It seems that some people still need this driver (some other people
mailed me regarding this, outside of the bug report), so I'll close
this bug until the mainline driver completely replaces qc-usb. Feel
free to open!

-- 
Martín Ferrari




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 27 Jul 2010 07:31:38 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 05:18:22 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.