I have a Logitech USB QuickCam camera, ID 046d:092e. My desktop
running 2.6.23.x can acquire images via gspca from
http://mxhaard.free.fr/download.html.
But what about the ts7400 running 2.4.26-ts11 with the TS Debian SD card.
I extracted and configured the source in /usr/src/linux, remember to
'make dep'.
cd /usr/src/linux
make menuconfig
Multimedia devices -> <M> Video For Linux
make modules
insmod drivers/media/video/videodev.o
I extracted spca5xx-v4l1goodbye.tar.gz into /usr/src/spca5xx-v4l1goodbye
cd /usr/src/spca5xx-v4l1goodbye
I commented out 'CFLAGS += -mpreferred-stack-boundary=2' line, my gcc
3.3.6 was complaining about it.
make and take a break, the ts7400 isn't the speediest compiler
insmod spca5xx.o
dmesg
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: USB SPCA5XX camera found.Logitech QuickCam chat
(SPCA561A)
drivers/usb/spca5xx.c: [spca5xx_probe:5485] Camera type S561
drivers/usb/spca5xx.c: [spca5xx_getcapability:1767] maxw 352 maxh 288
minw 160 minh 120
drivers/usb/spca5xx.c: spca5xx driver 00.60.00.1 registered
Hey, the driver found my camera.
Took an image with
vgrabbj -d /dev/video0 -f first.jpg
------------
My first insmod spca5xx.o failed with 'unresolved symbol' errors.
: insmod spca5xx.o
spca5xx.o: spca5xx.o: unresolved symbol video_devdata
spca5xx.o: spca5xx.o: unresolved symbol video_register_device
spca5xx.o: spca5xx.o: unresolved symbol video_unregister_device
spca5xx.o: spca5xx.o: unresolved symbol video_usercopy
spca5xx.o: spca5xx.o: unresolved symbol video_device_release
spca5xx.o: spca5xx.o: unresolved symbol video_device_alloc
I checked the kernel symbol table and found they existed but had
version info.
: grep video_devdata /proc/ksyms
d4062118 video_devdata_Ra6b6756c [videodev]
So I removed module versioning under
'Loadable module support' -> [ ] Set version information on all module
symbols' then recompiled.
Checking the kernel symbol table again, this time no versioning.
: grep video_devdata /proc/ksyms
d4062118 video_devdata [videodev]
insmod spca5xx.o completed successfully.
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|