lixuewei / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

GSPCA Camera Modules #1157

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Another pretty straight forward request, would be great to see drivers included 
for GSPCA devices as UVC and other modules are already included for other 
cameras.

I would be more then happy to use a workaround if any, but I so far have had no 
luck getting a Lifecam VX-3000 working without them.

Thanks again.

Original issue reported on code.google.com by c_u_late...@hotmail.com on 10 Feb 2014 at 9:23

GoogleCodeExporter commented 9 years ago
And just incase you want extra information on my particular case, the config I 
use to compile, the compiled firmware and my syslog;

http://198.23.248.102/config
http://198.23.248.102/RT-N56U_Latest.trx

/opt/home/admin # lsusb
Bus 001 Device 003: ID 0930:1400
Bus 002 Device 002: ID 045e:00f5
Bus 001 Device 001: ID 1d6b:0002
Bus 002 Device 001: ID 1d6b:0001

Jan  1 00:00:05 syslogd started: BusyBox v1.21.1
Jan  1 00:00:06 RT-N56U: bootloader version: RT-N56U-01-00-00-06
Jan  1 00:00:06 RT-N56U: firmware version: 3.4.3.7-078
Jan  1 00:00:06 kernel: klogd started: BusyBox v1.21.1 (2014-02-10 18:09:47 EST)
Jan  1 00:00:06 kernel: Linux version 3.4.78 (padavan@hms) (gcc version 4.4.7 
(GCC) ) #1 Mon Feb 10 18:06:32 EST 2014
Jan  1 00:00:06 kernel:  The CPU/SYS frequency set to 500/166 MHz
Jan  1 00:00:06 kernel: CPU revision is: 0001974c (MIPS 74Kc)
Jan  1 00:00:06 kernel: Determined physical RAM map:
Jan  1 00:00:06 kernel:  memory: 08000000 @ 00000000 (usable)
Jan  1 00:00:06 kernel: Zone PFN ranges:
Jan  1 00:00:06 kernel:   Normal   0x00000000 -> 0x00008000
Jan  1 00:00:06 kernel: Movable zone start PFN for each node
Jan  1 00:00:06 kernel: Early memory PFN ranges
Jan  1 00:00:06 kernel:     0: 0x00000000 -> 0x00008000
Jan  1 00:00:06 kernel: On node 0 totalpages: 32768
Jan  1 00:00:06 kernel: free_area_init_node: node 0, pgdat 80312190, 
node_mem_map 81000000
Jan  1 00:00:06 kernel:   Normal zone: 256 pages used for memmap
Jan  1 00:00:06 kernel:   Normal zone: 0 pages reserved
Jan  1 00:00:06 kernel:   Normal zone: 32512 pages, LIFO batch:7
Jan  1 00:00:06 kernel: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jan  1 00:00:06 kernel: pcpu-alloc: [0] 0 
Jan  1 00:00:06 kernel: Built 1 zonelists in Zone order, mobility grouping on.  
Total pages: 32512
Jan  1 00:00:06 kernel: Kernel command line: console=ttyS0,57600n8 
root=/dev/mtdblock4 rootfstype=squashfs
Jan  1 00:00:06 kernel: PID hash table entries: 512 (order: -1, 2048 bytes)
Jan  1 00:00:06 kernel: Dentry cache hash table entries: 16384 (order: 4, 65536 
bytes)
Jan  1 00:00:06 kernel: Inode-cache hash table entries: 8192 (order: 3, 32768 
bytes)
Jan  1 00:00:06 kernel: Primary instruction cache 64kB, VIPT, 4-way, linesize 
32 bytes.
Jan  1 00:00:06 kernel: Primary data cache 32kB, 4-way, PIPT, no aliases, 
linesize 32 bytes
Jan  1 00:00:06 kernel: Writing ErrCtl register=00000830
Jan  1 00:00:06 kernel: Readback ErrCtl register=00000830
Jan  1 00:00:06 kernel: Memory: 126368k/131072k available (2625k kernel code, 
4704k reserved, 520k data, 180k init, 0k highmem)
Jan  1 00:00:06 kernel: NR_IRQS:40
Jan  1 00:00:06 kernel: console [ttyS0] enabled
Jan  1 00:00:06 kernel: Calibrating delay loop... 249.34 BogoMIPS (lpj=498688)
Jan  1 00:00:06 kernel: pid_max: default: 32768 minimum: 301
Jan  1 00:00:06 kernel: Mount-cache hash table entries: 512
Jan  1 00:00:06 kernel: NET: Registered protocol family 16
Jan  1 00:00:06 kernel: bio: create slab <bio-0> at 0
Jan  1 00:00:06 kernel: SCSI subsystem initialized
Jan  1 00:00:06 kernel: usbcore: registered new interface driver usbfs
Jan  1 00:00:06 kernel: usbcore: registered new interface driver hub
Jan  1 00:00:06 kernel: usbcore: registered new device driver usb
Jan  1 00:00:06 kernel: PCI host bridge to bus 0000:00
Jan  1 00:00:06 kernel: pci_bus 0000:00: root bus resource [mem 
0x20000000-0x2fffffff]
Jan  1 00:00:06 kernel: pci_bus 0000:00: root bus resource [io  
0x10160000-0x1016ffff]
Jan  1 00:00:06 kernel: pci 0000:00:00.0: [1814:0802] type 01 class 0x060400
Jan  1 00:00:06 kernel: pci 0000:00:00.0: reg 14: [mem 0x20100000-0x2010ffff]
Jan  1 00:00:06 kernel: pci 0000:00:00.0: supports D1
Jan  1 00:00:06 kernel: pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Jan  1 00:00:06 kernel: pci 0000:01:00.0: [1814:3091] type 00 class 0x028000
Jan  1 00:00:06 kernel: pci 0000:01:00.0: reg 10: [mem 0x00000000-0x0000ffff]
Jan  1 00:00:06 kernel: pci 0000:01:00.0: PME# supported from D0 D3hot
Jan  1 00:00:06 kernel: pci 0000:00:00.0: BAR 8: assigned [mem 
0x20000000-0x200fffff]
Jan  1 00:00:06 kernel: pci 0000:00:00.0: BAR 1: assigned [mem 
0x20100000-0x2010ffff]
Jan  1 00:00:06 kernel: pci 0000:01:00.0: BAR 0: assigned [mem 
0x20000000-0x2000ffff]
Jan  1 00:00:06 kernel: pci 0000:00:00.0: PCI bridge to [bus 01-01]
Jan  1 00:00:06 kernel: pci 0000:00:00.0:   bridge window [mem 
0x20000000-0x200fffff]
Jan  1 00:00:06 kernel: Switching to clocksource MIPS
Jan  1 00:00:06 kernel: NET: Registered protocol family 2
Jan  1 00:00:06 kernel: IP route cache hash table entries: 1024 (order: 0, 4096 
bytes)
Jan  1 00:00:06 kernel: TCP established hash table entries: 4096 (order: 3, 
32768 bytes)
Jan  1 00:00:06 kernel: TCP bind hash table entries: 4096 (order: 2, 16384 
bytes)
Jan  1 00:00:06 kernel: TCP: Hash tables configured (established 4096 bind 4096)
Jan  1 00:00:06 kernel: TCP: reno registered
Jan  1 00:00:06 kernel: UDP hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 00:00:06 kernel: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Jan  1 00:00:06 kernel: NET: Registered protocol family 1
Jan  1 00:00:06 kernel: PCI: CLS 32 bytes, default 32
Jan  1 00:00:06 kernel: RT3xxx EHCI/OHCI init.
Jan  1 00:00:06 kernel: squashfs: version 4.0 (2009/01/31) Phillip Lougher
Jan  1 00:00:06 kernel: msgmni has been set to 246
Jan  1 00:00:06 kernel: alg: No test for stdrng (krng)
Jan  1 00:00:06 kernel: io scheduler noop registered (default)
Jan  1 00:00:06 kernel: pcieport 0000:00:00.0: device [1814:0802] has invalid 
IRQ; check vendor BIOS
Jan  1 00:00:06 kernel: Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
Jan  1 00:00:06 kernel: serial8250: ttyS0 at MMIO 0x10000c00 (irq = 12) is a 
16550A
Jan  1 00:00:06 kernel: Ralink GPIO driver initialized. Number of GPIO: 96, 
GPIO mode: 0000185D
Jan  1 00:00:06 kernel: brd: module loaded
Jan  1 00:00:06 kernel: loop: module loaded
Jan  1 00:00:06 kernel: ralink flash device: 0x1000000 at 0x1c000000
Jan  1 00:00:06 kernel: Ralink SoC physically mapped flash: Found 1 x16 devices 
at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
Jan  1 00:00:06 kernel: Ralink SoC physically mapped flash: Found an alias at 
0x800000 for the chip at 0x0
Jan  1 00:00:06 kernel: Amd/Fujitsu Extended Query Table at 0x0040
Jan  1 00:00:06 kernel:   Amd/Fujitsu Extended Query version 1.1.
Jan  1 00:00:06 kernel: number of CFI chips: 1
Jan  1 00:00:06 kernel: Creating 7 MTD partitions on "Ralink SoC physically 
mapped flash":
Jan  1 00:00:06 kernel: 0x000000000000-0x000000030000 : "Bootloader"
Jan  1 00:00:06 kernel: 0x000000030000-0x000000040000 : "Config"
Jan  1 00:00:06 kernel: 0x000000040000-0x000000050000 : "Factory"
Jan  1 00:00:06 kernel: 0x000000050000-0x000000170300 : "Kernel"
Jan  1 00:00:06 kernel: 0x000000170300-0x0000007f0000 : "RootFS"
Jan  1 00:00:06 kernel: 0x0000007f0000-0x000000800000 : "Storage"
Jan  1 00:00:06 kernel: 0x000000050000-0x000000800000 : "Firmware_Stub"
Jan  1 00:00:06 kernel: tun: Universal TUN/TAP device driver, 1.6
Jan  1 00:00:06 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan  1 00:00:06 kernel: PPP generic driver version 2.4.2
Jan  1 00:00:06 kernel: PPP MPPE Compression module registered
Jan  1 00:00:06 kernel: NET: Registered protocol family 24
Jan  1 00:00:06 kernel: PPTP driver version 0.8.5
Jan  1 00:00:06 kernel: Ralink APSoC Ethernet Driver v3.0.7. Rx/Tx Ring: 
256/256. Max packet size: 1536.
Jan  1 00:00:06 kernel: rtl8367 - hw bridge: W|LLLL
Jan  1 00:00:06 kernel: Realtek RTL8367 GigaPHY Switch Driver v2.1.
Jan  1 00:00:06 kernel: usbcore: registered new interface driver libusual
Jan  1 00:00:06 kernel: nf_conntrack version 0.5.0 (16384 buckets, 32768 max)
Jan  1 00:00:06 kernel: xt_time: kernel timezone is -0000
Jan  1 00:00:06 kernel: gre: GRE over IPv4 demultiplexor driver
Jan  1 00:00:06 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 00:00:06 kernel: TCP: cubic registered
Jan  1 00:00:06 kernel: NET: Registered protocol family 17
Jan  1 00:00:06 kernel: Bridge firewalling registered
Jan  1 00:00:06 kernel: L2TP core driver, V2.0
Jan  1 00:00:06 kernel: PPPoL2TP kernel driver, V2.0
Jan  1 00:00:06 kernel: 8021q: 802.1Q VLAN Support v1.8
Jan  1 00:00:06 kernel: ASUS NVRAM, v0.07. Available space: 61440. Integrity: OK
Jan  1 00:00:06 kernel: VFS: Mounted root (squashfs filesystem) readonly on 
device 31:4.
Jan  1 00:00:06 kernel: Freeing unused kernel memory: 180k freed
Jan  1 00:00:06 kernel: Algorithmics/MIPS FPU Emulator v1.5
Jan  1 00:00:06 kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
Jan  1 00:00:06 kernel: rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
Jan  1 00:00:06 kernel: rt3xxx-ehci rt3xxx-ehci: new USB bus registered, 
assigned bus number 1
Jan  1 00:00:06 kernel: rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
Jan  1 00:00:06 kernel: rt3xxx-ehci rt3xxx-ehci: USB 2.0 started, EHCI 1.00, 
overcurrent ignored
Jan  1 00:00:06 kernel: usb usb1: New USB device found, idVendor=1d6b, 
idProduct=0002
Jan  1 00:00:06 kernel: usb usb1: Product: Ralink EHCI Host Controller
Jan  1 00:00:06 kernel: usb usb1: Manufacturer: Linux 3.4.78 ehci_hcd
Jan  1 00:00:06 kernel: usb usb1: SerialNumber: rt3xxx-ehci
Jan  1 00:00:06 kernel: hub 1-0:1.0: USB hub found
Jan  1 00:00:06 kernel: hub 1-0:1.0: 2 ports detected
Jan  1 00:00:06 kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Jan  1 00:00:06 kernel: rt3xxx-ohci rt3xxx-ohci: Ralink RT3xxx OHCI Controller
Jan  1 00:00:06 kernel: rt3xxx-ohci rt3xxx-ohci: new USB bus registered, 
assigned bus number 2
Jan  1 00:00:06 kernel: rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
Jan  1 00:00:06 kernel: usb usb2: New USB device found, idVendor=1d6b, 
idProduct=0001
Jan  1 00:00:06 kernel: usb usb2: Product: Ralink RT3xxx OHCI Controller
Jan  1 00:00:06 kernel: usb usb2: Manufacturer: Linux 3.4.78 ohci_hcd
Jan  1 00:00:06 kernel: usb usb2: SerialNumber: rt3xxx-ohci
Jan  1 00:00:06 kernel: hub 2-0:1.0: USB hub found
Jan  1 00:00:06 kernel: hub 2-0:1.0: 2 ports detected
Jan  1 00:00:06 kernel: usb 1-2: new high-speed USB device number 3 using 
rt3xxx-ehci
Jan  1 00:00:06 kernel: rt2860v2_ap: module license 'Proprietary' taints kernel.
Jan  1 00:00:06 kernel: Disabling lock debugging due to kernel taint
Jan  1 00:00:06 kernel: APSoC AP Driver version: 2.7.1.6
Jan  1 00:00:06 kernel: usb 1-2: New USB device found, idVendor=0930, 
idProduct=1400
Jan  1 00:00:06 kernel: usb 1-2: Product: TOSHIBA USB DRV
Jan  1 00:00:06 kernel: usb 1-2: Manufacturer: TOSHIBA
Jan  1 00:00:06 kernel: usb 1-2: SerialNumber: 07B10D0B6BFD0162
Jan  1 00:00:06 kernel: Initializing USB Mass Storage driver...
Jan  1 00:00:06 kernel: scsi0 : usb-storage 1-2:1.0
Jan  1 00:00:06 kernel: RT309x AP Driver version: 2.7.1.5
Jan  1 00:00:06 kernel: usb 2-1: new full-speed USB device number 2 using 
rt3xxx-ohci
Jan  1 00:00:06 kernel: usbcore: registered new interface driver usb-storage
Jan  1 00:00:06 kernel: USB Mass Storage support registered.
Jan  1 00:00:06 kernel: usb 2-1: New USB device found, idVendor=045e, 
idProduct=00f5
Jan  1 00:00:06 kernel: usb 2-1: Product: USB camera
Jan  1 00:00:06 kernel: raeth: HW VLAN TX offload enabled
Jan  1 00:00:06 kernel: raeth: HW IP/TCP/UDP checksum RX/TX offload enabled
Jan  1 00:00:06 kernel: raeth: HW Scatter/Gather TX offload enabled
Jan  1 00:00:06 kernel: rtl8367 - IGMP/MLD snooping: 1
Jan  1 00:00:06 kernel: rtl8367 - set broadcast storm control rate as: 10240 
kbps
Jan  1 00:00:06 kernel: device eth2 entered promiscuous mode
Jan  1 00:00:07 kernel: device ra0 entered promiscuous mode
Jan  1 00:00:07 kernel: device rai0 entered promiscuous mode
Jan  1 00:00:07 kernel: br0: port 3(rai0) entered forwarding state
Jan  1 00:00:07 kernel: br0: port 2(ra0) entered forwarding state
Jan  1 00:00:07 kernel: br0: port 1(eth2) entered forwarding state
Jan  1 00:00:08 dnsmasq[417]: started, version 2.68 cachesize 1000
Jan  1 00:00:08 dnsmasq[417]: compile time options: no-IPv6 GNU-getopt no-RTC 
no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-scripts TFTP no-conntrack no-ipset 
no-auth
Jan  1 00:00:08 dnsmasq-dhcp[417]: DHCP, IP range 192.168.1.2 -- 192.168.1.244, 
lease time 1d
Jan  1 00:00:08 dnsmasq-dhcp[417]: DHCP, sockets bound exclusively to interface 
br0
Jan  1 00:00:08 dnsmasq[417]: read /etc/hosts - 3 addresses
Jan  1 00:00:08 dnsmasq[417]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jan  1 00:00:08 kernel: usbcore: registered new interface driver usblp
Jan  1 00:00:08 kernel: Ralink HW NAT v2.50.7 Module Enabled, ASIC: RT3883, 
REV: 0105, FoE Size: 16384
Jan  1 00:00:08 RT-N56U: Hardware NAT/Routing: Enabled, IPoE/PPPoE offload 
[WAN]<->[LAN/WLAN]
Jan  1 00:00:08 RT-N56U: Hardware NAT/Routing: IPv4 UDP flow offload - ON
Jan  1 00:00:08 kernel: eth3: ===> VirtualIF_open
Jan  1 00:00:08 dnsmasq[417]: read /etc/hosts - 3 addresses
Jan  1 00:00:08 dnsmasq[417]: read /etc/storage/dnsmasq/hosts - 0 addresses
Jan  1 00:00:08 dnsmasq[417]: using nameserver 203.50.2.71#53
Jan  1 00:00:08 dnsmasq[417]: using nameserver 139.130.4.4#53
Jan  1 00:00:08 kernel: scsi 0:0:0:0: Direct-Access     TOSHIBA  TOSHIBA USB 
DRV  PMAP PQ: 0 ANSI: 0 CCS
Jan  1 00:00:08 DHCP WAN Client: starting on eth3 ...
Jan  1 00:00:08 miniupnpd[453]: version 1.8 started
Jan  1 00:00:08 miniupnpd[453]: HTTP listening on port 52831
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] 7823360 512-byte logical blocks: 
(4.00 GB/3.73 GiB)
Jan  1 00:00:08 kernel: sd 0:0:0:0: Attached scsi generic sg0 type 0
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] Write Protect is off
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] Mode Sense: 23 00 00 00
Jan  1 00:00:08 usb_modeswitch: no rule for device 0930:1400
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 00:00:08 kernel:  sda: sda1
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] No Caching mode page found
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] Assuming drive cache: write through
Jan  1 00:00:08 kernel: sd 0:0:0:0: [sda] Attached SCSI removable disk
Jan  1 00:00:09 httpd[493]: Server listening port 1337 (HTTPS).
Jan  1 00:00:09 kernel: br0: port 3(rai0) entered forwarding state
Jan  1 00:00:09 detect_link: WAN link restored!
Jan  1 00:00:10 kernel: br0: port 2(ra0) entered forwarding state
Jan  1 00:00:10 kernel: br0: port 1(eth2) entered forwarding state
Jan  1 00:00:10 dropbear[503]: Running in background
Jan  1 00:00:10 kernel: Load Ralink WDG Timer Module
Jan  1 00:00:11 kernel: Netfilter messages via NETLINK v0.30.
Jan  1 00:00:11 kernel: ip_set: protocol 6
Jan  1 00:00:11 kernel: EXT4-fs (sda1): mounted filesystem with ordered data 
mode. Opts: (null)
Jan  1 00:00:11 opt-mount.sh: started [/dev/sda1 /media/Main]

Original comment by c_u_late...@hotmail.com on 10 Feb 2014 at 10:47

GoogleCodeExporter commented 9 years ago
It is great that you can build the firmware yourself! So, any modules which are 
not included should be compiled by you...

Original comment by d...@soulblader.com on 29 Jan 2015 at 2:59