Здравствуйте.
На роутере с openwrt пытаюсь подключть usb камеру. Камера A4Tech PC Camera H (чип vimicro zc0301plh). Пакеты:
kmod-usb-core
kmod-usb-ohci
kmod-usb-rt305x-dwc_otg
kmod-usb2
kmod-video-core
kmod-video-uvc
Короче говоря, в /dev/ файлов video нету, в /proc/bus/usb/devices пусто
Надо конечно попробовать флешку подключить и другую камеру, но сегодня полное отсутствие присутствия, знаете ли :)
Я линукс больше на картинках видел, поэтому дайте пожалуйста направление где искать проблему наиболее подробно.
Прилагаю полный лог ядра openwrt:
[ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sun Nov 18 18:54:19 UTC 2012
[ 0.000000] prom: fw_arg0=00000001, fw_arg1=81f6efb0, fw_arg2=01f6f3b0, fw_arg3=00000000
[ 0.000000] env[0]: memsize=32
[ 0.000000] env[1]: initrd_start=0x00000000
[ 0.000000] env[2]: initrd_size=0x0
[ 0.000000] env[3]: flash_start=0xBF000000
[ 0.000000] env[4]: flash_size=0x800000
[ 0.000000] env[0]: memsize=32
[ 0.000000] env[1]: initrd_start=0x00000000
[ 0.000000] env[2]: initrd_size=0x0
[ 0.000000] env[3]: flash_start=0xBF000000
[ 0.000000] env[4]: flash_size=0x800000
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80254770, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=DIR-620-A1 console=ttyS1,57600 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=000101a0
[ 0.000000] Readback ErrCtl register=000101a0
[ 0.000000] Memory: 29672k/32768k available (2046k kernel code, 3096k reserved, 340k data, 176k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:48
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[ 0.090000] pid_max: default: 32768 minimum: 301
[ 0.100000] Mount-cache hash table entries: 512
[ 0.110000] NET: Registered protocol family 16
[ 0.120000] MIPS: machine is D-Link DIR-620 A1
[ 0.130000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[ 0.140000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[ 0.150000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[ 0.170000] bio: create slab <bio-0> at 0
[ 0.180000] Switching to clocksource MIPS
[ 0.190000] NET: Registered protocol family 2
[ 0.200000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.210000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.230000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.240000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.250000] TCP reno registered
[ 0.260000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.270000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.290000] NET: Registered protocol family 1
[ 0.320000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.330000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.360000] msgmni has been set to 57
[ 0.360000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.380000] io scheduler noop registered
[ 0.390000] io scheduler deadline registered (default)
[ 0.400000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.410000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.430000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.450000] physmap platform flash device: 00800000 at bf000000
[ 0.460000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[ 0.480000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.490000] Amd/Fujitsu Extended Query version 1.1.
[ 0.500000] number of CFI chips: 1
[ 0.510000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[ 0.520000] Creating 6 MTD partitions on "physmap-flash.0":
[ 0.540000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.550000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.560000] 0x000000040000-0x000000050000 : "factory"
[ 0.570000] 0x000000050000-0x000000130000 : "kernel"
[ 0.590000] 0x000000130000-0x000000800000 : "rootfs"
[ 0.600000] mtd: partition "rootfs" set to be root filesystem
[ 0.610000] mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=510000
[ 0.630000] 0x0000002f0000-0x000000800000 : "rootfs_data"
[ 0.640000] 0x000000050000-0x000000800000 : "firmware"
[ 0.660000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[ 0.680000] TCP cubic registered
[ 0.690000] NET: Registered protocol family 17
[ 0.700000] Bridge firewalling registered
[ 0.700000] 8021q: 802.1Q VLAN Support v1.8
[ 0.720000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.730000] Freeing unused kernel memory: 176k freed
[ 2.530000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 2.610000] Button Hotplug driver version 0.4.1
[ 2.770000] Registered led device: d-link:amber:status
[ 2.770000] Registered led device: d-link:green:status
[ 2.780000] Registered led device: d-link:amber:wan
[ 2.780000] Registered led device: d-link:green:wan
[ 2.780000] Registered led device: d-link:blue:wps
[ 2.780000] Registered led device: d-link:amber:wps
[ 6.000000] JFFS2 notice: (384) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 42 of xref (0 dead, 34 orphan) found.
[ 7.810000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 7.830000] Backport based on wireless-testing.git master-2012-09-07
[ 7.840000] compat.git: wireless-testing.git
[ 7.870000] cfg80211: Calling CRDA to update world regulatory domain
[ 7.890000] cfg80211: World regulatory domain updated:
[ 7.900000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.910000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.930000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.950000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.960000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.980000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.440000] usbcore: registered new interface driver usbfs
[ 8.460000] usbcore: registered new interface driver hub
[ 8.470000] usbcore: registered new device driver usb
[ 8.900000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 8.900000] Registered led device: rt2800pci-phy0::radio
[ 8.900000] Registered led device: rt2800pci-phy0::assoc
[ 8.900000] Registered led device: rt2800pci-phy0::quality
[ 8.950000] PPP generic driver version 2.4.2
[ 9.000000] L2TP core driver, V2.0
[ 9.020000] L2TP netlink interface
[ 9.180000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.410000] NET: Registered protocol family 24
[ 9.460000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 9.490000] nf_conntrack version 0.5.0 (466 buckets, 1864 max)
[ 9.740000] PPPoL2TP kernel driver, V2.0
[ 9.890000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 9.950000] i2c /dev entries driver
[ 9.980000] dwc_otg: version 2.72a 24-JUN-2008
[ 9.990000] dwc_otg: Core Release: 2.66a
[ 10.200000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[ 10.210000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[ 10.220000] dwc_otg: Using DMA mode
[ 10.230000] dwc_otg: Device using Buffer DMA mode
[ 10.240000] dwc_otg dwc_otg.0: DWC OTG Controller
[ 10.250000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[ 10.260000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[ 10.270000] dwc_otg: Init: Port Power? op_state=1
[ 10.280000] dwc_otg: Init: Power Port (0)
[ 10.290000] hub 1-0:1.0: USB hub found
[ 10.300000] hub 1-0:1.0: 1 port detected
[ 10.390000] Linux video capture interface: v2.00
[ 10.540000] usbcore: registered new interface driver uvcvideo
[ 10.550000] USB Video Class driver (1.1.1)
[ 10.850000] usb 1-1: new full-speed USB device number 2 using dwc_otg
[ 14.030000] device eth0.1 entered promiscuous mode
[ 14.040000] device eth0 entered promiscuous mode
[ 14.050000] br-lan: port 1(eth0.1) entered forwarding state
[ 14.060000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.060000] br-lan: port 1(eth0.1) entered forwarding state
[ 16.120000] cfg80211: Calling CRDA for country: BO
[ 16.130000] cfg80211: Regulatory domain changed to country: BO
[ 16.140000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 16.160000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 16.170000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
[ 18.640000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33
[ 19.450000] device wlan0 entered promiscuous mode
[ 21.010000] br-lan: port 2(wlan0) entered forwarding state
[ 21.020000] br-lan: port 2(wlan0) entered forwarding state
[ 23.020000] br-lan: port 2(wlan0) entered forwarding state