[Pkg-spca5xx-devel] Bug#466051: gspca-modules-2.6.22-3-amd64: Philips webcam SPC210NC has image turned upside/down

Jan Prunk janprunk at gmail.com
Sun Jul 6 11:05:06 UTC 2008


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 at 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





More information about the Pkg-spca5xx-devel mailing list