Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > CyberWrt

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 19.02.2014, 15:58   #11
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

В прошивку не включено
Цитата:
Base system:
<*> busybox:
Linux System Utilities:
<*> lsusb
St@rz вне форума   Ответить с цитированием
Старый 19.02.2014, 16:12   #12
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Попробуй установить usbutils

Последний раз редактировалось St@rz; 19.02.2014 в 16:17.
St@rz вне форума   Ответить с цитированием
Старый 20.02.2014, 11:39   #13
AntonUSSR
Junior Member
 
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0
AntonUSSR is an unknown quantity at this point
По умолчанию Re: Включение чего угодно по HTTP

Установил все заработало, спс.
AntonUSSR вне форума   Ответить с цитированием
Старый 20.02.2014, 21:51   #14
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Цитата:
Сообщение от AntonUSSR Посмотреть сообщение
Установил все заработало, спс.
А ты точно на CyberWrt делал? Если - да, то какое железо стоит и какие еще были вопросы. У меня заработало только на openwrt.
St@rz вне форума   Ответить с цитированием
Старый 21.02.2014, 15:20   #15
AntonUSSR
Junior Member
 
Регистрация: 17.01.2014
Сообщений: 8
Вес репутации: 0
AntonUSSR is an unknown quantity at this point
По умолчанию Re: Включение чего угодно по HTTP

Версия прошивки
--------------------------------------------------------------------------
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
--------------------------------------------------------------------------
Информация о CPU
system type : Atheros AR9330 rev 1
machine : TP-LINK TL-MR3020

После установки пакетов
kmod-usb-core
kmod-usb-ohci
kmod-usb-uhci
kmod-usb2
+
usbutils
Все определилось и заработало
AntonUSSR вне форума   Ответить с цитированием
Старый 22.02.2014, 12:35   #16
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Цитата:
Сообщение от AntonUSSR Посмотреть сообщение
+
usbutils
Все определилось и заработало
Определяться после установки usbutils и у меня стало:
Цитата:
Сообщение от lsusb
Bus 001 Device 002: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 1687:3257 Kingmax Digital Inc.
Bus 001 Device 004: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
А вот в папке dev нет папки input и, соответственно, файла event0:
Нажмите на изображение для увеличения
Название: 1.JPG
Просмотров: 218
Размер:	27.4 Кб
ID:	1540

Файл /proc/bus/input/devices пустой.

В фале /proc/bus/input/handlers одна строка:
N: Number=0 Name=evdev Minor=64

В чем может быть проблема?
Ведь на Attitude Adjustment 12.09 всё отлично работало на этом же железе.



О системе:

Цитата:
Сообщение от dmesg | tail
[ 23.180000] cfg80211: Regulatory domain changed to country: RU
[ 23.180000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 23.190000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 23.200000] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm)
[ 26.470000] wlan0: authenticate with 2c:ab:25:d9:6f:02
[ 26.500000] wlan0: send auth to 2c:ab:25:d9:6f:02 (try 1/3)
[ 26.510000] wlan0: authenticated
[ 26.520000] wlan0: associate with 2c:ab:25:d9:6f:02 (try 1/3)
[ 26.540000] wlan0: RX AssocResp from 2c:ab:25:d9:6f:02 (capab=0x411 status=0 aid=2)
[ 26.540000] wlan0: associated
Цитата:
Сообщение от 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.440000] 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.590000] 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.160000] 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: 7 ports detected
[ 3.890000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 4.080000] usb 1-1.3: new low-speed USB device number 4 using ehci-platform
[ 6.760000] jffs2: notice: (333) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 3 orphan) found.
[ 6.920000] SCSI subsystem initialized
[ 7.460000] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[ 7.460000] scsi0 : usb-storage 1-1.1:1.0
[ 7.470000] usbcore: registered new interface driver usb-storage
[ 8.650000] scsi 0:0:0:0: Direct-Access Kingmax USB2.0 FlashDisk 1100 PQ: 0 ANSI: 4
[ 8.660000] sd 0:0:0:0: [sda] 3993600 512-byte logical blocks: (2.04 GB/1.90 GiB)
[ 8.670000] sd 0:0:0:0: [sda] Write Protect is off
[ 8.670000] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 8.670000] sd 0:0:0:0: [sda] No Caching mode page present
[ 8.680000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 8.690000] sd 0:0:0:0: [sda] No Caching mode page present
[ 8.690000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 8.700000] sda: sda1 sda2
[ 8.710000] sd 0:0:0:0: [sda] No Caching mode page present
[ 8.710000] sd 0:0:0:0: [sda] Assuming drive cache: write through
[ 8.720000] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 12.700000] EXT4-fs (sda1): recovery complete
[ 12.700000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts:
[ 14.160000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5
[ 14.160000] Backport generated by backports.git backports-20130617-4-ge3220f5
[ 14.190000] cfg80211: Calling CRDA to update world regulatory domain
[ 14.200000] cfg80211: World regulatory domain updated:
[ 14.210000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 14.220000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.220000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 14.230000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 14.240000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.250000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.760000] Adding 131068k swap on /dev/sda2. Priority:-1 extents:1 across:131068k
[ 14.920000] ath: EEPROM regdomain: 0x0
[ 14.920000] ath: EEPROM indicates default country code should be used
[ 14.920000] ath: doing EEPROM country->regdmn map search
[ 14.920000] ath: country maps to regdmn code: 0x3a
[ 14.920000] ath: Country alpha2 being used: US
[ 14.920000] ath: Regpair used: 0x3a
[ 14.940000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 14.940000] cfg80211: Calling CRDA for country: US
[ 14.950000] cfg80211: Regulatory domain changed to country: US
[ 14.950000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 14.960000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 14.970000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 14.970000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.980000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 14.990000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 15.000000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 15.010000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 15.030000] ehci-pci: EHCI PCI platform driver
[ 15.110000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 15.130000] uhci_hcd: USB Universal Host Controller Interface driver
[ 15.180000] hidraw: raw HID events driver (C) Jiri Kosina
[ 15.210000] usbcore: registered new interface driver usbhid
[ 15.210000] usbhid: USB HID core driver
[ 18.060000] device eth0 entered promiscuous mode
[ 23.160000] cfg80211: Calling CRDA for country: RU
[ 23.180000] cfg80211: Regulatory domain changed to country: RU
[ 23.180000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 23.190000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 23.200000] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm)
[ 26.470000] wlan0: authenticate with 2c:ab:25:d9:6f:02
[ 26.500000] wlan0: send auth to 2c:ab:25:d9:6f:02 (try 1/3)
[ 26.510000] wlan0: authenticated
[ 26.520000] wlan0: associate with 2c:ab:25:d9:6f:02 (try 1/3)
[ 26.540000] wlan0: RX AssocResp from 2c:ab:25:d9:6f:02 (capab=0x411 status=0 aid=2)
[ 26.540000] wlan0: associated
Список установленных пакетов

base-files - 146-r37816
block-mount - 2013-08-16.1-5290ec879aa4d9f4192df00aad4434b0f0afa872
busybox - 1.19.4-7
dnsmasq - 2.66-3
dropbear - 2012.55-2
e2fsprogs - 1.42.4-1
fdisk - 2.21.2-2
iw - 3.10-1
jshn - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
kernel - 3.10.4-1-6910dd36396650e8ef41514cdbde550a
kmod-ath - 3.10.4+2013-06-27-1
kmod-ath9k - 3.10.4+2013-06-27-1
kmod-ath9k-common - 3.10.4+2013-06-27-1
kmod-cfg80211 - 3.10.4+2013-06-27-1
kmod-crypto-aes - 3.10.4-1
kmod-crypto-arc4 - 3.10.4-1
kmod-crypto-core - 3.10.4-1
kmod-crypto-hash - 3.10.4-1
kmod-crypto-manager - 3.10.4-1
kmod-fs-ext4 - 3.10.4-1
kmod-gpio-button-hotplug - 3.10.4-1
kmod-hid - 3.10.4-1
kmod-input-core - 3.10.4-1
kmod-input-evdev - 3.10.4-1
kmod-leds-gpio - 3.10.4-1
kmod-ledtrig-default-on - 3.10.4-1
kmod-ledtrig-netdev - 3.10.4-1
kmod-ledtrig-timer - 3.10.4-1
kmod-lib-crc-ccitt - 3.10.4-1
kmod-lib-crc16 - 3.10.4-1
kmod-mac80211 - 3.10.4+2013-06-27-1
kmod-nls-base - 3.10.4-1
kmod-scsi-core - 3.10.4-1
kmod-usb-core - 3.10.4-1
kmod-usb-hid - 3.10.4-1
kmod-usb-ohci - 3.10.4-1
kmod-usb-storage - 3.10.4-1
kmod-usb-uhci - 3.10.4-1
kmod-usb2 - 3.10.4-1
kmod-usb2-pci - 3.10.4-1
libblkid - 2.21.2-2
libblobmsg-json - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
libc - 0.9.33.2-1
libext2fs - 1.42.4-1
libgcc - 4.6-linaro-1
libjson-c - 0.11-2
libjson-script - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
libnl-tiny - 0.1-3
libpthread - 0.9.33.2-1
librt - 0.9.33.2-1
libubox - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e
libubus - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
libuci - 2013-06-11.1-1
libusb-1.0 - 1.0.9-1
libuuid - 2.21.2-2
mtd - 20
netifd - 2013-07-16-2674941b06c1ec67f1aff1bff9212e1372106641
opkg - 618-3
procd - 2013-08-16-85a5ce27f5f02e4ddab6916d69ba7f7375d289d4-1
uboot-envtools - 2013.07-rc1-2
ubox - 2013-08-16.1-5290ec879aa4d9f4192df00aad4434b0f0afa872
ubus - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
ubusd - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8
uci - 2013-06-11.1-1
uhttpd - 2013-07-31-fae8886f8aa5d996c8de607abea8b677216549b5
usbutils - 007-1
wpad-mini - 20130807-1
zlib - 1.2.8-1
St@rz вне форума   Ответить с цитированием
Старый 22.02.2014, 15:21   #17
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Те же команды на Attitude Adjustment 12.09:
Цитата:
Сообщение от dmesg | tail
[ 10.360000] hub 1-1:1.0: USB hub found
[ 10.360000] hub 1-1:1.0: 7 ports detected
[ 10.640000] usb 1-1.2: new low-speed USB device number 3 using ehci-platform
[ 10.760000] input: LITEON Technology USB Multimedia Keyboard as /devices/platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[ 10.770000] generic-usb 0003:046D:C312.0001: input: USB HID v1.10 Keyboard [LITEON Technology USB Multimedia Keyboard] on usb-ehci-platform-1.2/input0
[ 13.140000] device eth0 entered promiscuous mode
[ 13.370000] eth0: link up (100Mbps/Full duplex)
[ 13.370000] br-lan: port 1(eth0) entered forwarding state
[ 13.380000] br-lan: port 1(eth0) entered forwarding state
[ 15.380000] br-lan: port 1(eth0) entered forwarding state
Цитата:
Сообщение от dmesg
[ 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) ) #2 Mon Sep 3 17:51:18 UTC 2012
[ 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 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 802ec430, 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=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] 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 29136k/32768k available (2198k kernel code, 3632k reserved, 412k data, 208k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] 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.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[ 0.100000] MIPS: machine is TP-LINK TL-MR3020
[ 0.340000] bio: create slab <bio-0> at 0
[ 0.350000] Switching to clocksource MIPS
[ 0.350000] NET: Registered protocol family 2
[ 0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.370000] TCP: Hash tables configured (established 1024 bind 1024)
[ 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.390000] 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.430000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 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.470000] console [ttyATH0] enabled, bootconsole disabled
[ 0.480000] m25p80 spi0.0: found s25sl032a, expected m25p80
[ 0.480000] m25p80 spi0.0: s25sl032a (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-0x000000108424 : "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.520000] 0x000000108424-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.540000] mtd: partition "rootfs" set to be root filesystem
[ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=2D0000, len=120000
[ 0.560000] 0x0000002d0000-0x0000003f0000 : "rootfs_data"
[ 0.560000] 0x0000003f0000-0x000000400000 : "art"
[ 0.570000] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.590000] ag71xx_mdio: probed
[ 0.600000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.150000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:00 [uid=004dd041, driver=Generic PHY]
[ 1.160000] TCP cubic registered
[ 1.160000] NET: Registered protocol family 17
[ 1.170000] 8021q: 802.1Q VLAN Support v1.8
[ 1.170000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.180000] Freeing unused kernel memory: 208k freed
[ 3.080000] Registered led device: tp-link:green:3g
[ 3.080000] Registered led device: tp-link:green:wlan
[ 3.080000] Registered led device: tp-link:green:lan
[ 3.080000] Registered led device: tp-link:green:wps
[ 5.170000] eth0: link up (100Mbps/Full duplex)
[ 6.380000] JFFS2 notice: (440) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 11 of xref (0 dead, 2 orphan) found.
[ 6.500000] eth0: link down
[ 8.350000] Compat-wireless backport release: compat-wireless-2012-07-13
[ 8.350000] Backport based on wireless-testing.git master-2012-07-16
[ 8.360000] compat.git: wireless-testing.git
[ 8.520000] cfg80211: Calling CRDA to update world regulatory domain
[ 8.530000] cfg80211: World regulatory domain updated:
[ 8.530000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 8.540000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.550000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.560000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 8.570000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.570000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.780000] usbcore: registered new interface driver usbfs
[ 8.790000] usbcore: registered new interface driver hub
[ 8.800000] usbcore: registered new device driver usb
[ 9.280000] ath: EEPROM regdomain: 0x0
[ 9.280000] ath: EEPROM indicates default country code should be used
[ 9.280000] ath: doing EEPROM country->regdmn map search
[ 9.280000] ath: country maps to regdmn code: 0x3a
[ 9.280000] ath: Country alpha2 being used: US
[ 9.280000] ath: Regpair used: 0x3a
[ 9.280000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 9.280000] Registered led device: ath9k-phy0
[ 9.280000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 9.290000] cfg80211: Calling CRDA for country: US
[ 9.300000] cfg80211: Regulatory domain changed to country: US
[ 9.300000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 9.310000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 9.320000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[ 9.320000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.330000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.340000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 9.350000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[ 9.410000] PPP generic driver version 2.4.2
[ 9.560000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.680000] NET: Registered protocol family 24
[ 9.700000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 9.700000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 9.710000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 9.750000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 9.770000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 9.770000] hub 1-0:1.0: USB hub found
[ 9.770000] hub 1-0:1.0: 1 port detected
[ 9.800000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[ 10.040000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 10.170000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 10.310000] usbcore: registered new interface driver usbhid
[ 10.310000] usbhid: USB HID core driver
[ 10.360000] hub 1-1:1.0: USB hub found
[ 10.360000] hub 1-1:1.0: 7 ports detected
[ 10.640000] usb 1-1.2: new low-speed USB device number 3 using ehci-platform
[ 10.760000] input: LITEON Technology USB Multimedia Keyboard as /devices/platform/ehci-platform/usb1/1-1/1-1.2/1-1.2:1.0/input/input0
[ 10.770000] generic-usb 0003:046D:C312.0001: input: USB HID v1.10 Keyboard [LITEON Technology USB Multimedia Keyboard] on usb-ehci-platform-1.2/input0
[ 13.140000] device eth0 entered promiscuous mode
[ 13.370000] eth0: link up (100Mbps/Full duplex)
[ 13.370000] br-lan: port 1(eth0) entered forwarding state
[ 13.380000] br-lan: port 1(eth0) entered forwarding state
[ 15.380000] br-lan: port 1(eth0) entered forwarding state
Цитата:
Сообщение от opkg list-installed
base-files - 115-r33312
busybox - 1.19.4-3
dnsmasq - 2.62-2
dropbear - 2011.54-2
firewall - 2-53
hotplug2 - 1.0-beta-4
iptables - 1.4.10-4
iw - 3.3-1
jshn - 2012-07-08-cca2ed6c8cdb3555fea43ff63ba1c9905dd7a164
kernel - 3.3.8-1-6c06ba2494c9c458b747d6a40b2cc970
kmod-ath - 3.3.8+2012-07-16-1
kmod-ath9k - 3.3.8+2012-07-16-1
kmod-ath9k-common - 3.3.8+2012-07-16-1
kmod-cfg80211 - 3.3.8+2012-07-16-1
kmod-crypto-aes - 3.3.8-1
kmod-crypto-arc4 - 3.3.8-1
kmod-crypto-core - 3.3.8-1
kmod-gpio-button-hotplug - 3.3.8-1
kmod-hid - 3.3.8-1
kmod-input-core - 3.3.8-1
kmod-input-evdev - 3.3.8-1
kmod-ipt-conntrack - 3.3.8-1
kmod-ipt-core - 3.3.8-1
kmod-ipt-nat - 3.3.8-1
kmod-ipt-nathelper - 3.3.8-1
kmod-leds-gpio - 3.3.8-1
kmod-ledtrig-default-on - 3.3.8-1
kmod-ledtrig-netdev - 3.3.8-1
kmod-ledtrig-timer - 3.3.8-1
kmod-ledtrig-usbdev - 3.3.8-1
kmod-lib-crc-ccitt - 3.3.8-1
kmod-mac80211 - 3.3.8+2012-07-16-1
kmod-nls-base - 3.3.8-1
kmod-ppp - 3.3.8-1
kmod-pppoe - 3.3.8-1
kmod-pppox - 3.3.8-1
kmod-usb-core - 3.3.8-1
kmod-usb-hid - 3.3.8-1
kmod-usb-ohci - 3.3.8-1
kmod-usb2 - 3.3.8-1
kmod-wdt-ath79 - 3.3.8-1
libblobmsg-json - 2012-07-08-cca2ed6c8cdb3555fea43ff63ba1c9905dd7a164
libc - 0.9.33.2-1
libgcc - 4.6-linaro-1
libip4tc - 1.4.10-4
libiwinfo - 35
libiwinfo-lua - 35
libjson - 0.9-2
liblua - 5.1.4-8
libnl-tiny - 0.1-3
libubox - 2012-07-08-cca2ed6c8cdb3555fea43ff63ba1c9905dd7a164
libubus - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
libubus-lua - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
libuci - 2012-03-28.1-1
libuci-lua - 2012-03-28.1-1
libxtables - 1.4.10-4
lua - 5.1.4-8
luci - trunk+svn9220-1
luci-app-firewall - trunk+svn9220-1
luci-i18n-english - trunk+svn9220-1
luci-lib-core - trunk+svn9220-1
luci-lib-ipkg - trunk+svn9220-1
luci-lib-lmo - trunk+svn9220-1
luci-lib-nixio - trunk+svn9220-1
luci-lib-sys - trunk+svn9220-1
luci-lib-web - trunk+svn9220-1
luci-mod-admin-core - trunk+svn9220-1
luci-mod-admin-full - trunk+svn9220-1
luci-proto-core - trunk+svn9220-1
luci-proto-ppp - trunk+svn9220-1
luci-sgi-cgi - trunk+svn9220-1
luci-theme-base - trunk+svn9220-1
luci-theme-openwrt - trunk+svn9220-1
mtd - 18
netifd - 2012-08-11-9411d498c46fe3f1c4d79eb8fa0b7c97dd32a990
opkg - 618-2
ppp - 2.4.5-6
ppp-mod-pppoe - 2.4.5-6
swconfig - 10
uboot-envtools - 2012.04.01-1
ubus - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
ubusd - 2012-06-01-a62e2f8c15a65efb1a82404d8f31e3bfc1cbe7d9
uci - 2012-03-28.1-1
uhttpd - 40
wireless-tools - 29-5
wpad-mini - 20120428-2
St@rz вне форума   Ответить с цитированием
Старый 22.02.2014, 15:29   #18
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Ссылки на статьи Брэда Хардса (Brad Hards), в которых рассказывается о работе с устройствами ввода, особенно USB:
1. The Linux USB Input Subsystem
2. Using the Input Subsystem (продолжение первой статьи, даже с примером кода для управления светодиодом).

Не понятно почему драйвер не установился.

Установил еще недостающий kmod-ledtrig-usbdev, но клава так и не поставилась.

Последний раз редактировалось St@rz; 22.02.2014 в 16:41.
St@rz вне форума   Ответить с цитированием
Старый 22.02.2014, 17:21   #19
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Разобрался. В моем случае не хватало kmod-hid-generic.

Добавил архив с файлами для создания модуля.
Вложения
Тип файла: zip keyboard.zip (2.8 Кб, 247 просмотров)
St@rz вне форума   Ответить с цитированием
Старый 22.02.2014, 17:40   #20
St@rz
Senior Member
 
Регистрация: 30.05.2011
Возраст: 50
Сообщений: 291
Вес репутации: 0
St@rz is on a distinguished road
По умолчанию Re: Включение чего угодно по HTTP

Ну вот ещё одна проблема появилась.
Обратная связь куда то убежала.
Создал папку cyberwrt и перенёс туда файл index.html. Теперь для настроек роутера захожу по адресу: IP_роутера/cyberwrt.
Для управления светодиодами захожу по адресу роутера, а обратная связь куда то делась. Не известно какой светодиод сейчас горит.
St@rz вне форума   Ответить с цитированием
Ответ


Здесь присутствуют: 1 (пользователей: 0 , гостей: 1)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 01:52. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика