Advertisement
Guest User

Untitled

a guest
Dec 5th, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.18 KB | None | 0 0
  1. login as: root
  2. root@192.168.1.243's password:
  3.  
  4.  
  5. BusyBox v1.23.2 (2015-12-04 02:22:56 UTC) built-in shell (ash)
  6.  
  7. ____ _ ____
  8. / __ \___ (_)__ ___ / __ \__ _ ___ ___ ____ _
  9. / /_/ / _ \/ / _ \/ _ \ / /_/ / ' \/ -_) _ `/ _ `/
  10. \____/_//_/_/\___/_//_/ \____/_/_/_/\__/\_, /\_,_/
  11. W H A T W I L L Y O U I N V E N T ? /___/
  12. -----------------------------------------------------
  13. Ω-ware: 0.0.5 b233
  14. -----------------------------------------------------
  15. root@Omega-2101:~# dmesg
  16. [ 0.000000] Linux version 3.18.23 (zh@ci-onion) (gcc version 4.8.3 (OpenWrt/L inaro GCC 4.8-2014.04 r47727) ) #1 Fri Dec 4 02:26:08 UTC 2015
  17. [ 0.000000] MyLoader: sysp=b9606524, boardp=3d5200cc, parts=02ed90e1
  18. [ 0.000000] bootconsole [early0] enabled
  19. [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
  20. [ 0.000000] SoC: Atheros AR9330 rev 1
  21. [ 0.000000] Determined physical RAM map:
  22. [ 0.000000] memory: 04000000 @ 00000000 (usable)
  23. [ 0.000000] Initrd not found or empty - disabling initrd
  24. [ 0.000000] Zone ranges:
  25. [ 0.000000] Normal [mem 0x00000000-0x03ffffff]
  26. [ 0.000000] Movable zone start for each node
  27. [ 0.000000] Early memory node ranges
  28. [ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
  29. [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
  30. [ 0.000000] On node 0 totalpages: 16384
  31. [ 0.000000] free_area_init_node: node 0, pgdat 8035c0f0, node_mem_map 8100000 0
  32. [ 0.000000] Normal zone: 128 pages used for memmap
  33. [ 0.000000] Normal zone: 0 pages reserved
  34. [ 0.000000] Normal zone: 16384 pages, LIFO batch:3
  35. [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  36. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  37. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  38. [ 0.000000] pcpu-alloc: [0] 0
  39. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 16256
  40. [ 0.000000] Kernel command line: board=ONION-OMEGA console=ttyATH0,115200 r ootfstype=squashfs,jffs2 noinitrd
  41. [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
  42. [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  43. [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  44. [ 0.000000] Writing ErrCtl register=00000000
  45. [ 0.000000] Readback ErrCtl register=00000000
  46. [ 0.000000] Memory: 60944K/65536K available (2486K kernel code, 129K rwdata, 532K rodata, 236K init, 188K bss, 4592K reserved)
  47. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  48. [ 0.000000] NR_IRQS:51
  49. [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.00 0MHz
  50. [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
  51. [ 0.080000] pid_max: default: 32768 minimum: 301
  52. [ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  53. [ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  54. [ 0.100000] NET: Registered protocol family 16
  55. [ 0.100000] MIPS: machine is Onion Omega
  56. [ 0.370000] Switched to clocksource MIPS
  57. [ 0.370000] NET: Registered protocol family 2
  58. [ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  59. [ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  60. [ 0.380000] TCP: Hash tables configured (established 1024 bind 1024)
  61. [ 0.390000] TCP: reno registered
  62. [ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
  63. [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  64. [ 0.410000] NET: Registered protocol family 1
  65. [ 0.410000] PCI: CLS 0 bytes, default 32
  66. [ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
  67. [ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  68. [ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
  69. [ 0.440000] msgmni has been set to 119
  70. [ 0.460000] io scheduler noop registered
  71. [ 0.460000] io scheduler deadline registered (default)
  72. [ 0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  73. [ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 15 62500) is a AR933X UART
  74. [ 0.480000] console [ttyATH0] enabled
  75. [ 0.490000] bootconsole [early0] disabled
  76. [ 0.500000] m25p80 spi0.0: found w25q128, expected m25p80
  77. [ 0.500000] m25p80 spi0.0: w25q128 (16384 Kbytes)
  78. [ 0.510000] 5 tp-link partitions found on MTD device spi0.0
  79. [ 0.510000] Creating 5 MTD partitions on "spi0.0":
  80. [ 0.520000] 0x000000000000-0x000000020000 : "u-boot"
  81. [ 0.520000] 0x000000020000-0x0000001364b8 : "kernel"
  82. [ 0.530000] 0x0000001364b8-0x000000ff0000 : "rootfs"
  83. [ 0.530000] mtd: device 2 (rootfs) set to be root filesystem
  84. [ 0.540000] 1 squashfs-split partitions found on MTD device rootfs
  85. [ 0.540000] 0x0000007c0000-0x000000ff0000 : "rootfs_data"
  86. [ 0.550000] 0x000000ff0000-0x000001000000 : "art"
  87. [ 0.550000] 0x000000020000-0x000000ff0000 : "firmware"
  88. [ 0.580000] libphy: ag71xx_mdio: probed
  89. [ 1.170000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0 41, driver=Generic PHY]
  90. [ 1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
  91. [ 1.180000] TCP: cubic registered
  92. [ 1.180000] NET: Registered protocol family 17
  93. [ 1.190000] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this.
  94. [ 1.200000] 8021q: 802.1Q VLAN Support v1.8
  95. [ 1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
  96. [ 1.220000] Freeing unused kernel memory: 236K (80375000 - 803b0000)
  97. [ 2.690000] init: Console is alive
  98. [ 2.690000] init: - watchdog -
  99. [ 5.220000] usbcore: registered new interface driver usbfs
  100. [ 5.230000] usbcore: registered new interface driver hub
  101. [ 5.230000] usbcore: registered new device driver usb
  102. [ 5.290000] SCSI subsystem initialized
  103. [ 5.300000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  104. [ 5.310000] ehci-platform: EHCI generic platform driver
  105. [ 5.310000] ehci-platform ehci-platform: EHCI Host Controller
  106. [ 5.320000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
  107. [ 5.330000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
  108. [ 5.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
  109. [ 5.360000] hub 1-0:1.0: USB hub found
  110. [ 5.360000] hub 1-0:1.0: 1 port detected
  111. [ 5.380000] usbcore: registered new interface driver usb-storage
  112. [ 5.720000] init: - preinit -
  113. [ 6.450000] random: procd urandom read with 10 bits of entropy available
  114. [ 9.630000] mount_root: loading kmods from internal overlay
  115. [ 10.000000] jffs2: notice: (338) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  116. [ 10.020000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  117. [ 10.030000] block: extroot: not configured
  118. [ 10.100000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  119. [ 10.280000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  120. [ 10.290000] block: extroot: not configured
  121. [ 10.290000] mount_root: switching to jffs2 overlay
  122. [ 10.360000] procd: - early -
  123. [ 10.360000] procd: - watchdog -
  124. [ 11.160000] procd: - ubus -
  125. [ 12.170000] procd: - init -
  126. [ 13.650000] NET: Registered protocol family 10
  127. [ 13.680000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
  128. [ 13.710000] ip6_tables: (C) 2000-2006 Netfilter Core Team
  129. [ 13.740000] i2c /dev entries driver
  130. [ 13.740000] Custom GPIO-based I2C driver version 0.1.1
  131. [ 13.750000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL)
  132. [ 13.800000] Linux video capture interface: v2.00
  133. [ 13.820000] hidraw: raw HID events driver (C) Jiri Kosina
  134. [ 13.850000] usbcore: registered new interface driver cdc_acm
  135. [ 13.850000] cdc_acm: USB Abstract Control Model driver for USB modems and ISD N adapters
  136. [ 13.860000] Loading modules backported from Linux version master-2015-03-09-0 -g141f155
  137. [ 13.870000] Backport generated by backports.git backports-20150129-0-gdd4a670
  138. [ 13.880000] ip_tables: (C) 2000-2006 Netfilter Core Team
  139. [ 13.900000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
  140. [ 13.940000] usbcore: registered new interface driver ums-alauda
  141. [ 13.950000] usbcore: registered new interface driver ums-cypress
  142. [ 13.960000] usbcore: registered new interface driver ums-datafab
  143. [ 13.970000] usbcore: registered new interface driver ums-freecom
  144. [ 13.980000] usbcore: registered new interface driver ums-isd200
  145. [ 13.990000] usbcore: registered new interface driver ums-jumpshot
  146. [ 13.990000] usbcore: registered new interface driver ums-karma
  147. [ 14.000000] usbcore: registered new interface driver ums-sddr09
  148. [ 14.010000] usbcore: registered new interface driver ums-sddr55
  149. [ 14.020000] usbcore: registered new interface driver ums-usbat
  150. [ 14.030000] usbcore: registered new interface driver usbhid
  151. [ 14.030000] usbhid: USB HID core driver
  152. [ 14.040000] usbcore: registered new interface driver usblp
  153. [ 14.050000] usbcore: registered new interface driver usbserial
  154. [ 14.060000] usbcore: registered new interface driver usbserial_generic
  155. [ 14.060000] usbserial: USB Serial support registered for generic
  156. [ 14.080000] usbcore: registered new interface driver uvcvideo
  157. [ 14.080000] USB Video Class driver (1.1.1)
  158. [ 14.120000] xt_time: kernel timezone is -0000
  159. [ 14.170000] cfg80211: Calling CRDA to update world regulatory domain
  160. [ 14.170000] cfg80211: World regulatory domain updated:
  161. [ 14.180000] cfg80211: DFS Master region: unset
  162. [ 14.180000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
  163. [ 14.190000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
  164. [ 14.200000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
  165. [ 14.210000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
  166. [ 14.220000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
  167. [ 14.220000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
  168. [ 14.230000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  169. [ 14.240000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
  170. [ 14.250000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  171. [ 14.270000] usbcore: registered new interface driver ch341
  172. [ 14.270000] usbserial: USB Serial support registered for ch341-uart
  173. [ 14.280000] usbcore: registered new interface driver cp210x
  174. [ 14.280000] usbserial: USB Serial support registered for cp210x
  175. [ 14.290000] usbcore: registered new interface driver ftdi_sio
  176. [ 14.300000] usbserial: USB Serial support registered for FTDI USB Serial Devi ce
  177. [ 14.410000] usbcore: registered new interface driver pl2303
  178. [ 14.420000] usbserial: USB Serial support registered for pl2303
  179. [ 14.430000] PPP generic driver version 2.4.2
  180. [ 14.440000] NET: Registered protocol family 24
  181. [ 14.510000] ath: EEPROM regdomain: 0x0
  182. [ 14.510000] ath: EEPROM indicates default country code should be used
  183. [ 14.510000] ath: doing EEPROM country->regdmn map search
  184. [ 14.510000] ath: country maps to regdmn code: 0x3a
  185. [ 14.510000] ath: Country alpha2 being used: US
  186. [ 14.510000] ath: Regpair used: 0x3a
  187. [ 14.520000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
  188. [ 14.530000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
  189. [ 14.540000] cfg80211: Calling CRDA for country: US
  190. [ 14.540000] cfg80211: Regulatory domain changed to country: US
  191. [ 14.540000] cfg80211: DFS Master region: FCC
  192. [ 14.550000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
  193. [ 14.560000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 m Bm), (N/A)
  194. [ 14.570000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 1700 mBm), (N/A)
  195. [ 14.580000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2300 mBm), (0 s)
  196. [ 14.590000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 m Bm), (N/A)
  197. [ 14.590000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 40 00 mBm), (N/A)
  198. [ 14.760000] usb 1-1: new full-speed USB device number 2 using ehci-platform
  199. [ 14.980000] usb 1-1: device descriptor read/64, error -71
  200. [ 15.300000] usb 1-1: device descriptor read/64, error -71
  201. [ 15.530000] usb 1-1: new full-speed USB device number 3 using ehci-platform
  202. [ 15.750000] usb 1-1: device descriptor read/64, error -71
  203. [ 16.140000] usb 1-1: device descriptor read/64, error -71
  204. [ 16.380000] usb 1-1: new full-speed USB device number 4 using ehci-platform
  205. [ 16.970000] usb 1-1: device not accepting address 4, error -71
  206. [ 17.840000] usb 1-1: new full-speed USB device number 5 using ehci-platform
  207. [ 18.720000] usb 1-1: device not accepting address 5, error -71
  208. [ 18.720000] usb usb1-port1: unable to enumerate USB device
  209. [ 29.510000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
  210. [ 30.720000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  211. [ 32.190000] wlan0: authenticate with ac:22:0b:e8:d9:90
  212. [ 32.210000] wlan0: send auth to ac:22:0b:e8:d9:90 (try 1/3)
  213. [ 32.220000] wlan0: authenticated
  214. [ 32.240000] wlan0: associate with ac:22:0b:e8:d9:90 (try 1/3)
  215. [ 32.240000] wlan0: RX AssocResp from ac:22:0b:e8:d9:90 (capab=0x411 status=0 aid=2)
  216. [ 32.250000] wlan0: associated
  217. [ 32.250000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  218. [ 33.600000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
  219. [ 50.660000] random: nonblocking pool is initialized
  220. root@Omega-2101:~# cd /sys/bus/pci/drivers/ath9kcd /sys/bus/pci/drivers/ath9k
  221. root@Omega-2101:~# cd /sys/bus/pci/drivers/ath9k+
  222. -ash: cd: can't cd to /sys/bus/pci/drivers/ath9k+
  223. root@Omega-2101:~# cd /sys/bus/pci/drivers/ath9k
  224. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls
  225. bind module new_id remove_id uevent unbind
  226. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls -l
  227. --w------- 1 root root 4096 Dec 5 22:54 bind
  228. lrwxrwxrwx 1 root root 0 Dec 5 22:54 module -> ../../../../m odule/ath9k
  229. --w------- 1 root root 4096 Dec 5 22:54 new_id
  230. --w------- 1 root root 4096 Dec 5 22:54 remove_id
  231. --w------- 1 root root 4096 Dec 5 22:54 uevent
  232. --w------- 1 root root 4096 Dec 5 22:54 unbind
  233. root@Omega-2101:/sys/bus/pci/drivers/ath9k# cat unbind
  234. cat: can't open 'unbind': Permission denied
  235. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.7" > unbind
  236. ash: write error: No such device
  237. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.4" > unbind
  238. ash: write error: No such device
  239. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:4d.1" > unbind
  240. ash: write error: No such device
  241. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:7d.1" > unbind
  242. ash: write error: No such device
  243. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.7" > unbind
  244. ash: write error: No such device
  245. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.7" > unbind
  246. ash: write error: No such device
  247. root@Omega-2101:/sys/bus/pci/drivers/ath9k# r
  248. root@Omega-2101:/sys/bus/pci/drivers/ath9k# sleep 2
  249. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.0" > /sys/bus/pci/dri
  250. vers/ath9k/unbind
  251. ash: write error: No such device
  252. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.1" > /sys/bus/pci/dri
  253. vers/ath9k/unbind
  254. ash: write error: No such device
  255. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.2" > /sys/bus/pci/dri
  256. vers/ath9k/unbind
  257. ash: write error: No such device
  258. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.3" > /sys/bus/pci/dri
  259. vers/ath9k/unbind
  260. ash: write error: No such device
  261. root@Omega-2101:/sys/bus/pci/drivers/ath9k# sleep 5
  262. echo -n "1-1:1.3" > /sys/bus/pci/drivers/ath9k/bindroot@Omega-2101:/sys/bus/pci/ drivers/ath9k# echo -n "1-1:1.0" > /sys/bus/pci/dri
  263. vers/ath9k/bind
  264. ash: write error: No such device
  265. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.1" > /sys/bus/pci/dri
  266. vers/ath9k/bind
  267. ash: write error: No such device
  268. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.2" > /sys/bus/pci/dri
  269. vers/ath9k/bind
  270. ash: write error: No such device
  271. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.3" > /sys/bus/pci/dri
  272. vers/ath9k/bind
  273. ash: write error: No such device
  274. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ifup
  275. Interface not found
  276. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ifup usb
  277. Interface usb not found
  278. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ifup -l
  279. Interface -l not found
  280. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ifup -h
  281. Interface -h not found
  282. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ifup --help
  283. Interface --help not found
  284. root@Omega-2101:/sys/bus/pci/drivers/ath9k# cd ..
  285. root@Omega-2101:/sys/bus/pci/drivers# cd ..
  286. root@Omega-2101:/sys/bus/pci# ls
  287. devices drivers_autoprobe rescan slots
  288. drivers drivers_probe resource_alignment uevent
  289. root@Omega-2101:/sys/bus/pci# cd drivers/
  290. root@Omega-2101:/sys/bus/pci/drivers# LS
  291. -ash: LS: not found
  292. root@Omega-2101:/sys/bus/pci/drivers# ls
  293. ath9k
  294. root@Omega-2101:/sys/bus/pci/drivers# cd ath9k/
  295. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls
  296. bind module new_id remove_id uevent unbind
  297. root@Omega-2101:/sys/bus/pci/drivers/ath9k# cat u
  298. cat: can't open 'u': No such file or directory
  299. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls
  300. bind module new_id remove_id uevent unbind
  301. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ll
  302. drwxr-xr-x 2 root root 0 Dec 5 22:54 .
  303. drwxr-xr-x 3 root root 0 Dec 5 22:54 ..
  304. --w------- 1 root root 4096 Dec 5 22:58 bind
  305. lrwxrwxrwx 1 root root 0 Dec 5 22:54 module -> ../../../../m odule/ath9k
  306. --w------- 1 root root 4096 Dec 5 22:54 new_id
  307. --w------- 1 root root 4096 Dec 5 22:54 remove_id
  308. --w------- 1 root root 4096 Dec 5 22:54 uevent
  309. --w------- 1 root root 4096 Dec 5 22:58 unbind
  310. root@Omega-2101:/sys/bus/pci/drivers/ath9k# cat module/
  311. cat: read error: Is a directory
  312. root@Omega-2101:/sys/bus/pci/drivers/ath9k#
  313. root@Omega-2101:/sys/bus/pci/drivers/ath9k#
  314. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls /sys/devices/platform/ehci-platfo
  315. rm/
  316. driver pools uframe_periodic_max
  317. driver_override subsystem usb1
  318. modalias uevent
  319. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls /sys/devices/platform/ehci-platfo
  320. rm/driver
  321. bind ehci-platform module uevent unbind
  322. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1.0" > /sys/devices/pla
  323. tform/ehci-platform/driver/unbind
  324. ash: write error: No such device
  325. root@Omega-2101:/sys/bus/pci/drivers/ath9k# opkg install opkg-utils
  326. Unknown package 'opkg-utils'.
  327. Collected errors:
  328. * opkg_install_cmd: Cannot install package opkg-utils.
  329. root@Omega-2101:/sys/bus/pci/drivers/ath9k# opkg install opkg-
  330. Unknown package 'opkg-'.
  331. Collected errors:
  332. * opkg_install_cmd: Cannot install package opkg-.
  333. root@Omega-2101:/sys/bus/pci/drivers/ath9k# opkg install opkg-tree
  334. Unknown package 'opkg-tree'.
  335. Collected errors:
  336. * opkg_install_cmd: Cannot install package opkg-tree.
  337. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "189:0" > /sys/devices/platf
  338. orm/ehci-platform/driver/unbind
  339. ash: write error: No such device
  340. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.6b" > unbind
  341. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.6b" > unbind
  342. ash: write error: No such device
  343. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.6" > unbind
  344. ash: write error: No such device
  345. root@Omega-2101:/sys/bus/pci/drivers/ath9k#
  346. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.7" > unbind
  347. echo -n "0000:00:1d.2" > unbind
  348. echo -n "0000:00:1d.3" > unbind
  349. echo -n "0000:00:1d.4" > unbind
  350. echo -n "0000:00:1d.5" > unbind
  351. echo -n "0000:00:1d.6" > unbind
  352. echo -n "0000:00:1d.7" > unbind
  353. echo -n "0000:00:1d.8" > unbind
  354. ash: write error: No such device
  355. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.2" > unbind
  356. ash: write error: No such device
  357. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.3" > unbind
  358. ash: write error: No such device
  359. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.4" > unbind
  360. ash: write error: No such device
  361. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.5" > unbind
  362. ash: write error: No such device
  363. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.6" > unbind
  364. ash: write error: No such device
  365. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.7" > unbind
  366. ash: write error: No such device
  367. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.8" > unbind
  368. ash: write error: No such device
  369. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.1" > unbind
  370. ash: write error: No such device
  371. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.2" > unbind
  372. ash: write error: No such device
  373. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.3" > unbind
  374. ash: write error: No such device
  375. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.4" > unbind
  376. ash: write error: No such device
  377. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.5" > unbind
  378. ash: write error: No such device
  379. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.6" > unbind
  380. ash: write error: No such device
  381. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.7" > unbind
  382. ash: write error: No such device
  383. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "0000:00:1d.8" > unbind
  384. ash: write error: No such device
  385. root@Omega-2101:/sys/bus/pci/drivers/ath9k# dmesg
  386. [ 0.000000] Linux version 3.18.23 (zh@ci-onion) (gcc version 4.8.3 (OpenWrt/L inaro GCC 4.8-2014.04 r47727) ) #1 Fri Dec 4 02:26:08 UTC 2015
  387. [ 0.000000] MyLoader: sysp=b9606524, boardp=3d5200cc, parts=02ed90e1
  388. [ 0.000000] bootconsole [early0] enabled
  389. [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
  390. [ 0.000000] SoC: Atheros AR9330 rev 1
  391. [ 0.000000] Determined physical RAM map:
  392. [ 0.000000] memory: 04000000 @ 00000000 (usable)
  393. [ 0.000000] Initrd not found or empty - disabling initrd
  394. [ 0.000000] Zone ranges:
  395. [ 0.000000] Normal [mem 0x00000000-0x03ffffff]
  396. [ 0.000000] Movable zone start for each node
  397. [ 0.000000] Early memory node ranges
  398. [ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
  399. [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
  400. [ 0.000000] On node 0 totalpages: 16384
  401. [ 0.000000] free_area_init_node: node 0, pgdat 8035c0f0, node_mem_map 8100000 0
  402. [ 0.000000] Normal zone: 128 pages used for memmap
  403. [ 0.000000] Normal zone: 0 pages reserved
  404. [ 0.000000] Normal zone: 16384 pages, LIFO batch:3
  405. [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  406. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  407. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  408. [ 0.000000] pcpu-alloc: [0] 0
  409. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag es: 16256
  410. [ 0.000000] Kernel command line: board=ONION-OMEGA console=ttyATH0,115200 r ootfstype=squashfs,jffs2 noinitrd
  411. [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
  412. [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  413. [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  414. [ 0.000000] Writing ErrCtl register=00000000
  415. [ 0.000000] Readback ErrCtl register=00000000
  416. [ 0.000000] Memory: 60944K/65536K available (2486K kernel code, 129K rwdata, 532K rodata, 236K init, 188K bss, 4592K reserved)
  417. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  418. [ 0.000000] NR_IRQS:51
  419. [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.00 0MHz
  420. [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
  421. [ 0.080000] pid_max: default: 32768 minimum: 301
  422. [ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  423. [ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  424. [ 0.100000] NET: Registered protocol family 16
  425. [ 0.100000] MIPS: machine is Onion Omega
  426. [ 0.370000] Switched to clocksource MIPS
  427. [ 0.370000] NET: Registered protocol family 2
  428. [ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  429. [ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  430. [ 0.380000] TCP: Hash tables configured (established 1024 bind 1024)
  431. [ 0.390000] TCP: reno registered
  432. [ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
  433. [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  434. [ 0.410000] NET: Registered protocol family 1
  435. [ 0.410000] PCI: CLS 0 bytes, default 32
  436. [ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
  437. [ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  438. [ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc.
  439. [ 0.440000] msgmni has been set to 119
  440. [ 0.460000] io scheduler noop registered
  441. [ 0.460000] io scheduler deadline registered (default)
  442. [ 0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  443. [ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 15 62500) is a AR933X UART
  444. [ 0.480000] console [ttyATH0] enabled
  445. [ 0.490000] bootconsole [early0] disabled
  446. [ 0.500000] m25p80 spi0.0: found w25q128, expected m25p80
  447. [ 0.500000] m25p80 spi0.0: w25q128 (16384 Kbytes)
  448. [ 0.510000] 5 tp-link partitions found on MTD device spi0.0
  449. [ 0.510000] Creating 5 MTD partitions on "spi0.0":
  450. [ 0.520000] 0x000000000000-0x000000020000 : "u-boot"
  451. [ 0.520000] 0x000000020000-0x0000001364b8 : "kernel"
  452. [ 0.530000] 0x0000001364b8-0x000000ff0000 : "rootfs"
  453. [ 0.530000] mtd: device 2 (rootfs) set to be root filesystem
  454. [ 0.540000] 1 squashfs-split partitions found on MTD device rootfs
  455. [ 0.540000] 0x0000007c0000-0x000000ff0000 : "rootfs_data"
  456. [ 0.550000] 0x000000ff0000-0x000001000000 : "art"
  457. [ 0.550000] 0x000000020000-0x000000ff0000 : "firmware"
  458. [ 0.580000] libphy: ag71xx_mdio: probed
  459. [ 1.170000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd0 41, driver=Generic PHY]
  460. [ 1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
  461. [ 1.180000] TCP: cubic registered
  462. [ 1.180000] NET: Registered protocol family 17
  463. [ 1.190000] bridge: automatic filtering via arp/ip/ip6tables has been depreca ted. Update your scripts to load br_netfilter if you need this.
  464. [ 1.200000] 8021q: 802.1Q VLAN Support v1.8
  465. [ 1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
  466. [ 1.220000] Freeing unused kernel memory: 236K (80375000 - 803b0000)
  467. [ 2.690000] init: Console is alive
  468. [ 2.690000] init: - watchdog -
  469. [ 5.220000] usbcore: registered new interface driver usbfs
  470. [ 5.230000] usbcore: registered new interface driver hub
  471. [ 5.230000] usbcore: registered new device driver usb
  472. [ 5.290000] SCSI subsystem initialized
  473. [ 5.300000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  474. [ 5.310000] ehci-platform: EHCI generic platform driver
  475. [ 5.310000] ehci-platform ehci-platform: EHCI Host Controller
  476. [ 5.320000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
  477. [ 5.330000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
  478. [ 5.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
  479. [ 5.360000] hub 1-0:1.0: USB hub found
  480. [ 5.360000] hub 1-0:1.0: 1 port detected
  481. [ 5.380000] usbcore: registered new interface driver usb-storage
  482. [ 5.720000] init: - preinit -
  483. [ 6.450000] random: procd urandom read with 10 bits of entropy available
  484. [ 9.630000] mount_root: loading kmods from internal overlay
  485. [ 10.000000] jffs2: notice: (338) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  486. [ 10.020000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  487. [ 10.030000] block: extroot: not configured
  488. [ 10.100000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete buildi ng xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  489. [ 10.280000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  490. [ 10.290000] block: extroot: not configured
  491. [ 10.290000] mount_root: switching to jffs2 overlay
  492. [ 10.360000] procd: - early -
  493. [ 10.360000] procd: - watchdog -
  494. [ 11.160000] procd: - ubus -
  495. [ 12.170000] procd: - init -
  496. [ 13.650000] NET: Registered protocol family 10
  497. [ 13.680000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
  498. [ 13.710000] ip6_tables: (C) 2000-2006 Netfilter Core Team
  499. [ 13.740000] i2c /dev entries driver
  500. [ 13.740000] Custom GPIO-based I2C driver version 0.1.1
  501. [ 13.750000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL)
  502. [ 13.800000] Linux video capture interface: v2.00
  503. [ 13.820000] hidraw: raw HID events driver (C) Jiri Kosina
  504. [ 13.850000] usbcore: registered new interface driver cdc_acm
  505. [ 13.850000] cdc_acm: USB Abstract Control Model driver for USB modems and ISD N adapters
  506. [ 13.860000] Loading modules backported from Linux version master-2015-03-09-0 -g141f155
  507. [ 13.870000] Backport generated by backports.git backports-20150129-0-gdd4a670
  508. [ 13.880000] ip_tables: (C) 2000-2006 Netfilter Core Team
  509. [ 13.900000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
  510. [ 13.940000] usbcore: registered new interface driver ums-alauda
  511. [ 13.950000] usbcore: registered new interface driver ums-cypress
  512. [ 13.960000] usbcore: registered new interface driver ums-datafab
  513. [ 13.970000] usbcore: registered new interface driver ums-freecom
  514. [ 13.980000] usbcore: registered new interface driver ums-isd200
  515. [ 13.990000] usbcore: registered new interface driver ums-jumpshot
  516. [ 13.990000] usbcore: registered new interface driver ums-karma
  517. [ 14.000000] usbcore: registered new interface driver ums-sddr09
  518. [ 14.010000] usbcore: registered new interface driver ums-sddr55
  519. [ 14.020000] usbcore: registered new interface driver ums-usbat
  520. [ 14.030000] usbcore: registered new interface driver usbhid
  521. [ 14.030000] usbhid: USB HID core driver
  522. [ 14.040000] usbcore: registered new interface driver usblp
  523. [ 14.050000] usbcore: registered new interface driver usbserial
  524. [ 14.060000] usbcore: registered new interface driver usbserial_generic
  525. [ 14.060000] usbserial: USB Serial support registered for generic
  526. [ 14.080000] usbcore: registered new interface driver uvcvideo
  527. [ 14.080000] USB Video Class driver (1.1.1)
  528. [ 14.120000] xt_time: kernel timezone is -0000
  529. [ 14.170000] cfg80211: Calling CRDA to update world regulatory domain
  530. [ 14.170000] cfg80211: World regulatory domain updated:
  531. [ 14.180000] cfg80211: DFS Master region: unset
  532. [ 14.180000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
  533. [ 14.190000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
  534. [ 14.200000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 m Bm), (N/A)
  535. [ 14.210000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 m Bm), (N/A)
  536. [ 14.220000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
  537. [ 14.220000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2000 mBm), (0 s)
  538. [ 14.230000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  539. [ 14.240000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 m Bm), (N/A)
  540. [ 14.250000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  541. [ 14.270000] usbcore: registered new interface driver ch341
  542. [ 14.270000] usbserial: USB Serial support registered for ch341-uart
  543. [ 14.280000] usbcore: registered new interface driver cp210x
  544. [ 14.280000] usbserial: USB Serial support registered for cp210x
  545. [ 14.290000] usbcore: registered new interface driver ftdi_sio
  546. [ 14.300000] usbserial: USB Serial support registered for FTDI USB Serial Devi ce
  547. [ 14.410000] usbcore: registered new interface driver pl2303
  548. [ 14.420000] usbserial: USB Serial support registered for pl2303
  549. [ 14.430000] PPP generic driver version 2.4.2
  550. [ 14.440000] NET: Registered protocol family 24
  551. [ 14.510000] ath: EEPROM regdomain: 0x0
  552. [ 14.510000] ath: EEPROM indicates default country code should be used
  553. [ 14.510000] ath: doing EEPROM country->regdmn map search
  554. [ 14.510000] ath: country maps to regdmn code: 0x3a
  555. [ 14.510000] ath: Country alpha2 being used: US
  556. [ 14.510000] ath: Regpair used: 0x3a
  557. [ 14.520000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
  558. [ 14.530000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
  559. [ 14.540000] cfg80211: Calling CRDA for country: US
  560. [ 14.540000] cfg80211: Regulatory domain changed to country: US
  561. [ 14.540000] cfg80211: DFS Master region: FCC
  562. [ 14.550000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gai n, max_eirp), (dfs_cac_time)
  563. [ 14.560000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 m Bm), (N/A)
  564. [ 14.570000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 1700 mBm), (N/A)
  565. [ 14.580000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AU TO), (N/A, 2300 mBm), (0 s)
  566. [ 14.590000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 m Bm), (N/A)
  567. [ 14.590000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 40 00 mBm), (N/A)
  568. [ 14.760000] usb 1-1: new full-speed USB device number 2 using ehci-platform
  569. [ 14.980000] usb 1-1: device descriptor read/64, error -71
  570. [ 15.300000] usb 1-1: device descriptor read/64, error -71
  571. [ 15.530000] usb 1-1: new full-speed USB device number 3 using ehci-platform
  572. [ 15.750000] usb 1-1: device descriptor read/64, error -71
  573. [ 16.140000] usb 1-1: device descriptor read/64, error -71
  574. [ 16.380000] usb 1-1: new full-speed USB device number 4 using ehci-platform
  575. [ 16.970000] usb 1-1: device not accepting address 4, error -71
  576. [ 17.840000] usb 1-1: new full-speed USB device number 5 using ehci-platform
  577. [ 18.720000] usb 1-1: device not accepting address 5, error -71
  578. [ 18.720000] usb usb1-port1: unable to enumerate USB device
  579. [ 29.510000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
  580. [ 30.720000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  581. [ 32.190000] wlan0: authenticate with ac:22:0b:e8:d9:90
  582. [ 32.210000] wlan0: send auth to ac:22:0b:e8:d9:90 (try 1/3)
  583. [ 32.220000] wlan0: authenticated
  584. [ 32.240000] wlan0: associate with ac:22:0b:e8:d9:90 (try 1/3)
  585. [ 32.240000] wlan0: RX AssocResp from ac:22:0b:e8:d9:90 (capab=0x411 status=0 aid=2)
  586. [ 32.250000] wlan0: associated
  587. [ 32.250000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  588. [ 33.600000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
  589. [ 50.660000] random: nonblocking pool is initialized
  590. root@Omega-2101:/sys/bus/pci/drivers/ath9k# dmesg
  591. [ 0.000000] Linux version 3.18.23 (zh@ci-onion) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r47727) ) #1 Fri Dec 4 02:26:08 UTC 2015
  592. [ 0.000000] MyLoader: sysp=b9606524, boardp=3d5200cc, parts=02ed90e1
  593. [ 0.000000] bootconsole [early0] enabled
  594. [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
  595. [ 0.000000] SoC: Atheros AR9330 rev 1
  596. [ 0.000000] Determined physical RAM map:
  597. [ 0.000000] memory: 04000000 @ 00000000 (usable)
  598. [ 0.000000] Initrd not found or empty - disabling initrd
  599. [ 0.000000] Zone ranges:
  600. [ 0.000000] Normal [mem 0x00000000-0x03ffffff]
  601. [ 0.000000] Movable zone start for each node
  602. [ 0.000000] Early memory node ranges
  603. [ 0.000000] node 0: [mem 0x00000000-0x03ffffff]
  604. [ 0.000000] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
  605. [ 0.000000] On node 0 totalpages: 16384
  606. [ 0.000000] free_area_init_node: node 0, pgdat 8035c0f0, node_mem_map 81000000
  607. [ 0.000000] Normal zone: 128 pages used for memmap
  608. [ 0.000000] Normal zone: 0 pages reserved
  609. [ 0.000000] Normal zone: 16384 pages, LIFO batch:3
  610. [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
  611. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
  612. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  613. [ 0.000000] pcpu-alloc: [0] 0
  614. [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
  615. [ 0.000000] Kernel command line: board=ONION-OMEGA console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
  616. [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
  617. [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
  618. [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
  619. [ 0.000000] Writing ErrCtl register=00000000
  620. [ 0.000000] Readback ErrCtl register=00000000
  621. [ 0.000000] Memory: 60944K/65536K available (2486K kernel code, 129K rwdata, 532K rodata, 236K init, 188K bss, 4592K reserved)
  622. [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  623. [ 0.000000] NR_IRQS:51
  624. [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
  625. [ 0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
  626. [ 0.080000] pid_max: default: 32768 minimum: 301
  627. [ 0.080000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
  628. [ 0.090000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
  629. [ 0.100000] NET: Registered protocol family 16
  630. [ 0.100000] MIPS: machine is Onion Omega
  631. [ 0.370000] Switched to clocksource MIPS
  632. [ 0.370000] NET: Registered protocol family 2
  633. [ 0.380000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
  634. [ 0.380000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
  635. [ 0.380000] TCP: Hash tables configured (established 1024 bind 1024)
  636. [ 0.390000] TCP: reno registered
  637. [ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
  638. [ 0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  639. [ 0.410000] NET: Registered protocol family 1
  640. [ 0.410000] PCI: CLS 0 bytes, default 32
  641. [ 0.410000] futex hash table entries: 256 (order: -1, 3072 bytes)
  642. [ 0.430000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  643. [ 0.430000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
  644. [ 0.440000] msgmni has been set to 119
  645. [ 0.460000] io scheduler noop registered
  646. [ 0.460000] io scheduler deadline registered (default)
  647. [ 0.460000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
  648. [ 0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a AR933X UART
  649. [ 0.480000] console [ttyATH0] enabled
  650. [ 0.490000] bootconsole [early0] disabled
  651. [ 0.500000] m25p80 spi0.0: found w25q128, expected m25p80
  652. [ 0.500000] m25p80 spi0.0: w25q128 (16384 Kbytes)
  653. [ 0.510000] 5 tp-link partitions found on MTD device spi0.0
  654. [ 0.510000] Creating 5 MTD partitions on "spi0.0":
  655. [ 0.520000] 0x000000000000-0x000000020000 : "u-boot"
  656. [ 0.520000] 0x000000020000-0x0000001364b8 : "kernel"
  657. [ 0.530000] 0x0000001364b8-0x000000ff0000 : "rootfs"
  658. [ 0.530000] mtd: device 2 (rootfs) set to be root filesystem
  659. [ 0.540000] 1 squashfs-split partitions found on MTD device rootfs
  660. [ 0.540000] 0x0000007c0000-0x000000ff0000 : "rootfs_data"
  661. [ 0.550000] 0x000000ff0000-0x000001000000 : "art"
  662. [ 0.550000] 0x000000020000-0x000000ff0000 : "firmware"
  663. [ 0.580000] libphy: ag71xx_mdio: probed
  664. [ 1.170000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
  665. [ 1.180000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
  666. [ 1.180000] TCP: cubic registered
  667. [ 1.180000] NET: Registered protocol family 17
  668. [ 1.190000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
  669. [ 1.200000] 8021q: 802.1Q VLAN Support v1.8
  670. [ 1.220000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
  671. [ 1.220000] Freeing unused kernel memory: 236K (80375000 - 803b0000)
  672. [ 2.690000] init: Console is alive
  673. [ 2.690000] init: - watchdog -
  674. [ 5.220000] usbcore: registered new interface driver usbfs
  675. [ 5.230000] usbcore: registered new interface driver hub
  676. [ 5.230000] usbcore: registered new device driver usb
  677. [ 5.290000] SCSI subsystem initialized
  678. [ 5.300000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  679. [ 5.310000] ehci-platform: EHCI generic platform driver
  680. [ 5.310000] ehci-platform ehci-platform: EHCI Host Controller
  681. [ 5.320000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
  682. [ 5.330000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
  683. [ 5.360000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
  684. [ 5.360000] hub 1-0:1.0: USB hub found
  685. [ 5.360000] hub 1-0:1.0: 1 port detected
  686. [ 5.380000] usbcore: registered new interface driver usb-storage
  687. [ 5.720000] init: - preinit -
  688. [ 6.450000] random: procd urandom read with 10 bits of entropy available
  689. [ 9.630000] mount_root: loading kmods from internal overlay
  690. [ 10.000000] jffs2: notice: (338) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  691. [ 10.020000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  692. [ 10.030000] block: extroot: not configured
  693. [ 10.100000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
  694. [ 10.280000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
  695. [ 10.290000] block: extroot: not configured
  696. [ 10.290000] mount_root: switching to jffs2 overlay
  697. [ 10.360000] procd: - early -
  698. [ 10.360000] procd: - watchdog -
  699. [ 11.160000] procd: - ubus -
  700. [ 12.170000] procd: - init -
  701. [ 13.650000] NET: Registered protocol family 10
  702. [ 13.680000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
  703. [ 13.710000] ip6_tables: (C) 2000-2006 Netfilter Core Team
  704. [ 13.740000] i2c /dev entries driver
  705. [ 13.740000] Custom GPIO-based I2C driver version 0.1.1
  706. [ 13.750000] i2c-gpio i2c-gpio.0: using pins 21 (SDA) and 20 (SCL)
  707. [ 13.800000] Linux video capture interface: v2.00
  708. [ 13.820000] hidraw: raw HID events driver (C) Jiri Kosina
  709. [ 13.850000] usbcore: registered new interface driver cdc_acm
  710. [ 13.850000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
  711. [ 13.860000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
  712. [ 13.870000] Backport generated by backports.git backports-20150129-0-gdd4a670
  713. [ 13.880000] ip_tables: (C) 2000-2006 Netfilter Core Team
  714. [ 13.900000] nf_conntrack version 0.5.0 (955 buckets, 3820 max)
  715. [ 13.940000] usbcore: registered new interface driver ums-alauda
  716. [ 13.950000] usbcore: registered new interface driver ums-cypress
  717. [ 13.960000] usbcore: registered new interface driver ums-datafab
  718. [ 13.970000] usbcore: registered new interface driver ums-freecom
  719. [ 13.980000] usbcore: registered new interface driver ums-isd200
  720. [ 13.990000] usbcore: registered new interface driver ums-jumpshot
  721. [ 13.990000] usbcore: registered new interface driver ums-karma
  722. [ 14.000000] usbcore: registered new interface driver ums-sddr09
  723. [ 14.010000] usbcore: registered new interface driver ums-sddr55
  724. [ 14.020000] usbcore: registered new interface driver ums-usbat
  725. [ 14.030000] usbcore: registered new interface driver usbhid
  726. [ 14.030000] usbhid: USB HID core driver
  727. [ 14.040000] usbcore: registered new interface driver usblp
  728. [ 14.050000] usbcore: registered new interface driver usbserial
  729. [ 14.060000] usbcore: registered new interface driver usbserial_generic
  730. [ 14.060000] usbserial: USB Serial support registered for generic
  731. [ 14.080000] usbcore: registered new interface driver uvcvideo
  732. [ 14.080000] USB Video Class driver (1.1.1)
  733. [ 14.120000] xt_time: kernel timezone is -0000
  734. [ 14.170000] cfg80211: Calling CRDA to update world regulatory domain
  735. [ 14.170000] cfg80211: World regulatory domain updated:
  736. [ 14.180000] cfg80211: DFS Master region: unset
  737. [ 14.180000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  738. [ 14.190000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  739. [ 14.200000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
  740. [ 14.210000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
  741. [ 14.220000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
  742. [ 14.220000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
  743. [ 14.230000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
  744. [ 14.240000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
  745. [ 14.250000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
  746. [ 14.270000] usbcore: registered new interface driver ch341
  747. [ 14.270000] usbserial: USB Serial support registered for ch341-uart
  748. [ 14.280000] usbcore: registered new interface driver cp210x
  749. [ 14.280000] usbserial: USB Serial support registered for cp210x
  750. [ 14.290000] usbcore: registered new interface driver ftdi_sio
  751. [ 14.300000] usbserial: USB Serial support registered for FTDI USB Serial Device
  752. [ 14.410000] usbcore: registered new interface driver pl2303
  753. [ 14.420000] usbserial: USB Serial support registered for pl2303
  754. [ 14.430000] PPP generic driver version 2.4.2
  755. [ 14.440000] NET: Registered protocol family 24
  756. [ 14.510000] ath: EEPROM regdomain: 0x0
  757. [ 14.510000] ath: EEPROM indicates default country code should be used
  758. [ 14.510000] ath: doing EEPROM country->regdmn map search
  759. [ 14.510000] ath: country maps to regdmn code: 0x3a
  760. [ 14.510000] ath: Country alpha2 being used: US
  761. [ 14.510000] ath: Regpair used: 0x3a
  762. [ 14.520000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
  763. [ 14.530000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
  764. [ 14.540000] cfg80211: Calling CRDA for country: US
  765. [ 14.540000] cfg80211: Regulatory domain changed to country: US
  766. [ 14.540000] cfg80211: DFS Master region: FCC
  767. [ 14.550000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
  768. [ 14.560000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
  769. [ 14.570000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
  770. [ 14.580000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
  771. [ 14.590000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
  772. [ 14.590000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
  773. [ 14.760000] usb 1-1: new full-speed USB device number 2 using ehci-platform
  774. [ 14.980000] usb 1-1: device descriptor read/64, error -71
  775. [ 15.300000] usb 1-1: device descriptor read/64, error -71
  776. [ 15.530000] usb 1-1: new full-speed USB device number 3 using ehci-platform
  777. [ 15.750000] usb 1-1: device descriptor read/64, error -71
  778. [ 16.140000] usb 1-1: device descriptor read/64, error -71
  779. [ 16.380000] usb 1-1: new full-speed USB device number 4 using ehci-platform
  780. [ 16.970000] usb 1-1: device not accepting address 4, error -71
  781. [ 17.840000] usb 1-1: new full-speed USB device number 5 using ehci-platform
  782. [ 18.720000] usb 1-1: device not accepting address 5, error -71
  783. [ 18.720000] usb usb1-port1: unable to enumerate USB device
  784. [ 29.510000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
  785. [ 30.720000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
  786. [ 32.190000] wlan0: authenticate with ac:22:0b:e8:d9:90
  787. [ 32.210000] wlan0: send auth to ac:22:0b:e8:d9:90 (try 1/3)
  788. [ 32.220000] wlan0: authenticated
  789. [ 32.240000] wlan0: associate with ac:22:0b:e8:d9:90 (try 1/3)
  790. [ 32.240000] wlan0: RX AssocResp from ac:22:0b:e8:d9:90 (capab=0x411 status=0 aid=2)
  791. [ 32.250000] wlan0: associated
  792. [ 32.250000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
  793. [ 33.600000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
  794. [ 50.660000] random: nonblocking pool is initialized
  795. [ 1737.300000] usb 1-1: new full-speed USB device number 6 using ehci-platform
  796. [ 1737.520000] usb 1-1: device descriptor read/64, error -71
  797. [ 1737.840000] usb 1-1: device descriptor read/64, error -71
  798. [ 1738.070000] usb 1-1: new full-speed USB device number 7 using ehci-platform
  799. [ 1738.290000] usb 1-1: device descriptor read/64, error -71
  800. [ 1738.610000] usb 1-1: device descriptor read/64, error -71
  801. [ 1738.840000] usb 1-1: new full-speed USB device number 8 using ehci-platform
  802. [ 1739.320000] usb 1-1: device not accepting address 8, error -71
  803. [ 1739.440000] usb 1-1: new full-speed USB device number 9 using ehci-platform
  804. [ 1739.920000] usb 1-1: device not accepting address 9, error -71
  805. [ 1739.920000] usb usb1-port1: unable to enumerate USB device
  806. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1" > unbind
  807. ash: write error: No such device
  808. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "usb 1-1" > unbind
  809. ash: write error: No such device
  810. root@Omega-2101:/sys/bus/pci/drivers/ath9k# ls
  811. bind module new_id remove_id uevent unbind
  812. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1-1" > unbind
  813. ash: write error: No such device
  814. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1-2" > unbind
  815. ash: write error: No such device
  816. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:1" > unbind
  817. ash: write error: No such device
  818. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:" > unbind
  819. ash: write error: No such device
  820. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1:" > unbind
  821. ash: write error: No such device
  822. root@Omega-2101:/sys/bus/pci/drivers/ath9k#
  823. root@Omega-2101:/sys/bus/pci/drivers/ath9k# echo -n "1-1" > unbind
  824. ash: write error: No such device
  825. root@Omega-2101:/sys/bus/pci/drivers/ath9k# lspci -v
  826. -ash: lspci: not found
  827. root@Omega-2101:/sys/bus/pci/drivers/ath9k# lspci
  828. -ash: lspci: not found
  829. root@Omega-2101:/sys/bus/pci/drivers/ath9k# opkg install lspci
  830. Unknown package 'lspci'.
  831. Collected errors:
  832. * opkg_install_cmd: Cannot install package lspci.
  833. root@Omega-2101:/sys/bus/pci/drivers/ath9k# opkg install pciutils
  834. Installing pciutils (3.3.1-1) to root...
  835. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/pciutils_3.3.1-1_ar71xx.ipk.
  836. Installing libkmod (20-1) to root...
  837. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/packages/libkmod_20-1_ar71xx.ipk.
  838. Configuring libkmod.
  839. Configuring pciutils.
  840. root@Omega-2101:/sys/bus/pci/drivers/ath9k# opkg install usbutils
  841. Installing usbutils (007-1) to root...
  842. Downloading http://downloads.openwrt.org/chaos_calmer/15.05/ar71xx/generic/packages/base/usbutils_007-1_ar71xx.ipk.
  843. Collected errors:
  844. * check_data_file_clashes: Package usbutils wants to install file /usr/bin/lsusb
  845. But that file is already provided by package * busybox
  846. * opkg_install_cmd: Cannot install package usbutils.
  847. root@Omega-2101:/sys/bus/pci/drivers/ath9k# cd /usr/bin/lsusb
  848. -ash: cd: can't cd to /usr/bin/lsusb
  849. root@Omega-2101:/sys/bus/pci/drivers/ath9k# cd /usr/bin/
  850. root@Omega-2101:/usr/bin# ls
  851. [ iwinfo signify
  852. [[ jshn sort
  853. arduino-dock jsonfilter ssh
  854. avrdude killall strings
  855. awk less tail
  856. basename libftdi1-config tee
  857. bunzip2 logger telnet
  858. bzcat lsusb test
  859. clear md5sum time
  860. cmp merge-sketch-with-bootloader.lua tmux
  861. crontab mjpg_streamer top
  862. cut mkfifo tr
  863. dbclient nano traceroute
  864. dirname nc twidude
  865. dropbearkey nslookup uniq
  866. du oupgrade uptime
  867. env passwd usign
  868. expled pgrep watch
  869. expr printf wc
  870. find readlink wget
  871. free reset wget-ssl
  872. gpioctl resize which
  873. head rsync wifisaint
  874. hexdump run-avrdude wifisetup
  875. hostid scp xargs
  876. id seq yes
  877. root@Omega-2101:/usr/bin# lsusb
  878. Bus 001 Device 001: ID 1d6b:0002
  879. root@Omega-2101:/usr/bin# lsusb -b
  880. Bus 001 Device 001: ID 1d6b:0002
  881. root@Omega-2101:/usr/bin# lsusb -v
  882. Bus 001 Device 001: ID 1d6b:0002
  883. root@Omega-2101:/usr/bin#
  884. root@Omega-2101:/usr/bin# echo -n "1d6b:0002" > /sys/bus/pci/drivers/ath9k/unbind
  885. ash: write error: No such device
  886. root@Omega-2101:/usr/bin# echo -n "1d6b:0001" > /sys/bus/pci/drivers/ath9k/unbind
  887. ash: write error: No such device
  888. root@Omega-2101:/usr/bin# echo -n "1d6b:0001" > /sys/bus/pci/drivers/ath9k/unbindlsusb
  889. -ash: can't create /sys/bus/pci/drivers/ath9k/unbindlsusb: Permission denied
  890. root@Omega-2101:/usr/bin# lspci
  891. root@Omega-2101:/usr/bin# lspci -v
  892. root@Omega-2101:/usr/bin# lspci -V
  893. lspci: invalid option -- V
  894. Usage: lspci [<switches>]
  895.  
  896. Basic display modes:
  897. -mm Produce machine-readable output (single -m for an obsolete format)
  898. -t Show bus tree
  899.  
  900. Display options:
  901. -v Be verbose (-vv for very verbose)
  902. -k Show kernel drivers handling each device
  903. -x Show hex-dump of the standard part of the config space
  904. -xxx Show hex-dump of the whole config space (dangerous; root only)
  905. -xxxx Show hex-dump of the 4096-byte extended config space (root only)
  906. -b Bus-centric view (addresses and IRQ's as seen by the bus)
  907. -D Always show domain numbers
  908.  
  909. Resolving of device ID's to names:
  910. -n Show numeric ID's
  911. -nn Show both textual and numeric ID's (names & numbers)
  912. -q Query the PCI ID database for unknown ID's via DNS
  913. -qq As above, but re-query locally cached entries
  914. -Q Query the PCI ID database for all ID's via DNS
  915.  
  916. Selection of devices:
  917. -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots
  918. -d [<vendor>]:[<device>][:<class>] Show only devices with specified ID's
  919.  
  920. Other options:
  921. -i <file> Use specified ID database instead of /usr/share/pci.ids.gz
  922. -p <file> Look up kernel modules in a given file instead of default modules.pcimap
  923. -M Enable `bus mapping' mode (dangerous; root only)
  924.  
  925. PCI access options:
  926. -A <method> Use the specified PCI access method (see `-A help' for a list)
  927. -O <par>=<val> Set PCI access parameter (see `-O help' for a list)
  928. -G Enable PCI access debugging
  929. -F <file> Read PCI configuration dump from a given file
  930. root@Omega-2101:/usr/bin# lspci -vv
  931. root@Omega-2101:/usr/bin# lsusb -vv
  932. Bus 001 Device 001: ID 1d6b:0002
  933. root@Omega-2101:/usr/bin# lsusb --help
  934. BusyBox v1.23.2 (2015-12-04 02:22:56 UTC) multi-call binary.
  935.  
  936. No help available.
  937.  
  938. root@Omega-2101:/usr/bin# modprobe
  939. Usage:
  940. modprobe module
  941. root@Omega-2101:/usr/bin# modprobe ehci_hcd
  942. ehci_hcd is already loaded
  943. root@Omega-2101:/usr/bin# modprobe ath9k
  944. ath9k is already loaded
  945. root@Omega-2101:/usr/bin# update-pciids
  946. --2015-12-05 23:28:59-- http://pci-ids.ucw.cz/v2.2/pci.ids.gz
  947. Resolving pci-ids.ucw.cz... 46.255.230.98
  948. Connecting to pci-ids.ucw.cz|46.255.230.98|:80... connected.
  949. HTTP request sent, awaiting response... 200 OK
  950. Length: 235368 (230K) [application/x-gzip]
  951. Saving to: 'pci.ids.gz.new'
  952.  
  953. pci.ids.gz.new 100%[==================================================>] 229.85K 93.1KB/s in 2.5s
  954.  
  955. 2015-12-05 23:29:03 (93.1 KB/s) - 'pci.ids.gz.new' saved [235368/235368]
  956.  
  957. Done.
  958. root@Omega-2101:/usr/bin# update-usbids
  959. -ash: update-usbids: not found
  960. root@Omega-2101:/usr/bin# lspci -vv
  961. root@Omega-2101:/usr/bin# lspci
  962. root@Omega-2101:/usr/bin# lspci -v
  963. root@Omega-2101:/usr/bin# usbids
  964. -ash: usbids: not found
  965. root@Omega-2101:/usr/bin# lspci -v
  966. root@Omega-2101:/usr/bin# usbids
  967. -ash: usbids: not found
  968. root@Omega-2101:/usr/bin# usbids
  969. -ash: usbids: not found
  970. root@Omega-2101:/usr/bin# lsusb -vv
  971. Bus 001 Device 001: ID 1d6b:0002
  972. root@Omega-2101:/usr/bin# /sys/bus/pci/drivers
  973. -ash: /sys/bus/pci/drivers: Permission denied
  974. root@Omega-2101:/usr/bin# cd /sys/bus/pci/drivers
  975. root@Omega-2101:/sys/bus/pci/drivers# ls
  976. ath9k
  977. root@Omega-2101:/sys/bus/pci/drivers# cd ..
  978. root@Omega-2101:/sys/bus/pci# ls
  979. devices drivers_autoprobe rescan slots
  980. drivers drivers_probe resource_alignment uevent
  981. root@Omega-2101:/sys/bus/pci# c d..
  982. -ash: c: not found
  983. root@Omega-2101:/sys/bus/pci# ls
  984. devices drivers_autoprobe rescan slots
  985. drivers drivers_probe resource_alignment uevent
  986. root@Omega-2101:/sys/bus/pci# cd ..
  987. root@Omega-2101:/sys/bus# kls
  988. -ash: kls: not found
  989. root@Omega-2101:/sys/bus# ks
  990. -ash: ks: not found
  991. root@Omega-2101:/sys/bus# ls
  992. clockevents container hid mdio_bus platform spi usb-serial
  993. clocksource cpu i2c pci scsi usb workqueue
  994. root@Omega-2101:/sys/bus#
  995. root@Omega-2101:/sys/bus# cd ..
  996. root@Omega-2101:/sys# ls
  997. block bus class dev devices firmware fs kernel module
  998. root@Omega-2101:/sys# cd dev
  999. root@Omega-2101:/sys/dev# cd devi
  1000. -ash: cd: can't cd to devi
  1001. root@Omega-2101:/sys/dev# cd ..
  1002. root@Omega-2101:/sys# ls
  1003. block bus class dev devices firmware fs kernel module
  1004. root@Omega-2101:/sys# cd devices/
  1005. root@Omega-2101:/sys/devices# ls
  1006. platform system virtual
  1007. root@Omega-2101:/sys/devices# cd system/
  1008. root@Omega-2101:/sys/devices/system# ls
  1009. clockevents clocksource container cpu
  1010. root@Omega-2101:/sys/devices/system# cd ..
  1011. root@Omega-2101:/sys/devices# cd platform/
  1012. root@Omega-2101:/sys/devices/platform# ls
  1013. ag71xx-mdio.1 ar933x-uart ath79-wdt i2c-gpio.0 serial8250
  1014. ag71xx.0 ar933x_wmac ehci-platform leds-gpio uevent
  1015. alarmtimer ath79-spi gpio-keys-polled regulatory.0
  1016. root@Omega-2101:/sys/devices/platform# cd .
  1017. root@Omega-2101:/sys/devices/platform#
  1018. root@Omega-2101:/sys/devices/platform# cd ..
  1019. root@Omega-2101:/sys/devices# ls
  1020. platform system virtual
  1021. root@Omega-2101:/sys/devices# cd ..
  1022. root@Omega-2101:/sys# ls
  1023. block bus class dev devices firmware fs kernel module
  1024. root@Omega-2101:/sys# cd devices/
  1025. root@Omega-2101:/sys/devices# ls
  1026. platform system virtual
  1027. root@Omega-2101:/sys/devices# cd ..
  1028. root@Omega-2101:/sys# ls
  1029. block bus class dev devices firmware fs kernel module
  1030. root@Omega-2101:/sys# cd bus
  1031. root@Omega-2101:/sys/bus# ls
  1032. clockevents container hid mdio_bus platform spi usb-serial
  1033. clocksource cpu i2c pci scsi usb workqueue
  1034. root@Omega-2101:/sys/bus# cd usb
  1035. root@Omega-2101:/sys/bus/usb# ls
  1036. devices drivers drivers_autoprobe drivers_probe uevent
  1037. root@Omega-2101:/sys/bus/usb# cd drivers/
  1038. root@Omega-2101:/sys/bus/usb/drivers# ls
  1039. cdc_acm hub ums-datafab ums-karma usb usblp
  1040. ch341 pl2303 ums-freecom ums-sddr09 usb-storage usbserial
  1041. cp210x ums-alauda ums-isd200 ums-sddr55 usbfs usbserial_generic
  1042. ftdi_sio ums-cypress ums-jumpshot ums-usbat usbhid uvcvideo
  1043. root@Omega-2101:/sys/bus/usb/drivers# cd usb-storage/
  1044. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# ls
  1045. bind module new_id remove_id uevent unbind
  1046. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# cat -n "1d6b:0002" > unbind
  1047. cat: invalid option -- n
  1048. BusyBox v1.23.2 (2015-12-04 02:22:56 UTC) multi-call binary.
  1049.  
  1050. Usage: cat [FILE]...
  1051.  
  1052. Concatenate FILEs and print them to stdout
  1053.  
  1054. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "1d6b:0002" > unbind
  1055. ash: write error: No such device
  1056. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "1-1:1-1" > unbind
  1057. ash: write error: No such device
  1058. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "00:1-1:" > unbind
  1059. ash: write error: No such device
  1060. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "00:1.1" > unbind
  1061. ash: write error: No such device
  1062. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "00:1.0" > unbind
  1063. ash: write error: No such device
  1064. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "00:1.0" > unbind
  1065. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "1-1:1.0" > unbind
  1066. ash: write error: No such device
  1067. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "1-1:1.1" > unbind
  1068. ash: write error: No such device
  1069. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "1-1:1.2" > unbind
  1070. ash: write error: No such device
  1071. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "1-1:1.3" > unbind
  1072. ash: write error: No such device
  1073. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# echo -n "0000:00:1d.7" > unbind
  1074. ash: write error: No such device
  1075. root@Omega-2101:/sys/bus/usb/drivers/usb-storage# cd ..
  1076. root@Omega-2101:/sys/bus/usb/drivers# ls
  1077. cdc_acm hub ums-datafab ums-karma usb usblp
  1078. ch341 pl2303 ums-freecom ums-sddr09 usb-storage usbserial
  1079. cp210x ums-alauda ums-isd200 ums-sddr55 usbfs usbserial_generic
  1080. ftdi_sio ums-cypress ums-jumpshot ums-usbat usbhid uvcvideo
  1081. root@Omega-2101:/sys/bus/usb/drivers# cd usb
  1082. root@Omega-2101:/sys/bus/usb/drivers/usb# ls
  1083. bind module uevent unbind usb1
  1084. root@Omega-2101:/sys/bus/usb/drivers/usb# echo -n "0000:00:1d.7" > unbind
  1085. ash: write error: No such device
  1086. root@Omega-2101:/sys/bus/usb/drivers/usb# cd usb1/
  1087. root@Omega-2101:/sys/devices/platform/ehci-platform/usb1# ls
  1088. 1-0:1.0 bMaxPacketSize0 descriptors ltm_capable speed
  1089. authorized bMaxPower dev manufacturer subsystem
  1090. authorized_default bNumConfigurations devnum maxchild uevent
  1091. avoid_reset_quirk bNumInterfaces devpath product urbnum
  1092. bConfigurationValue bcdDevice driver quirks version
  1093. bDeviceClass bmAttributes ep_00 removable
  1094. bDeviceProtocol busnum idProduct remove
  1095. bDeviceSubClass configuration idVendor serial
  1096. root@Omega-2101:/sys/devices/platform/ehci-platform/usb1# echo -n "0000:00:1d.7" > unbind
  1097. -ash: can't create unbind: Permission denied
  1098. root@Omega-2101:/sys/devices/platform/ehci-platform/usb1# ls
  1099. 1-0:1.0 bMaxPacketSize0 descriptors ltm_capable speed
  1100. authorized bMaxPower dev manufacturer subsystem
  1101. authorized_default bNumConfigurations devnum maxchild uevent
  1102. avoid_reset_quirk bNumInterfaces devpath product urbnum
  1103. bConfigurationValue bcdDevice driver quirks version
  1104. bDeviceClass bmAttributes ep_00 removable
  1105. bDeviceProtocol busnum idProduct remove
  1106. bDeviceSubClass configuration idVendor serial
  1107. root@Omega-2101:/sys/devices/platform/ehci-platform/usb1# cd ..
  1108. root@Omega-2101:/sys/bus/usb/drivers/usb# ls
  1109. bind module uevent unbind usb1
  1110. root@Omega-2101:/sys/bus/usb/drivers/usb# echo -n "1-0:1.0" > unbind
  1111. ash: write error: No such device
  1112. root@Omega-2101:/sys/bus/usb/drivers/usb# echo -n "1-0:1.0" > bind
  1113. ash: write error: No such device
  1114. root@Omega-2101:/sys/bus/usb/drivers/usb# echo -n "1-0:1.0" > unbind
  1115. ash: write error: No such device
  1116. root@Omega-2101:/sys/bus/usb/drivers/usb# echo -n "0000:00:1d.7" > unbind
  1117. ash: write error: No such device
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement