Debian Bug report logs -
#466051
gspca-modules-2.6.22-3-amd64: Philips webcam SPC210NC has image turned upside/down
Reported by: Jan Prunk <janprunk@gmail.com>
Date: Sat, 16 Feb 2008 08:54:01 UTC
Severity: minor
Fixed in version 01.00.20-1+rm
Done: Marco Rodrigues <gothicx@sapo.pt>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian Kernel Team <debian-kernel@lists.debian.org>:
Bug#466051; Package gspca-modules-2.6.22-3-amd64.
(full text, mbox, link).
Acknowledgement sent to Jan Prunk <janprunk@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian Kernel Team <debian-kernel@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: gspca-modules-2.6.22-3-amd64
Version: 2.6.22+01.00.18-9
Severity: minor
I bought a Philips webcam, model SPC210NC. It is
listed that it uses gspca module.
I am using OS system GNU/Linux Debian lenny/testing. I have installed
this package
gspca-modules-2.6.22-3-amd64 2.6.22+01.00.18-9
The problem is that I get the picture turned upside/down ?
These are the messages from dmesg (visible also at
http://openpaste.org/en/5140/)
#
Linux video capture interface: v2.00
#
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/gspca_core.c:
USB GSPCA camera found.(ZC3XX)
#
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/gspca_core.c:
[spca5xx_probe:4098] Camera type JPEG
#
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/Vimicro/zc3xx.h:
[zc3xx_config:515] Sensor ID:10
#
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/Vimicro/zc3xx.h:
[zc3xx_config:587] Find Sensor PAS106
#
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/gspca_core.c:
[spca5xx_getcapability:1215] maxw 352 maxh 288 minw 176 minh 144
#
usbcore: registered new interface driver gspca
#
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/gspca_core.c:
gspca driver 2.6.22 registered
Someone suggested to me that doing "modprobe gspca vflip=1" would help
but it doesn't seem to come as an option ?
Also this message keeps appearing, when I test the camera with "xawtv"
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/gspca_core.c:
[gspca_set_isoc_ep:903] ISO EndPoint found 0x81 AlternateSet 7
/build/buildd/linux-modules-extra-2.6-2.6.22/debian/build/build_amd64_none_amd64_gspca/gspca_core.c:
VIDIOCMCAPTURE: invalid format (7)
Kind regards,
Jan Prunk
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gspca-modules-2.6.22-3-amd64 depends on:
ii linux-image-2.6.22-3-amd64 [l 2.6.22-6 Linux 2.6.22 image on AMD64
gspca-modules-2.6.22-3-amd64 recommends no packages.
-- no debconf information
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(full text, mbox, link).
Acknowledgement sent to Sergey Lungu <sergey.lungu@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #12 received at 466051@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi,
> Someone suggested to me that doing "modprobe gspca vflip=1" would help
> but it doesn't seem to come as an option ?
Attached patch, against latest GSPCA (1.00.20), fixes this. It
introduces ``vflip'' module parameter, which controls vertical flipping
for devices using pixart decompresser.
Please, try out "modprobe gspca vflip=1" with proposed patch.
--
Sergey Lungu
[gspcav1-20071224-pixart-vflip.patch (text/x-diff, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(full text, mbox, link).
Acknowledgement sent to "Jan Prunk" <janprunk@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #17 received at 466051@bugs.debian.org (full text, mbox, reply):
I untared and patched the files in gspca-source.
And loaded the module with parameter:
"modprobe gspca vflip=1"
in dmesg i get :
usb 1-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
/usr/src/modules/gspca/gspca_core.c: USB GSPCA camera found.(ZC3XX)
/usr/src/modules/gspca/gspca_core.c: [spca5xx_probe:4280] Camera type JPEG
/usr/src/modules/gspca/Vimicro/zc3xx.h: [zc3xx_config:659] Find Sensor PAS106
/usr/src/modules/gspca/gspca_core.c: [spca5xx_getcapability:1254] maxw
352 maxh 288 minw 160 minh 120
usbcore: registered new interface driver gspca
/usr/src/modules/gspca/gspca_core.c: gspca driver 01.00.20 registered
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [spca5xx_do_ioctl:2129] Bridge ZC301-2
/usr/src/modules/gspca/gspca_core.c: [spca5xx_do_ioctl:2129] Bridge ZC301-2
/usr/src/modules/gspca/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
/usr/src/modules/gspca/gspca_core.c: [spca5xx_do_ioctl:2129] Bridge ZC301-2
/usr/src/modules/gspca/gspca_core.c: [gspca_set_isoc_ep:950] ISO
EndPoint found 0x81 AlternateSet 7
and xawtv still shows the image flipped wrongly..
I am using AMD_64 and debian testing.
On Fri, Jul 4, 2008 at 7:59 PM, Sergey Lungu <sergey.lungu@gmail.com> wrote:
> Hi,
>
>> Someone suggested to me that doing "modprobe gspca vflip=1" would help
>> but it doesn't seem to come as an option ?
>
> Attached patch, against latest GSPCA (1.00.20), fixes this. It
> introduces ``vflip'' module parameter, which controls vertical flipping
> for devices using pixart decompresser.
>
> Please, try out "modprobe gspca vflip=1" with proposed patch.
>
> --
> Sergey Lungu
>
--
Jan Prunk <janprunk AT SPAMFREE gmail DOT com>
Website: http://www.prunk.si PGP key: 00E80E86
Fingerprint: 77C5156E29A4EB6C1C4A5EBA414A29F500E80E86
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(full text, mbox, link).
Acknowledgement sent to Sergey Lungu <sergey.lungu@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #22 received at 466051@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
On Fri, Jul 04, 2008 at 09:42:54PM +0200, Jan Prunk wrote:
> I untared and patched the files in gspca-source.
> And loaded the module with parameter:
> "modprobe gspca vflip=1"
> in dmesg i get :
> [snip]
> and xawtv still shows the image flipped wrongly..
Well, as I said, my patch is for Pixart based cameras, that's what I
have (Genius e-Messenger 112). I made it to fix the same problem as you
have.
So, it is obvious that you have a camera of a different class and it
encodes frames using JPEG. I am not familiar with JPEG compression nor
I have a camera that uses it, so I can't make an accurate fix.
Anyway I've made a dirty hack. Please, try the attached patch instead of
the previous one. I do not like it, but it should work, I hope.
--
Sergey Lungu
[gspcav1-20071224-vflip.patch (text/x-diff, attachment)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(full text, mbox, link).
Acknowledgement sent to "Jan Prunk" <janprunk@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(full text, mbox, link).
Message #27 received at 466051@bugs.debian.org (full text, mbox, reply):
Hello Sergey !
This is the repeated procedure:
/usr/src# tar -xvf gspca.tar
coreduo:/usr/src/modules/gspca# cat
/home/yang/Desktop/gspcav1-20071224-pixart-vflip.patch | patch -p1
patching file decoder/gspcadecoder.c
patching file gspca_core.c
patching file gspca.h
coreduo:/usr/src/modules/gspca# cat
/home/yang/Desktop/gspcav1-20071224-vflip.patch | patch -p1
patching file decoder/gspcadecoder.c
Hunk #1 succeeded at 2729 (offset 4 lines).
patching file gspca_core.c
Hunk #1 FAILED at 105.
Hunk #2 FAILED at 129.
Hunk #3 FAILED at 157.
Hunk #4 FAILED at 4285.
4 out of 4 hunks FAILED -- saving rejects to file gspca_core.c.rej
patching file gspca.h
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] y
Hunk #1 FAILED at 417.
1 out of 1 hunk FAILED -- saving rejects to file gspca.h.rej
coreduo:/usr/src/modules/gspca# make
make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/modules/gspca
CC=cc modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-1-amd64'
CC [M] /usr/src/modules/gspca/gspca_core.o
CC [M] /usr/src/modules/gspca/decoder/gspcadecoder.o
LD [M] /usr/src/modules/gspca/gspca.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/src/modules/gspca/gspca.mod.o
LD [M] /usr/src/modules/gspca/gspca.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-1-amd64'
coreduo:/usr/src/modules/gspca# make install
mkdir -p /lib/modules/`uname -r`/kernel/drivers/usb/media/
rm -f /lib/modules/`uname -r`/kernel/drivers/usb/media/spca5xx.ko
rm -f /lib/modules/`uname -r`/kernel/drivers/media/video/gspca.ko
install -c -m 0644 gspca.ko /lib/modules/`uname -r`/kernel/drivers/usb/media/
/sbin/depmod -ae
coreduo:/usr/src/modules/gspca# modprobe gspca vflip=1
coreduo:/usr/src/modules/gspca# xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.24-1-amd64)
xinerama 0: 1280x1024+0+0
/dev/video0 [v4l]: no overlay support
v4l-conf had some trouble, trying to continue anyway
Warning: Cannot convert string
"-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
ioctl: VIDIOCMCAPTURE(frame=0;height=120;width=160;format=7): Invalid argument
game over
# dmesg
wlan0: no IPv6 routers present
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:00:02.0[A] -> GSI 16 (level, low) -> IRQ 16
PCI: Setting latency timer of device 0000:00:02.0 to 64
[drm] Initialized i915 1.6.0 20060119 on minor 0
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
/usr/src/gspca/gspca_core.c: [spca5xx_do_ioctl:2128] Bridge ZC301-2
/usr/src/gspca/gspca_core.c: [spca5xx_do_ioctl:2128] Bridge ZC301-2
/usr/src/gspca/gspca_core.c: VIDIOCMCAPTURE: invalid format (7)
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
/usr/src/gspca/gspca_core.c: [gspca_set_isoc_ep:949] ISO EndPoint
found 0x81 AlternateSet 7
/usr/src/gspca/gspca_core.c: [spca5xx_do_ioctl:2128] Bridge ZC301-2
The picture remains upside down.
Kind regards,
Jan Prunk
On Sat, Jul 5, 2008 at 5:38 PM, Sergey Lungu <sergey.lungu@gmail.com> wrote:
> On Sat, Jul 05, 2008 at 04:31:17PM +0200, Jan Prunk wrote:
>> I still experience problems....
>
>> [snip]
>
>> And the picture persist to be turned upside/down.
>
> Well, bad luck. This is really strange, because the patch I've send you
> flips the picture regardless of camera type. Please, apply attached
> patch after applying the previous patch, start xawtv for few seconds and
> send me your dmesg.
>
> --
> Sergey Lungu
>
--
Jan Prunk <janprunk AT SPAMFREE gmail DOT com>
Website: http://www.prunk.si PGP key: 00E80E86
Fingerprint: 77C5156E29A4EB6C1C4A5EBA414A29F500E80E86
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(Tue, 14 Jul 2009 16:42:02 GMT) (full text, mbox, link).
Acknowledgement sent
to luke wakeling <lukewakeling@yahoo.co.uk>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(Tue, 14 Jul 2009 16:42:02 GMT) (full text, mbox, link).
Message #32 received at 466051@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Hi Sergey,
I also have a philips webcam, and have had the upside-down problem with it.
Your latest patch gspcav1-20071224-vflip.patch worked for me! the image flips great. The only problem is the colours are slightly off.
I've attached dmesg since I "modprobe gspca vflip=1" and also the debug stuff from "xawtv -c /dev/webcam0 -debug 2 > trace 2>&1"
I hope these files are useful to you.
Thank you for your help with the vflip parameter.
Luke Wakeling
[dmesg (application/octet-stream, attachment)]
[xawtv (application/octet-stream, attachment)]
[before.jpeg (image/jpeg, attachment)]
[after.jpeg (image/jpeg, attachment)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(Wed, 15 Jul 2009 10:39:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Jan Prunk <janprunk@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(Wed, 15 Jul 2009 10:39:10 GMT) (full text, mbox, link).
Message #37 received at 466051@bugs.debian.org (full text, mbox, reply):
Hello !
Is it possible to have this "fix" in the next build ? I would like to
update the package from the debian pool, so I don't have to compile it
from source.
Thank you for your submission/testing, Luke !
Regards,
Jan
On Tue, Jul 14, 2009 at 6:38 PM, luke wakeling<lukewakeling@yahoo.co.uk> wrote:
> Hi Sergey,
>
> I also have a philips webcam, and have had the upside-down problem with it.
>
> Your latest patch gspcav1-20071224-vflip.patch worked for me! the image flips great. The only problem is the colours are slightly off.
>
> I've attached dmesg since I "modprobe gspca vflip=1" and also the debug stuff from "xawtv -c /dev/webcam0 -debug 2 > trace 2>&1"
>
> I hope these files are useful to you.
>
> Thank you for your help with the vflip parameter.
>
> Luke Wakeling
>
>
>
>
--
Jan Prunk
http://www.prunk.si
0x00E80E86 - http://pgpkeys.pca.dfn.de/
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>:
Bug#466051; Package gspca-source.
(Wed, 15 Jul 2009 17:03:02 GMT) (full text, mbox, link).
Acknowledgement sent
to Sergey Lungu <sergey.lungu@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian spca5xx Maintainers <pkg-spca5xx-devel@lists.alioth.debian.org>.
(Wed, 15 Jul 2009 17:03:02 GMT) (full text, mbox, link).
Message #42 received at 466051@bugs.debian.org (full text, mbox, reply):
Hi,
On Wed, Jul 15, 2009 at 11:52:42AM +0200, Jan Prunk wrote:
> Is it possible to have this "fix" in the next build ? I would like to
> update the package from the debian pool, so I don't have to compile it
> from source.
I don't think so, because gspca was merged into the vanilla kernel and
my patches won't apply there. By the way, Debian does not have
gspca-modules package in testing and unstable anymore.
Maybe you should try a recent kernel, I think the problem might have
been fixed there already.
--
Sergey Lungu
Reply sent
to Marco Rodrigues <gothicx@sapo.pt>:
You have taken responsibility.
(Tue, 04 Aug 2009 22:34:07 GMT) (full text, mbox, link).
Notification sent
to Jan Prunk <janprunk@gmail.com>:
Bug acknowledged by developer.
(Tue, 04 Aug 2009 22:34:07 GMT) (full text, mbox, link).
Message #47 received at 466051-done@bugs.debian.org (full text, mbox, reply):
Version: 01.00.20-1+rm
The gspca package has been removed from Debian so we are closing
the bugs that were still opened against it.
For more information about this package's removal, read
http://bugs.debian.org/519463 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
Kind regards,
--
Marco Rodrigues
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Wed, 02 Sep 2009 07:38:14 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 12:06:20 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.