Results 1 to 15 of 53

Thread: WebCam - SPCA50x drivers

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2004
    Location
    France...
    Posts
    159

    Unhappy

    Hey you did a great job !
    I have a cheap webcam and it is working on the wl500 !

    Code:
    Dec 25 20:39:44 kernel: usb.c: registered new driver spca5xx
    Dec 25 20:39:44 kernel: drivers/usb/spca5xx.c: USB SPCA5XX camera found. Pixart PAC207BCA
    Dec 25 20:39:44 kernel: drivers/usb/spca5xx.c: [spca5xx_probe:5480] Camera type GBRG 
    Dec 25 20:39:44 kernel: drivers/usb/spca5xx.c: [spca5xx_getcapability:1765] maxw 352 maxh 288 minw 160 minh 120
    Dec 25 20:39:44 kernel: drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
    However, i tested it with palantir, and after sometime running the wl500 runs out of memory....
    The Struggle Continues...
    Asus WL500g #1 with fw 1.9.2.7-7f running as main home gateway, with Philipps PWC730k
    Asus WL500g #2 with fw 1.9.2.7-7f running as Wireless Client, running palantir 2.6 with SPCA5xx camera on 128MB generic USB key

  2. #2
    Join Date
    May 2004
    Location
    France...
    Posts
    159
    I tested again your driver together with palantir 2.6, and it seems to work OK with this version. However i had it only running about 1 hour, i'll give it a long test run soon...
    The Struggle Continues...
    Asus WL500g #1 with fw 1.9.2.7-7f running as main home gateway, with Philipps PWC730k
    Asus WL500g #2 with fw 1.9.2.7-7f running as Wireless Client, running palantir 2.6 with SPCA5xx camera on 128MB generic USB key

  3. #3

    Smile Uraaaaaaaaaa

    This drivers are exactly, what I needed! I wanted to try some cheaper webcams with my WL-500gP, and now it seems, that there are a lot of cheap cameras I can buy and use!

    Btw, I have one question:
    does maximum resolution of taken images depend on webcam (hardware) or depend on this drivers? I tried spca5xx with borrowed Soledo webcam (Model NO 300S-F, 0x04fc 0x0561 EzCam III spca561a
    http://www.soledo.cz/?produkty=kamer...ukt=webcam-led
    ) and realized, that it has the same maximum resolution (352x288) like max2950's webcam above, instead of having 640x480:
    Code:
    Dec 25 20:39:44 kernel: drivers/usb/spca5xx.c: [spca5xx_getcapability:1765] maxw 352 maxh 288 minw 160 minh 120
    So, is resolution question of drivers?

    Does anybody knows?

    Regards, JFK

  4. #4
    Join Date
    May 2004
    Location
    France...
    Posts
    159
    In most of the cases the hardware is limiting the resolution, but sometimes it might be the drivers to...
    The Struggle Continues...
    Asus WL500g #1 with fw 1.9.2.7-7f running as main home gateway, with Philipps PWC730k
    Asus WL500g #2 with fw 1.9.2.7-7f running as Wireless Client, running palantir 2.6 with SPCA5xx camera on 128MB generic USB key

  5. #5
    I'm trying this is my wl-500gx but it dosen't work. What are the steps involved in compiling this driver? What do i need in my router?

    Toze

  6. #6
    Join Date
    May 2004
    Location
    France...
    Posts
    159
    You need olegs firmware and an usb drive where you copy the driver. In addition you need to create a post-mount script that loads the driver after boot.
    The Struggle Continues...
    Asus WL500g #1 with fw 1.9.2.7-7f running as main home gateway, with Philipps PWC730k
    Asus WL500g #2 with fw 1.9.2.7-7f running as Wireless Client, running palantir 2.6 with SPCA5xx camera on 128MB generic USB key

  7. #7
    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.
    Last edited by Modrak; 12-03-2007 at 16:12. Reason: added what crashes poor asus :)

Similar Threads

  1. Webcam Motion Alert
    By Smuggler in forum German Discussion - Deutsch (DE)
    Replies: 28
    Last Post: 17-12-2013, 20:35
  2. Compiling driver for webcam
    By max2950 in forum WL-500gP Firmware Discussion
    Replies: 44
    Last Post: 06-03-2011, 11:15
  3. WL500gPv2 and webcam
    By cu4xs in forum WL-500gP Q&A
    Replies: 59
    Last Post: 27-09-2010, 16:02
  4. Wl-500gP и WebCam
    By Alkand in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 167
    Last Post: 12-05-2010, 16:06
  5. Asus WL-500g and WebCam
    By alpha5 in forum WL-500g Q&A
    Replies: 54
    Last Post: 23-05-2006, 00:57

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •