Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 45

Thread: Compiling driver for webcam

  1. #16
    Join Date
    Aug 2004
    Location
    Germany
    Posts
    377
    Hi

    Olegs tarrball is a patch to to the original asus tarball, this one carys crosscompiler toolchain and the stuff youre missing. The SPCA driver is not stable on mips, you can try it by searching he forum for it. It seems to have a memory leak, it eats up your memory until kernel gets panic and starts killing processes...
    Does the NX cam works good on your linux box ? i have one of these ultra integrated spca webcams sold at around 12$ or so, and these are not well supported (Edit: OK, new drivers seem to habe better spca561 support, have to try again ).

    Greets
    Last edited by WlanMan; 03-05-2005 at 17:05.
    My Stuff: WL-500g, Mapower H31x 10GB HD, Philips Webcam Vesta PRO, TerraTec Webcam PRO, USB Hub

  2. #17

    Yes - my NX pro works perfectly

    ...on my linux box that is.

    I havent yet tried to cross-compile for mipsel
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  3. #18

    webcam driver spca50x

    Hello,

    I'm testing spca50x.o driver for webcam and it seem work fine with videodog and i will hope to compile myself.

    I got sources from http://mxhaard.free.fr/download.html and i compiled them with cross compilation tools (already used to oleg's firmware with successful)
    but in this case i have too many errors.

    I would be very interested to get these sources of spca50x.o or if anybody has succeeds with http://mxhaard.free.fr/spca50x/Downl...0060501.tar.gz
    then if you can explain what have you patched.

  4. #19
    Yep, I'll be real keen to test the latest (and perhaps final for 2.4 acording to the site) driver out too if someone manages to compile it, the last spca driver i got that worked with my webcam was var:57.02. Camera detected as "USB SPCA5XX camera found. Type Flexcam 100 (SPCA561A)" (a cheap $15 NZD camera) and it worked.

  5. #20

    UVC WebCam driver?

    Hi

    Did anyone successfully build theese drivers for Olegs firmware? :

    http://linux-uvc.berlios.de/
    macsat
    http://www.macsat.com - Tutorials and information on using ASUS WL-500G and family.

  6. #21

    how to compile pwc 10.0.12 webcam driver?

    Can you please help me with a step by step guide how to compile the pwc 10.0.12 webcam driver into Oleg 1927-7g FW?
    Or, if available, could you please provide me with the compiled 10.0.12 pwc module for wl-500g Premium, so that I can use my Philips SPC900NC? Thanks!

  7. #22
    I'd love too to know how to do it (and why Oleg won't implement the newest driver in his FW ?) ?
    Many thanks !

  8. #23
    Quote Originally Posted by geezerpl View Post
    ....... (and why Oleg won't implement the newest driver in his FW ?) ?
    Many thanks !
    Probably because there's limited amount of space in the flash memory to store all the goodies we want..

    (The flash size of the chip where the firmware is stored is 4mb, Oleg has a 'hell-of-a-job' to put everything he needs into this space)

    HTH

  9. #24
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    Quote Originally Posted by raas View Post
    Probably because there's limited amount of space in the flash memory to store all the goodies we want..

    (The flash size of the chip where the firmware is stored is 4mb, Oleg has a 'hell-of-a-job' to put everything he needs into this space)

    HTH

    and why are some older FW from asus 7 meg?

  10. #25
    Join Date
    Nov 2006
    Location
    Russia, Moscow
    Posts
    3,640
    geezerpl, dyonisos

    There is no step-by step guide, since that action assumes that you have some knowledge in writing/compiling/building C/C++ programs.

    First of all, you have to read this:
    Recompiling firmware

    After successful custom firmware build, you should try two choices:
    1) apply patches on kernel and make modules.
    2) modify Makefile from pwc-10.0.12-rc1.tar.bz2 for cross-compiling and make it

    In all cases, it is possible that you see some compilation errors. IMHO nobody can give to you universal solution.

    Since pwc-10.0.12 is not released for 2.4.20 kernel, I apologize that Oleg simply hasn't enough resources for it adaptation & tests.

  11. #26
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    in principle, there is also a toolchain for native compilation on the router using built in libraries: http://wl500g.info/showpost.php?p=75208&postcount=11

    However, there is no howto.

  12. #27

    Can smb help me with Trust 1400 ?

    Hello, I have problem with this driver on WL-500gP. (Oleg WL500gp-1.9.2.7-9)

    insmode is done in post-boot - driver is registered, but webcam is not recognized.
    Is something need to change in config (webinterface) ?

    Can somebody help me ?

    Jan 1 01:00:06 kernel: usb.c: USB device 2 (vend/prod 0x93a/0x2468) is not claimed by any active driver.
    Apr 2 22:54:39 kernel: kjournald starting. Commit interval 5 seconds
    Apr 2 22:54:40 kernel: EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,2), internal journal
    Apr 2 22:54:40 kernel: EXT3-fs: recovery complete.
    Apr 2 22:54:40 kernel: EXT3-fs: mounted filesystem with ordered data mode.
    Apr 2 22:54:40 kernel: Adding Swap: 95736k swap-space (priority -1)
    Apr 2 22:54:40 kernel: usb.c: registered new driver spca5xx
    Apr 2 22:54:40 kernel: drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
    Last edited by pepek; 02-04-2008 at 23:03.

  13. #28

    Logitech Quickcam Express and spca5xx.o

    Hi, I want to connect my logitech quickcam express to the asus.
    having found on the forum, I have to use spca5xx.o for this.
    according to the site of mxhaard http://mxhaard.free.fr/spca5xx.html I have to use this driver for this.

    I have placed spca5xx.o in the flash under /usr/local/modules/spca5xx.o
    and I do a /usr/local/modules/spca5xx.o in the pre-boot file.
    however, if I (un)plug the device, it does not get recognised.

    see output of dmesg

    Code:
    [admin@NAS root]$ dmesg
    le entries: 4096 (order: 3, 32768 bytes)
    Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
    Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Checking for 'wait' instruction...  unavailable.
    POSIX conformance testing by UNIFIX
    PCI: Initializing host
    PCI: Fixing up bus 0
    PCI: Fixing up bridge
    PCI: Fixing up bus 1
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    Journalled Block Device driver loaded
    devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
    devfs: boot_options: 0x1
    NTFS driver v1.1.22 [Flags: R/O]
    pty: 256 Unix98 ptys configured
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    ttyS00 at 0xb8000300 (irq = 3) is a 16550A
    ttyS01 at 0xb8000400 (irq = 3) is a 16550A
    HDLC line discipline: version $Revision$, maxframe=4096
    N_HDLC line discipline registered.
    loop: loaded (max 8 devices)
    PPP generic driver version 2.4.2
    PPP Deflate Compression module registered
    PPP BSD Compression module registered
    MPPE/MPPC encryption/compression module registered
    PPPoL2TP kernel driver, V0.13 (oleg@cs.msu.su)
    Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
    Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
    Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
     Amd/Fujitsu Extended Query Table v1.3 at 0x0040
     Flash Id: Vendor: 0x0001 Device: 0x007e
    number of CFI chips: 1
    Flash device: 0x800000 at 0x1c000000
    Physically mapped flash: squashfs filesystem found at block 912
    Creating 5 MTD partitions on "Physically mapped flash":
    0x00000000-0x00040000 : "boot"
    0x00040000-0x007f0000 : "linux"
    0x000e4000-0x007f0000 : "rootfs"
    0x007f0000-0x00800000 : "nvram"
    0x003e0000-0x007f0000 : "flashfs"
    sflash: found no supported devices
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 2048 bind 4096)
    Linux IP multicast router 0.06 plus PIM-SM
    ip_conntrack version 2.1 (256 buckets, 2048 max) - 352 bytes per conntrack
    ip_conntrack_pptp version 1.9 loaded
    ip_nat_pptp version 1.5 loaded
    ip_tables: (C) 2000-2002 Netfilter core team
    ipt_time loading
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    IPv6 v0.8 for NET4.0
    IPv6 over IPv4 tunneling driver
    NET4: Ethernet Bridge 008 for NET4.0
    802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    FAT: bogus logical sector size 59648
    FAT: bogus logical sector size 59648
    NTFS: Unable to set blocksize 512.
    VFS: Mounted root (squashfs filesystem) readonly.
    Mounted devfs on /dev
    Freeing unused kernel memory: 72k freed
    Algorithmics/MIPS FPU Emulator v1.5
    Linux video capture interface: v1.00
    eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.16
    unregister_netdevice: device eth1/8106cc00 never was registered
    PCI: Enabling device 01:02.0 (0004 -> 0006)
    eth1: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.16
    vlan0: add 33:33:00:00:00:01 mcast address to master interface
    vlan0: add 33:33:ff:57:ba:b8 mcast address to master interface
    vlan0: dev_set_promiscuity(master, 1)
    device eth0 entered promiscuous mode
    device vlan0 entered promiscuous mode
    device eth1 entered promiscuous mode
    vlan1: add 33:33:00:00:00:01 mcast address to master interface
    vlan1: add 33:33:ff:57:ba:b8 mcast address to master interface
    vlan1: dev_set_promiscuity(master, 1)
    device vlan1 entered promiscuous mode
    br0: port 3(vlan1) entering learning state
    br0: port 2(eth1) entering learning state
    br0: port 1(vlan0) entering learning state
    br0: port 3(vlan1) entering forwarding state
    br0: topology change detected, propagating
    br0: port 2(eth1) entering forwarding state
    br0: topology change detected, propagating
    br0: port 1(vlan0) entering forwarding state
    br0: topology change detected, propagating
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    usb-uhci.c: $Revision: 1.275 $ time 20:50:46 Mar 17 2008
    usb-uhci.c: High bandwidth mode enabled
    PCI: Enabling device 01:03.0 (0000 -> 0001)
    ECHI PCI device 30381106 found.
    UCHI reg 0x41 = 10
    UCHI reg 0x41 changed to = 0
    usb-uhci.c: USB UHCI at I/O 0x100, IRQ 12
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 1
    hub.c: USB hub found
    hub.c: 2 ports detected
    PCI: Enabling device 01:03.1 (0000 -> 0001)
    ECHI PCI device 30381106 found.
    UCHI reg 0x41 = 10
    UCHI reg 0x41 changed to = 0
    usb-uhci.c: USB UHCI at I/O 0x120, IRQ 12
    usb-uhci.c: Detected 2 ports
    usb.c: new USB bus registered, assigned bus number 2
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
    PCI: Enabling device 01:03.2 (0000 -> 0002)
    ehci_hcd 01:03.2: PCI device 1106:3104
    ehci_hcd 01:03.2: irq 12, pci mem c0124000
    usb.c: new USB bus registered, assigned bus number 3
    ECHI PCI device 31041106 found.
    ECHI reg 0x49 = 80010f20
    ECHI reg 0x49 changed to = 80010f00
    ECHI reg 0x4b = 80010f09
    ECHI reg 0x4b changed to = 80010f29
    PCI: 01:03.2 PCI cache line size set incorrectly (0 bytes) by BIOS/FW, correcting to 32
    ehci_hcd 01:03.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
    hub.c: USB hub found
    hub.c: 4 ports detected
    usb.c: registered new driver usblp
    printer.c: v0.13: USB Printer Device Class driver
    hub.c: connect-debounce failed, port 1 disabled
    SCSI subsystem driver Revision: 1.00
    Initializing USB Mass Storage driver...
    usb.c: registered new driver usb-storage
    USB Mass Storage support registered.
    hub.c: new USB device 01:03.2-2, assigned address 2
    scsi0 : SCSI emulation for USB Mass Storage devices
      Vendor: WD        Model: 5000AAJ External  Rev: 1.06
      Type:   Direct-Access                      ANSI SCSI revision: 02
    Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
    SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
    Partition check:
     /dev/scsi/host0/bus0/target0/lun0:<7>eth0: no IPv6 routers present
    vlan0: no IPv6 routers present
    eth1: no IPv6 routers present
     p1 p2 p3
    WARNING: USB Mass Storage data integrity not assured
    USB Mass Storage device found at 2
    br0: no IPv6 routers present
    vlan1: no IPv6 routers present
    hub.c: new USB device 01:03.0-1, assigned address 2
    usb.c: USB device 2 (vend/prod 0x46d/0x920) is not claimed by any active driver.
    Adding Swap: 506036k swap-space (priority -1)
    usb.c: registered new driver spca5xx
    drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
    usb.c: USB disconnect on device 01:03.0-1 address 2
    hub.c: new USB device 01:03.0-1, assigned address 3
    usb.c: USB device 3 (vend/prod 0x46d/0x920) is not claimed by any active driver.
    usb.c: USB disconnect on device 01:03.0-1 address 3
    hub.c: new USB device 01:03.0-1, assigned address 4
    usb.c: USB device 4 (vend/prod 0x46d/0x920) is not claimed by any active driver.
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    kjournald starting.  Commit interval 5 seconds
    EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
    EXT3-fs: mounted filesystem with ordered data mode.
    usb.c: USB disconnect on device 01:03.0-1 address 4
    hub.c: new USB device 01:03.0-1, assigned address 5
    usb.c: USB device 5 (vend/prod 0x46d/0x920) is not claimed by any active driver.
    usb.c: USB disconnect on device 01:03.0-1 address 5
    hub.c: new USB device 01:03.0-1, assigned address 6
    usb.c: USB device 6 (vend/prod 0x46d/0x920) is not claimed by any active driver.
    [admin@NAS root]$
    esp. the last lines

    what am I doing wrong here?
    and, if this is solved, how to continue.?

    TIA

  14. #29
    All I see in your log is the webcam being connected and disconnected.

    You need to load the module, not run it:

    Code:
    insmod spcaxxx.o

  15. #30
    Hello wirespot, thanks for your reply,

    that was a typo i did.. in the pre-boot I do a

    Code:
    insmod /usr/local/modules/spca5xx.o
    (like you said)

    however I doesn't seem to run,

    After a reboot I issued
    Code:
    insmod /usr/local/modules/spca5xx.o
    in an ssh session manually, it returns with a promt (if I do it again, there's a message it's already there)

    After that I posted the output of dmesg
    (after I first (un)plugged the camera several times)


    could there be something wrong with the spca5xx.o?
    I got it from http://www.wl500g.info/showthread.ph...ight=spca5xx.o

    Any ideas?
    Last edited by raas; 15-07-2008 at 14:11.

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. WL500gPv2 and webcam
    By cu4xs in forum WL-500gP Q&A
    Replies: 59
    Last Post: 27-09-2010, 17:02
  2. cannot detect USB HDD
    By ferdz_33 in forum WL-500gP Q&A
    Replies: 8
    Last Post: 13-01-2010, 08:53
  3. Compiling driver for usb2seriell cable
    By stefan1982 in forum WL-500g Q&A
    Replies: 0
    Last Post: 06-03-2007, 23:11

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
  •