Could you recompile the LE driver (the regular one from the first post crashes whole wl500gX when I try to use spcaserv or palantir) to support vendor/device 0x045c/0x6001 - Genius QuickCam NB please ?
I currently don't have a computer to setup the proper workspace to crosscompile it myself.
Code:
[admin@router root]$ insmod spca5xx.o
Using spca5xx.o
[admin@router root]$ dmesg
...
usb.c: registered new driver spca5xx
drivers/usb/spca5xx.c: USB Genius VideoCAM NB found. SONIX sn9c102 + Tas 5110
drivers/usb/spca5xx.c: [spca5xx_probe:5480] Camera type SN9C
drivers/usb/spca5xx.c: [spca5xx_getcapability:1765] maxw 352 maxh 288 minw 160 minh 120
drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
[admin@router root]$ wget http://ibook.mdr.local/~ondra/palantir
Connecting to 10.20.30.3[10.20.30.3]:80
palantir 100% |*****************************| 229 KB 00:00 ETA
[admin@router root]$ chmod 755 palantir
[admin@router root]$ ./palantir -d /dev/video
Mar 12 17:04:53 [config] Default config file `/usr/local/share/palantir/palantir.conf' not found
Mar 12 17:04:53 [main] -- palantir 2.6 starting --
Mar 12 17:04:53 [main] Definitions for 0 devices found
Mar 12 17:04:53 [main] No serial port specified
Mar 12 17:04:53 [main] No named pipe specified
Mar 12 17:04:54 [video] Card: Genius VideoCAM NB (/dev/video)
Mar 12 17:04:54 [video] Capabilities: 1 (capture )
Mar 12 17:04:54 [video] Size: (160x120)-(352x288)
Mar 12 17:04:54 [video] Channel no. 0 ('SN9C102') tuners: 0, flags: 0, type: 2, norm: 65535
Mar 12 17:04:54 [video] brightness: 32768 hue: 0 colour: 0
Mar 12 17:04:54 [video] contrast: 32768 whiteness: 0
Mar 12 17:04:54 [video] depth: (24) palette: 4
Mar 12 17:04:54 [video] Actual capture box is 320x240 (requested 320x240)
Mar 12 17:04:54 [video] Video buffer size: 2457616, frames: 2
Mar 12 17:04:54 [audio] Can't open audio device /dev/dsp
Mar 12 17:04:54 [main] Audio initialization failed. Audio channel will be disabled
Mar 12 17:04:54 [main] Listening on port 3000
Mar 12 17:04:54 [main] Control queue timeout set to 30 s
Connection closed by foreign host.
And another try with spcaserv
Code:
[admin@router root]$ chmod 755 spcaserv
[admin@router root]$ ./spcaserv -d /dev/video -f jpg -s 320x240
size width: 320 height: 240
Spcaview version: 1.1.4 date: 27:11:2005 (C) mxhaard@magic.fr
video /dev/video
Camera found: Genius VideoCAM NB
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=24 palette=4
Bridge found: SN9C102
is_spca SPCA505
is_spca SPCA506
is_spca SPCA501
is_spca SPCA508
is_spca SPCA504
is_spca SPCA500
is_spca SPCA504B
is_spca SPCA533
is_spca SPCA504C
is_spca SPCA561
is_spca SPCA536
is_spca SN9C102
StreamId: 5 Camera
try palette 21 depth 8
Couldnt set palette first try 21
Damned second try fail
try palette 15 depth 12
Available palette 15
try palette 4 depth 24
Available palette 4
try palette 3 depth 16
Available palette 3
try palette 5 depth 32
Available palette 5
probe size in
skip size 640 x 480
skip size 384 x 288
Available Resolutions width 352 heigth 288
Available Resolutions width 320 heigth 240
Available Resolutions width 192 heigth 144
Available Resolutions width 176 heigth 144
Available Resolutions width 160 heigth 120
Format asked 15 check 8
VIDIOCSPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
VIDIOCGPICT brightnes=32768 hue=0 color=0 contrast=32768 whiteness=0depth=12 palette=15
grabbing method default MMAP asked
VIDIOCGMBUF size 2457616 frames 2 offets[0]=0 offsets[1]=1228808
Connection closed by foreign host.