![]() |
![]() |
#1 |
Junior Member
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0 ![]() |
![]()
Добрый день.
Подскажите пожалуйста возможно это сделать на этой прошивке или нет ? Включение чего угодно по HTTP без заморочек c OpenWRT http://habrahabr.ru/post/151982/ пробовал подключать клавиатуру но она даже не определяется, может не то делаю. В линуксе новичок. Хотелось бы по управлять чем то. |
![]() |
![]() |
![]() |
#2 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
А hid драйвер установлен?
Есть готовый модуль для CyberWrt |
![]() |
![]() |
![]() |
#3 |
Junior Member
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0 ![]() |
![]()
Да установлен
ответ команды dmesg | tail Код HTML:
root@CyberWrt:~# dmesg | tail [ 19.360000] cfg80211: Regulatory domain changed to country: RU [ 19.360000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 19.370000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 19.380000] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm) [ 22.600000] wlan0: authenticate with 50:46:5d:87:1b:30 [ 22.640000] wlan0: send auth to 50:46:5d:87:1b:30 (try 1/3) [ 22.640000] wlan0: authenticated [ 22.660000] wlan0: associate with 50:46:5d:87:1b:30 (try 1/3) [ 22.660000] wlan0: RX AssocResp from 50:46:5d:87:1b:30 (capab=0x411 status=0 aid=1) [ 22.670000] wlan0: associated root@CyberWrt:~# Последний раз редактировалось AntonUSSR; 18.01.2014 в 14:34. |
![]() |
![]() |
![]() |
#4 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Какая связь hid и dmesg | tail ?
|
![]() |
![]() |
![]() |
#5 |
Junior Member
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0 ![]() |
![]()
Сайт H-WRT информирует нас, что для установки клавиатуры нужен лишь модуль kmod-usb-hid.......
Самое время подключить клавиатуру и посмотреть, опозналась ли она: dmesg | tail это я делал по статье из habrahabr что дальше не знаю, может клава не подходит или хаб, хотя вебка и usb (радио) работает. |
![]() |
![]() |
![]() |
#7 |
Junior Member
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0 ![]() |
![]()
root@CyberWrt:~# lsusb
-ash: lsusb: not found |
![]() |
![]() |
![]() |
#8 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Покажите вывод dmesg
|
![]() |
![]() |
![]() |
#9 |
Junior Member
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0 ![]() |
![]()
root@CyberWrt:~# dmesg
[ 0.000000] Linux version 3.10.4 (cyberwrt@cyberwrt) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r37816) ) #1 Mon Nov 25 16:28:55 MSK 2013 [ 0.000000] MyLoader: sysp=444ba8b5, boardp=5fbcaeef, parts=ebc66edc [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9330 rev 1 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 80320b60, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 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: 8128 [ 0.000000] Kernel command line: board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [ 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] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 28716k/32768k available (2305k kernel code, 4052k reserved, 602k data, 224k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] NET: Registered protocol family 16 [ 0.100000] MIPS: machine is TP-LINK TL-MR3020 [ 0.350000] bio: create slab <bio-0> at 0 [ 0.360000] Switching to clocksource MIPS [ 0.360000] NET: Registered protocol family 2 [ 0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.370000] TCP: Hash tables configured (established 512 bind 512) [ 0.380000] TCP: reno registered [ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.400000] PCI: CLS 0 bytes, default 32 [ 0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.430000] msgmni has been set to 56 [ 0.440000] io scheduler noop registered [ 0.440000] io scheduler deadline registered (default) [ 0.450000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART [ 0.460000] console [ttyATH0] enabled, bootconsole disabled [ 0.480000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.480000] m25p80 spi0.0: found s25sl032p, expected m25p80 [ 0.490000] m25p80 spi0.0: s25sl032p (4096 Kbytes) [ 0.490000] 5 tp-link partitions found on MTD device spi0.0 [ 0.500000] Creating 5 MTD partitions on "spi0.0": [ 0.500000] 0x000000000000-0x000000020000 : "u-boot" [ 0.510000] 0x000000020000-0x000000122828 : "kernel" [ 0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.530000] 0x000000122828-0x0000003f0000 : "rootfs" [ 0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.550000] mtd: partition "rootfs" set to be root filesystem [ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=0x280000, len=0x170000 [ 0.560000] 0x000000280000-0x0000003f0000 : "rootfs_data" [ 0.570000] 0x0000003f0000-0x000000400000 : "art" [ 0.570000] 0x000000020000-0x0000003f0000 : "firmware" [ 0.590000] libphy: ag71xx_mdio: probed [ 0.600000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.150000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] [ 1.160000] TCP: cubic registered [ 1.160000] NET: Registered protocol family 17 [ 1.170000] Bridge firewalling registered [ 1.170000] 8021q: 802.1Q VLAN Support v1.8 [ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.190000] Freeing unused kernel memory: 224K (80338000 - 80370000) [ 2.930000] usbcore: registered new interface driver usbfs [ 2.940000] usbcore: registered new interface driver hub [ 2.940000] usbcore: registered new device driver usb [ 3.050000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.050000] ehci-platform: EHCI generic platform driver [ 3.060000] ehci-platform ehci-platform: EHCI Host Controller [ 3.060000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 3.070000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 3.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 3.100000] hub 1-0:1.0: USB hub found [ 3.100000] hub 1-0:1.0: 1 port detected [ 3.450000] usb 1-1: new high-speed USB device number 2 using ehci-platform [ 3.600000] hub 1-1:1.0: USB hub found [ 3.600000] hub 1-1:1.0: 4 ports detected [ 3.890000] usb 1-1.2: new high-speed USB device number 3 using ehci-platform [ 4.240000] usb 1-1.4: new full-speed USB device number 4 using ehci-platform [ 6.770000] jffs2: notice: (339) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 10 of xref (0 dead, 1 orphan) found. [ 8.640000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 8.650000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 8.680000] cfg80211: Calling CRDA to update world regulatory domain [ 8.680000] cfg80211: World regulatory domain updated: [ 8.690000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 8.700000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.700000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 8.710000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 8.720000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 8.730000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.390000] ath: EEPROM regdomain: 0x0 [ 9.390000] ath: EEPROM indicates default country code should be used [ 9.390000] ath: doing EEPROM country->regdmn map search [ 9.390000] ath: country maps to regdmn code: 0x3a [ 9.390000] ath: Country alpha2 being used: US [ 9.390000] ath: Regpair used: 0x3a [ 9.410000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 9.410000] cfg80211: Calling CRDA for country: US [ 9.420000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 9.440000] cfg80211: Regulatory domain changed to country: US [ 9.440000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 9.450000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 9.460000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 9.460000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.470000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.480000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 9.490000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 10.330000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 10.360000] i2c /dev entries driver [ 10.930000] usb_audio: Warning! Unlikely big volume range (=6144), cval->res is probably wrong. [ 10.940000] usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1<6>[ 10.970000] usbcore: registered new interface driver snd-usb-audio [ 11.140000] Linux video capture interface: v2.00 [ 11.310000] hidraw: raw HID events driver (C) Jiri Kosina [ 11.470000] usbcore: registered new interface driver usbhid [ 11.470000] usbhid: USB HID core driver [ 11.640000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0824) [ 11.670000] input: UVC Camera (046d:0824) as /devices/platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.0/input/input0 [ 11.700000] usbcore: registered new interface driver uvcvideo [ 11.710000] USB Video Class driver (1.1.1) [ 14.870000] device eth0 entered promiscuous mode [ 20.010000] cfg80211: Calling CRDA for country: RU [ 20.030000] cfg80211: Regulatory domain changed to country: RU [ 20.040000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 20.040000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 20.050000] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm) [ 23.510000] wlan0: authenticate with 50:46:5d:87:1b:30 [ 23.540000] wlan0: send auth to 50:46:5d:87:1b:30 (try 1/3) [ 23.550000] wlan0: authenticated [ 23.570000] wlan0: associate with 50:46:5d:87:1b:30 (try 1/3) [ 23.570000] wlan0: RX AssocResp from 50:46:5d:87:1b:30 (capab=0x411 status=0 aid=1) [ 23.580000] wlan0: associated [ 942.600000] usb 1-1.4: USB disconnect, device number 4 [62589.890000] wlan0: authenticate with 50:46:5d:87:1b:30 [62589.930000] wlan0: send auth to 50:46:5d:87:1b:30 (try 1/3) [62589.930000] wlan0: authenticated [62589.950000] wlan0: associate with 50:46:5d:87:1b:30 (try 1/3) [62589.950000] wlan0: RX AssocResp from 50:46:5d:87:1b:30 (capab=0x411 status=0 aid=1) [62589.960000] wlan0: associated [78056.310000] usb 1-1: USB disconnect, device number 2 [78056.310000] usb 1-1.2: USB disconnect, device number 3 [78056.690000] usb 1-1: new high-speed USB device number 5 using ehci-platform [78056.850000] hub 1-1:1.0: USB hub found [78056.850000] hub 1-1:1.0: 4 ports detected [78057.140000] usb 1-1.2: new high-speed USB device number 6 using ehci-platform [78057.400000] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0824) [78057.450000] input: UVC Camera (046d:0824) as /devices/platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.0/input/input1 [78057.800000] usb_audio: Warning! Unlikely big volume range (=6144), cval->res is probably wrong. [78057.810000] usb_audio: [5] FU [Mic Capture Volume] ch = 1, val = 1536/7680/1<6>[78057.920000] usb 1-1.4: new low-speed USB device number 7 using ehci-platform root@CyberWrt:~# |
![]() |
![]() |
![]() |
#10 | |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Цитата:
|
|
![]() |
![]() |
![]() |
Здесь присутствуют: 1 (пользователей: 0 , гостей: 1) | |
|
|