Odp: Kamerka USB Logitech HD C270
opkg update
opkg install kmod-video-uvc
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Kamerka USB Logitech HD C270
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
opkg update
opkg install kmod-video-uvc
root@OpenWrt:~# opkg install kmod-video-uvc
Multiple packages (kmod-video-uvc and kmod-video-uvc) providing same name marked HOLD or PREFER. Using latest.
Installing kmod-video-uvc (3.18.23-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-video-videobuf2 and kmod-video-videobuf2) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-video-videobuf2 and kmod-video-videobuf2) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-video-core and kmod-video-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-video-core and kmod-video-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-i2c-core and kmod-i2c-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-i2c-core and kmod-i2c-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-input-core and kmod-input-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-input-core and kmod-input-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-video-core and kmod-video-core) providing same name marked HOLD or PREFER. Using latest.
Multiple packages (kmod-video-core and kmod-video-core) providing same name marked HOLD or PREFER. Using latest.
Installing kmod-video-videobuf2 (3.18.23-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Installing kmod-dma-buf (3.18.23-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Installing kmod-video-core (3.18.23-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Installing kmod-i2c-core (3.18.23-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Installing kmod-input-core (3.18.23-1) to root...
Downloading http://dl.eko.one.pl/chaos_calmer/ar71x … r71xx.ipk.
Configuring kmod-dma-buf.
Configuring kmod-i2c-core.
Configuring kmod-video-core.
Configuring kmod-input-core.
Configuring kmod-video-videobuf2.
Configuring kmod-video-uvc.
4 modules could not be probed
- dma-shared-buffer
- uvcvideo
- videobuf2-core
- videobuf2-vmalloc
Kamere podłaćzyłem i nadal nie ma urządzenia video
root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.18.23 (cezary@eko.one.pl) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46060) ) #10 Fri Feb 19 22:57:55 CET 2016
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 803ca2b0, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 pages, LIFO batch:7
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 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: 32512
[ 0.000000] Kernel command line: board=WNDR4300 console=ttyS0,115200 mtdparts=ar934x-nfc:256k(u-boot)ro,256k(u-boot-env)ro,256k(caldata),512k(pot),2048k(language),512k(config),3072k(traffic_meter),2048k(kernel),121856k(ubi),123904k@0x6c0000(firmware),256k(caldata_backup),-(reserved) rootfstype=squashfs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 125468K/131072K available (2868K kernel code, 131K rwdata, 592K rodata, 240K init, 192K bss, 5604K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:560.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:40.000MHz
[ 0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.080000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is NETGEAR WNDR4300
[ 0.100000] ar71xx: using random MAC address for eth0
[ 0.320000] registering PCI controller with io_map_base unset
[ 0.330000] PCI host bridge to bus 0000:00
[ 0.330000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.340000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.340000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.350000] pci 0000:00:00.0: [168c:0033] type 00 class 0x028000
[ 0.350000] pci 0000:00:00.0: invalid calibration data
[ 0.350000] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x0001ffff 64bit]
[ 0.350000] pci 0000:00:00.0: reg 0x30: [mem 0x00000000-0x0000ffff pref]
[ 0.350000] pci 0000:00:00.0: supports D1
[ 0.350000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.350000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.350000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[ 0.360000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[ 0.360000] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.370000] Switched to clocksource MIPS
[ 0.370000] NET: Registered protocol family 2
[ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.390000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.390000] TCP: reno registered
[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.410000] NET: Registered protocol family 1
[ 0.410000] PCI: CLS 0 bytes, default 32
[ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.440000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.440000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.450000] msgmni has been set to 245
[ 0.460000] io scheduler noop registered
[ 0.470000] io scheduler deadline registered (default)
[ 0.470000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.480000] console [ttyS0] disabled
[ 0.500000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 2500000) is a 16550A
[ 0.510000] console [ttyS0] enabled
[ 0.520000] bootconsole [early0] disabled
[ 0.530000] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xf1
[ 0.540000] nand: Micron NAND 128MiB 3,3V 8-bit
[ 0.540000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 0.550000] Scanning device for bad blocks
[ 0.640000] mtd: ar934x-nfc: skipping zero sized partition
[ 0.640000] 11 cmdlinepart partitions found on MTD device ar934x-nfc
[ 0.650000] Creating 11 MTD partitions on "ar934x-nfc":
[ 0.650000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.660000] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.670000] 0x000000080000-0x0000000c0000 : "caldata"
[ 0.670000] 0x0000000c0000-0x000000140000 : "pot"
[ 0.680000] 0x000000140000-0x000000340000 : "language"
[ 0.680000] 0x000000340000-0x0000003c0000 : "config"
[ 0.690000] 0x0000003c0000-0x0000006c0000 : "traffic_meter"
[ 0.700000] 0x0000006c0000-0x0000008c0000 : "kernel"
[ 0.700000] 0x0000008c0000-0x000007fc0000 : "ubi"
[ 0.710000] 0x0000006c0000-0x000007fc0000 : "firmware"
[ 1.310000] random: nonblocking pool is initialized
[ 2.430000] 0x000007fc0000-0x000008000000 : "caldata_backup"
[ 2.440000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 2.510000] libphy: ag71xx_mdio: probed
[ 3.110000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Atheros AR8216/AR8236/AR8316]
[ 3.120000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 3.130000] TCP: cubic registered
[ 3.130000] NET: Registered protocol family 17
[ 3.130000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 3.150000] Bridge firewalling registered
[ 3.150000] 8021q: 802.1Q VLAN Support v1.8
[ 3.160000] UBI: auto-attach mtd8
[ 3.160000] UBI: attaching mtd8 to ubi0
[ 4.670000] UBI: scanning is finished
[ 4.690000] UBI: attached mtd8 (name "ubi", size 119 MiB) to ubi0
[ 4.700000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.700000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 4.710000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.720000] UBI: good PEBs: 952, bad PEBs: 0, corrupted PEBs: 0
[ 4.720000] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 4.730000] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 1357495390
[ 4.740000] UBI: available PEBs: 0, total reserved PEBs: 952, PEBs reserved for bad PEB handling: 20
[ 4.750000] UBI: background thread "ubi_bgt0d" started, PID 311
[ 4.750000] UBI: ubiblock0_0 created from ubi0:0(rootfs)
[ 4.760000] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 4.770000] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 4.780000] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.790000] Freeing unused kernel memory: 240K (803e4000 - 80420000)
[ 5.870000] init: Console is alive
[ 5.880000] init: - watchdog -
[ 7.710000] usbcore: registered new interface driver usbfs
[ 7.720000] usbcore: registered new interface driver hub
[ 7.720000] usbcore: registered new device driver usb
[ 7.770000] SCSI subsystem initialized
[ 7.780000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 7.790000] ehci-platform: EHCI generic platform driver
[ 7.790000] ehci-platform ehci-platform: EHCI Host Controller
[ 7.800000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 7.810000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 7.840000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 7.840000] hub 1-0:1.0: USB hub found
[ 7.850000] hub 1-0:1.0: 1 port detected
[ 7.850000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 7.860000] ohci-platform: OHCI generic platform driver
[ 7.870000] usbcore: registered new interface driver usb-storage
[ 7.880000] init: - preinit -
[ 8.370000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 10.250000] eth0: link up (1000Mbps/Full duplex)
[ 11.610000] mount_root: loading kmods from internal overlay
[ 12.000000] UBIFS: default file-system created
[ 12.000000] UBIFS: background thread "ubifs_bgt0_1" started, PID 408
[ 12.200000] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 12.210000] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 12.220000] UBIFS: FS size: 110850048 bytes (105 MiB, 873 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[ 12.230000] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
[ 12.230000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID D24CFCC7-BE58-4338-9BFB-1ED37B68043E, small LPT model
[ 12.250000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 1 is up
[ 12.250000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
[ 12.260000] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 12.270000] block: unable to load configuration (fstab: Entry not found)
[ 12.280000] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[ 12.280000] block: unable to load configuration (fstab: Entry not found)
[ 12.290000] block: attempting to load /etc/config/fstab
[ 12.300000] block: unable to load configuration (fstab: Entry not found)
[ 12.310000] block: no usable configuration
[ 12.320000] UBIFS: un-mount UBI device 0, volume 1
[ 12.320000] UBIFS: background thread "ubifs_bgt0_1" stops
[ 12.330000] UBIFS: background thread "ubifs_bgt0_1" started, PID 411
[ 12.530000] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 12.540000] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 12.540000] UBIFS: FS size: 110850048 bytes (105 MiB, 873 LEBs), journal size 5586944 bytes (5 MiB, 44 LEBs)
[ 12.550000] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
[ 12.560000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID D24CFCC7-BE58-4338-9BFB-1ED37B68043E, small LPT model
[ 12.880000] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 12.890000] block: unable to load configuration (fstab: Entry not found)
[ 12.890000] block: attempting to load /tmp/ubifs_cfg/etc/config/fstab
[ 12.900000] block: unable to load configuration (fstab: Entry not found)
[ 12.910000] block: attempting to load /etc/config/fstab
[ 12.910000] block: unable to load configuration (fstab: Entry not found)
[ 12.920000] block: no usable configuration
[ 12.930000] mount_root: overlay filesystem has not been fully initialized yet
[ 12.930000] mount_root: switching to jffs2 overlay
[ 12.970000] eth0: link down
[ 12.980000] procd: - early -
[ 12.990000] procd: - watchdog -
[ 13.780000] procd: - ubus -
[ 14.810000] procd: - init -
[ 16.870000] NET: Registered protocol family 10
[ 16.900000] gre: GRE over IPv4 demultiplexor driver
[ 16.910000] ip_gre: GRE over IPv4 tunneling driver
[ 16.930000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.980000] u32 classifier
[ 16.980000] input device check on
[ 16.980000] Actions configured
[ 17.010000] Mirror/redirect action on
[ 17.050000] fuse init (API version 7.23)
[ 17.060000] usbcore: registered new interface driver cdc_acm
[ 17.070000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 17.080000] usbcore: registered new interface driver cdc_wdm
[ 17.080000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[ 17.090000] Backport generated by backports.git backports-20150129-0-gdd4a670
[ 17.100000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 17.120000] nf_conntrack version 0.5.0 (1964 buckets, 7856 max)
[ 17.150000] usbcore: registered new interface driver usblp
[ 17.170000] usbcore: registered new interface driver usbserial
[ 17.170000] usbcore: registered new interface driver usbserial_generic
[ 17.180000] usbserial: USB Serial support registered for generic
[ 17.330000] xt_time: kernel timezone is -0000
[ 17.330000] usbcore: registered new interface driver cdc_ether
[ 17.340000] usbcore: registered new interface driver cdc_ncm
[ 17.390000] cfg80211: Calling CRDA to update world regulatory domain
[ 17.390000] cfg80211: World regulatory domain updated:
[ 17.400000] cfg80211: DFS Master region: unset
[ 17.400000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 17.410000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 17.420000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz, 92000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 17.430000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 17.440000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 17.450000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 17.460000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 17.470000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 17.480000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 17.500000] usbcore: registered new interface driver huawei_cdc_ncm
[ 17.590000] PPP generic driver version 2.4.2
[ 17.600000] PPP MPPE Compression module registered
[ 17.600000] NET: Registered protocol family 24
[ 17.610000] PPTP driver version 0.8.5
[ 17.620000] usbcore: registered new interface driver qmi_wwan
[ 17.630000] usbcore: registered new interface driver rndis_host
[ 17.640000] usbcore: registered new interface driver sierra
[ 17.640000] usbserial: USB Serial support registered for Sierra USB modem
[ 17.650000] usbcore: registered new interface driver sierra_net
[ 17.740000] usbcore: registered new interface driver cdc_mbim
[ 17.760000] usbcore: registered new interface driver option
[ 17.760000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 17.770000] usbcore: registered new interface driver qcserial
[ 17.780000] usbserial: USB Serial support registered for Qualcomm USB modem
[ 17.810000] ath9k ar934x_wmac: Direct firmware load for soc_wmac.eeprom failed with error -2
[ 17.820000] ath9k ar934x_wmac: Falling back to user helper
[ 18.220000] ath: EEPROM regdomain: 0x0
[ 18.220000] ath: EEPROM indicates default country code should be used
[ 18.220000] ath: doing EEPROM country->regdmn map search
[ 18.220000] ath: country maps to regdmn code: 0x3a
[ 18.220000] ath: Country alpha2 being used: US
[ 18.220000] ath: Regpair used: 0x3a
[ 18.230000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 18.230000] ieee80211 phy0: Atheros AR9340 Rev:2 mem=0xb8100000, irq=47
[ 18.240000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 18.240000] cfg80211: Calling CRDA for country: US
[ 18.270000] ath9k 0000:00:00.0: Direct firmware load for pci_wmac0.eeprom failed with error -2
[ 18.270000] ath9k 0000:00:00.0: Falling back to user helper
[ 18.280000] cfg80211: Regulatory domain changed to country: US
[ 18.290000] cfg80211: DFS Master region: FCC
[ 18.290000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 18.300000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 18.310000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (N/A)
[ 18.320000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
[ 18.330000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2300 mBm), (0 s)
[ 18.340000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 18.340000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 18.620000] ath: EEPROM regdomain: 0x0
[ 18.620000] ath: EEPROM indicates default country code should be used
[ 18.620000] ath: doing EEPROM country->regdmn map search
[ 18.620000] ath: country maps to regdmn code: 0x3a
[ 18.620000] ath: Country alpha2 being used: US
[ 18.620000] ath: Regpair used: 0x3a
[ 18.630000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 18.630000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40
[ 34.150000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 34.180000] device eth0.1 entered promiscuous mode
[ 34.180000] device eth0 entered promiscuous mode
[ 34.210000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 34.260000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 35.140000] eth0: link up (1000Mbps/Full duplex)
[ 35.140000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 35.150000] br-lan: port 1(eth0.1) entered forwarding state
[ 35.160000] br-lan: port 1(eth0.1) entered forwarding state
[ 35.160000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 35.230000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 37.160000] br-lan: port 1(eth0.1) entered forwarding state
[ 197.220000] br-lan: port 1(eth0.1) entered disabled state
[ 197.230000] device eth0.1 left promiscuous mode
[ 197.230000] br-lan: port 1(eth0.1) entered disabled state
[ 197.240000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 197.250000] device eth0.1 entered promiscuous mode
[ 197.360000] br-lan: port 1(eth0.1) entered forwarding state
[ 197.360000] br-lan: port 1(eth0.1) entered forwarding state
[ 199.360000] br-lan: port 1(eth0.1) entered forwarding state
[ 269.440000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
[ 403.600000] dma_shared_buffer: module license 'unspecified' taints kernel.
[ 403.610000] Disabling lock debugging due to kernel taint
[ 403.610000] dma_shared_buffer: Unknown symbol anon_inode_getfile (err 0)
[ 403.620000] dma_shared_buffer: Unknown symbol wake_up_state (err 0)
[ 403.630000] dma_shared_buffer: Unknown symbol call_rcu_sched (err 0)
[ 403.630000] dma_shared_buffer: Unknown symbol debugfs_remove_recursive (err 0)
[ 403.640000] dma_shared_buffer: Unknown symbol debugfs_create_file (err 0)
[ 403.650000] dma_shared_buffer: Unknown symbol ktime_get (err 0)
[ 403.650000] dma_shared_buffer: Unknown symbol __wake_up_locked_key (err 0)
[ 403.660000] dma_shared_buffer: Unknown symbol debugfs_create_dir (err 0)
[ 403.760000] i2c /dev entries driver
[ 403.870000] Linux video capture interface: v2.00
[ 404.030000] videobuf2_core: Unknown symbol dma_buf_get (err 0)
[ 404.040000] videobuf2_core: Unknown symbol dma_buf_put (err 0)
[ 404.040000] videobuf2_core: Unknown symbol dma_buf_fd (err 0)
[ 404.070000] videobuf2_vmalloc: Unknown symbol dma_buf_vmap (err 0)
[ 404.070000] videobuf2_vmalloc: Unknown symbol dma_buf_vunmap (err 0)
[ 404.170000] dma_shared_buffer: Unknown symbol anon_inode_getfile (err 0)
[ 404.170000] dma_shared_buffer: Unknown symbol wake_up_state (err 0)
[ 404.180000] dma_shared_buffer: Unknown symbol call_rcu_sched (err 0)
[ 404.190000] dma_shared_buffer: Unknown symbol debugfs_remove_recursive (err 0)
[ 404.190000] dma_shared_buffer: Unknown symbol debugfs_create_file (err 0)
[ 404.200000] dma_shared_buffer: Unknown symbol ktime_get (err 0)
[ 404.210000] dma_shared_buffer: Unknown symbol __wake_up_locked_key (err 0)
[ 404.210000] dma_shared_buffer: Unknown symbol debugfs_create_dir (err 0)
[ 404.230000] dma_shared_buffer: Unknown symbol anon_inode_getfile (err 0)
[ 404.240000] dma_shared_buffer: Unknown symbol wake_up_state (err 0)
[ 404.250000] dma_shared_buffer: Unknown symbol call_rcu_sched (err 0)
[ 404.250000] dma_shared_buffer: Unknown symbol debugfs_remove_recursive (err 0)
[ 404.260000] dma_shared_buffer: Unknown symbol debugfs_create_file (err 0)
[ 404.270000] dma_shared_buffer: Unknown symbol ktime_get (err 0)
[ 404.270000] dma_shared_buffer: Unknown symbol __wake_up_locked_key (err 0)
[ 404.280000] dma_shared_buffer: Unknown symbol debugfs_create_dir (err 0)
[ 436.580000] usb 1-1: USB disconnect, device number 2
[ 438.150000] usb 1-1: new high-speed USB device number 3 using ehci-platform
root@OpenWrt:~#
Oczywiście załadowałem swieży cc 15.05 z Twojej strony.
Poczekaj, sprawdzę to u siebie na jakimś routerze.
Dzięki piękne, czekam na dalszą pomoc.
CC na nowszym kernelu 3.18.27 kompiluje dobrze pakiet kmod-dma-buf bo to on wywala błędy.
Pewnie musisz poczekać na nowsze kompilacje Cezarego, ponieważ ten pakiet wymaga kernela z tej samej kompilacji systemu. Mniej więcej tak jest u mnie
root@OpenWrt:~# opkg info kmod-dma-buf
Package: kmod-dma-buf
Version: 3.18.27-1
Depends: kernel (= 3.18.27-1-08de3e2b656b8770c456ffc1233b1625)
Status: install hold,user installed
Architecture: ar71xx
Installed-Time: 1459203394
root@OpenWrt:~# opkg info kernel
Package: kernel
Version: 3.18.27-1-08de3e2b656b8770c456ffc1233b1625
Depends: libc
Status: install hold installed
Architecture: ar71xx
Installed-Time: 1459201914Dokładnie tak. I tak muszę zrobić nowe buildy, więc nie będę naprawiał tamtego to pojawi się nowa wersja.
A możesz zdradzić kiedy można się spodziewać nowszej kompilacji z naprawionym problemem?
Kompiluje się. Więc pewnie jutro.
No i teraz kamerka bez problemu śmiga.
Nie chcę zakładać nowego temat ale mam taka samą kamerkę i próbuję odpalić motion wg tego poradnika:
https://eko.one.pl/?p=openwrt-webcam.
Doinstalowałem wszystkie pakiety:
Polecenie lsusb:
root@OpenWrt:~# ls -al /dev/video*
crw------- 1 root root 81, 0 Aug 16 07:51 /dev/video0Czyli wszystko gra... w config poprawiłem tylko:
stream_localhost off
output_pictures offI odpalam motion
Wchodzę na przegladarke wpisuje adres_routera:8081 i nic nie widze nie znaelziono strony
A w konsoli mam takie coś:
root@OpenWrt:~# motion
[0] [ALR] [ALL] conf_load: could not open configfile /etc/motion/motion.conf: No such file or directory
[0] [CRT] [ALL] conf_load: Not config file to process using default values
[0] [NTC] [ALL] motion_startup: Using default log level (NTC) (6)
[0] [NTC] [ALL] motion_startup: Motion 3.4.0-Git-78ba2da Started
[0] [NTC] [ALL] motion_startup: Logging to syslog
[0] [NTC] [ALL] motion_startup: Using default log type (ALL)
[0] [NTC] [ALL] motion_startup: Using log type (ALL) log level (NTC)
[0] [NTC] [ALL] main: Thread 1 is device: /dev/video0 input -1
[0] [NTC] [ALL] main: Stream port 0
[0] [NTC] [ALL] main: Waiting for threads to finish, pid: 1108
[1] [NTC] [ALL] motion_init: Thread 1 started , motion detection Enabled
[1] [NTC] [VID] vid_v4lx_start: Using videodevice /dev/video0 and input -1
[1] [NTC] [VID] v4l2_get_capability:
------------------------
cap.driver: "uvcvideo"
cap.card: "UVC Camera (046d:0825)"
cap.bus_info: "usb-3f980000.usb-1.3"
cap.capabilities=0x84200001
------------------------
[1] [NTC] [VID] v4l2_get_capability: - VIDEO_CAPTURE
[1] [NTC] [VID] v4l2_get_capability: - STREAMING
[1] [NTC] [VID] v4l2_select_input: name = "Camera 1", type 0x00000002, status 00000000
[1] [NTC] [VID] v4l2_select_input: - CAMERA
[1] [WRN] [VID] v4l2_select_input: Device doesn't support VIDIOC_G_STD
[1] [NTC] [VID] v4l2_set_pix_format: Config palette index 17 (YU12) doesn't work.
[1] [NTC] [VID] v4l2_set_pix_format: Supported palettes:
[1] [NTC] [VID] v4l2_set_pix_format: (0) YUYV (YUYV 4:2:2)
[1] [NTC] [VID] v4l2_set_pix_format: 0 - YUYV 4:2:2 (compressed : 0) (0x56595559)
[1] [NTC] [VID] v4l2_set_pix_format: (1) MJPG (Motion-JPEG)
[1] [NTC] [VID] v4l2_set_pix_format: 1 - Motion-JPEG (compressed : 1) (0x47504a4d)
[1] [NTC] [VID] v4l2_set_pix_format Selected palette YUYV
[1] [NTC] [VID] v4l2_do_set_pix_format: Testing palette YUYV (352x288)
[1] [NTC] [VID] v4l2_do_set_pix_format: Using palette YUYV (352x288) bytesperlines 704 sizeimage 202752 colorspace 00000008
[1] [NTC] [VID] v4l2_scan_controls: found control 0x00980900, "Brightness", range 0,255
[1] [NTC] [VID] v4l2_scan_controls: "Brightness", default -8193, current 128
[1] [NTC] [VID] v4l2_scan_controls: found control 0x00980901, "Contrast", range 0,255
[1] [NTC] [VID] v4l2_scan_controls: "Contrast", default 57343, current 32
[1] [NTC] [VID] v4l2_scan_controls: found control 0x00980902, "Saturation", range 0,255
[1] [NTC] [VID] v4l2_scan_controls: "Saturation", default 57343, current 32
[1] [NTC] [VID] v4l2_scan_controls: found control 0x00980913, "Gain", range 0,255
[1] [NTC] [VID] v4l2_scan_controls: "Gain", default 57343, current 0
[1] [NTC] [VID] vid_v4lx_start: Using V4L2
[1] [NTC] [ALL] image_ring_resize: Resizing pre_capture buffer to 1 items
[1] [NTC] [EVT] event_new_video FPS 30
[1] [NTC] [ALL] motion_detected: Motion detected - starting event 1
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075330-22.jpg
....
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075335-20.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075335-21.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075335-22.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075335-23.jpg
Output file write error --- out of disk space?Ale zrestartowałeś po zmianie konfiga? Bo na razie to masz info że tworzy obrazki i zapchał ci flash.
Kurde dziwna sprawa łącze się przez winscp i jako root nie mogę edytować pliku... dalej mam te stare wartości sprzed edycji... ;(
No nic najwyżej skompiluje sobie jeszcze raz z prawidłowym plikiem i przy kompilacji podmienię...
Nie możesz bo zapchałeś flash. Uruchom sobie w failsafe i skasuj obrazki.
Dobra wgrałem na nowo wszystko skompilowany obraz na czysto... z podmienionym plikiem.
Mam z oryginalnego pliku tylko te dwie sekcje zmienione:
stream_localhost off
output_pictures offPo odpalaniu motion dalej zapycha flasha obrazkami:
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075825-00.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075825-01.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075825-02.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075825-03.jpg
[1] [NTC] [EVT] event_newfile: File of type 1 saved to: ./01-20180816075825-04.jpgwynik komendy
df -h
Pokazuej że ilość wolnego miejsca stale ubywa.
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 252.0M 74.0M 172.8M 30% /
tmpfs 60.4M 524.0K 59.9M 1% /tmp
/dev/mmcblk0p1 19.9M 9.4M 10.5M 47% /boot
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 252.0M 76.3M 170.6M 31% /
tmpfs 60.4M 524.0K 59.9M 1% /tmp
/dev/mmcblk0p1 19.9M 9.4M 10.5M 47% /boot
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 252.0M 76.7M 170.2M 31% /
tmpfs 60.4M 524.0K 59.9M 1% /tmp
/dev/mmcblk0p1 19.9M 9.4M 10.5M 47% /boot
tmpfs 512.0K 0 512.0K 0% /dev
root@OpenWrt:~#Pytanie gdzie te obrazki się zapisuje bo nie mogłem nigdzie ścieżki zlokalizować... Rozumiem że jeśli to odznacze to będzei wszystko lądować do /tmp/motion ??
#target_dir /tmp/motionTylko nadal mam problem na 8081 mam dalej "Niestety, nie udało się odnaleźć tej strony"
Nie wiem co może być powodem czy to że mam to odpalone na raspi ??
Tutaj jest mój plik motion.conf:
motion.conf
A ten twój motion z jakiego pliku korzysta? z /etc/motion.conf czy /etc/motion/motion.conf?
z /etc/motion.conf
Znalazłem pliki odkładają się w /root/
Sam program siedzi w /usr/bin/ pod nazwą motion.
/etc/motion.conf
/usr/bin/motion
Pliki jakie znalazłem jeszcze to
/usr/lib/opkg/info/motion.conffiles
/etc/motion.conf/usr/lib/opkg/info/motion.control
Package: motion
Version: 3.4.0-20141018-9479d910f2149b5558788bb86f97f26522794212-3
Depends: libc, libjpeg, libpthread
Source: feeds/packages/multimedia/motion
License: GPLv2
LicenseFiles: COPYING
Section: multimedia
Maintainer: Roger D <rogerdammit@gmail.com>
Architecture: arm_cortex-a7_neon-vfpv4
Installed-Size: 92469
Description: webcam motion sensing and logging/usr/lib/opkg/info/motion.list
/etc/motion.conf
/usr/bin/motion/usr/lib/opkg/info/motion.prerm
#!/bin/sh
[ -x ${IPKG_INSTROOT}/lib/functions.sh ] || exit 0
. ${IPKG_INSTROOT}/lib/functions.sh
default_prerm $0 $@Nie wiem co jest powodem może interfejs gui luci ?? wywalić ?? ale on jest standardowo na porcie 80./
Kurde odpaliłem terminal i leciałem linijka po linijce i program szuka na /etc/motion/motion.conf
Ale mam kolejny problem od strony routera mam dostęp a jak się podepnę pod malinę bezpośrednio mam dostęp a od strony AP w trybie mostu bezprzewodowego nie mam dostępu... Coś musze specjalnego ustalić w firewall żebym widział stream z kamery???
Zrób netstat -apn i zobacz czy motion słucha ci na wszystkich ip (interfejsach)
Sprawa wygląda tak że jak połączę się bezpośrednio do routera(192.168.107.1) to raspi mam pod adresem 192.168.107.3 łączy się po wifi. I tutaj netstat mam taki:
root@OpenWrt:~# netstat -apn
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:8080 0.0.0.0:* LISTEN 1407/motion
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 618/uhttpd
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 1407/motion
tcp 0 0 192.168.10.3:53 0.0.0.0:* LISTEN 1149/dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1149/dnsmasq
tcp 0 0 192.168.101.1:53 0.0.0.0:* LISTEN 1149/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 587/dropbear
tcp 0 0 192.168.10.3:22 192.168.10.2:57055 ESTABLISHED 1396/dropbear
tcp 0 848 192.168.10.3:22 192.168.10.2:57054 ESTABLISHED 1384/dropbear
tcp 0 0 :::80 :::* LISTEN 618/uhttpd
tcp 0 0 fe80::ba27:ebff:febd:3fce:53 :::* LISTEN 1149/dnsmasq
tcp 0 0 ::1:53 :::* LISTEN 1149/dnsmasq
tcp 0 0 :::22 :::* LISTEN 587/dropbear
udp 0 0 0.0.0.0:49665 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:28461 0.0.0.0:* 1149/dnsmasq
udp 0 0 192.168.10.3:53 0.0.0.0:* 1149/dnsmasq
udp 0 0 127.0.0.1:53 0.0.0.0:* 1149/dnsmasq
udp 0 0 192.168.101.1:53 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:31548 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:48473 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:1118 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:12152 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:15755 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:19658 0.0.0.0:* 1149/dnsmasq
udp 0 0 0.0.0.0:58593 0.0.0.0:* 1149/dnsmasq
udp 0 0 :::547 :::* 532/odhcpd
udp 0 0 fe80::ba27:ebff:febd:3fce:53 :::* 1149/dnsmasq
udp 0 0 ::1:53 :::* 1149/dnsmasq
raw 0 0 ::%1995657232:58 ::%427677:* 58 532/odhcpd
raw 0 0 ::%1995657232:58 ::%427677:* 58 532/odhcpd
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
unix 7 [ ] DGRAM 292 371/logd /dev/log
unix 2 [ ACC ] STREAM LISTENING 2636 143/ubusd /var/run/ubus.sock
unix 2 [ ] DGRAM 868 1106/wpa_supplicant /var/run/wpa_supplicant/wlan0
unix 3 [ ] STREAM CONNECTED 1335 143/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1194 1/procd
unix 2 [ ] DGRAM 2638 143/ubusd
unix 2 [ ] DGRAM 956 1407/motion
unix 3 [ ] STREAM CONNECTED 1591 1149/dnsmasq
unix 3 [ ] STREAM CONNECTED 1334 496/netifd
unix 3 [ ] STREAM CONNECTED 2755 388/rpcd
unix 3 [ ] STREAM CONNECTED 294 371/logd
unix 2 [ ] DGRAM 1424 496/netifd
unix 3 [ ] STREAM CONNECTED 3177 532/odhcpd
unix 2 [ ] DGRAM 1332 496/netifd
unix 2 [ ] DGRAM 1369 587/dropbear
unix 3 [ ] STREAM CONNECTED 1312 143/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1307 143/ubusd /var/run/ubus.sock
unix 2 [ ] DGRAM 1198 1/procd
unix 3 [ ] STREAM CONNECTED 4140 143/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 2639 143/ubusd /var/run/ubus.sock
unix 3 [ ] STREAM CONNECTED 1349 143/ubusd /var/run/ubus.sock
unix 2 [ ] DGRAM 1589 1149/dnsmasq
root@OpenWrt:~#I to samo jakbym połączył się przez port eth w raspi mam ustawiony adres statyczny na 192.168.106.1 i tutaj też spokojnie mogę się połączyć. Sprawa jednak jest taka że jak tylko uruchomię AP na raspi to dostaje ten sam adres co miał raspi i nie mogę się połaczyć z openwrt na nim. Więc czy przypadkiem nie muszę jeszcze zastosować manewru tego??
https://eko.one.pl/?p=openwrt-sta#dostpdoroutera
I jaki w tym wypadku mam przydzielić adres dla bridge??
Nie chcę czegoś poknocić więc wolę zapytać... Bo działa mi to idealnie ale fajnie by mieć jeszcze dostęp do kamery na raspi.
Jeżeli robisz to na relayd to musisz.
Strony Poprzednia 1 2
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Kamerka USB Logitech HD C270
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc