pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS


Fun with i.mx25 keypad, part 1
Posted by Anonymous on Thu 2nd Jan 2020 13:05
raw | new post

  1. rmainz@vm ~ $ microcom -p /dev/ttyUSB0
  2. connected to /dev/ttyUSB0
  3. Escape character: Ctrl-\
  4. Type the escape character followed by c to get to the menu or q to quit
  5.  
  6.  
  7. barebox 2019.07.0-20190911-1-EAG_3.01-g4d7b156 #1 Mon Nov 25 15:12:14 CET 2019
  8.  
  9.  
  10. Board: Eckelmann AG ECU01
  11. mdio_bus: miibus0: probed
  12. nand: ONFI flash detected
  13. nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron MT29F1G16ABBEAH4), 128MiB, page size: 2048, OOB size: 64
  14. Bad block table found at page 65472, version 0x01
  15. Bad block table found at page 65408, version 0x01
  16. imx-usb 53ff4400.usb@53ff4400.of: USB EHCI 1.00
  17. imxfb imxfb: i.MX Framebuffer driver
  18. registered as fbconsole0
  19. malloc space: 0x83e7de60 -> 0x87cfbcbf (size 62.5 MiB)
  20. running /env/bin/init...
  21. Check if Memory is flashbased ...
  22. __PASS__
  23.  
  24. Hit CTRL-C to stop autoboot:    0
  25. __DEVELOPER_MODE__ENABLED__
  26. nv variable modified, will save nv variables on shutdown
  27. usb: USB: scanning bus for devices...
  28. usb: 1 USB Device(s) found
  29. usb: USB: scanning bus for devices...
  30. usb: 1 USB Device(s) found
  31. running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed
  32. usb: USB: scanning bus for devices...
  33. usb: 1 USB Device(s) found
  34. running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed
  35. Booting entry 'nand'
  36. ubi0: scanning is finished
  37. ubi0 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 6, need 20
  38. ubi0: registering /dev/nand0.root.ubi
  39. ubi0: registering root as /dev/nand0.root.ubi.root
  40. ubi0: attached mtd0 (name "nand0.root", size 80 MiB) to ubi0
  41. ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  42. ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  43. ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
  44. ubi0: good PEBs: 640, bad PEBs: 0, corrupted PEBs: 0
  45. ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
  46. ubi0: max/mean erase counter: 104/69, WL threshold: 4096, image sequence number: 24185
  47. ubi0: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 6
  48. UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode
  49. UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  50. UBIFS (ubi0:0): FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
  51. UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
  52. UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 843efdb8, small LPT model
  53. usb: USB: scanning bus for devices...
  54. usb: 1 USB Device(s) found
  55. running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed
  56.  
  57. Loading ARM Linux zImage '/mnt/nand0-root/boot/zImage'
  58. commandline:  console=ttymxc4,115200n consoleblank=0   lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048
  59. arch_number: 8017
  60. nv variables modified, saving them
  61. Booting Linux on physical CPU 0x0
  62. Initializing cgroup subsys cpuset
  63. Initializing cgroup subsys cpu
  64. Initializing cgroup subsys cpuacct
  65. Linux version 3.10.108-rt123-g9de6c66 (rmainz@vm) (gcc version 4.7.2 (OSELAS.Toolchain-2012.12.0) ) #1 PREEMPT RT Tue Dec 17 14:55:12 CET 2019
  66. CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
  67. CPU: VIVT data cache, VIVT instruction cache
  68. Machine: Eckelmann ECU01
  69. Memory policy: ECC disabled, Data cache writeback
  70. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
  71. Kernel command line: console=ttymxc4,115200n consoleblank=0   lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048
  72. PID hash table entries: 512 (order: -1, 2048 bytes)
  73. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  74. Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  75. Memory: 128MB = 128MB total
  76. Memory: 123252k/123252k available, 7820k reserved, 0K highmem
  77. Virtual kernel memory layout:
  78.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  79.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  80.     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
  81.     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
  82.     modules : 0xbf000000 - 0xc0000000   (  16 MB)
  83.       .text : 0xc0008000 - 0xc05d7eac   (5952 kB)
  84.       .init : 0xc05d8000 - 0xc06119e4   ( 231 kB)
  85.       .data : 0xc0612000 - 0xc064c8a0   ( 235 kB)
  86.        .bss : 0xc064c8a0 - 0xc067e978   ( 201 kB)
  87. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  88. Preemptible hierarchical RCU implementation.
  89.         Dump stacks of tasks blocking RCU-preempt GP.
  90. NR_IRQS:16 nr_irqs:16 16
  91. MXC IRQ initialized
  92. sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 64585ms
  93. Console: colour dummy device 80x30
  94. Calibrating delay loop (skipped) preset value.. 398.13 BogoMIPS (lpj=995328)
  95. pid_max: default: 32768 minimum: 301
  96. Mount-cache hash table entries: 512
  97. Initializing cgroup subsys freezer
  98. Initializing cgroup subsys blkio
  99. CPU: Testing write buffer coherency: ok
  100. Setting up static identity map for 0xc0484488 - 0xc04844e0
  101. devtmpfs: initialized
  102. NET: Registered protocol family 16
  103. DMA: preallocated 256 KiB pool for atomic coherent allocations
  104. bio: create slab <bio-0> at 0
  105. SCSI subsystem initialized
  106. usbcore: registered new interface driver usbfs
  107. usbcore: registered new interface driver hub
  108. usbcore: registered new device driver usb
  109. i2c i2c-0: IMX I2C adapter registered
  110. pps_core: LinuxPPS API ver. 1 registered
  111. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  112. PTP clock support registered
  113. cfg80211: Calling CRDA to update world regulatory domain
  114. Switching to clocksource mxc_timer1
  115. NET: Registered protocol family 2
  116. TCP established hash table entries: 1024 (order: 1, 8192 bytes)
  117. TCP bind hash table entries: 1024 (order: 2, 24576 bytes)
  118. TCP: Hash tables configured (established 1024 bind 1024)
  119. TCP: reno registered
  120. UDP hash table entries: 256 (order: 2, 16384 bytes)
  121. UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
  122. NET: Registered protocol family 1
  123. RPC: Registered named UNIX socket transport module.
  124. RPC: Registered udp transport module.
  125. RPC: Registered tcp transport module.
  126. RPC: Registered tcp NFSv4.1 backchannel transport module.
  127. NFS: Registering the id_resolver key type
  128. Key type id_resolver registered
  129. Key type id_legacy registered
  130. msgmni has been set to 240
  131. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
  132. io scheduler noop registered
  133. io scheduler cfq registered (default)
  134. imx-fb imx21-fb.0: i.MX Framebuffer driver
  135. Console: switching to colour frame buffer device 40x30
  136. imx-sdma imx35-sdma: initialized
  137. Serial: IMX driver
  138. imx21-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 48) is a IMX
  139. imx21-uart.4: ttymxc4 at MMIO 0x5002c000 (irq = 56) is a IMX
  140. console [ttymxc4] enabled
  141. loop: module loaded
  142. Trying ONFI probe in 16 bits mode, aborting !
  143. NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit), 128MiB, page size: 2048, OOB size: 64
  144. Scanning device for bad blocks
  145. Bad eraseblock 1022 at 0x000007fc0000
  146. Bad eraseblock 1023 at 0x000007fe0000
  147. 5 cmdlinepart partitions found on MTD device mxc_nand
  148. Creating 5 MTD partitions on "mxc_nand":
  149. 0x000000000000-0x000000100000 : "barebox"
  150. 0x000000100000-0x000000200000 : "bareboxenv"
  151. 0x000000200000-0x000000460000 : "history"
  152. 0x000000460000-0x000005460000 : "root"
  153. 0x000005460000-0x000008000000 : "var"
  154. spi_imx imx35-cspi.0: master is unqueued, this is deprecated
  155. spi_imx imx35-cspi.0: probed
  156. spi_imx imx35-cspi.1: master is unqueued, this is deprecated
  157. spi_imx imx35-cspi.1: probed
  158. fec imx25-fec.0 (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
  159. fec imx25-fec.0 (unregistered net_device): Using random MAC address: 72:d7:26:a3:2f:e8
  160. libphy: fec_enet_mii_bus: probed
  161. usbcore: registered new interface driver rtl8192cu
  162. usbcore: registered new interface driver rt2800usb
  163. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  164. ehci-mxc: Freescale On-Chip EHCI Host driver
  165. mxc-ehci mxc-ehci.1: EHCI Host Controller
  166. mxc-ehci mxc-ehci.1: new USB bus registered, assigned bus number 1
  167. mxc-ehci mxc-ehci.1: irq 51, io mem 0x53ff4400
  168. mxc-ehci mxc-ehci.1: USB 2.0 started, EHCI 1.00
  169. usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
  170. usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  171. usb usb1: Product: EHCI Host Controller
  172. usb usb1: Manufacturer: Linux 3.10.108-rt123-g9de6c66 ehci_hcd
  173. usb usb1: SerialNumber: mxc-ehci.1
  174. hub 1-0:1.0: USB hub found
  175. hub 1-0:1.0: 1 port detected
  176. usbcore: registered new interface driver usb-storage
  177. input: imx-keypad as /devices/platform/imx-keypad/input/input0
  178. rtc-pcf2123 spi1.0: chip found, driver version 0.6
  179. rtc-pcf2123 spi1.0: spiclk 4000 KHz.
  180. rtc-pcf2123 spi1.0: rtc core: registered rtc-pcf2123 as rtc0
  181. i2c /dev entries driver
  182. cpuidle: using governor ladder
  183. sdhci: Secure Digital Host Controller Interface driver
  184. sdhci: Copyright(c) Pierre Ossman
  185. sdhci-pltfm: SDHCI platform and OF driver helper
  186. usbcore: registered new interface driver usbhid
  187. usbhid: USB HID core driver
  188. TCP: cubic registered
  189. NET: Registered protocol family 10
  190. sit: IPv6 over IPv4 tunneling driver
  191. NET: Registered protocol family 17
  192. Key type dns_resolver registered
  193. UBI: attaching mtd3 to ubi0
  194. UBI: scanning is finished
  195. UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 8, need 20
  196. UBI: attached mtd3 (name "root", size 80 MiB) to ubi0
  197. UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  198. UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  199. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
  200. UBI: good PEBs: 640, bad PEBs: 0, corrupted PEBs: 0
  201. UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
  202. UBI: max/mean erase counter: 104/69, WL threshold: 4096, image sequence number: 24185
  203. UBI: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 8
  204. UBI: background thread "ubi_bgt0d" started, PID 564
  205. rtc-pcf2123 spi1.0: setting system clock to 2020-01-02 10:55:00 UTC (1577962500)
  206. UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode
  207. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  208. UBIFS: FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
  209. UBIFS: reserved for root: 0 bytes (0 KiB)
  210. UBIFS: media format: w4/r0 (latest is w4/r0), UUID CCA32AB6-CBD9-481A-8B39-705ED27E195D, small LPT model
  211. VFS: Mounted root (ubifs filesystem) readonly on device 0:12.
  212. devtmpfs: mounted
  213. Freeing unused kernel memory: 228K
  214. systemd[1]: systemd 204 running in system mode. (-PAM +LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT -LIBCRYPTSETUP -GCRYPT -ACL -XZ)
  215.  
  216. Welcome to PTXdist / EAG-ecu01!
  217.  
  218. systemd[1]: Set hostname to <ecu01>.
  219. systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
  220. systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
  221. systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  222. systemd[1]: Expecting device dev-ttymxc4.device...
  223.          Expecting device dev-ttymxc4.device...
  224. systemd[1]: Starting Remote File Systems.
  225. [  OK  ] Reached target Remote File Systems.
  226. systemd[1]: Reached target Remote File Systems.
  227. systemd[1]: Starting Timers.
  228. [  OK  ] Reached target Timers.
  229. systemd[1]: Reached target Timers.
  230. systemd[1]: Starting Delayed Shutdown Socket.
  231. [  OK  ] Listening on Delayed Shutdown Socket.
  232. systemd[1]: Listening on Delayed Shutdown Socket.
  233. systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
  234. [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
  235. systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
  236. systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
  237. systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
  238. systemd[1]: Starting Paths.
  239. [  OK  ] Reached target Paths.
  240. systemd[1]: Reached target Paths.
  241. systemd[1]: Starting udev Kernel Socket.
  242. [  OK  ] Listening on udev Kernel Socket.
  243. systemd[1]: Listening on udev Kernel Socket.
  244. systemd[1]: Starting udev Control Socket.
  245. [  OK  ] Listening on udev Control Socket.
  246. systemd[1]: Listening on udev Control Socket.
  247. systemd[1]: Starting Journal Socket.
  248. [  OK  ] Listening on Journal Socket.
  249. systemd[1]: Listening on Journal Socket.
  250. systemd[1]: Starting udev Coldplug TTY Devices for Getty...
  251.          Starting udev Coldplug TTY Devices for Getty...
  252. systemd[1]: Starting Apply Kernel Variables...
  253.          Starting Apply Kernel Variables...
  254. systemd[1]: Starting Journal Service...
  255.          Starting Journal Service...
  256. [  OK  ] Started Journal Service.
  257. systemd[1]: Started Journal Service.
  258. systemd[1]: Starting Load Kernel Modules...
  259.          Starting Load Kernel Modules...
  260. systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
  261. systemd[1]: Started Set Up Additional Binary Formats.
  262. systemd[1]: Starting Create static device nodes in /dev...
  263.          Starting Create static device nodes in /dev...
  264. systemd[1]: Starting Attach data ubi partition...
  265.          Starting Attach data ubi partition...
  266. systemd[1]: Starting File System Check on Root Device...
  267.          Starting File System Check on Root Device...
  268. [  OK  ] Started Apply Kernel Variables.
  269. UBI: attaching mtd4 to ubi1
  270. [  OK  ] Started File System Check on Root Device.
  271.          Starting Remount Root and Kernel File Systems...
  272. systemd-journald[587]: Failed to resolve 'systemd-journal' group: No such process
  273. ads7953_init
  274. [  OK  ] Started udev Coldplug TTY Devices for Getty.
  275. [  OK  ] Started Create static device nodes in /dev.
  276.          Starting udev Kernel Device Manager...
  277. mmc_init() called
  278. qa_driver_init() called
  279. systemd-modules-load[590]: Inserted module 'qadriver'
  280. systemd-udevd[623]: starting version 204
  281. [  OK  ] Started udev Kernel Device Manager.
  282. [  OK  ] Started Remount Root and Kernel File Systems.
  283. [  OK  ] Reached target Local File Systems (Pre).
  284.          Mounting /var/tmp...
  285.          Mounting /var/lock...
  286.          Mounting /var/run...
  287.          Mounting /var/log...
  288.          Mounting /var/lib...
  289.          Mounting /media...
  290.          Mounting /tmp...
  291. [  OK  ] Mounted /var/tmp.
  292. [  OK  ] Mounted /var/lock.
  293. [  OK  ] Mounted /var/lib.
  294. [  OK  ] Mounted /var/log.
  295. [  OK  ] Mounted /var/run.
  296. [  OK  ] Mounted /tmp.
  297. [  OK  ] Mounted /media.
  298. UBI: scanning is finished
  299. UBI: attached mtd4 (name "var", size 43 MiB) to ubi1
  300. UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  301. UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  302. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
  303. UBI: good PEBs: 347, bad PEBs: 2, corrupted PEBs: 0
  304. UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
  305. UBI: max/mean erase counter: 79/42, WL threshold: 4096, image sequence number: 48
  306. UBI: available PEBs: 87, total reserved PEBs: 260, PEBs reserved for bad PEB handling: 18
  307. UBI: background thread "ubi_bgt1d" started, PID 678
  308. [  OK  ] Started Attach data ubi partition.
  309.          Starting Check and create ubi partitions...
  310. [  OK  ] Found device /dev/ttymxc4.
  311. [  OK  ] Started Check and create ubi partitions.
  312.          Mounting Mount /var/stat partition...
  313.          Mounting Mount /var/dyn partition...
  314. UBIFS: background thread "ubifs_bgt1_1" started, PID 698
  315. UBIFS: background thread "ubifs_bgt1_0" started, PID 699
  316. RTW: rtl8188eu v5.2.2.4_25483.20171222
  317. RTW: build time: Dec 17 2019 14:59:14
  318. usbcore: registered new interface driver rtl8188eu
  319. [  OK  ] Started Load Kernel Modules.
  320. UBIFS: mounted UBI device 1, volume 1, name "stat"
  321. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  322. UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
  323. UBIFS: reserved for root: 653715 bytes (638 KiB)
  324. UBIFS: media format: w4/r0 (latest is w4/r0), UUID E80C166F-06CC-4970-BC1D-F90E77A0FE3B, small LPT model
  325. UBIFS: mounted UBI device 1, volume 0, name "dyn"
  326. [  OK  UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  327. ] Mounted Mount /var/stat partition.
  328. UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
  329. UBIFS: reserved for root: 653715 bytes (638 KiB)
  330. UBIFS: media format: w4/r0 (latest is w4/r0), UUID 30205726-B785-418B-A836-DB1A7803510D, small LPT model
  331. [  OK  ] Mounted Mount /var/dyn partition.
  332. [  OK  ] Reached target Local File Systems.
  333.          Starting Recreate Volatile Files and Directories...
  334. [  OK  ] Started Recreate Volatile Files and Directories.
  335. [  OK  ] Reached target System Initialization.
  336. [  OK  ] Listening on sshd.socket.
  337. [  OK  ] Listening on D-Bus System Message Bus Socket.
  338. [  OK  ] Reached target Sockets.
  339. [  OK  ] Reached target Basic System.
  340.          Starting Backup service for configuration in /etc...
  341. [  OK  ] Started Backup service for configuration in /etc.
  342.          Starting Mark kernel activated network interfaces as up...
  343.          Starting Serial Getty on ttymxc4...
  344. [  OK  ] Started Serial Getty on ttymxc4.
  345. [  OK  ] Reached target Login Prompts.
  346.          Starting D-Bus System Message Bus...
  347. [  OK  ] Started D-Bus System Message Bus.
  348.          Starting udev Trigger all Massstorage Devices...
  349. [  OK  ] Started udev Trigger all Massstorage Devices.
  350. imx-sdma imx35-sdma: firmware not found
  351. [  OK  ] Started Mark kernel activated network interfaces as up.
  352.          Starting Handle network interface with ifup/ifdown...
  353. fec imx25-fec.0 eth0: no PHY, assuming direct connection to switch
  354. libphy: PHY fixed-0:00 not found
  355. fec imx25-fec.0 eth0: could not attach to PHY
  356. [FAILED] Failed to start Handle network interface with ifup/ifdown.
  357. See 'systemctl status ifupdown.service' for details.
  358. [  OK  ] Reached target Network.
  359. [  OK  ] Reached target Multi-User System.
  360. [  OK  ] Reached target Graphical Interface.
  361.          Starting Say Goodbye to user at Shutdown...
  362.          Starting CoDeSys 3 runtime...
  363. [  OK  ] Started Say Goodbye to user at Shutdown.
  364.  
  365.  _____    _    ____
  366. | ____|  / `  / ___|
  367. |  _|   / _ `| |  _
  368. | |___ / ___ ` |_| |
  369. |_____/_/   `_`____|
  370.  
  371.                   ___  _
  372.   ___  ___ _   _ / _ `/ |
  373.  / _ `/ __| | | | | | | |
  374. |  __/ (__| |_| | |_| | |
  375.  `___|`___|`__,_|`___/|_|
  376.  
  377.  
  378. OSELAS(R)-ecu01-V3.1.10 / ecu01-2012.10.0
  379. ptxdist-2012.10.0/2019-12-15T17:38:41+0100
  380.  
  381. ecu01 login: [  OK  ] Started CoDeSys 3 runtime.
  382. [  OK  ] Reached target Application Mode.
  383. qa_mmc_open()
  384. ecu01-mmc: pin PIN_V_NAMUR_VALID = 0
  385. ecu01-mmc: running in WALTERSCHEID mode (12 volt signals).
  386. ecu01-compcap: irq=70/70, changed interrupt thread pid=811 to 'SCHED_FIFO'/rtprio=95
  387. ecu01-compcap: irq=69/69, changed interrupt thread pid=817 to 'SCHED_FIFO'/rtprio=95
  388. ecu01-compcap: irq=17/17, changed interrupt thread pid=818 to 'SCHED_FIFO'/rtprio=95
  389. qa_mmc_release()
  390. qa_mmc_open()
  391. ecu01-compcap: irq=70/70, changed interrupt thread pid=819 to 'SCHED_FIFO'/rtprio=95
  392. ecu01-compcap: irq=69/69, changed interrupt thread pid=820 to 'SCHED_FIFO'/rtprio=95
  393. ecu01-compcap: irq=17/17, changed interrupt thread pid=821 to 'SCHED_FIFO'/rtprio=95
  394. UBIFS: background thread "ubifs_bgt0_0" started, PID 837
  395. UBIFS: background thread "ubifs_bgt0_0" stops
  396.  
  397.  _____    _    ____
  398. | ____|  / `  / ___|
  399. |  _|   / _ `| |  _
  400. | |___ / ___ ` |_| |
  401. |_____/_/   `_`____|
  402.  
  403.                   ___  _
  404.   ___  ___ _   _ / _ `/ |
  405.  / _ `/ __| | | | | | | |
  406. |  __/ (__| |_| | |_| | |
  407.  `___|`___|`__,_|`___/|_|
  408.  
  409.  
  410. OSELAS(R)-ecu01-V3.1.10 / ecu01-2012.10.0
  411. ptxdist-2012.10.0/2019-12-15T17:38:41+0100
  412.  
  413. ecu01 login: root
  414. Password:
  415. ## Running /etc/profile ...
  416. running /etc/profile.local
  417. Loading /usr/share/keymaps/i386/qwertz/de.map.gz
  418. # Running /etc/bash.bashrc ...
  419. root 10:55:35 : ~ #
  420. root 10:55:36 : ~ # cat /sys/class/tty/console/bind
  421. cat: can't open '/sys/class/tty/console/bind': No such file or directory
  422. root 10:55:50 : ~ # cat /sys/class/tty/console/    
  423. active     dev        power/     subsystem/ uevent    
  424. root 10:55:50 : ~ # cat /sys/class/tty/console/active
  425. ttymxc4
  426. root 10:55:57 : ~ # cd /sys/class/vtconsole/vtcon
  427. vtcon0/ vtcon1/
  428. root 10:55:57 : ~ # cd /sys/class/vtconsole/vtcon
  429. vtcon0/ vtcon1/
  430. root 10:55:57 : ~ # cd /sys/class/vtconsole/vtcon0
  431. root 10:56:14 : /sys/class/vtconsole/vtcon0 # ls -la
  432. total 0
  433. drwxr-xr-x 3 root root    0 Jan  2 10:56 .
  434. drwxr-xr-x 4 root root    0 Jan  2 10:56 ..
  435. -rw-r--r-- 1 root root 4096 Jan  2 10:56 bind
  436. -r--r--r-- 1 root root 4096 Jan  2 10:56 name
  437. drwxr-xr-x 2 root root    0 Jan  2 10:56 power
  438. lrwxrwxrwx 1 root root    0 Jan  2 10:56 subsystem -> ../../../../class/vtconsole
  439. -rw-r--r-- 1 root root 4096 Jan  2 10:56 uevent
  440. root 10:56:15 : /sys/class/vtconsole/vtcon0 # cat bind
  441. 0
  442. root 10:56:20 : /sys/class/vtconsole/vtcon0 # echo 1 >bind
  443. root 10:56:24 : /sys/class/vtconsole/vtcon0 # cat bind
  444. 0
  445. root 10:56:29 : /sys/class/vtconsole/vtcon0 #
  446. (reverse-i-search)`c': cat bind
  447. root 10:56:33 : /sys/class/vtconsole/vtcon0 #
  448. root 10:56:33 : /sys/class/vtconsole/vtcon0 #                                    oot 10:56:34 : /sys/class/vtconsole/vtcon0 # systemctl s 10:56:34 : /sys/class/vtconsole/vtcon0 # systemctl stop codesys3-rt.service
  449.  
  450. UBIFS: background thread "ubifs_bgt0_0" started, PID 860
  451. UBIFS: background thread "ubifs_bgt0_0" stops
  452. qa_mmc_release()
  453. root 10:56:39 : /sys/class/vtconsole/vtcon0 # cat bind
  454. root 10:56:42 : /sys/class/vtconsole/vtcon0 # echo 1 >bind
  455. root 10:56:45 : /sys/class/vtconsole/vtcon0 # cat bind
  456. 0
  457. root 10:56:49 : /sys/class/vtconsole/vtcon0 # v  
  458. valgrind  vi        vim       vmstat    
  459. root 10:56:49 : /sys/class/vtconsole/vtcon0 # cd ../*1
  460. root 10:57:25 : /sys/class/vtconsole/vtcon1 # ls -la
  461. total 0
  462. drwxr-xr-x 3 root root    0 Jan  2 10:56 .
  463. drwxr-xr-x 4 root root    0 Jan  2 10:56 ..
  464. -rw-r--r-- 1 root root 4096 Jan  2 10:57 bind
  465. -r--r--r-- 1 root root 4096 Jan  2 10:57 name
  466. drwxr-xr-x 2 root root    0 Jan  2 10:57 power
  467. lrwxrwxrwx 1 root root    0 Jan  2 10:57 subsystem -> ../../../../class/vtconsole
  468. -rw-r--r-- 1 root root 4096 Jan  2 10:57 uevent
  469. root 10:57:26 : /sys/class/vtconsole/vtcon1 # echo 1 >bind
  470. root 10:57:30 : /sys/class/vtconsole/vtcon1 # cat bind
  471. 1
  472. root 10:57:34 : /sys/class/vtconsole/vtcon1 # cat name
  473. (M) frame buffer device
  474. root 10:57:45 : /sys/class/vtconsole/vtcon1 # ls -l subsystem/vtcon
  475. vtcon0/ vtcon1/
  476. root 10:57:45 : /sys/class/vtconsole/vtcon1 #                      
  477. root 10:57:58 : /sys/class/vtconsole/vtcon1 # modprobe fbcon
  478. modprobe: module fbcon not found in modules.dep
  479. root 10:58:53 : /sys/class/vtconsole/vtcon1 # modprobe fbconsole
  480. modprobe: module fbconsole not found in modules.dep
  481. root 10:58:56 : /sys/class/vtconsole/vtcon1 # lsmod
  482. Module                  Size  Used by
  483. 8188eu               1480087  0
  484. qadriver                2240  0
  485. power_button            2873  0
  486. ecu01_motor_ctl         5183  0
  487. ecu01_mmc               3953  0
  488. ecu01_comp_cap          8120  1 ecu01_mmc
  489. ads7953                 2698  0
  490. root 10:59:00 : /sys/class/vtconsole/vtcon1 # lsmod -h
  491. Module                  Size  Used by
  492. 8188eu               1480087  0
  493. qadriver                2240  0
  494. power_button            2873  0
  495. ecu01_motor_ctl         5183  0
  496. ecu01_mmc               3953  0
  497. ecu01_comp_cap          8120  1 ecu01_mmc
  498. ads7953                 2698  0
  499. root 10:59:03 : /sys/class/vtconsole/vtcon1 # lsmod --help
  500. BusyBox v1.20.1 (2019-12-17 15:35:25 CET) multi-call binary.
  501.  
  502. Usage: lsmod
  503.  
  504. List the currently loaded kernel modules
  505.  
  506. root 10:59:07 : /sys/class/vtconsole/vtcon1 # mod
  507. modinfo   modprobe  
  508. root 10:59:07 : /sys/class/vtconsole/vtcon1 # modinfo
  509. BusyBox v1.20.1 (2019-12-17 15:35:25 CET) multi-call binary.
  510.  
  511. Usage: modinfo [-adlp0] [-F keyword] MODULE
  512.  
  513.         -a              Shortcut for '-F author'
  514.         -d              Shortcut for '-F description'
  515.         -l              Shortcut for '-F license'
  516.         -p              Shortcut for '-F parm'
  517.         -F keyword      Keyword to look for
  518.         -0              Separate output with NULs
  519.  
  520. root 10:59:15 : /sys/class/vtconsole/vtcon1 # modinfo fbconsole
  521. filename:       fbconsole
  522. root 10:59:24 : /sys/class/vtconsole/vtcon1 # modinfo fbcon    
  523. filename:       fbcon
  524. root 10:59:28 : /sys/class/vtconsole/vtcon1 # modinfo blablabugger
  525. filename:       blablabugger
  526. root 10:59:33 : /sys/class/vtconsole/vtcon1 # ls -l /dev/tty
  527. tty      tty16    tty24    tty32    tty40    tty49    tty57    tty8
  528. tty0     tty17    tty25    tty33    tty41    tty5     tty58    tty9
  529. tty1     tty18    tty26    tty34    tty42    tty50    tty59    ttyS1
  530. tty10    tty19    tty27    tty35    tty43    tty51    tty6     ttyS4
  531. tty11    tty2     tty28    tty36    tty44    tty52    tty60    ttymxc1
  532. tty12    tty20    tty29    tty37    tty45    tty53    tty61    ttymxc4
  533. tty13    tty21    tty3     tty38    tty46    tty54    tty62    
  534. tty14    tty22    tty30    tty39    tty47    tty55    tty63    
  535. tty15    tty23    tty31    tty4     tty48    tty56    tty7    
  536. root 10:59:33 : /sys/class/vtconsole/vtcon1 # ls -l /dev/tty
  537. root 11:00:10 : /sys/class/vtconsole/vtcon1 #
  538. root 11:00:10 : /sys/class/vtconsole/vtcon1 #
  539. root 11:00:11 : /sys/class/vtconsole/vtcon1 # dmesg | fgrep fb
  540. imx-fb imx21-fb.0: i.MX Framebuffer driver
  541. root 11:00:17 : /sys/class/vtconsole/vtcon1 # dmesg | fgrep -i fb
  542. imx-fb imx21-fb.0: i.MX Framebuffer driver
  543. root 11:00:28 : /sys/class/vtconsole/vtcon1 # ls -l /boot/
  544. total 4200
  545. -rw-r----- 1 root root   77878 Dec 15 16:53 bootspl.bmp
  546. -rw-r----- 1 root root  228422 Dec 15 16:53 prebox-qaV2.img
  547. -rw-r----- 1 root root  230415 Dec 15 16:53 shutdownspl.ppm
  548. -rw-r----- 1 root root  230443 Dec 15 16:53 update_start.ppm
  549. -rw-r----- 1 root root  230415 Dec 15 16:53 update_stick.ppm
  550. -rw-r--r-- 1 root root 3285840 Dec 17 13:55 zImage
  551. root 11:00:34 : /sys/class/vtconsole/vtcon1 # file /boot/zImage
  552. /boot/zImage: Linux kernel ARM boot executable zImage (little-endian)
  553. root 11:00:52 : /sys/class/vtconsole/vtcon1 # file -k /boot/zImage
  554. /boot/zImage: Linux kernel ARM boot executable zImage (little-endian)
  555. root 11:01:01 : /sys/class/vtconsole/vtcon1 # modprobe fbcon
  556. modprobe: module fbcon not found in modules.dep
  557. root 11:01:46 : /sys/class/vtconsole/vtcon1 # cat /proc/fb
  558. 0 IMX
  559. root 11:05:02 : /sys/class/vtconsole/vtcon1 # history | fgrep cons
  560.   501  cat /sys/class/tty/console/bind
  561.   502  cat /sys/class/tty/console/active
  562.   503  cd /sys/class/vtconsole/vtcon0
  563.   518  modprobe fbconsole
  564.   523  modinfo fbconsole
  565.   533  history | fgrep cons
  566. root 11:34:33 : /sys/class/vtconsole/vtcon1 # cd ..
  567. root 11:34:44 : /sys/class/vtconsole # cd ..
  568. root 11:34:44 : /sys/class # cd ..
  569. root 11:34:45 : /sys # find . -name \*blank\*
  570. ./devices/platform/imx21-fb.0/graphics/fb0/blank
  571. ./module/kernel/parameters/consoleblank
  572. root 11:34:54 : /sys # cat ./devices/platform/imx21-fb.0/graphics/fb0/blank
  573. root 11:35:04 : /sys # ls -l ./devices/platform/imx21-fb.0/graphics/fb0/blank
  574. -rw-r--r-- 1 root root 4096 Jan  2 11:34 ./devices/platform/imx21-fb.0/graphics/foot 11:35:08 : /sys # echo 0 >
  575. root 11:35:08 : /sys # echo 0 > ./devices/platform/imx21-fb.0/graphics/fb0/blank
  576. root 11:35:18 : /sys #
  577. root 11:35:20 : /sys #
  578. root 11:35:20 : /sys # echo 0 > ./devices/platform/imx21-fb.0/graphics/fb0/blank
  579. root 11:35:24 : /sys #
  580. root 11:35:24 : /sys #
  581. root 11:35:24 : /sys #                                                           oot 11:35:25 : /sys # eval "$(/usr/bin/resize)" ; stty cols $C:25 : /sys # eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LINESrse-i-search)`s': echo 0 > ./devices/platform/imLINES ; kill -s WINCH -$$: eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $L
  582. root 11:35:34 : /sys #
  583. root 11:35:35 : /sys #
  584. root 11:35:35 : /sys # ls -l ./devices/platform/imx21-fb.0/graphics/fb0/    
  585. total 0
  586. -rw-r--r-- 1 root root 4096 Jan  2 11:34 bits_per_pixel
  587. -rw-r--r-- 1 root root 4096 Jan  2 11:35 blank
  588. -rw-r--r-- 1 root root 4096 Jan  2 11:34 console
  589. -rw-r--r-- 1 root root 4096 Jan  2 11:34 cursor
  590. -r--r--r-- 1 root root 4096 Jan  2 11:34 dev
  591. lrwxrwxrwx 1 root root    0 Jan  2 11:34 device -> ../../../imx21-fb.0
  592. -rw-r--r-- 1 root root 4096 Jan  2 11:34 mode
  593. -rw-r--r-- 1 root root 4096 Jan  2 11:34 modes
  594. -r--r--r-- 1 root root 4096 Jan  2 11:34 name
  595. -rw-r--r-- 1 root root 4096 Jan  2 11:34 pan
  596. drwxr-xr-x 2 root root    0 Jan  2 11:34 power
  597. -rw-r--r-- 1 root root 4096 Jan  2 11:34 rotate
  598. -rw-r--r-- 1 root root 4096 Jan  2 11:34 state
  599. -r--r--r-- 1 root root 4096 Jan  2 11:34 stride
  600. lrwxrwxrwx 1 root root    0 Jan  2 11:34 subsystem -> ../../../../../class/graphics
  601. -rw-r--r-- 1 root root 4096 Jan  2 11:34 uevent
  602. -rw-r--r-- 1 root root 4096 Jan  2 11:34 virtual_size
  603. root 11:35:46 : /sys # cat ./devices/platform/imx21-fb.0/graphics/fb0/console
  604. root 11:35:59 : /sys # echo hello >./devices/platform/imx21-fb.0/graphics/fb0/console
  605.  
  606. Enter command. Try 'help' for a list of builtin commands
  607. -> break
  608.  
  609. ----------------------
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616. call_poweroff_cmd(): starting power-down sequence...
  617.          Stopping Say Goodbye to user at Shutdown...
  618.          Stopping Mark kernel activated network interfaces as up...
  619. [  OK  ] Stopped Mark kernel activated network interfaces as up.
  620. [  OK  ] Stopped target Application Mode.
  621. [  OK  ] Stopped target Graphical Interface.
  622.          Stopping Backup service for configuration in /etc...
  623. [  OK  ] Stopped Backup service for configuration in /etc.
  624. [  OK  ] Stopped Say Goodbye to user at Shutdown.
  625. [  OK  ] Stopped target Multi-User System.
  626. [  OK  ] Stopped target Remote File Systems.
  627.          Stopping D-Bus System Message Bus...
  628. [  OK  ] Stopped target Network.
  629. [  OK  ] Stopped target Login Prompts.
  630.          Stopping Serial Getty on ttymxc4...
  631. [  OK  ] Stopped D-Bus System Message Bus.
  632. [  OK  ] Stopped Serial Getty on ttymxc4.
  633. [  OK  ] Stopped target Basic System.
  634. [  OK  ] Stopped target Paths.
  635. [  OK  ] Stopped target Timers.
  636. [  OK  ] Stopped target Sockets.
  637. [  OK  ] Closed /dev/initctl Compatibility Named Pipe.
  638. [  OK  ] Closed sshd.socket.
  639. [  OK  ] Closed Delayed Shutdown Socket.
  640. [  OK  ] Closed D-Bus System Message Bus Socket.
  641. [  OK  ] Closed udev Control Socket.
  642. [  OK  ] Stopped target System Initialization.
  643.          Stopping Load Kernel Modules...
  644. [  OK  ] Stopped Load Kernel Modules.
  645.          Stopping Apply Kernel Variables...
  646. [  OK  ] Stopped Apply Kernel Variables.
  647. [  OK  ] Stopped target Local File Systems.
  648.          Unmounting /var/tmp...
  649.          Unmounting /var/lock...
  650.          Unmounting /var/run...
  651.          Unmounting /var/log...
  652.          Unmounting /var/lib...
  653.          Unmounting /media...
  654.          Unmounting /tmp...
  655.          Unmounting Mount /var/stat partition...
  656.          Unmounting Mount /var/dyn partition...
  657.          Stopping Journal Service...
  658. [  OK  ] Unmounted /var/tmp.
  659. systemd[1]: Unmounted /var/tmp.
  660. [  OK  ] Unmounted /var/lock.
  661. systemd[1]: Unmounted /var/lock.
  662. [  OK  ] Unmounted /var/run.
  663. systemd[1]: Unmounted /var/run.
  664. UBIFS: un-mount UBI device 1, volume 0
  665. UBIFS: background thread "ubifs_bgt1_0" stops
  666. UBIFS: un-mount UBI device 1, volume 1
  667. [  OK  UBIFS: background thread "ubifs_bgt1_1" stops
  668. ] Unmounted /var/log.
  669. systemd[1]: Unmounted /var/log.
  670. [  OK  ] Unmounted /var/lib.
  671. systemd[1]: Unmounted /var/lib.
  672. [  OK  ] Unmounted /media.
  673. systemd[1]: Unmounted /media.
  674. [  OK  ] Unmounted /tmp.
  675. systemd[1]: Unmounted /tmp.
  676. [  OK  ] Unmounted Mount /var/stat partition.
  677. systemd[1]: Unmounted Mount /var/stat partition.
  678. [  OK  ] Unmounted Mount /var/dyn partition.
  679. systemd[1]: Unmounted Mount /var/dyn partition.
  680. systemd[1]: Stopping Check and create ubi partitions...
  681.          Stopping Check and create ubi partitions...
  682. systemd-journald[587]: Received SIGTERM
  683. [  OK  ] Stopped Check and create ubi partitions.
  684. systemd[1]: Stopped Check and create ubi partitions.
  685. systemd[1]: Stopping Attach data ubi partition...
  686.          Stopping Attach data ubi partition...
  687. systemd[1]: Starting Unmount All Filesystems.
  688. [  OK  ] Reached target Unmount All Filesystems.
  689. systemd[1]: Reached target Unmount All Filesystems.
  690. systemd[1]: Stopping Local File Systems (Pre).
  691. [  OK  ] Stopped target Local File Systems (Pre).
  692. systemd[1]: Stopped target Local File Systems (Pre).
  693. systemd[1]: Stopping Remount Root and Kernel File Systems...
  694.          Stopping Remount Root and Kernel File Systems...
  695. UBI: detaching mtd4 from ubi1
  696. [  OK  ] Stopped Remount Root and Kernel File Systems.
  697. UBI: mtd4 is detached from ubi1
  698. systemd[1]: Stopped Remount Root and Kernel File Systems.
  699. [  OK  ] Stopped Journal Service.
  700. systemd[1]: Stopped Journal Service.
  701. [  OK  ] Stopped Attach data ubi partition.
  702. systemd[1]: Stopped Attach data ubi partition.
  703. systemd[1]: Starting Shutdown.
  704. [  OK  ] Reached target Shutdown.
  705. systemd[1]: Reached target Shutdown.
  706. systemd[1]: Starting Final Step.
  707. systemd[1]: Reached target Final Step.
  708. systemd[1]: Stopping Journal Socket.
  709. systemd[1]: Closed Journal Socket.
  710. systemd[1]: Starting Reboot...
  711. systemd[1]: Unmounting /...
  712. systemd[1]: Unmounted /.
  713. systemd[1]: Shutting down.
  714. Sending SIGTERM to remaining processes...
  715. Sending SIGKILL to remaining processes...
  716. Unmounting file systems.
  717. All filesystems unmounted.
  718. Deactivating swaps.
  719. All swaps deactivated.
  720. Detaching loop devices.
  721. All loop devices detached.
  722. Detaching DM devices.
  723. All DM deRestarting system.
  724. v?
  725.  
  726. barebox 2019.07.0-20190911-1-EAG_3.01-g4d7b156 #1 Mon Nov 25 15:12:14 CET 2019
  727.  
  728.  
  729. Board: Eckelmann AG ECU01
  730. mdio_bus: miibus0: probed
  731. nand: ONFI flash detected
  732. nand: NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron MT29F1G16ABBEAH4), 128MiB, page size: 2048, OOB size: 64
  733. Bad block table found at page 65472, version 0x01
  734. Bad block table found at page 65408, version 0x01
  735. imx-usb 53ff4400.usb@53ff4400.of: USB EHCI 1.00
  736. imxfb imxfb: i.MX Framebuffer driver
  737. registered as fbconsole0
  738. malloc space: 0x83e7de60 -> 0x87cfbcbf (size 62.5 MiB)
  739. running /env/bin/init...
  740. Check if Memory is flashbased ...
  741. __PASS__
  742.  
  743. Hit CTRL-C to stop autoboot:    0
  744. __DEVELOPER_MODE__ENABLED__
  745. nv variable modified, will save nv variables on shutdown
  746. usb: USB: scanning bus for devices...
  747. usb: 1 USB Device(s) found
  748. usb: USB: scanning bus for devices...
  749. usb: 1 USB Device(s) found
  750. running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed
  751. usb: USB: scanning bus for devices...
  752. usb: 1 USB Device(s) found
  753. running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed
  754. Booting entry 'nand'
  755. ubi0: scanning is finished
  756. ubi0 warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 6, need 20
  757. ubi0: registering /dev/nand0.root.ubi
  758. ubi0: registering root as /dev/nand0.root.ubi.root
  759. ubi0: attached mtd0 (name "nand0.root", size 80 MiB) to ubi0
  760. ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  761. ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  762. ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
  763. ubi0: good PEBs: 640, bad PEBs: 0, corrupted PEBs: 0
  764. ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
  765. ubi0: max/mean erase counter: 104/69, WL threshold: 4096, image sequence number: 24185
  766. ubi0: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 6
  767. UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode
  768. UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  769. UBIFS (ubi0:0): FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
  770. UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
  771. UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 843efdb8, small LPT model
  772. usb: USB: scanning bus for devices...
  773. usb: 1 USB Device(s) found
  774. running automount command 'usb && if [ -e /dev/disk0.0 ]; then mount /dev/disk0.0 /mnt/usbstorage; elif [ -e /dev/disk0 ]; then mount /dev/disk0 /mnt/usbstorage; fi' failed
  775.  
  776. Loading ARM Linux zImage '/mnt/nand0-root/boot/zImage'
  777. commandline:  console=ttymxc4,115200n consoleblank=0   lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048
  778. arch_number: 8017
  779. nv variables modified, saving them
  780. Booting Linux on physical CPU 0x0
  781. Initializing cgroup subsys cpuset
  782. Initializing cgroup subsys cpu
  783. Initializing cgroup subsys cpuacct
  784. Linux version 3.10.108-rt123-g9de6c66 (rmainz@vm) (gcc version 4.7.2 (OSELAS.Toolchain-2012.12.0) ) #1 PREEMPT RT Tue Dec 17 14:55:12 CET 2019
  785. CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
  786. CPU: VIVT data cache, VIVT instruction cache
  787. Machine: Eckelmann ECU01
  788. Memory policy: ECC disabled, Data cache writeback
  789. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
  790. Kernel command line: console=ttymxc4,115200n consoleblank=0   lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048
  791. PID hash table entries: 512 (order: -1, 2048 bytes)
  792. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  793. Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  794. Memory: 128MB = 128MB total
  795. Memory: 123252k/123252k available, 7820k reserved, 0K highmem
  796. Virtual kernel memory layout:
  797.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  798.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  799.     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
  800.     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
  801.     modules : 0xbf000000 - 0xc0000000   (  16 MB)
  802.       .text : 0xc0008000 - 0xc05d7eac   (5952 kB)
  803.       .init : 0xc05d8000 - 0xc06119e4   ( 231 kB)
  804.       .data : 0xc0612000 - 0xc064c8a0   ( 235 kB)
  805.        .bss : 0xc064c8a0 - 0xc067e978   ( 201 kB)
  806. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  807. Preemptible hierarchical RCU implementation.
  808.         Dump stacks of tasks blocking RCU-preempt GP.
  809. NR_IRQS:16 nr_irqs:16 16
  810. MXC IRQ initialized
  811. sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 64585ms
  812. Console: colour dummy device 80x30
  813. Calibrating delay loop (skipped) preset value.. 398.13 BogoMIPS (lpj=995328)
  814. pid_max: default: 32768 minimum: 301
  815. Mount-cache hash table entries: 512
  816. Initializing cgroup subsys freezer
  817. Initializing cgroup subsys blkio
  818. CPU: Testing write buffer coherency: ok
  819. Setting up static identity map for 0xc0484488 - 0xc04844e0
  820. devtmpfs: initialized
  821. NET: Registered protocol family 16
  822. DMA: preallocated 256 KiB pool for atomic coherent allocations
  823. bio: create slab <bio-0> at 0
  824. SCSI subsystem initialized
  825. usbcore: registered new interface driver usbfs
  826. usbcore: registered new interface driver hub
  827. usbcore: registered new device driver usb
  828. i2c i2c-0: IMX I2C adapter registered
  829. pps_core: LinuxPPS API ver. 1 registered
  830. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  831. PTP clock support registered
  832. cfg80211: Calling CRDA to update world regulatory domain
  833. Switching to clocksource mxc_timer1
  834. NET: Registered protocol family 2
  835. TCP established hash table entries: 1024 (order: 1, 8192 bytes)
  836. TCP bind hash table entries: 1024 (order: 2, 24576 bytes)
  837. TCP: Hash tables configured (established 1024 bind 1024)
  838. TCP: reno registered
  839. UDP hash table entries: 256 (order: 2, 16384 bytes)
  840. UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
  841. NET: Registered protocol family 1
  842. RPC: Registered named UNIX socket transport module.
  843. RPC: Registered udp transport module.
  844. RPC: Registered tcp transport module.
  845. RPC: Registered tcp NFSv4.1 backchannel transport module.
  846. NFS: Registering the id_resolver key type
  847. Key type id_resolver registered
  848. Key type id_legacy registered
  849. msgmni has been set to 240
  850. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
  851. io scheduler noop registered
  852. io scheduler cfq registered (default)
  853. imx-fb imx21-fb.0: i.MX Framebuffer driver
  854. Console: switching to colour frame buffer device 40x30
  855. imx-sdma imx35-sdma: initialized
  856. Serial: IMX driver
  857. imx21-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 48) is a IMX
  858. imx21-uart.4: ttymxc4 at MMIO 0x5002c000 (irq = 56) is a IMX
  859. console [ttymxc4] enabled
  860. loop: module loaded
  861. Trying ONFI probe in 16 bits mode, aborting !
  862. NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit), 128MiB, page size: 2048, OOB size: 64
  863. Scanning device for bad blocks
  864. Bad eraseblock 1022 at 0x000007fc0000
  865. Bad eraseblock 1023 at 0x000007fe0000
  866. 5 cmdlinepart partitions found on MTD device mxc_nand
  867. Creating 5 MTD partitions on "mxc_nand":
  868. 0x000000000000-0x000000100000 : "barebox"
  869. 0x000000100000-0x000000200000 : "bareboxenv"
  870. 0x000000200000-0x000000460000 : "history"
  871. 0x000000460000-0x000005460000 : "root"
  872. 0x000005460000-0x000008000000 : "var"
  873. spi_imx imx35-cspi.0: master is unqueued, this is deprecated
  874. spi_imx imx35-cspi.0: probed
  875. spi_imx imx35-cspi.1: master is unqueued, this is deprecated
  876. spi_imx imx35-cspi.1: probed
  877. fec imx25-fec.0 (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
  878. fec imx25-fec.0 (unregistered net_device): Using random MAC address: d6:d4:f7:dd:87:56
  879. libphy: fec_enet_mii_bus: probed
  880. usbcore: registered new interface driver rtl8192cu
  881. usbcore: registered new interface driver rt2800usb
  882. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  883. ehci-mxc: Freescale On-Chip EHCI Host driver
  884. mxc-ehci mxc-ehci.1: EHCI Host Controller
  885. mxc-ehci mxc-ehci.1: new USB bus registered, assigned bus number 1
  886. mxc-ehci mxc-ehci.1: irq 51, io mem 0x53ff4400
  887. mxc-ehci mxc-ehci.1: USB 2.0 started, EHCI 1.00
  888. usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
  889. usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  890. usb usb1: Product: EHCI Host Controller
  891. usb usb1: Manufacturer: Linux 3.10.108-rt123-g9de6c66 ehci_hcd
  892. usb usb1: SerialNumber: mxc-ehci.1
  893. hub 1-0:1.0: USB hub found
  894. hub 1-0:1.0: 1 port detected
  895. usbcore: registered new interface driver usb-storage
  896. input: imx-keypad as /devices/platform/imx-keypad/input/input0
  897. rtc-pcf2123 spi1.0: chip found, driver version 0.6
  898. rtc-pcf2123 spi1.0: spiclk 4000 KHz.
  899. rtc-pcf2123 spi1.0: rtc core: registered rtc-pcf2123 as rtc0
  900. i2c /dev entries driver
  901. cpuidle: using governor ladder
  902. sdhci: Secure Digital Host Controller Interface driver
  903. sdhci: Copyright(c) Pierre Ossman
  904. sdhci-pltfm: SDHCI platform and OF driver helper
  905. usbcore: registered new interface driver usbhid
  906. usbhid: USB HID core driver
  907. TCP: cubic registered
  908. NET: Registered protocol family 10
  909. sit: IPv6 over IPv4 tunneling driver
  910. NET: Registered protocol family 17
  911. Key type dns_resolver registered
  912. UBI: attaching mtd3 to ubi0
  913. UBI: scanning is finished
  914. UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 8, need 20
  915. UBI: attached mtd3 (name "root", size 80 MiB) to ubi0
  916. UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  917. UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  918. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
  919. UBI: good PEBs: 640, bad PEBs: 0, corrupted PEBs: 0
  920. UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
  921. UBI: max/mean erase counter: 104/69, WL threshold: 4096, image sequence number: 24185
  922. UBI: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 8
  923. UBI: background thread "ubi_bgt0d" started, PID 564
  924. rtc-pcf2123 spi1.0: setting system clock to 2020-01-02 11:43:39 UTC (1577965419)
  925. UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode
  926. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  927. UBIFS: FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
  928. UBIFS: reserved for root: 0 bytes (0 KiB)
  929. UBIFS: media format: w4/r0 (latest is w4/r0), UUID CCA32AB6-CBD9-481A-8B39-705ED27E195D, small LPT model
  930. VFS: Mounted root (ubifs filesystem) readonly on device 0:12.
  931. devtmpfs: mounted
  932. Freeing unused kernel memory: 228K
  933. systemd[1]: systemd 204 running in system mode. (-PAM +LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT -LIBCRYPTSETUP -GCRYPT -ACL -XZ)
  934.  
  935. Welcome to PTXdist / EAG-ecu01!
  936.  
  937. systemd[1]: Set hostname to <ecu01>.
  938. systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
  939. systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
  940. systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  941. systemd[1]: Expecting device dev-ttymxc4.device...
  942.          Expecting device dev-ttymxc4.device...
  943. systemd[1]: Starting Remote File Systems.
  944. [  OK  ] Reached target Remote File Systems.
  945. systemd[1]: Reached target Remote File Systems.
  946. systemd[1]: Starting Timers.
  947. [  OK  ] Reached target Timers.
  948. systemd[1]: Reached target Timers.
  949. systemd[1]: Starting Delayed Shutdown Socket.
  950. [  OK  ] Listening on Delayed Shutdown Socket.
  951. systemd[1]: Listening on Delayed Shutdown Socket.
  952. systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
  953. [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
  954. systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
  955. systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
  956. systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
  957. systemd[1]: Starting Paths.
  958. [  OK  ] Reached target Paths.
  959. systemd[1]: Reached target Paths.
  960. systemd[1]: Starting udev Kernel Socket.
  961. [  OK  ] Listening on udev Kernel Socket.
  962. systemd[1]: Listening on udev Kernel Socket.
  963. systemd[1]: Starting udev Control Socket.
  964. [  OK  ] Listening on udev Control Socket.
  965. systemd[1]: Listening on udev Control Socket.
  966. systemd[1]: Starting Journal Socket.
  967. [  OK  ] Listening on Journal Socket.
  968. systemd[1]: Listening on Journal Socket.
  969. systemd[1]: Starting udev Coldplug TTY Devices for Getty...
  970.          Starting udev Coldplug TTY Devices for Getty...
  971. systemd[1]: Starting Apply Kernel Variables...
  972.          Starting Apply Kernel Variables...
  973. systemd[1]: Starting Journal Service...
  974.          Starting Journal Service...
  975. [  OK  ] Started Journal Service.
  976. systemd[1]: Started Journal Service.
  977. systemd[1]: Starting Load Kernel Modules...
  978.          Starting Load Kernel Modules...
  979. systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
  980. systemd[1]: Started Set Up Additional Binary Formats.
  981. systemd[1]: Starting Create static device nodes in /dev...
  982.          Starting Create static device nodes in /dev...
  983. systemd[1]: Starting Attach data ubi partition...
  984.          Starting Attach data ubi partition...
  985. systemd[1]: Starting File System Check on Root Device...
  986.          Starting File System Check on Root Device...
  987. [  OK  ] Started Apply Kernel Variables.
  988. UBI: attaching mtd4 to ubi1
  989. [  OK  ] Started File System Check on Root Device.
  990.          Starting Remount Root and Kernel File Systems...
  991. systemd-journald[587]: Failed to resolve 'systemd-journal' group: No such process
  992. ads7953_init
  993. [  OK  ] Started udev Coldplug TTY Devices for Getty.
  994. [  OK  ] Started Create static device nodes in /dev.
  995.          Starting udev Kernel Device Manager...
  996. mmc_init() called
  997. qa_driver_init() called
  998. systemd-modules-load[590]: Inserted module 'qadriver'
  999. systemd-udevd[622]: starting version 204
  1000. [  OK  ] Started udev Kernel Device Manager.
  1001. [  OK  ] Started Remount Root and Kernel File Systems.
  1002. [  OK  ] Reached target Local File Systems (Pre).
  1003.          Mounting /var/tmp...
  1004.          Mounting /var/lock...
  1005.          Mounting /var/run...
  1006.          Mounting /var/log...
  1007.          Mounting /var/lib...
  1008.          Mounting /media...
  1009.          Mounting /tmp...
  1010. [  OK  ] Mounted /var/tmp.
  1011. [  OK  ] Mounted /var/lock.
  1012. [  OK  ] Mounted /var/run.
  1013. [  OK  ] Mounted /var/log.
  1014. [  OK  ] Mounted /var/lib.
  1015. UBI: scanning is finished
  1016. [  OK  ] Mounted /media.
  1017. [  OK  ] Mounted /tmp.
  1018. UBI: attached mtd4 (name "var", size 43 MiB) to ubi1
  1019. UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  1020. UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  1021. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
  1022. UBI: good PEBs: 347, bad PEBs: 2, corrupted PEBs: 0
  1023. UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
  1024. UBI: max/mean erase counter: 79/42, WL threshold: 4096, image sequence number: 48
  1025. UBI: available PEBs: 87, total reserved PEBs: 260, PEBs reserved for bad PEB handling: 18
  1026. UBI: background thread "ubi_bgt1d" started, PID 676
  1027. [  OK  ] Started Attach data ubi partition.
  1028.          Starting Check and create ubi partitions...
  1029. [  OK  ] Found device /dev/ttymxc4.
  1030. [  OK  ] Started Check and create ubi partitions.
  1031.          Mounting Mount /var/stat partition...
  1032.          Mounting Mount /var/dyn partition...
  1033. UBIFS: background thread "ubifs_bgt1_1" started, PID 695
  1034. UBIFS: background thread "ubifs_bgt1_0" started, PID 697
  1035. RTW: rtl8188eu v5.2.2.4_25483.20171222
  1036. RTW: build time: Dec 17 2019 14:59:14
  1037. usbcore: registered new interface driver rtl8188eu
  1038. UBIFS: mounted UBI device 1, volume 1, name "stat"
  1039. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  1040. UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
  1041. [  OK  UBIFS: reserved for root: 653715 bytes (638 KiB)
  1042. ] Started Load Kernel Modules.
  1043. UBIFS: media format: w4/r0 (latest is w4/r0), UUID E80C166F-06CC-4970-BC1D-F90E77A0FE3B, small LPT model
  1044. [  OK  ] Mounted Mount /var/stat partition.
  1045. UBIFS: mounted UBI device 1, volume 0, name "dyn"
  1046. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  1047. UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
  1048. UBIFS: reserved for root: 653715 bytes (638 KiB)
  1049. UBIFS: media format: w4/r0 (latest is w4/r0), UUID 30205726-B785-418B-A836-DB1A7803510D, small LPT model
  1050. [  OK  ] Mounted Mount /var/dyn partition.
  1051. [  OK  ] Reached target Local File Systems.
  1052.          Starting Recreate Volatile Files and Directories...
  1053. [  OK  ] Started Recreate Volatile Files and Directories.
  1054. [  OK  ] Reached target System Initialization.
  1055. [  OK  ] Listening on sshd.socket.
  1056. [  OK  ] Listening on D-Bus System Message Bus Socket.
  1057. [  OK  ] Reached target Sockets.
  1058. [  OK  ] Reached target Basic System.
  1059.          Starting Backup service for configuration in /etc...
  1060. [  OK  ] Started Backup service for configuration in /etc.
  1061.          Starting Mark kernel activated network interfaces as up...
  1062.          Starting Serial Getty on ttymxc4...
  1063. [  OK  ] Started Serial Getty on ttymxc4.
  1064. [  OK  ] Reached target Login Prompts.
  1065.          Starting D-Bus System Message Bus...
  1066. [  OK  ] Started D-Bus System Message Bus.
  1067.          Starting udev Trigger all Massstorage Devices...
  1068. [  OK  ] Started udev Trigger all Massstorage Devices.
  1069. imx-sdma imx35-sdma: firmware not found
  1070. [  OK  ] Started Mark kernel activated network interfaces as up.
  1071.          Starting Handle network interface with ifup/ifdown...
  1072. fec imx25-fec.0 eth0: no PHY, assuming direct connection to switch
  1073. libphy: PHY fixed-0:00 not found
  1074. fec imx25-fec.0 eth0: could not attach to PHY
  1075. [FAILED] Failed to start Handle network interface with ifup/ifdown.
  1076. See 'systemctl status ifupdown.service' for details.
  1077. [  OK  ] Reached target Network.
  1078. [  OK  ] Reached target Multi-User System.
  1079. [  OK  ] Reached target Graphical Interface.
  1080.          Starting Say Goodbye to user at Shutdown...
  1081.          Starting CoDeSys 3 runtime...
  1082. [  OK  ] Started Say Goodbye to user at Shutdown.
  1083.  
  1084.  _____    _    ____
  1085. | ____|  / `  / ___|
  1086. |  _|   / _ `| |  _
  1087. | |___ / ___ ` |_| |
  1088. |_____/_/   `_`____|
  1089.  
  1090.                   ___  _
  1091.   ___  ___ _   _ / _ `/ |
  1092.  / _ `/ __| | | | | | | |
  1093. |  __/ (__| |_| | |_| | |
  1094.  `___|`___|`__,_|`___/|_|
  1095.  
  1096.  
  1097. OSELAS(R)-ecu01-V3.1.10 / ecu01-2012.10.0
  1098. ptxdist-2012.10.0/2019-12-15T17:38:41+0100
  1099.  
  1100. ecu01 login: [  OK  ] Started CoDeSys 3 runtime.
  1101. [  OK  ] Reached target Application Mode.
  1102. qa_mmc_open()
  1103. ecu01-mmc: pin PIN_V_NAMUR_VALID = 0
  1104. ecu01-mmc: running in WALTERSCHEID mode (12 volt signals).
  1105. ecu01-compcap: irq=70/70, changed interrupt thread pid=809 to 'SCHED_FIFO'/rtprio=95
  1106. ecu01-compcap: irq=69/69, changed interrupt thread pid=815 to 'SCHED_FIFO'/rtprio=95
  1107. ecu01-compcap: irq=17/17, changed interrupt thread pid=816 to 'SCHED_FIFO'/rtprio=95
  1108. qa_mmc_release()
  1109. qa_mmc_open()
  1110. ecu01-compcap: irq=70/70, changed interrupt thread pid=817 to 'SCHED_FIFO'/rtprio=95
  1111. ecu01-compcap: irq=69/69, changed interrupt thread pid=818 to 'SCHED_FIFO'/rtprio=95
  1112. ecu01-compcap: irq=17/17, changed interrupt thread pid=819 to 'SCHED_FIFO'/rtprio=95
  1113. UBIFS: background thread "ubifs_bgt0_0" started, PID 835
  1114. UBIFS: background thread "ubifs_bgt0_0" stops
  1115.  
  1116.  _____    _    ____
  1117. | ____|  / `  / ___|
  1118. |  _|   / _ `| |  _
  1119. | |___ / ___ ` |_| |
  1120. |_____/_/   `_`____|
  1121.  
  1122.                   ___  _
  1123.   ___  ___ _   _ / _ `/ |
  1124.  / _ `/ __| | | | | | | |
  1125. |  __/ (__| |_| | |_| | |
  1126.  `___|`___|`__,_|`___/|_|
  1127.  
  1128.  
  1129. OSELAS(R)-ecu01-V3.1.10 / ecu01-2012.10.0
  1130. ptxdist-2012.10.0/2019-12-15T17:38:41+0100
  1131.  
  1132. ecu01 login: root
  1133. Password:
  1134. ## Running /etc/profile ...
  1135. running /etc/profile.local
  1136. Loading /usr/share/keymaps/i386/qwertz/de.map.gz
  1137. # Running /etc/bash.bashrc ...
  1138. root 11:45:54 : ~ #
  1139. root 11:46:48 : ~ #
  1140. root 11:46:48 : ~ # systemctl stop codesys3-rt.service
  1141. UBIFS: background thread "ubifs_bgt0_0" started, PID 855
  1142. UBIFS: background thread "ubifs_bgt0_0" stops
  1143. qa_mmc_release()
  1144. root 11:46:54 : ~ # cd /sys
  1145. root 11:46:57 : /sys # find . -name bind
  1146. ./bus/i2c/drivers/dummy/bind
  1147. ./bus/i2c/drivers/ad7414/bind
  1148. ./bus/hid/drivers/hid-generic/bind
  1149. ./bus/mmc/drivers/mmc_test/bind
  1150. ./bus/mmc/drivers/mmcblk/bind
  1151. ./bus/spi/drivers/rtc-pcf2123/bind
  1152. ./bus/spi/drivers/spidev/bind
  1153. ./bus/spi/drivers/ads7953_spi_driver/bind
  1154. ./bus/usb/drivers/hub/bind
  1155. ./bus/usb/drivers/usb/bind
  1156. ./bus/usb/drivers/usbfs/bind
  1157. ./bus/usb/drivers/usb-storage/bind
  1158. ./bus/usb/drivers/rt2800usb/bind
  1159. ./bus/usb/drivers/usbhid/bind
  1160. ./bus/usb/drivers/rtl8188eu/bind
  1161. ./bus/usb/drivers/rtl8192cu/bind
  1162. ./bus/scsi/drivers/sd/bind
  1163. ./bus/serio/drivers/atkbd/bind
  1164. ./bus/platform/drivers/fec/bind
  1165. ./bus/platform/drivers/fsl-usb2-mph-dr/bind
  1166. ./bus/platform/drivers/physmap-flash/bind
  1167. ./bus/platform/drivers/platform-lcd/bind
  1168. ./bus/platform/drivers/sdhci-esdhc-imx/bind
  1169. ./bus/platform/drivers/spi_gpio/bind
  1170. ./bus/platform/drivers/alarmtimer/bind
  1171. ./bus/platform/drivers/matrix-keypad/bind
  1172. ./bus/platform/drivers/spi_imx/bind
  1173. ./bus/platform/drivers/gpio-keys-polled/bind
  1174. ./bus/platform/drivers/gpio-keys/bind
  1175. ./bus/platform/drivers/mxc-ehci/bind
  1176. ./bus/platform/drivers/imx-keypad/bind
  1177. ./bus/platform/drivers/mxc-mmc/bind
  1178. ./bus/platform/drivers/mxc_nand/bind
  1179. ./bus/platform/drivers/mxs_phy/bind
  1180. ./bus/platform/drivers/imx-uart/bind
  1181. ./bus/platform/drivers/imx-pwm/bind
  1182. ./bus/platform/drivers/mx25-adc/bind
  1183. ./bus/platform/drivers/gpio-mxc/bind
  1184. ./bus/platform/drivers/basic-mmio-gpio/bind
  1185. ./bus/mdio_bus/drivers/SMSC LAN8710!LAN8720/bind
  1186. ./bus/mdio_bus/drivers/SMSC LAN911x Internal PHY/bind
  1187. ./bus/mdio_bus/drivers/Generic PHY/bind
  1188. ./bus/mdio_bus/drivers/SMSC LAN8187/bind
  1189. ./bus/mdio_bus/drivers/SMSC LAN8700/bind
  1190. ./bus/mdio_bus/drivers/SMSC LAN83C185/bind
  1191. ./devices/virtual/vtconsole/vtcon0/bind
  1192. ./devices/virtual/vtconsole/vtcon1/bind
  1193.  
  1194. root 11:47:03 : /sys # find . -name bind | egrep 'fb|con'
  1195. ./devices/virtual/vtconsole/vtcon0/bind
  1196. ./devices/virtual/vtconsole/vtcon1/bind
  1197. root 11:47:12 : /sys # ls -l /dev | fgrep vt
  1198. root 11:47:30 : /sys # ls -l /dev | fgrep v
  1199. crw-r--r-T 1 root root 262,   0 Jan  2 11:43 qadriver
  1200. crw------- 1 root root 153,   0 Jan  1  1970 spidev0.3
  1201. crw------- 1 root root 153,   1 Jan  1  1970 spidev1.1
  1202. crw------- 1 root root   7,   0 Jan  1  1970 vcs
  1203. crw------- 1 root root   7,   1 Jan  1  1970 vcs1
  1204. crw------- 1 root root   7, 128 Jan  1  1970 vcsa
  1205. crw------- 1 root root   7, 129 Jan  1  1970 vcsa1
  1206. root 11:47:31 : /sys # cat /dev/vcs1
  1207.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 root 11:47:43 : /sys #
  1208. root 11:47:46 : /sys # cat /dev/vcs
  1209.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 root 11:47:49 : /sys #
  1210. root 11:47:51 : /sys # cat /dev/vcsa
  1211. (                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                root 11:47:57 : /sys #                                                       oot 11:48:16 : /sys # eval "$(/usr/bin/
  1212. root 11:48:16 : /sys # eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LINES
  1213. root 11:48:18 : /sys # : eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LIN
  1214. root 11:48:19 : /sys #
  1215. root 11:48:20 : /sys #
  1216. root 11:48:20 : /sys # continue
  1217. block/    bus/      class/    dev/      devices/  firmware/ fs/       kernel/   module/   power/    
  1218. root 11:48:20 : /sys # cd      
  1219. root 11:53:19 : ~ # set
  1220. set          set-ssid     setconsole   setfacl      setfattr     setkeycodes  setserial    
  1221. root 11:53:19 : ~ # lsmod
  1222. Module                  Size  Used by
  1223. 8188eu               1480087  0
  1224. qadriver                2240  0
  1225. power_button            2873  0
  1226. ecu01_motor_ctl         5183  0
  1227. ecu01_mmc               3953  0
  1228. ecu01_comp_cap          8120  1 ecu01_mmc
  1229. ads7953                 2698  0
  1230. root 11:54:55 : ~ # lsmod -a
  1231. Module                  Size  Used by
  1232. 8188eu               1480087  0
  1233. qadriver                2240  0
  1234. power_button            2873  0
  1235. ecu01_motor_ctl         5183  0
  1236. ecu01_mmc               3953  0
  1237. ecu01_comp_cap          8120  1 ecu01_mmc
  1238. ads7953                 2698  0
  1239. root 11:54:58 : ~ # gunzip -c /proc/config.gz | fgrep -i fb
  1240. CONFIG_IMX_HAVE_PLATFORM_IMX_FB=y
  1241. CONFIG_FB=y
  1242. # CONFIG_FB_DDC is not set
  1243. # CONFIG_FB_BOOT_VESA_SUPPORT is not set
  1244. CONFIG_FB_CFB_FILLRECT=y
  1245. CONFIG_FB_CFB_COPYAREA=y
  1246. CONFIG_FB_CFB_IMAGEBLIT=y
  1247. # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
  1248. # CONFIG_FB_SYS_FILLRECT is not set
  1249. # CONFIG_FB_SYS_COPYAREA is not set
  1250. # CONFIG_FB_SYS_IMAGEBLIT is not set
  1251. # CONFIG_FB_FOREIGN_ENDIAN is not set
  1252. # CONFIG_FB_SYS_FOPS is not set
  1253. # CONFIG_FB_SVGALIB is not set
  1254. # CONFIG_FB_MACMODES is not set
  1255. # CONFIG_FB_BACKLIGHT is not set
  1256. CONFIG_FB_MODE_HELPERS=y
  1257. # CONFIG_FB_TILEBLITTING is not set
  1258. CONFIG_FB_IMX=y
  1259. # CONFIG_FB_S1D13XXX is not set
  1260. # CONFIG_FB_SMSCUFX is not set
  1261. # CONFIG_FB_UDL is not set
  1262. # CONFIG_FB_GOLDFISH is not set
  1263. # CONFIG_FB_VIRTUAL is not set
  1264. # CONFIG_FB_METRONOME is not set
  1265. # CONFIG_FB_BROADSHEET is not set
  1266. # CONFIG_FB_AUO_K190X is not set
  1267. # CONFIG_FB_SIMPLE is not set
  1268. # CONFIG_FB_SSD1307 is not set
  1269. root 11:55:23 : ~ # gunzip -c /proc/config.gz | fgrep -i frame
  1270. # Frame buffer hardware drivers
  1271. CONFIG_FRAMEBUFFER_CONSOLE=y
  1272. # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
  1273. # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
  1274. # Common Clock Framework
  1275. CONFIG_FRAME_WARN=1024
  1276. CONFIG_FRAME_POINTER=y
  1277. root 11:56:09 : ~ # modprobe fbcon
  1278. modprobe: module fbcon not found in modules.dep
  1279. root 11:56:47 : ~ # cat $(readlink -f /sys/class/graphics/fb0/name)
  1280. BusyBox v1.20.1 (2019-12-17 15:35:25 CET) multi-call binary.
  1281.  
  1282. Usage: readlink FILE
  1283.  
  1284. Display the value of a symlink
  1285.  
  1286.  
  1287.  
  1288.  
  1289. root 11:57:11 : ~ # cat /sys/class/graphics/fb0/name
  1290. IMX
  1291. root 11:57:18 : ~ # ls -l //sys/class/graphics/fb0/name
  1292. -r--r--r-- 1 root root 4096 Jan  2 11:47 //sys/class/graphics/fb0/name
  1293. root 11:58:01 : ~ # ls -l /sys/class/vtconsole/vtcon1/bind
  1294. -rw-r--r-- 1 root root 4096 Jan  2 11:47 /sys/class/vtconsole/vtcon1/bind
  1295. root 11:58:19 : ~ # cat /sys/class/vtconsole/vtcon1/bind
  1296. 1
  1297. root 11:58:24 : ~ # cat /sys/class/vtconsole/vtcon0/bind
  1298. 0
  1299. (failed reverse-i-search)`blank ': rootfs.writable
  1300. root 12:03:07 : ~ #
  1301. (failed reverse-i-search)`blank': rootfs.writable
  1302. root 12:03:10 : ~ # find /sys -name blank
  1303. /sys/devices/platform/imx21-fb.0/graphics/fb0/blank
  1304. root 12:03:22 : ~ # echo 0 >/sys/devices/platform/imx21-fb.0/graphics/fb0/blank
  1305. root 12:03:30 : ~ # find /sys -name fb0
  1306. /sys/devices/platform/imx21-fb.0/graphics/fb0
  1307. /sys/class/graphics/fb0
  1308. root 12:03:44 : ~ # ls -l /sys/class/graphics/fb0
  1309. lrwxrwxrwx 1 root root 0 Jan  2 11:47 /sys/class/graphics/fb0 -> ../../devices/platform/imx21-fb.0/graphics/fb0
  1310. root 12:03:49 : ~ # ls -l /sys/devices/platform/imx21-fb.0/graphics/fb0
  1311. total 0
  1312. -rw-r--r-- 1 root root 4096 Jan  2 11:47 bits_per_pixel
  1313. -rw-r--r-- 1 root root 4096 Jan  2 12:03 blank
  1314. -rw-r--r-- 1 root root 4096 Jan  2 11:47 console
  1315. -rw-r--r-- 1 root root 4096 Jan  2 11:47 cursor
  1316. -r--r--r-- 1 root root 4096 Jan  2 11:47 dev
  1317. lrwxrwxrwx 1 root root    0 Jan  2 11:47 device -> ../../../imx21-fb.0
  1318. -rw-r--r-- 1 root root 4096 Jan  2 11:47 mode
  1319. -rw-r--r-- 1 root root 4096 Jan  2 11:47 modes
  1320. -r--r--r-- 1 root root 4096 Jan  2 11:47 name
  1321. -rw-r--r-- 1 root root 4096 Jan  2 11:47 pan
  1322. drwxr-xr-x 2 root root    0 Jan  2 11:47 power
  1323. -rw-r--r-- 1 root root 4096 Jan  2 11:47 rotate
  1324. -rw-r--r-- 1 root root 4096 Jan  2 11:47 state
  1325. -r--r--r-- 1 root root 4096 Jan  2 11:47 stride
  1326. lrwxrwxrwx 1 root root    0 Jan  2 11:47 subsystem -> ../../../../../class/graphics
  1327. -rw-r--r-- 1 root root 4096 Jan  2 11:47 uevent
  1328. -rw-r--r-- 1 root root 4096 Jan  2 11:47 virtual_size
  1329. root 12:03:58 : ~ # ls -l /sys/devices/platform/imx21-fb.0/graphics/fb0/dev
  1330. dev     device/
  1331. root 12:03:58 : ~ # cat /sys/devices/platform/imx21-fb.0/graphics/fb0/dev
  1332. 29:0
  1333. root 12:04:14 : ~ # cat /sys/devices/platform/imx21-fb.0/graphics/fb0/console
  1334. root 12:04:22 : ~ # cat /sys/devices/platform/imx21-fb.0/graphics/fb0/virtual_size
  1335. 320,240
  1336. root 12:04:37 : ~ # cat /sys/devices/platform/imx21-fb.0/graphics/fb0/state        
  1337. 0
  1338. root 12:04:47 : ~ # cat /sys/devices/platform/imx21-fb.0/graphics/fb0/              
  1339. cat: read error: Is a directory
  1340. root 12:04:57 : ~ #
  1341. root 12:05:07 : ~ # cat /sys/devices/platform/imx21-fb.0/graphics/fb0/power/
  1342. cat: read error: Is a directory
  1343. root 12:05:11 : ~ # ls -l  /sys/devices/platform/imx21-fb.0/graphics/fb0/power/
  1344. total 0
  1345. root 12:05:16 : ~ # find /sys -name \*fb\*con\*
  1346. /sys/devices/virtual/graphics/fbcon
  1347. /sys/class/graphics/fbcon
  1348. root 12:06:05 : ~ # ls -l  /sys/class/graphics/fbcon/
  1349. total 0
  1350. -rw-r--r-- 1 root root 4096 Jan  2 11:47 cursor_blink
  1351. drwxr-xr-x 2 root root    0 Jan  2 11:47 power
  1352. -rw-r--r-- 1 root root 4096 Jan  2 11:47 rotate
  1353. --w------- 1 root root 4096 Jan  2 11:47 rotate_all
  1354. lrwxrwxrwx 1 root root    0 Jan  2 11:47 subsystem -> ../../../../class/graphics
  1355. -rw-r--r-- 1 root root 4096 Jan  2 11:47 uevent
  1356. root 12:06:16 : ~ # cat  /sys/class/graphics/fbcon/cursor_blink
  1357. 1
  1358. root 12:06:28 : ~ # echo 0 > /sys/class/graphics/fbcon/cursor_blink
  1359. root 12:06:36 : ~ # echo 2 > /sys/class/graphics/fbcon/cursor_blink
  1360. root 12:06:40 : ~ # cat  /sys/class/graphics/fbcon/cursor_blink
  1361. 1
  1362. root 12:06:43 : ~ # ls -l /sys/class/graphics/fbcon
  1363. lrwxrwxrwx 1 root root 0 Jan  2 11:47 /sys/class/graphics/fbcon -> ../../devices/virtual/graphics/fbcon
  1364. root 12:07:00 : ~ # ls -l /sys/devices/virtual/graphics/fbcon/
  1365. cursor_blink  power/        rotate        rotate_all    subsystem/    uevent        
  1366. root 12:07:00 : ~ # ls -l /sys/devices/virtual/graphics/fbcon/
  1367. total 0
  1368. -rw-r--r-- 1 root root 4096 Jan  2 12:06 cursor_blink
  1369. drwxr-xr-x 2 root root    0 Jan  2 11:47 power
  1370. -rw-r--r-- 1 root root 4096 Jan  2 11:47 rotate
  1371. --w------- 1 root root 4096 Jan  2 11:47 rotate_all
  1372. lrwxrwxrwx 1 root root    0 Jan  2 11:47 subsystem -> ../../../../class/graphics
  1373. -rw-r--r-- 1 root root 4096 Jan  2 11:47 uevent
  1374. root 12:07:09 : ~ # ls -l /dev | fgrep tty
  1375. crw-rw-rw- 1 root root   5,   0 Jan  1  1970 tty
  1376. crw------- 1 root root   4,   0 Jan  2 11:46 tty0
  1377. crw------- 1 root root   4,   1 Jan  1  1970 tty1
  1378. crw------- 1 root root   4,  10 Jan  1  1970 tty10
  1379. crw------- 1 root root   4,  11 Jan  1  1970 tty11
  1380. crw------- 1 root root   4,  12 Jan  1  1970 tty12
  1381. crw------- 1 root root   4,  13 Jan  1  1970 tty13
  1382. crw------- 1 root root   4,  14 Jan  1  1970 tty14
  1383. crw------- 1 root root   4,  15 Jan  1  1970 tty15
  1384. crw------- 1 root root   4,  16 Jan  1  1970 tty16
  1385. crw------- 1 root root   4,  17 Jan  1  1970 tty17
  1386. crw------- 1 root root   4,  18 Jan  1  1970 tty18
  1387. crw------- 1 root root   4,  19 Jan  1  1970 tty19
  1388. crw------- 1 root root   4,   2 Jan  1  1970 tty2
  1389. crw------- 1 root root   4,  20 Jan  1  1970 tty20
  1390. crw------- 1 root root   4,  21 Jan  1  1970 tty21
  1391. crw------- 1 root root   4,  22 Jan  1  1970 tty22
  1392. crw------- 1 root root   4,  23 Jan  1  1970 tty23
  1393. crw------- 1 root root   4,  24 Jan  1  1970 tty24
  1394. crw------- 1 root root   4,  25 Jan  1  1970 tty25
  1395. crw------- 1 root root   4,  26 Jan  1  1970 tty26
  1396. crw------- 1 root root   4,  27 Jan  1  1970 tty27
  1397. crw------- 1 root root   4,  28 Jan  1  1970 tty28
  1398. crw------- 1 root root   4,  29 Jan  1  1970 tty29
  1399. crw------- 1 root root   4,   3 Jan  1  1970 tty3
  1400. crw------- 1 root root   4,  30 Jan  1  1970 tty30
  1401. crw------- 1 root root   4,  31 Jan  1  1970 tty31
  1402. crw------- 1 root root   4,  32 Jan  1  1970 tty32
  1403. crw------- 1 root root   4,  33 Jan  1  1970 tty33
  1404. crw------- 1 root root   4,  34 Jan  1  1970 tty34
  1405. crw------- 1 root root   4,  35 Jan  1  1970 tty35
  1406. crw------- 1 root root   4,  36 Jan  1  1970 tty36
  1407. crw------- 1 root root   4,  37 Jan  1  1970 tty37
  1408. crw------- 1 root root   4,  38 Jan  1  1970 tty38
  1409. crw------- 1 root root   4,  39 Jan  1  1970 tty39
  1410. crw------- 1 root root   4,   4 Jan  1  1970 tty4
  1411. crw------- 1 root root   4,  40 Jan  1  1970 tty40
  1412. crw------- 1 root root   4,  41 Jan  1  1970 tty41
  1413. crw------- 1 root root   4,  42 Jan  1  1970 tty42
  1414. crw------- 1 root root   4,  43 Jan  1  1970 tty43
  1415. crw------- 1 root root   4,  44 Jan  1  1970 tty44
  1416. crw------- 1 root root   4,  45 Jan  1  1970 tty45
  1417. crw------- 1 root root   4,  46 Jan  1  1970 tty46
  1418. crw------- 1 root root   4,  47 Jan  1  1970 tty47
  1419. crw------- 1 root root   4,  48 Jan  1  1970 tty48
  1420. crw------- 1 root root   4,  49 Jan  1  1970 tty49
  1421. crw------- 1 root root   4,   5 Jan  1  1970 tty5
  1422. crw------- 1 root root   4,  50 Jan  1  1970 tty50
  1423. crw------- 1 root root   4,  51 Jan  1  1970 tty51
  1424. crw------- 1 root root   4,  52 Jan  1  1970 tty52
  1425. crw------- 1 root root   4,  53 Jan  1  1970 tty53
  1426. crw------- 1 root root   4,  54 Jan  1  1970 tty54
  1427. crw------- 1 root root   4,  55 Jan  1  1970 tty55
  1428. crw------- 1 root root   4,  56 Jan  1  1970 tty56
  1429. crw------- 1 root root   4,  57 Jan  1  1970 tty57
  1430. crw------- 1 root root   4,  58 Jan  1  1970 tty58
  1431. crw------- 1 root root   4,  59 Jan  1  1970 tty59
  1432. crw------- 1 root root   4,   6 Jan  1  1970 tty6
  1433. crw------- 1 root root   4,  60 Jan  1  1970 tty60
  1434. crw------- 1 root root   4,  61 Jan  1  1970 tty61
  1435. crw------- 1 root root   4,  62 Jan  1  1970 tty62
  1436. crw------- 1 root root   4,  63 Jan  1  1970 tty63
  1437. crw------- 1 root root   4,   7 Jan  1  1970 tty7
  1438. crw------- 1 root root   4,   8 Jan  1  1970 tty8
  1439. crw------- 1 root root   4,   9 Jan  1  1970 tty9
  1440. lrwxrwxrwx 1 root root        7 Jan  2 11:43 ttyS1 -> ttymxc1
  1441. lrwxrwxrwx 1 root root        7 Jan  2 11:43 ttyS4 -> ttymxc4
  1442. crw------- 1 root root 207,  17 Jan  2 11:43 ttymxc1
  1443. crw------- 1 root root 207,  20 Jan  2 12:08 ttymxc4
  1444. root 12:08:23 : ~ # echo foo >/dev/tty1
  1445. root 12:08:33 : ~ # echo foo >/dev/tty0
  1446. root 12:08:42 : ~ # echo foo >/dev/tty0
  1447. root 12:08:49 : ~ # lsmod
  1448. Module                  Size  Used by
  1449. 8188eu               1480087  0
  1450. qadriver                2240  0
  1451. power_button            2873  0
  1452. ecu01_motor_ctl         5183  0
  1453. ecu01_mmc               3953  0
  1454. ecu01_comp_cap          8120  1 ecu01_mmc
  1455. ads7953                 2698  0
  1456. root 12:09:18 : ~ # rmmod qadriver
  1457. qa_driver_exit() called
  1458. root 12:09:30 : ~ # rmmod ecu01_motor_ctl
  1459. root 12:09:38 : ~ # rmmod ecu01_mmc      
  1460. root 12:09:44 : ~ # rmmod ecu01_comp_cap
  1461. root 12:09:50 : ~ # lsmod
  1462. Module                  Size  Used by
  1463. 8188eu               1480087  0
  1464. power_button            2873  0
  1465. ads7953                 2698  0
  1466. root 12:09:51 : ~ # find /sys -name \*key\*
  1467. /sys/bus/platform/devices/imx-keypad
  1468. /sys/bus/platform/drivers/matrix-keypad
  1469. /sys/bus/platform/drivers/gpio-keys-polled
  1470. /sys/bus/platform/drivers/gpio-keys
  1471. /sys/bus/platform/drivers/imx-keypad
  1472. /sys/bus/platform/drivers/imx-keypad/imx-keypad
  1473. /sys/devices/platform/imx-keypad
  1474. /sys/devices/platform/imx-keypad/input/input0/capabilities/key
  1475. /sys/kernel/slab/key_jar
  1476. /sys/module/keyboard
  1477. root 12:17:20 : ~ # ls -l /sys/bus/platform/drivers/imx-keypad/
  1478. total 0
  1479. --w------- 1 root root 4096 Jan  2 11:47 bind
  1480. lrwxrwxrwx 1 root root    0 Jan  2 11:47 imx-keypad -> ../../../../devices/platform/imx-keypad
  1481. --w------- 1 root root 4096 Jan  2 11:47 uevent
  1482. --w------- 1 root root 4096 Jan  2 11:47 unbind
  1483. root 12:17:29 : ~ # echo 1 >/sys/bus/platform/drivers/imx-keypad/bind
  1484. -bash: echo: write error: No such device
  1485. root 12:17:41 : ~ # echo 1 >/sys/bus/platform/drivers/imx-keypad/    
  1486. bind        imx-keypad/ uevent      unbind      
  1487. root 12:17:41 : ~ # echo 1 >/sys/bus/platform/drivers/imx-keypad/bind
  1488. -bash: echo: write error: No such device
  1489. root 12:17:47 : ~ # echo 1 >/sys/bus/platform/drivers/imx-keypad/unbind
  1490. -bash: echo: write error: No such device
  1491. root 12:17:57 : ~ # echo 1 >/sys/bus/platform/drivers/imx-keypad/bind
  1492. -bash: echo: write error: No such device
  1493. root 12:17:58 : ~ # ls -l /sys/bus/platform/drivers/imx-keypad
  1494. total 0
  1495. --w------- 1 root root 4096 Jan  2 12:17 bind
  1496. lrwxrwxrwx 1 root root    0 Jan  2 11:47 imx-keypad -> ../../../../devices/platform/imx-keypad
  1497. --w------- 1 root root 4096 Jan  2 11:47 uevent
  1498. --w------- 1 root root 4096 Jan  2 12:17 unbind
  1499. root 12:18:13 : ~ # echo 1 > /sys/bus/platform/drivers/imx-keypad/bind
  1500. -bash: echo: write error: No such device
  1501. root 12:18:24 : ~ # ls -l /sys/bus/platform/drivers/gpio-keys
  1502. total 0
  1503. --w------- 1 root root 4096 Jan  2 11:47 bind
  1504. --w------- 1 root root 4096 Jan  2 11:47 uevent
  1505. --w------- 1 root root 4096 Jan  2 11:47 unbind
  1506. root 12:18:35 : ~ # echo 1 > /sys/bus/platform/drivers/gpio-keys/bind
  1507. -bash: echo: write error: No such device
  1508. root 12:18:47 : ~ # strace bash -c 'echo 1 > /sys/bus/platform/drivers/gpio-keys/bind '
  1509. execve("/bin/bash", ["bash", "-c", "echo 1 > /sys/bus/platform/drive"...], [/* 12 vars */]) = 0
  1510. uname({sys="Linux", node="ecu01", ...}) = 0
  1511. brk(0)                                  = 0x174000
  1512. brk(0x174d0c)                           = 0x174d0c
  1513. set_tls(0x1744c0, 0x167434, 0x1706e8, 0x1744c0, 0x1706e0) = 0
  1514. brk(0x195d0c)                           = 0x195d0c
  1515. brk(0x196000)                           = 0x196000
  1516. open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
  1517. close(3)                                = 0
  1518. getuid32()                              = 0
  1519. getgid32()                              = 0
  1520. geteuid32()                             = 0
  1521. getegid32()                             = 0
  1522. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1523. gettimeofday({1577967542, 192250}, NULL) = 0
  1524. open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
  1525. fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
  1526. fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  1527. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f71000
  1528. read(3, "MemTotal:         123480 kB\nMemF"..., 1024) = 924
  1529. close(3)                                = 0
  1530. munmap(0xb6f71000, 4096)                = 0
  1531. rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
  1532. rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART|0x4000000}, {SIG_DFL, [], SA_RESTART|0x4000000}, 8) = 0
  1533. rt_sigaction(SIGINT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
  1534. rt_sigaction(SIGINT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0x4000000 /* SA_??? */}, 8) = 0
  1535. rt_sigaction(SIGQUIT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
  1536. rt_sigaction(SIGQUIT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0x4000000 /* SA_??? */}, 8) = 0
  1537. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1538. rt_sigaction(SIGQUIT, {SIG_IGN, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0x4000000 /* SA_??? */}, 8) = 0
  1539. uname({sys="Linux", node="ecu01", ...}) = 0
  1540. stat64("/home", {st_mode=S_IFDIR|S_ISGID|0755, st_size=2520, ...}) = 0
  1541. stat64(".", {st_mode=S_IFDIR|S_ISGID|0755, st_size=2520, ...}) = 0
  1542. getpid()                                = 945
  1543. getppid()                               = 943
  1544. stat64(".", {st_mode=S_IFDIR|S_ISGID|0755, st_size=2520, ...}) = 0
  1545. stat64("/sbin/bash", 0xbec04918)        = -1 ENOENT (No such file or directory)
  1546. stat64("/usr/sbin/bash", 0xbec04918)    = -1 ENOENT (No such file or directory)
  1547. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1548. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1549. geteuid32()                             = 0
  1550. getegid32()                             = 0
  1551. getuid32()                              = 0
  1552. getgid32()                              = 0
  1553. access("/bin/bash", X_OK)               = 0
  1554. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1555. geteuid32()                             = 0
  1556. getegid32()                             = 0
  1557. getuid32()                              = 0
  1558. getgid32()                              = 0
  1559. access("/bin/bash", R_OK)               = 0
  1560. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1561. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1562. geteuid32()                             = 0
  1563. getegid32()                             = 0
  1564. getuid32()                              = 0
  1565. getgid32()                              = 0
  1566. access("/bin/bash", X_OK)               = 0
  1567. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1568. geteuid32()                             = 0
  1569. getegid32()                             = 0
  1570. getuid32()                              = 0
  1571. getgid32()                              = 0
  1572. access("/bin/bash", R_OK)               = 0
  1573. gettimeofday({1577967542, 283738}, NULL) = 0
  1574. getpgrp()                               = 943
  1575. rt_sigaction(SIGCHLD, {0x2e754, [], SA_RESTART|0x4000000}, {SIG_DFL, [], SA_RESTART|0x4000000}, 8) = 0
  1576. getrlimit(RLIMIT_NPROC, {rlim_cur=962, rlim_max=962}) = 0
  1577. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1578. getpeername(0, 0xbec04bb8, [16])        = -1 ENOTSOCK (Socket operation on non-socket)
  1579. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1580. open("/sys/bus/platform/drivers/gpio-keys/bind", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
  1581. fcntl64(1, F_GETFD)                     = 0
  1582. fcntl64(1, F_DUPFD, 10)                 = 10
  1583. fcntl64(1, F_GETFD)                     = 0
  1584. fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
  1585. dup2(3, 1)                              = 1
  1586. close(3)                                = 0
  1587. fstat64(1, {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
  1588. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f71000
  1589. write(1, "1\n", 2)                      = -1 ENODEV (No such device)
  1590. fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(207, 20), ...}) = 0
  1591. ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B115200 opost isig icanon echo ...}) = 0
  1592. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f70000
  1593. write(2, "bash: line 0: echo: write error:"..., 48bash: line 0: echo: write error: No such device
  1594. ) = 48
  1595. dup2(10, 1)                             = 1
  1596. fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  1597. close(10)                               = 0
  1598. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  1599. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  1600. exit_group(1)                           = ?
  1601. +++ exited with 1 +++
  1602. root 12:19:02 : ~ # lsmod
  1603. Module                  Size  Used by
  1604. 8188eu               1480087  0
  1605. power_button            2873  0
  1606. ads7953                 2698  0
  1607. root 12:19:37 : ~ # rmmod power_button
  1608. root 12:19:44 : ~ # strace bash -c 'echo 1 > /sys/bus/platform/drivers/gpio-keys/bind '
  1609. execve("/bin/bash", ["bash", "-c", "echo 1 > /sys/bus/platform/drive"...], [/* 12 vars */]) = 0
  1610. uname({sys="Linux", node="ecu01", ...}) = 0
  1611. brk(0)                                  = 0x174000
  1612. brk(0x174d0c)                           = 0x174d0c
  1613. set_tls(0x1744c0, 0x167434, 0x1706e8, 0x1744c0, 0x1706e0) = 0
  1614. brk(0x195d0c)                           = 0x195d0c
  1615. brk(0x196000)                           = 0x196000
  1616. open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
  1617. close(3)                                = 0
  1618. getuid32()                              = 0
  1619. getgid32()                              = 0
  1620. geteuid32()                             = 0
  1621. getegid32()                             = 0
  1622. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1623. gettimeofday({1577967589, 415009}, NULL) = 0
  1624. open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
  1625. fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
  1626. fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
  1627. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f6f000
  1628. read(3, "MemTotal:         123480 kB\nMemF"..., 1024) = 924
  1629. close(3)                                = 0
  1630. munmap(0xb6f6f000, 4096)                = 0
  1631. rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART|0x4000000}, {SIG_DFL, [], 0}, 8) = 0
  1632. rt_sigaction(SIGCHLD, {SIG_DFL, [], SA_RESTART|0x4000000}, {SIG_DFL, [], SA_RESTART|0x4000000}, 8) = 0
  1633. rt_sigaction(SIGINT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
  1634. rt_sigaction(SIGINT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0x4000000 /* SA_??? */}, 8) = 0
  1635. rt_sigaction(SIGQUIT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0}, 8) = 0
  1636. rt_sigaction(SIGQUIT, {SIG_DFL, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0x4000000 /* SA_??? */}, 8) = 0
  1637. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1638. rt_sigaction(SIGQUIT, {SIG_IGN, [], 0x4000000 /* SA_??? */}, {SIG_DFL, [], 0x4000000 /* SA_??? */}, 8) = 0
  1639. uname({sys="Linux", node="ecu01", ...}) = 0
  1640. stat64("/home", {st_mode=S_IFDIR|S_ISGID|0755, st_size=2520, ...}) = 0
  1641. stat64(".", {st_mode=S_IFDIR|S_ISGID|0755, st_size=2520, ...}) = 0
  1642. getpid()                                = 956
  1643. getppid()                               = 954
  1644. stat64(".", {st_mode=S_IFDIR|S_ISGID|0755, st_size=2520, ...}) = 0
  1645. stat64("/sbin/bash", 0xbeb8d918)        = -1 ENOENT (No such file or directory)
  1646. stat64("/usr/sbin/bash", 0xbeb8d918)    = -1 ENOENT (No such file or directory)
  1647. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1648. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1649. geteuid32()                             = 0
  1650. getegid32()                             = 0
  1651. getuid32()                              = 0
  1652. getgid32()                              = 0
  1653. access("/bin/bash", X_OK)               = 0
  1654. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1655. geteuid32()                             = 0
  1656. getegid32()                             = 0
  1657. getuid32()                              = 0
  1658. getgid32()                              = 0
  1659. access("/bin/bash", R_OK)               = 0
  1660. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1661. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1662. geteuid32()                             = 0
  1663. getegid32()                             = 0
  1664. getuid32()                              = 0
  1665. getgid32()                              = 0
  1666. access("/bin/bash", X_OK)               = 0
  1667. stat64("/bin/bash", {st_mode=S_IFREG|0755, st_size=1427884, ...}) = 0
  1668. geteuid32()                             = 0
  1669. getegid32()                             = 0
  1670. getuid32()                              = 0
  1671. getgid32()                              = 0
  1672. access("/bin/bash", R_OK)               = 0
  1673. gettimeofday({1577967589, 497543}, NULL) = 0
  1674. getpgrp()                               = 954
  1675. rt_sigaction(SIGCHLD, {0x2e754, [], SA_RESTART|0x4000000}, {SIG_DFL, [], SA_RESTART|0x4000000}, 8) = 0
  1676. getrlimit(RLIMIT_NPROC, {rlim_cur=962, rlim_max=962}) = 0
  1677. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1678. getpeername(0, 0xbeb8dbb8, [16])        = -1 ENOTSOCK (Socket operation on non-socket)
  1679. rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
  1680. open("/sys/bus/platform/drivers/gpio-keys/bind", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
  1681. fcntl64(1, F_GETFD)                     = 0
  1682. fcntl64(1, F_DUPFD, 10)                 = 10
  1683. fcntl64(1, F_GETFD)                     = 0
  1684. fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
  1685. dup2(3, 1)                              = 1
  1686. close(3)                                = 0
  1687. fstat64(1, {st_mode=S_IFREG|0200, st_size=4096, ...}) = 0
  1688. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f6f000
  1689. write(1, "1\n", 2)                      = -1 ENODEV (No such device)
  1690. fstat64(2, {st_mode=S_IFCHR|0600, st_rdev=makedev(207, 20), ...}) = 0
  1691. ioctl(2, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B115200 opost isig icanon echo ...}) = 0
  1692. mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb6f6e000
  1693. write(2, "bash: line 0: echo: write error:"..., 48bash: line 0: echo: write error: No such device
  1694. ) = 48
  1695. dup2(10, 1)                             = 1
  1696. fcntl64(10, F_GETFD)                    = 0x1 (flags FD_CLOEXEC)
  1697. close(10)                               = 0
  1698. rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
  1699. rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
  1700. exit_group(1)                           = ?
  1701. +++ exited with 1 +++
  1702. root 12:19:49 : ~ # strace bash -c 'echo 1 > /sys/bus/platform/drivers/gpio-keys/bind '
  1703. root 12:19:56 : ~ #
  1704. root 12:19:56 : ~ # find /sys -name \*key\*
  1705. /sys/bus/platform/devices/imx-keypad
  1706. /sys/bus/platform/drivers/matrix-keypad
  1707. /sys/bus/platform/drivers/gpio-keys-polled
  1708. /sys/bus/platform/drivers/gpio-keys
  1709. /sys/bus/platform/drivers/imx-keypad
  1710. /sys/bus/platform/drivers/imx-keypad/imx-keypad
  1711. /sys/devices/platform/imx-keypad
  1712. /sys/devices/platform/imx-keypad/input/input0/capabilities/key
  1713. /sys/kernel/slab/key_jar
  1714. /sys/module/keyboard
  1715. root 12:20:00 : ~ # ls -l /sys/bus/platform/drivers/matrix-keypad/
  1716. total 0
  1717. --w------- 1 root root 4096 Jan  2 11:47 bind
  1718. --w------- 1 root root 4096 Jan  2 11:47 uevent
  1719. --w------- 1 root root 4096 Jan  2 11:47 unbind
  1720. root 12:20:10 : ~ # echo 1 > /sys/bus/platform/drivers/matrix-keypad/bind
  1721. -bash: echo: write error: No such device
  1722. root 12:20:20 : ~ # echo 1 > /sys/bus/platform/drivers/imx-keypad/        
  1723. -bash: /sys/bus/platform/drivers/imx-keypad/: Is a directory
  1724. root 12:20:29 : ~ # echo 1 > /sys/bus/platform/drivers/imx-keypad/
  1725. bind        imx-keypad/ uevent      unbind      
  1726. root 12:20:29 : ~ # echo 1 > /sys/bus/platform/drivers/imx-keypad/bind
  1727. -bash: echo: write error: No such device
  1728. root 12:20:33 : ~ # cd /sys
  1729. root 12:26:30 : /sys # ls -l
  1730. total 0
  1731. drwxr-xr-x  2 root root 0 Jan  2 11:47 block
  1732. drwxr-xr-x 15 root root 0 Jan  2 11:43 bus
  1733. drwxr-xr-x 39 root root 0 Jan  2 11:43 class
  1734. drwxr-xr-x  4 root root 0 Jan  2 11:47 dev
  1735. drwxr-xr-x  5 root root 0 Jan  2 11:43 devices
  1736. drwxr-xr-x  2 root root 0 Jan  2 11:47 firmware
  1737. drwxr-xr-x  4 root root 0 Jan  2 11:43 fs
  1738. drwxr-xr-x  5 root root 0 Jan  2 11:47 kernel
  1739. drwxr-xr-x 47 root root 0 Jan  2 11:43 module
  1740. drwxr-xr-x  2 root root 0 Jan  2 11:47 power
  1741. root 12:26:31 : /sys # cd module/
  1742. root 12:26:45 : /sys/module # ls -l
  1743. total 0
  1744. drwxr-xr-x 7 root root 0 Jan  2 11:43 8188eu
  1745. drwxr-xr-x 6 root root 0 Jan  2 11:43 ads7953
  1746. drwxr-xr-x 3 root root 0 Jan  2 11:47 auth_rpcgss
  1747. drwxr-xr-x 3 root root 0 Jan  2 11:47 block
  1748. drwxr-xr-x 3 root root 0 Jan  2 11:47 cfg80211
  1749. drwxr-xr-x 3 root root 0 Jan  2 11:47 cpuidle
  1750. drwxr-xr-x 3 root root 0 Jan  2 11:47 dns_resolver
  1751. drwxr-xr-x 3 root root 0 Jan  2 11:47 ehci_hcd
  1752. drwxr-xr-x 3 root root 0 Jan  2 11:47 firmware_class
  1753. drwxr-xr-x 3 root root 0 Jan  2 11:47 hid
  1754. drwxr-xr-x 2 root root 0 Jan  2 11:47 input_polldev
  1755. drwxr-xr-x 3 root root 0 Jan  2 11:43 ipv6
  1756. drwxr-xr-x 3 root root 0 Jan  2 11:47 kernel
  1757. drwxr-xr-x 3 root root 0 Jan  2 11:47 keyboard
  1758. drwxr-xr-x 3 root root 0 Jan  2 11:47 lockd
  1759. drwxr-xr-x 3 root root 0 Jan  2 11:47 loop
  1760. drwxr-xr-x 3 root root 0 Jan  2 11:47 mac80211
  1761. drwxr-xr-x 3 root root 0 Jan  2 11:47 mmc_core
  1762. drwxr-xr-x 3 root root 0 Jan  2 11:47 mmcblk
  1763. drwxr-xr-x 3 root root 0 Jan  2 11:47 nfs
  1764. drwxr-xr-x 3 root root 0 Jan  2 11:47 printk
  1765. drwxr-xr-x 3 root root 0 Jan  2 11:47 random
  1766. drwxr-xr-x 3 root root 0 Jan  2 11:47 rcupdate
  1767. drwxr-xr-x 3 root root 0 Jan  2 11:47 rcutree
  1768. drwxr-xr-x 2 root root 0 Jan  2 11:47 rt2800lib
  1769. drwxr-xr-x 4 root root 0 Jan  2 11:47 rt2800usb
  1770. drwxr-xr-x 2 root root 0 Jan  2 11:47 rt2x00lib
  1771. drwxr-xr-x 2 root root 0 Jan  2 11:47 rt2x00usb
  1772. drwxr-xr-x 2 root root 0 Jan  2 11:47 rtc_pcf2123
  1773. drwxr-xr-x 4 root root 0 Jan  2 11:47 rtl8192cu
  1774. drwxr-xr-x 3 root root 0 Jan  2 11:47 scsi_mod
  1775. drwxr-xr-x 3 root root 0 Jan  2 11:47 sdhci
  1776. drwxr-xr-x 3 root root 0 Jan  2 11:47 sg
  1777. drwxr-xr-x 3 root root 0 Jan  2 11:47 sit
  1778. drwxr-xr-x 3 root root 0 Jan  2 11:47 spidev
  1779. drwxr-xr-x 3 root root 0 Jan  2 11:47 spurious
  1780. drwxr-xr-x 3 root root 0 Jan  2 11:47 sunrpc
  1781. drwxr-xr-x 3 root root 0 Jan  2 11:47 tcp_cubic
  1782. drwxr-xr-x 2 root root 0 Jan  2 11:47 ubi
  1783. drwxr-xr-x 2 root root 0 Jan  2 11:47 ubifs
  1784. drwxr-xr-x 4 root root 0 Jan  2 11:47 usb_storage
  1785. drwxr-xr-x 4 root root 0 Jan  2 11:47 usbcore
  1786. drwxr-xr-x 4 root root 0 Jan  2 11:47 usbhid
  1787. drwxr-xr-x 3 root root 0 Jan  2 11:47 vt
  1788. drwxr-xr-x 3 root root 0 Jan  2 11:47 workqueue
  1789. root 12:26:46 : /sys/module # cd keyboard/
  1790. root 12:27:03 : /sys/module/keyboard # ls -l
  1791. total 0
  1792. drwxr-xr-x 2 root root    0 Jan  2 11:47 parameters
  1793. --w------- 1 root root 4096 Jan  2 11:47 uevent
  1794. root 12:27:04 : /sys/module/keyboard # cd parameters/
  1795. root 12:27:09 : /sys/module/keyboard/parameters # ls -l
  1796. total 0
  1797. -rw-r--r-- 1 root root 4096 Jan  2 11:47 brl_nbchords
  1798. -rw-r--r-- 1 root root 4096 Jan  2 11:47 brl_timeout
  1799. root 12:27:10 : /sys/module/keyboard/parameters # cat *
  1800. 1
  1801. 300
  1802. root 12:27:13 : /sys/module/keyboard/parameters # cd ..
  1803. root 12:27:16 : /sys/module/keyboard # cd ..
  1804. root 12:27:17 : /sys/module # ls -l
  1805. total 0
  1806. drwxr-xr-x 7 root root 0 Jan  2 11:43 8188eu
  1807. drwxr-xr-x 6 root root 0 Jan  2 11:43 ads7953
  1808. drwxr-xr-x 3 root root 0 Jan  2 11:47 auth_rpcgss
  1809. drwxr-xr-x 3 root root 0 Jan  2 11:47 block
  1810. drwxr-xr-x 3 root root 0 Jan  2 11:47 cfg80211
  1811. drwxr-xr-x 3 root root 0 Jan  2 11:47 cpuidle
  1812. drwxr-xr-x 3 root root 0 Jan  2 11:47 dns_resolver
  1813. drwxr-xr-x 3 root root 0 Jan  2 11:47 ehci_hcd
  1814. drwxr-xr-x 3 root root 0 Jan  2 11:47 firmware_class
  1815. drwxr-xr-x 3 root root 0 Jan  2 11:47 hid
  1816. drwxr-xr-x 2 root root 0 Jan  2 11:47 input_polldev
  1817. drwxr-xr-x 3 root root 0 Jan  2 11:43 ipv6
  1818. drwxr-xr-x 3 root root 0 Jan  2 11:47 kernel
  1819. drwxr-xr-x 3 root root 0 Jan  2 11:47 keyboard
  1820. drwxr-xr-x 3 root root 0 Jan  2 11:47 lockd
  1821. drwxr-xr-x 3 root root 0 Jan  2 11:47 loop
  1822. drwxr-xr-x 3 root root 0 Jan  2 11:47 mac80211
  1823. drwxr-xr-x 3 root root 0 Jan  2 11:47 mmc_core
  1824. drwxr-xr-x 3 root root 0 Jan  2 11:47 mmcblk
  1825. drwxr-xr-x 3 root root 0 Jan  2 11:47 nfs
  1826. drwxr-xr-x 3 root root 0 Jan  2 11:47 printk
  1827. drwxr-xr-x 3 root root 0 Jan  2 11:47 random
  1828. drwxr-xr-x 3 root root 0 Jan  2 11:47 rcupdate
  1829. drwxr-xr-x 3 root root 0 Jan  2 11:47 rcutree
  1830. drwxr-xr-x 2 root root 0 Jan  2 11:47 rt2800lib
  1831. drwxr-xr-x 4 root root 0 Jan  2 11:47 rt2800usb
  1832. drwxr-xr-x 2 root root 0 Jan  2 11:47 rt2x00lib
  1833. drwxr-xr-x 2 root root 0 Jan  2 11:47 rt2x00usb
  1834. drwxr-xr-x 2 root root 0 Jan  2 11:47 rtc_pcf2123
  1835. drwxr-xr-x 4 root root 0 Jan  2 11:47 rtl8192cu
  1836. drwxr-xr-x 3 root root 0 Jan  2 11:47 scsi_mod
  1837. drwxr-xr-x 3 root root 0 Jan  2 11:47 sdhci
  1838. drwxr-xr-x 3 root root 0 Jan  2 11:47 sg
  1839. drwxr-xr-x 3 root root 0 Jan  2 11:47 sit
  1840. drwxr-xr-x 3 root root 0 Jan  2 11:47 spidev
  1841. drwxr-xr-x 3 root root 0 Jan  2 11:47 spurious
  1842. drwxr-xr-x 3 root root 0 Jan  2 11:47 sunrpc
  1843. drwxr-xr-x 3 root root 0 Jan  2 11:47 tcp_cubic
  1844. drwxr-xr-x 2 root root 0 Jan  2 11:47 ubi
  1845. drwxr-xr-x 2 root root 0 Jan  2 11:47 ubifs
  1846. drwxr-xr-x 4 root root 0 Jan  2 11:47 usb_storage
  1847. drwxr-xr-x 4 root root 0 Jan  2 11:47 usbcore
  1848. drwxr-xr-x 4 root root 0 Jan  2 11:47 usbhid
  1849. drwxr-xr-x 3 root root 0 Jan  2 11:47 vt
  1850. drwxr-xr-x 3 root root 0 Jan  2 11:47 workqueue
  1851. root 12:27:18 : /sys/module # find . -name \'key\*
  1852. root 12:27:26 : /sys/module # find . -name \*key\*
  1853. ./keyboard
  1854. root 12:27:32 : /sys/module # cd ..
  1855. root 12:27:35 : /sys # find . -name \*key\*
  1856. ./bus/platform/devices/imx-keypad
  1857. ./bus/platform/drivers/matrix-keypad
  1858. ./bus/platform/drivers/gpio-keys-polled
  1859. ./bus/platform/drivers/gpio-keys
  1860. ./bus/platform/drivers/imx-keypad
  1861. ./bus/platform/drivers/imx-keypad/imx-keypad
  1862. ./devices/platform/imx-keypad
  1863. ./devices/platform/imx-keypad/input/input0/capabilities/key
  1864. ./kernel/slab/key_jar
  1865. ./module/keyboard
  1866. root 12:27:38 : /sys # ls -l ./devices/platform/imx-keypad/input/input0/capabilities/key
  1867. -r--r--r-- 1 root root 4096 Jan  2 11:47 ./devices/platform/imx-keypad/input/input0/capabilities/key
  1868. root 12:27:54 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1869. 1680 80001f f8000000 10000000
  1870. root 12:28:00 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1871. 1680 80001f f8000000 10000000
  1872. root 12:28:02 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1873. 1680 80001f f8000000 10000000
  1874. root 12:28:06 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1875. 1680 80001f f8000000 10000000
  1876. root 12:28:09 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1877. 1680 80001f f8000000 10000000
  1878. root 12:28:13 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1879. 1680 80001f f8000000 10000000
  1880. root 12:28:19 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1881. 1680 80001f f8000000 10000000
  1882. root 12:28:25 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1883. 1680 80001f f8000000 10000000
  1884. root 12:28:28 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1885. 1680 80001f f8000000 10000000
  1886. root 12:28:30 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/key
  1887. 1680 80001f f8000000 10000000
  1888. root 12:28:32 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/    
  1889. abs  ev   ff   key  led  msc  rel  snd  sw  
  1890. root 12:28:32 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/*
  1891. 0
  1892. 100013
  1893. 0
  1894. 1680 80001f f8000000 10000000
  1895. 0
  1896. 10
  1897. 0
  1898. 0
  1899. 0
  1900. root 12:28:43 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/*
  1901. 0
  1902. 100013
  1903. 0
  1904. 1680 80001f f8000000 10000000
  1905. 0
  1906. 10
  1907. 0
  1908. 0
  1909. 0
  1910. root 12:28:49 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/*
  1911. 0
  1912. 100013
  1913. 0
  1914. 1680 80001f f8000000 10000000
  1915. 0
  1916. 10
  1917. 0
  1918. 0
  1919. 0
  1920. root 12:29:04 : /sys # cat ./devices/platform/imx-keypad/input/input0/capabilities/*
  1921. 0
  1922. 100013
  1923. 0
  1924. 1680 80001f f8000000 10000000
  1925. 0
  1926. 10
  1927. 0
  1928. 0
  1929. 0
  1930. root 12:29:11 : /sys # ls -l ./devices/platform/imx-keypad/input/input0/              
  1931. total 0
  1932. drwxr-xr-x 2 root root    0 Jan  2 11:47 capabilities
  1933. lrwxrwxrwx 1 root root    0 Jan  2 11:47 device -> ../../../imx-keypad
  1934. drwxr-xr-x 2 root root    0 Jan  2 11:47 id
  1935. -r--r--r-- 1 root root 4096 Jan  2 11:47 modalias
  1936. -r--r--r-- 1 root root 4096 Jan  2 11:47 name
  1937. -r--r--r-- 1 root root 4096 Jan  2 11:47 phys
  1938. drwxr-xr-x 2 root root    0 Jan  2 11:47 power
  1939. -r--r--r-- 1 root root 4096 Jan  2 11:47 properties
  1940. lrwxrwxrwx 1 root root    0 Jan  2 11:47 subsystem -> ../../../../../class/input
  1941. -rw-r--r-- 1 root root 4096 Jan  2 11:47 uevent
  1942. -r--r--r-- 1 root root 4096 Jan  2 11:47 uniq
  1943. root 12:29:19 : /sys # cat ./devices/platform/imx-keypad/input/input0/name
  1944. imx-keypad
  1945. root 12:29:29 : /sys # cat ./devices/platform/imx-keypad/input/input0/phys
  1946.  
  1947. root 12:29:38 : /sys # cat ./devices/platform/imx-keypad/input/input0/modalias
  1948. input:b0019v0000p0000e0000-e0,1,4,14,kram4,lsfw
  1949. root 12:29:45 : /sys # cat ./devices/platform/imx-keypad/input/input0/id/      
  1950. bustype  product  vendor   version  
  1951. root 12:29:45 : /sys # cat ./devices/platform/imx-keypad/input/input0/id/vendor
  1952. 0000
  1953. root 12:30:00 : /sys # cat ./devices/platform/imx-keypad/input/input0/        
  1954. capabilities/ id/           name          power/        subsystem/    uniq          
  1955. device/       modalias      phys          properties    uevent        
  1956. root 12:30:00 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/
  1957. driver/    input/     modalias   power/     subsystem/ uevent    
  1958. root 12:30:00 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/
  1959. capabilities/ id/           name          power/        subsystem/    uniq          
  1960. device/       modalias      phys          properties    uevent        
  1961. root 12:30:00 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/
  1962. capabilities/ id/           name          power/        subsystem/    uniq          
  1963. device/       modalias      phys          properties    uevent        
  1964. root 12:30:00 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/properties
  1965. 0
  1966. root 12:30:32 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/properties
  1967. 0
  1968. root 12:30:36 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/properties
  1969. 0
  1970. root 12:30:38 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/properties
  1971. 0
  1972. root 12:30:41 : /sys # find . -name event\* -ls
  1973. find: unrecognized: -ls
  1974. BusyBox v1.20.1 (2019-12-17 15:35:25 CET) multi-call binary.
  1975.  
  1976. Usage: find [PATH]... [OPTIONS] [ACTIONS]
  1977.  
  1978. Search for files and perform actions on them.
  1979. First failed action stops processing of current file.
  1980. Defaults: PATH is current directory, action is '-print'
  1981.  
  1982.         -follow         Follow symlinks
  1983.         -xdev           Don't descend directories on other filesystems
  1984.         -maxdepth N     Descend at most N levels. -maxdepth 0 applies
  1985.                         actions to command line arguments only
  1986.         -mindepth N     Don't act on first N levels
  1987.         -depth          Act on directory *after* traversing it
  1988.  
  1989. Actions:
  1990.         ( ACTIONS )     Group actions for -o / -a
  1991.         ! ACT           Invert ACT's success/failure
  1992.         ACT1 [-a] ACT2  If ACT1 fails, stop, else do ACT2
  1993.         ACT1 -o ACT2    If ACT1 succeeds, stop, else do ACT2
  1994.                         Note: -a has higher priority than -o
  1995.         -name PATTERN   Match file name (w/o directory name) to PATTERN
  1996.         -iname PATTERN  Case insensitive -name
  1997.         -path PATTERN   Match path to PATTERN
  1998.         -ipath PATTERN  Case insensitive -path
  1999.         -regex PATTERN  Match path to regex PATTERN
  2000.         -type X         File type is X (one of: f,d,l,b,c,...)
  2001.         -perm MASK      At least one mask bit (+MASK), all bits (-MASK),
  2002.                         or exactly MASK bits are set in file's mode
  2003.         -mtime DAYS     mtime is greater than (+N), less than (-N),
  2004.                         or exactly N days in the past
  2005.         -mmin MINS      mtime is greater than (+N), less than (-N),
  2006.                         or exactly N minutes in the past
  2007.         -newer FILE     mtime is more recent than FILE's
  2008.         -inum N         File has inode number N
  2009.         -user NAME/ID   File is owned by given user
  2010.         -group NAME/ID  File is owned by given group
  2011.         -size N[bck]    File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
  2012.                         +/-N: file size is bigger/smaller than N
  2013.         -prune          If current file is directory, don't descend into it
  2014. If none of the following actions is specified, -print is assumed
  2015.         -print          Print file name
  2016.         -print0         Print file name, NUL terminated
  2017.         -exec CMD ARG ; Run CMD with all instances of {} replaced by
  2018.                         file name. Fails if CMD exits with nonzero
  2019.  
  2020. root 12:34:06 : /sys # find . -name event\*    
  2021. ./kernel/slab/eventpoll_epi
  2022. ./kernel/slab/eventpoll_pwq
  2023. ./module/block/parameters/events_dfl_poll_msecs
  2024. root 12:34:10 : /sys # find . -name uevent\*
  2025. ./bus/cpu/uevent
  2026. ./bus/i2c/drivers/dummy/uevent
  2027. ./bus/i2c/drivers/ad7414/uevent
  2028. ./bus/i2c/uevent
  2029. ./bus/hid/drivers/hid-generic/uevent
  2030. ./bus/hid/uevent
  2031. ./bus/mmc/drivers/mmc_test/uevent
  2032. ./bus/mmc/drivers/mmcblk/uevent
  2033. ./bus/mmc/uevent
  2034. ./bus/spi/drivers/rtc-pcf2123/uevent
  2035. ./bus/spi/drivers/spidev/uevent
  2036. ./bus/spi/drivers/ads7953_spi_driver/uevent
  2037. ./bus/spi/uevent
  2038. ./bus/usb/drivers/hub/uevent
  2039. ./bus/usb/drivers/usb/uevent
  2040. ./bus/usb/drivers/usbfs/uevent
  2041. ./bus/usb/drivers/usb-storage/uevent
  2042. ./bus/usb/drivers/rt2800usb/uevent
  2043. ./bus/usb/drivers/usbhid/uevent
  2044. ./bus/usb/drivers/rtl8188eu/uevent
  2045. ./bus/usb/drivers/rtl8192cu/uevent
  2046. ./bus/usb/uevent
  2047. ./bus/scsi/drivers/sd/uevent
  2048. ./bus/scsi/uevent
  2049. ./bus/sdio/uevent
  2050. ./bus/clocksource/uevent
  2051. ./bus/serio/drivers/atkbd/uevent
  2052. ./bus/serio/uevent
  2053. ./bus/workqueue/uevent
  2054. ./bus/platform/drivers/fec/uevent
  2055. ./bus/platform/drivers/fsl-usb2-mph-dr/uevent
  2056. ./bus/platform/drivers/physmap-flash/uevent
  2057. ./bus/platform/drivers/platform-lcd/uevent
  2058. ./bus/platform/drivers/sdhci-esdhc-imx/uevent
  2059. ./bus/platform/drivers/spi_gpio/uevent
  2060. ./bus/platform/drivers/alarmtimer/uevent
  2061. ./bus/platform/drivers/matrix-keypad/uevent
  2062. ./bus/platform/drivers/spi_imx/uevent
  2063. ./bus/platform/drivers/gpio-keys-polled/uevent
  2064. ./bus/platform/drivers/gpio-keys/uevent
  2065. ./bus/platform/drivers/imx-fb/uevent
  2066. ./bus/platform/drivers/mxc-ehci/uevent
  2067. ./bus/platform/drivers/imx-keypad/uevent
  2068. ./bus/platform/drivers/mxc-mmc/uevent
  2069. ./bus/platform/drivers/mxc_nand/uevent
  2070. ./bus/platform/drivers/mxs_phy/uevent
  2071. ./bus/platform/drivers/imx-sdma/uevent
  2072. ./bus/platform/drivers/imx-uart/uevent
  2073. ./bus/platform/drivers/fsl-usb2-udc/uevent
  2074. ./bus/platform/drivers/imx-i2c/uevent
  2075. ./bus/platform/drivers/imx-pwm/uevent
  2076. ./bus/platform/drivers/mx25-adc/uevent
  2077. ./bus/platform/drivers/gpio-mxc/uevent
  2078. ./bus/platform/drivers/basic-mmio-gpio/uevent
  2079. ./bus/platform/uevent
  2080. ./bus/mdio_bus/drivers/SMSC LAN8710!LAN8720/uevent
  2081. ./bus/mdio_bus/drivers/SMSC LAN911x Internal PHY/uevent
  2082. ./bus/mdio_bus/drivers/Generic PHY/uevent
  2083. ./bus/mdio_bus/drivers/SMSC LAN8187/uevent
  2084. ./bus/mdio_bus/drivers/SMSC LAN8700/uevent
  2085. ./bus/mdio_bus/drivers/SMSC LAN83C185/uevent
  2086. ./bus/mdio_bus/uevent
  2087. ./devices/system/cpu/cpu0/uevent
  2088. ./devices/system/cpu/uevent
  2089. ./devices/system/clocksource/clocksource0/uevent
  2090. ./devices/system/clocksource/uevent
  2091. ./devices/virtual/vc/vcs/uevent
  2092. ./devices/virtual/vc/vcs1/uevent
  2093. ./devices/virtual/vc/vcsa/uevent
  2094. ./devices/virtual/vc/vcsa1/uevent
  2095. ./devices/virtual/bdi/7:0/uevent
  2096. ./devices/virtual/bdi/7:1/uevent
  2097. ./devices/virtual/bdi/7:2/uevent
  2098. ./devices/virtual/bdi/7:3/uevent
  2099. ./devices/virtual/bdi/7:4/uevent
  2100. ./devices/virtual/bdi/7:5/uevent
  2101. ./devices/virtual/bdi/7:6/uevent
  2102. ./devices/virtual/bdi/7:7/uevent
  2103. ./devices/virtual/bdi/31:0/uevent
  2104. ./devices/virtual/bdi/31:1/uevent
  2105. ./devices/virtual/bdi/31:2/uevent
  2106. ./devices/virtual/bdi/31:3/uevent
  2107. ./devices/virtual/bdi/31:4/uevent
  2108. ./devices/virtual/bdi/default/uevent
  2109. ./devices/virtual/bdi/ubifs_0_0/uevent
  2110. ./devices/virtual/bdi/ubifs_1_0/uevent
  2111. ./devices/virtual/bdi/ubifs_1_1/uevent
  2112. ./devices/virtual/bdi/mtd-romap/uevent
  2113. ./devices/virtual/bdi/mtd-rwmap/uevent
  2114. ./devices/virtual/bdi/mtd-unmap/uevent
  2115. ./devices/virtual/mem/mem/uevent
  2116. ./devices/virtual/mem/full/uevent
  2117. ./devices/virtual/mem/kmem/uevent
  2118. ./devices/virtual/mem/kmsg/uevent
  2119. ./devices/virtual/mem/null/uevent
  2120. ./devices/virtual/mem/zero/uevent
  2121. ./devices/virtual/mem/random/uevent
  2122. ./devices/virtual/mem/urandom/uevent
  2123. ./devices/virtual/net/sit0/uevent
  2124. ./devices/virtual/net/lo/uevent
  2125. ./devices/virtual/ubi/ubi0/ubi0_0/uevent
  2126. ./devices/virtual/ubi/ubi0/uevent
  2127. ./devices/virtual/ubi/ubi1/ubi1_0/uevent
  2128. ./devices/virtual/ubi/ubi1/ubi1_1/uevent
  2129. ./devices/virtual/ubi/ubi1/uevent
  2130. ./devices/virtual/tty/tty/uevent
  2131. ./devices/virtual/tty/ptmx/uevent
  2132. ./devices/virtual/tty/tty0/uevent
  2133. ./devices/virtual/tty/tty1/uevent
  2134. ./devices/virtual/tty/tty2/uevent
  2135. ./devices/virtual/tty/tty3/uevent
  2136. ./devices/virtual/tty/tty4/uevent
  2137. ./devices/virtual/tty/tty5/uevent
  2138. ./devices/virtual/tty/tty6/uevent
  2139. ./devices/virtual/tty/tty7/uevent
  2140. ./devices/virtual/tty/tty8/uevent
  2141. ./devices/virtual/tty/tty9/uevent
  2142. ./devices/virtual/tty/console/uevent
  2143. ./devices/virtual/tty/tty10/uevent
  2144. ./devices/virtual/tty/tty11/uevent
  2145. ./devices/virtual/tty/tty12/uevent
  2146. ./devices/virtual/tty/tty13/uevent
  2147. ./devices/virtual/tty/tty14/uevent
  2148. ./devices/virtual/tty/tty15/uevent
  2149. ./devices/virtual/tty/tty16/uevent
  2150. ./devices/virtual/tty/tty17/uevent
  2151. ./devices/virtual/tty/tty18/uevent
  2152. ./devices/virtual/tty/tty19/uevent
  2153. ./devices/virtual/tty/tty20/uevent
  2154. ./devices/virtual/tty/tty21/uevent
  2155. ./devices/virtual/tty/tty22/uevent
  2156. ./devices/virtual/tty/tty23/uevent
  2157. ./devices/virtual/tty/tty24/uevent
  2158. ./devices/virtual/tty/tty25/uevent
  2159. ./devices/virtual/tty/tty26/uevent
  2160. ./devices/virtual/tty/tty27/uevent
  2161. ./devices/virtual/tty/tty28/uevent
  2162. ./devices/virtual/tty/tty29/uevent
  2163. ./devices/virtual/tty/tty30/uevent
  2164. ./devices/virtual/tty/tty31/uevent
  2165. ./devices/virtual/tty/tty32/uevent
  2166. ./devices/virtual/tty/tty33/uevent
  2167. ./devices/virtual/tty/tty34/uevent
  2168. ./devices/virtual/tty/tty35/uevent
  2169. ./devices/virtual/tty/tty36/uevent
  2170. ./devices/virtual/tty/tty37/uevent
  2171. ./devices/virtual/tty/tty38/uevent
  2172. ./devices/virtual/tty/tty39/uevent
  2173. ./devices/virtual/tty/tty40/uevent
  2174. ./devices/virtual/tty/tty41/uevent
  2175. ./devices/virtual/tty/tty42/uevent
  2176. ./devices/virtual/tty/tty43/uevent
  2177. ./devices/virtual/tty/tty44/uevent
  2178. ./devices/virtual/tty/tty45/uevent
  2179. ./devices/virtual/tty/tty46/uevent
  2180. ./devices/virtual/tty/tty47/uevent
  2181. ./devices/virtual/tty/tty48/uevent
  2182. ./devices/virtual/tty/tty49/uevent
  2183. ./devices/virtual/tty/tty50/uevent
  2184. ./devices/virtual/tty/tty51/uevent
  2185. ./devices/virtual/tty/tty52/uevent
  2186. ./devices/virtual/tty/tty53/uevent
  2187. ./devices/virtual/tty/tty54/uevent
  2188. ./devices/virtual/tty/tty55/uevent
  2189. ./devices/virtual/tty/tty56/uevent
  2190. ./devices/virtual/tty/tty57/uevent
  2191. ./devices/virtual/tty/tty58/uevent
  2192. ./devices/virtual/tty/tty59/uevent
  2193. ./devices/virtual/tty/tty60/uevent
  2194. ./devices/virtual/tty/tty61/uevent
  2195. ./devices/virtual/tty/tty62/uevent
  2196. ./devices/virtual/tty/tty63/uevent
  2197. ./devices/virtual/misc/cpu_dma_latency/uevent
  2198. ./devices/virtual/misc/network_latency/uevent
  2199. ./devices/virtual/misc/ubi_ctrl/uevent
  2200. ./devices/virtual/misc/autofs/uevent
  2201. ./devices/virtual/misc/loop-control/uevent
  2202. ./devices/virtual/misc/network_throughput/uevent
  2203. ./devices/virtual/block/loop0/uevent
  2204. ./devices/virtual/block/loop1/uevent
  2205. ./devices/virtual/block/loop2/uevent
  2206. ./devices/virtual/block/loop3/uevent
  2207. ./devices/virtual/block/loop4/uevent
  2208. ./devices/virtual/block/loop5/uevent
  2209. ./devices/virtual/block/loop6/uevent
  2210. ./devices/virtual/block/loop7/uevent
  2211. ./devices/virtual/graphics/fbcon/uevent
  2212. ./devices/virtual/workqueue/writeback/uevent
  2213. ./devices/virtual/workqueue/uevent
  2214. ./devices/virtual/usbmon/usbmon0/uevent
  2215. ./devices/virtual/vtconsole/vtcon0/uevent
  2216. ./devices/virtual/vtconsole/vtcon1/uevent
  2217. ./devices/platform/imx21-uart.1/tty/ttymxc1/uevent
  2218. ./devices/platform/imx21-uart.1/uevent
  2219. ./devices/platform/imx21-uart.4/tty/ttymxc4/uevent
  2220. ./devices/platform/imx21-uart.4/uevent
  2221. ./devices/platform/imxdi_rtc.0/uevent
  2222. ./devices/platform/imx21-i2c.0/i2c-0/i2c-dev/i2c-0/uevent
  2223. ./devices/platform/imx21-i2c.0/i2c-0/uevent
  2224. ./devices/platform/imx21-i2c.0/uevent
  2225. ./devices/platform/mxc-ehci.1/usb1/ep_00/uevent
  2226. ./devices/platform/mxc-ehci.1/usb1/uevent
  2227. ./devices/platform/mxc-ehci.1/usb1/1-0:1.0/ep_81/uevent
  2228. ./devices/platform/mxc-ehci.1/usb1/1-0:1.0/port1/uevent
  2229. ./devices/platform/mxc-ehci.1/usb1/1-0:1.0/uevent
  2230. ./devices/platform/mxc-ehci.1/uevent
  2231. ./devices/platform/mxc-ehci.1/usbmon/usbmon1/uevent
  2232. ./devices/platform/alarmtimer/uevent
  2233. ./devices/platform/imx25-nand.0/mtd/mtd0/mtdblock0/uevent
  2234. ./devices/platform/imx25-nand.0/mtd/mtd0/uevent
  2235. ./devices/platform/imx25-nand.0/mtd/mtd1/mtdblock1/uevent
  2236. ./devices/platform/imx25-nand.0/mtd/mtd1/uevent
  2237. ./devices/platform/imx25-nand.0/mtd/mtd2/mtdblock2/uevent
  2238. ./devices/platform/imx25-nand.0/mtd/mtd2/uevent
  2239. ./devices/platform/imx25-nand.0/mtd/mtd3/mtdblock3/uevent
  2240. ./devices/platform/imx25-nand.0/mtd/mtd3/uevent
  2241. ./devices/platform/imx25-nand.0/mtd/mtd4/mtdblock4/uevent
  2242. ./devices/platform/imx25-nand.0/mtd/mtd4/uevent
  2243. ./devices/platform/imx25-nand.0/mtd/mtd0ro/uevent
  2244. ./devices/platform/imx25-nand.0/mtd/mtd1ro/uevent
  2245. ./devices/platform/imx25-nand.0/mtd/mtd2ro/uevent
  2246. ./devices/platform/imx25-nand.0/mtd/mtd3ro/uevent
  2247. ./devices/platform/imx25-nand.0/mtd/mtd4ro/uevent
  2248. ./devices/platform/imx25-nand.0/uevent
  2249. ./devices/platform/imx31-audmux.0/uevent
  2250. ./devices/platform/imx21-fb.0/graphics/fb0/uevent
  2251. ./devices/platform/imx21-fb.0/uevent
  2252. ./devices/platform/imx2-wdt.0/uevent
  2253. ./devices/platform/imx-keypad/input/input0/uevent
  2254. ./devices/platform/imx-keypad/uevent
  2255. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan10/uevent
  2256. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan11/uevent
  2257. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan12/uevent
  2258. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan13/uevent
  2259. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan14/uevent
  2260. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan15/uevent
  2261. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan16/uevent
  2262. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan17/uevent
  2263. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan18/uevent
  2264. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan19/uevent
  2265. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan20/uevent
  2266. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan21/uevent
  2267. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan22/uevent
  2268. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan23/uevent
  2269. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan24/uevent
  2270. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan25/uevent
  2271. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan26/uevent
  2272. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan27/uevent
  2273. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan28/uevent
  2274. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan29/uevent
  2275. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan30/uevent
  2276. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan0/uevent
  2277. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan1/uevent
  2278. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan2/uevent
  2279. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan3/uevent
  2280. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan4/uevent
  2281. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan5/uevent
  2282. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan6/uevent
  2283. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan7/uevent
  2284. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan8/uevent
  2285. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan9/uevent
  2286. ./devices/platform/mxc_ahb/imx35-sdma/uevent
  2287. ./devices/platform/mxc_ahb/uevent
  2288. ./devices/platform/mxc_aips/uevent
  2289. ./devices/platform/mxc_aips/imx35-gpio.0/gpio/gpiochip0/uevent
  2290. ./devices/platform/mxc_aips/imx35-gpio.0/uevent
  2291. ./devices/platform/mxc_aips/imx35-gpio.1/gpio/gpiochip32/uevent
  2292. ./devices/platform/mxc_aips/imx35-gpio.1/uevent
  2293. ./devices/platform/mxc_aips/imx35-gpio.2/gpio/gpiochip64/uevent
  2294. ./devices/platform/mxc_aips/imx35-gpio.2/uevent
  2295. ./devices/platform/mxc_aips/imx35-gpio.3/gpio/gpiochip96/uevent
  2296. ./devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio120/uevent
  2297. ./devices/platform/mxc_aips/imx35-gpio.3/uevent
  2298. ./devices/platform/imx25-fec.0/net/eth0/uevent
  2299. ./devices/platform/imx25-fec.0/uevent
  2300. ./devices/platform/imx25-fec.0/mdio_bus/imx25-fec-1/uevent
  2301. ./devices/platform/uevent
  2302. ./devices/platform/imx35-cspi.0/spi_master/spi0/spi0.1/uevent
  2303. ./devices/platform/imx35-cspi.0/spi_master/spi0/spi0.3/spidev/spidev0.3/uevent
  2304. ./devices/platform/imx35-cspi.0/spi_master/spi0/spi0.3/uevent
  2305. ./devices/platform/imx35-cspi.0/spi_master/spi0/uevent
  2306. ./devices/platform/imx35-cspi.0/uevent
  2307. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.0/rtc/rtc0/uevent
  2308. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.0/uevent
  2309. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.1/spidev/spidev1.1/uevent
  2310. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.1/uevent
  2311. ./devices/platform/imx35-cspi.1/spi_master/spi1/uevent
  2312. ./devices/platform/imx35-cspi.1/uevent
  2313. ./devices/platform/imx-udc-mx27/udc/imx-udc-mx27/uevent
  2314. ./devices/platform/imx-udc-mx27/gadget/uevent
  2315. ./devices/platform/imx-udc-mx27/uevent
  2316. ./devices/platform/regulatory.0/uevent
  2317. ./kernel/uevent_helper
  2318. ./kernel/uevent_seqnum
  2319. ./module/sg/uevent
  2320. ./module/vt/uevent
  2321. ./module/mmc_core/uevent
  2322. ./module/hid/uevent
  2323. ./module/nfs/uevent
  2324. ./module/sit/uevent
  2325. ./module/ubi/uevent
  2326. ./module/tcp_cubic/uevent
  2327. ./module/ipv6/uevent
  2328. ./module/loop/uevent
  2329. ./module/cfg80211/uevent
  2330. ./module/cpuidle/uevent
  2331. ./module/rcutree/uevent
  2332. ./module/dns_resolver/uevent
  2333. ./module/block/uevent
  2334. ./module/auth_rpcgss/uevent
  2335. ./module/lockd/uevent
  2336. ./module/sdhci/uevent
  2337. ./module/ubifs/uevent
  2338. ./module/mac80211/uevent
  2339. ./module/firmware_class/uevent
  2340. ./module/rtc_pcf2123/uevent
  2341. ./module/workqueue/uevent
  2342. ./module/rt2x00lib/uevent
  2343. ./module/rt2x00usb/uevent
  2344. ./module/spurious/uevent
  2345. ./module/usb_storage/uevent
  2346. ./module/scsi_mod/uevent
  2347. ./module/rt2800lib/uevent
  2348. ./module/rt2800usb/uevent
  2349. ./module/ehci_hcd/uevent
  2350. ./module/kernel/uevent
  2351. ./module/mmcblk/uevent
  2352. ./module/ads7953/uevent
  2353. ./module/printk/uevent
  2354. ./module/random/uevent
  2355. ./module/spidev/uevent
  2356. ./module/sunrpc/uevent
  2357. ./module/usbhid/uevent
  2358. ./module/usbcore/uevent
  2359. ./module/input_polldev/uevent
  2360. ./module/8188eu/uevent
  2361. ./module/rcupdate/uevent
  2362. ./module/keyboard/uevent
  2363. ./module/rtl8192cu/uevent
  2364. root 12:34:17 : /sys # find . -name uevent\* | fgrep imx
  2365. ./bus/platform/drivers/sdhci-esdhc-imx/uevent
  2366. ./bus/platform/drivers/spi_imx/uevent
  2367. ./bus/platform/drivers/imx-fb/uevent
  2368. ./bus/platform/drivers/imx-keypad/uevent
  2369. ./bus/platform/drivers/imx-sdma/uevent
  2370. ./bus/platform/drivers/imx-uart/uevent
  2371. ./bus/platform/drivers/imx-i2c/uevent
  2372. ./bus/platform/drivers/imx-pwm/uevent
  2373. ./devices/platform/imx21-uart.1/tty/ttymxc1/uevent
  2374. ./devices/platform/imx21-uart.1/uevent
  2375. ./devices/platform/imx21-uart.4/tty/ttymxc4/uevent
  2376. ./devices/platform/imx21-uart.4/uevent
  2377. ./devices/platform/imxdi_rtc.0/uevent
  2378. ./devices/platform/imx21-i2c.0/i2c-0/i2c-dev/i2c-0/uevent
  2379. ./devices/platform/imx21-i2c.0/i2c-0/uevent
  2380. ./devices/platform/imx21-i2c.0/uevent
  2381. ./devices/platform/imx25-nand.0/mtd/mtd0/mtdblock0/uevent
  2382. ./devices/platform/imx25-nand.0/mtd/mtd0/uevent
  2383. ./devices/platform/imx25-nand.0/mtd/mtd1/mtdblock1/uevent
  2384. ./devices/platform/imx25-nand.0/mtd/mtd1/uevent
  2385. ./devices/platform/imx25-nand.0/mtd/mtd2/mtdblock2/uevent
  2386. ./devices/platform/imx25-nand.0/mtd/mtd2/uevent
  2387. ./devices/platform/imx25-nand.0/mtd/mtd3/mtdblock3/uevent
  2388. ./devices/platform/imx25-nand.0/mtd/mtd3/uevent
  2389. ./devices/platform/imx25-nand.0/mtd/mtd4/mtdblock4/uevent
  2390. ./devices/platform/imx25-nand.0/mtd/mtd4/uevent
  2391. ./devices/platform/imx25-nand.0/mtd/mtd0ro/uevent
  2392. ./devices/platform/imx25-nand.0/mtd/mtd1ro/uevent
  2393. ./devices/platform/imx25-nand.0/mtd/mtd2ro/uevent
  2394. ./devices/platform/imx25-nand.0/mtd/mtd3ro/uevent
  2395. ./devices/platform/imx25-nand.0/mtd/mtd4ro/uevent
  2396. ./devices/platform/imx25-nand.0/uevent
  2397. ./devices/platform/imx31-audmux.0/uevent
  2398. ./devices/platform/imx21-fb.0/graphics/fb0/uevent
  2399. ./devices/platform/imx21-fb.0/uevent
  2400. ./devices/platform/imx2-wdt.0/uevent
  2401. ./devices/platform/imx-keypad/input/input0/uevent
  2402. ./devices/platform/imx-keypad/uevent
  2403. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan10/uevent
  2404. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan11/uevent
  2405. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan12/uevent
  2406. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan13/uevent
  2407. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan14/uevent
  2408. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan15/uevent
  2409. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan16/uevent
  2410. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan17/uevent
  2411. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan18/uevent
  2412. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan19/uevent
  2413. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan20/uevent
  2414. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan21/uevent
  2415. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan22/uevent
  2416. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan23/uevent
  2417. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan24/uevent
  2418. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan25/uevent
  2419. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan26/uevent
  2420. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan27/uevent
  2421. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan28/uevent
  2422. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan29/uevent
  2423. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan30/uevent
  2424. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan0/uevent
  2425. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan1/uevent
  2426. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan2/uevent
  2427. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan3/uevent
  2428. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan4/uevent
  2429. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan5/uevent
  2430. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan6/uevent
  2431. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan7/uevent
  2432. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan8/uevent
  2433. ./devices/platform/mxc_ahb/imx35-sdma/dma/dma0chan9/uevent
  2434. ./devices/platform/mxc_ahb/imx35-sdma/uevent
  2435. ./devices/platform/mxc_aips/imx35-gpio.0/gpio/gpiochip0/uevent
  2436. ./devices/platform/mxc_aips/imx35-gpio.0/uevent
  2437. ./devices/platform/mxc_aips/imx35-gpio.1/gpio/gpiochip32/uevent
  2438. ./devices/platform/mxc_aips/imx35-gpio.1/uevent
  2439. ./devices/platform/mxc_aips/imx35-gpio.2/gpio/gpiochip64/uevent
  2440. ./devices/platform/mxc_aips/imx35-gpio.2/uevent
  2441. ./devices/platform/mxc_aips/imx35-gpio.3/gpio/gpiochip96/uevent
  2442. ./devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio120/uevent
  2443. ./devices/platform/mxc_aips/imx35-gpio.3/uevent
  2444. ./devices/platform/imx25-fec.0/net/eth0/uevent
  2445. ./devices/platform/imx25-fec.0/uevent
  2446. ./devices/platform/imx25-fec.0/mdio_bus/imx25-fec-1/uevent
  2447. ./devices/platform/imx35-cspi.0/spi_master/spi0/spi0.1/uevent
  2448. ./devices/platform/imx35-cspi.0/spi_master/spi0/spi0.3/spidev/spidev0.3/uevent
  2449. ./devices/platform/imx35-cspi.0/spi_master/spi0/spi0.3/uevent
  2450. ./devices/platform/imx35-cspi.0/spi_master/spi0/uevent
  2451. ./devices/platform/imx35-cspi.0/uevent
  2452. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.0/rtc/rtc0/uevent
  2453. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.0/uevent
  2454. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.1/spidev/spidev1.1/uevent
  2455. ./devices/platform/imx35-cspi.1/spi_master/spi1/spi1.1/uevent
  2456. ./devices/platform/imx35-cspi.1/spi_master/spi1/uevent
  2457. ./devices/platform/imx35-cspi.1/uevent
  2458. ./devices/platform/imx-udc-mx27/udc/imx-udc-mx27/uevent
  2459. ./devices/platform/imx-udc-mx27/gadget/uevent
  2460. ./devices/platform/imx-udc-mx27/uevent
  2461. root 12:34:24 : /sys # cat ./devices/platform/imx-keypad/input/input0/uevent
  2462. PRODUCT=19/0/0/0
  2463. NAME="imx-keypad"
  2464. PROP=0
  2465. EV=100013
  2466. KEY=1680 80001f f8000000 10000000
  2467. MSC=10
  2468. MODALIAS=input:b0019v0000p0000e0000-e0,1,4,14,kram4,lsfw
  2469. root 12:34:40 : /sys # cat ./devices/platform/imx-keypad/input/input0/uevent
  2470. PRODUCT=19/0/0/0
  2471. NAME="imx-keypad"
  2472. PROP=0
  2473. EV=100013
  2474. KEY=1680 80001f f8000000 10000000
  2475. MSC=10
  2476. MODALIAS=input:b0019v0000p0000e0000-e0,1,4,14,kram4,lsfw
  2477. root 12:34:50 : /sys # cat ./devices/platform/imx-keypad/input/input0/      
  2478. capabilities/ id/           name          power/        subsystem/    uniq          
  2479. device/       modalias      phys          properties    uevent        
  2480. root 12:34:50 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/
  2481. driver/    input/     modalias   power/     subsystem/ uevent    
  2482. root 12:34:50 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/
  2483. capabilities/ id/           name          power/        subsystem/    uniq          
  2484. device/       modalias      phys          properties    uevent        
  2485. root 12:34:50 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/
  2486. capabilities/ id/           name          power/        subsystem/    uniq          
  2487. device/       modalias      phys          properties    uevent        
  2488. root 12:34:50 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/
  2489. capabilities/ id/           name          power/        subsystem/    uniq          
  2490. device/       modalias      phys          properties    uevent        
  2491. root 12:34:50 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2492.  
  2493. root 12:35:55 : /sys # cat ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2494.  
  2495. root 12:36:00 : /sys # od -x ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2496. 0000000     000a                                                        
  2497. 0000001
  2498. root 12:36:07 : /sys # od -x ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2499. 0000000     000a                                                        
  2500. 0000001
  2501. root 12:36:11 : /sys # od -x ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2502. 0000000     000a                                                        
  2503. 0000001
  2504. root 12:36:14 : /sys # od -x ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2505. 0000000     000a                                                        
  2506. 0000001
  2507. root 12:36:19 : /sys # od -x ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2508. 0000000     000a                                                        
  2509. 0000001
  2510. root 12:36:21 : /sys # od -x ./devices/platform/imx-keypad/input/input0/device/input/input0/subsystem/input0/phys
  2511. 0000000     000a                                                        
  2512. 0000001
  2513. root 12:36:23 : /sys # find . -name \*key\*poll\* -ls
  2514. find: unrecognized: -ls
  2515. BusyBox v1.20.1 (2019-12-17 15:35:25 CET) multi-call binary.
  2516.  
  2517. Usage: find [PATH]... [OPTIONS] [ACTIONS]
  2518.  
  2519. Search for files and perform actions on them.
  2520. First failed action stops processing of current file.
  2521. Defaults: PATH is current directory, action is '-print'
  2522.  
  2523.         -follow         Follow symlinks
  2524.         -xdev           Don't descend directories on other filesystems
  2525.         -maxdepth N     Descend at most N levels. -maxdepth 0 applies
  2526.                         actions to command line arguments only
  2527.         -mindepth N     Don't act on first N levels
  2528.         -depth          Act on directory *after* traversing it
  2529.  
  2530. Actions:
  2531.         ( ACTIONS )     Group actions for -o / -a
  2532.         ! ACT           Invert ACT's success/failure
  2533.         ACT1 [-a] ACT2  If ACT1 fails, stop, else do ACT2
  2534.         ACT1 -o ACT2    If ACT1 succeeds, stop, else do ACT2
  2535.                         Note: -a has higher priority than -o
  2536.         -name PATTERN   Match file name (w/o directory name) to PATTERN
  2537.         -iname PATTERN  Case insensitive -name
  2538.         -path PATTERN   Match path to PATTERN
  2539.         -ipath PATTERN  Case insensitive -path
  2540.         -regex PATTERN  Match path to regex PATTERN
  2541.         -type X         File type is X (one of: f,d,l,b,c,...)
  2542.         -perm MASK      At least one mask bit (+MASK), all bits (-MASK),
  2543.                         or exactly MASK bits are set in file's mode
  2544.         -mtime DAYS     mtime is greater than (+N), less than (-N),
  2545.                         or exactly N days in the past
  2546.         -mmin MINS      mtime is greater than (+N), less than (-N),
  2547.                         or exactly N minutes in the past
  2548.         -newer FILE     mtime is more recent than FILE's
  2549.         -inum N         File has inode number N
  2550.         -user NAME/ID   File is owned by given user
  2551.         -group NAME/ID  File is owned by given group
  2552.         -size N[bck]    File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
  2553.                         +/-N: file size is bigger/smaller than N
  2554.         -prune          If current file is directory, don't descend into it
  2555. If none of the following actions is specified, -print is assumed
  2556.         -print          Print file name
  2557.         -print0         Print file name, NUL terminated
  2558.         -exec CMD ARG ; Run CMD with all instances of {} replaced by
  2559.                         file name. Fails if CMD exits with nonzero
  2560.  
  2561. root 13:55:09 : /sys # find . -name \*key\*poll\*    
  2562. ./bus/platform/drivers/gpio-keys-polled
  2563. root 13:55:13 : /sys # cat ./bus/platform/drivers/gpio-keys-polled/
  2564. bind    uevent  unbind  
  2565. root 13:55:13 : /sys # cat ./bus/platform/drivers/gpio-keys-polled/
  2566. bind    uevent  unbind  
  2567. root 13:55:13 : /sys # cat ./bus/platform/drivers/gpio-keys-polled/bind
  2568. cat: can't open './bus/platform/drivers/gpio-keys-polled/bind': Permission denied
  2569. root 13:55:27 : /sys # ls -l ./bus/platform/drivers/gpio-keys-polled/    
  2570. total 0
  2571. --w------- 1 root root 4096 Jan  2 11:47 bind
  2572. --w------- 1 root root 4096 Jan  2 11:47 uevent
  2573. --w------- 1 root root 4096 Jan  2 11:47 unbind
  2574. root 13:55:34 : /sys # echo 1 >./bus/platform/drivers/gpio-keys-polled/bind
  2575. -bash: echo: write error: No such device
  2576. root 13:58:20 : /sys # dmesg
  2577. Booting Linux on physical CPU 0x0
  2578. Initializing cgroup subsys cpuset
  2579. Initializing cgroup subsys cpu
  2580. Initializing cgroup subsys cpuacct
  2581. Linux version 3.10.108-rt123-g9de6c66 (rmainz@vm) (gcc version 4.7.2 (OSELAS.Toolchain-2012.12.0) ) #1 PREEMPT RT Tue Dec 17 14:55:12 CET 2019
  2582. CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
  2583. CPU: VIVT data cache, VIVT instruction cache
  2584. Machine: Eckelmann ECU01
  2585. Memory policy: ECC disabled, Data cache writeback
  2586. On node 0 totalpages: 32768
  2587. free_area_init_node: node 0, pgdat c064c070, node_mem_map c067f000
  2588.   Normal zone: 256 pages used for memmap
  2589.   Normal zone: 0 pages reserved
  2590.   Normal zone: 32768 pages, LIFO batch:7
  2591. pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
  2592. pcpu-alloc: [0] 0
  2593. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
  2594. Kernel command line: console=ttymxc4,115200n consoleblank=0   lpj=995328 mtdparts=mxc_nand:1024k(barebox),1024k(bareboxenv),2432k(history),80M(root),-(var) vt.global_cursor_default=0 ro root=ubi0_0 rootfstype=ubifs ubi.mtd=3,2048
  2595. PID hash table entries: 512 (order: -1, 2048 bytes)
  2596. Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
  2597. Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
  2598. Memory: 128MB = 128MB total
  2599. Memory: 123252k/123252k available, 7820k reserved, 0K highmem
  2600. Virtual kernel memory layout:
  2601.     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
  2602.     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
  2603.     vmalloc : 0xc8800000 - 0xff000000   ( 872 MB)
  2604.     lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
  2605.     modules : 0xbf000000 - 0xc0000000   (  16 MB)
  2606.       .text : 0xc0008000 - 0xc05d7eac   (5952 kB)
  2607.       .init : 0xc05d8000 - 0xc06119e4   ( 231 kB)
  2608.       .data : 0xc0612000 - 0xc064c8a0   ( 235 kB)
  2609.        .bss : 0xc064c8a0 - 0xc067e978   ( 201 kB)
  2610. SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
  2611. Preemptible hierarchical RCU implementation.
  2612.         Dump stacks of tasks blocking RCU-preempt GP.
  2613. NR_IRQS:16 nr_irqs:16 16
  2614. MXC IRQ initialized
  2615. sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 64585ms
  2616. Console: colour dummy device 80x30
  2617. Calibrating delay loop (skipped) preset value.. 398.13 BogoMIPS (lpj=995328)
  2618. pid_max: default: 32768 minimum: 301
  2619. Mount-cache hash table entries: 512
  2620. Initializing cgroup subsys freezer
  2621. Initializing cgroup subsys blkio
  2622. CPU: Testing write buffer coherency: ok
  2623. Setting up static identity map for 0xc0484488 - 0xc04844e0
  2624. devtmpfs: initialized
  2625. NET: Registered protocol family 16
  2626. DMA: preallocated 256 KiB pool for atomic coherent allocations
  2627. gpiochip_add: registered GPIOs 0 to 31 on device: imx35-gpio.0
  2628. gpiochip_add: registered GPIOs 32 to 63 on device: imx35-gpio.1
  2629. gpiochip_add: registered GPIOs 64 to 95 on device: imx35-gpio.2
  2630. gpiochip_add: registered GPIOs 96 to 127 on device: imx35-gpio.3
  2631. bio: create slab <bio-0> at 0
  2632. SCSI subsystem initialized
  2633. usbcore: registered new interface driver usbfs
  2634. usbcore: registered new interface driver hub
  2635. usbcore: registered new device driver usb
  2636. i2c i2c-0: IMX I2C adapter registered
  2637. pps_core: LinuxPPS API ver. 1 registered
  2638. pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
  2639. PTP clock support registered
  2640. cfg80211: Calling CRDA to update world regulatory domain
  2641. Switching to clocksource mxc_timer1
  2642. NET: Registered protocol family 2
  2643. TCP established hash table entries: 1024 (order: 1, 8192 bytes)
  2644. TCP bind hash table entries: 1024 (order: 2, 24576 bytes)
  2645. TCP: Hash tables configured (established 1024 bind 1024)
  2646. TCP: reno registered
  2647. UDP hash table entries: 256 (order: 2, 16384 bytes)
  2648. UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
  2649. NET: Registered protocol family 1
  2650. RPC: Registered named UNIX socket transport module.
  2651. RPC: Registered udp transport module.
  2652. RPC: Registered tcp transport module.
  2653. RPC: Registered tcp NFSv4.1 backchannel transport module.
  2654. NFS: Registering the id_resolver key type
  2655. Key type id_resolver registered
  2656. Key type id_legacy registered
  2657. msgmni has been set to 240
  2658. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
  2659. io scheduler noop registered
  2660. io scheduler cfq registered (default)
  2661. imx-fb imx21-fb.0: i.MX Framebuffer driver
  2662. Console: switching to colour frame buffer device 40x30
  2663. imx-sdma imx35-sdma: initialized
  2664. Serial: IMX driver
  2665. imx21-uart.1: ttymxc1 at MMIO 0x43f94000 (irq = 48) is a IMX
  2666. imx21-uart.4: ttymxc4 at MMIO 0x5002c000 (irq = 56) is a IMX
  2667. console [ttymxc4] enabled
  2668. loop: module loaded
  2669. Trying ONFI probe in 16 bits mode, aborting !
  2670. NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit), 128MiB, page size: 2048, OOB size: 64
  2671. Scanning device for bad blocks
  2672. Bad eraseblock 1022 at 0x000007fc0000
  2673. Bad eraseblock 1023 at 0x000007fe0000
  2674. 5 cmdlinepart partitions found on MTD device mxc_nand
  2675. Creating 5 MTD partitions on "mxc_nand":
  2676. 0x000000000000-0x000000100000 : "barebox"
  2677. 0x000000100000-0x000000200000 : "bareboxenv"
  2678. 0x000000200000-0x000000460000 : "history"
  2679. 0x000000460000-0x000005460000 : "root"
  2680. 0x000005460000-0x000008000000 : "var"
  2681. of_get_named_gpio_flags: can't parse gpios property
  2682. of_get_named_gpio_flags: can't parse gpios property
  2683. of_get_named_gpio_flags: can't parse gpios property
  2684. of_get_named_gpio_flags: can't parse gpios property
  2685. spi_imx imx35-cspi.0: master is unqueued, this is deprecated
  2686. spi_imx imx35-cspi.0: probed
  2687. of_get_named_gpio_flags: can't parse gpios property
  2688. of_get_named_gpio_flags: can't parse gpios property
  2689. spi_imx imx35-cspi.1: master is unqueued, this is deprecated
  2690. spi_imx imx35-cspi.1: probed
  2691. fec imx25-fec.0 (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00
  2692. fec imx25-fec.0 (unregistered net_device): Using random MAC address: d6:d4:f7:dd:87:56
  2693. libphy: fec_enet_mii_bus: probed
  2694. usbcore: registered new interface driver rtl8192cu
  2695. usbcore: registered new interface driver rt2800usb
  2696. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
  2697. ehci_hcd: block sizes: qh 64 qtd 96 itd 160 sitd 96
  2698. ehci-mxc: Freescale On-Chip EHCI Host driver
  2699. mxc-ehci mxc-ehci.1: EHCI Host Controller
  2700. mxc-ehci mxc-ehci.1: new USB bus registered, assigned bus number 1
  2701. mxc-ehci mxc-ehci.1: reset hcs_params 0x10011 dbg=0 ind cc=0 pcc=0 ordered ports=1
  2702. mxc-ehci mxc-ehci.1: reset hcc_params 0006 thresh 0 uframes 256/512/1024 park
  2703. mxc-ehci mxc-ehci.1: park 0
  2704. mxc-ehci mxc-ehci.1: reset command 0080b02  park=3 ithresh=8 period=1024 Reset HALT
  2705. mxc-ehci mxc-ehci.1: irq 51, io mem 0x53ff4400
  2706. mxc-ehci mxc-ehci.1: init command 0010005 (park)=0 ithresh=1 period=512 RUN
  2707. mxc-ehci mxc-ehci.1: USB 2.0 started, EHCI 1.00
  2708. usb usb1: default language 0x0409
  2709. usb usb1: udev 1, busnum 1, minor = 0
  2710. usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
  2711. usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
  2712. usb usb1: Product: EHCI Host Controller
  2713. usb usb1: Manufacturer: Linux 3.10.108-rt123-g9de6c66 ehci_hcd
  2714. usb usb1: SerialNumber: mxc-ehci.1
  2715. usb usb1: usb_probe_device
  2716. usb usb1: configuration #1 chosen from 1 choice
  2717. usb usb1: adding 1-0:1.0 (config #1, interface 0)
  2718. hub 1-0:1.0: usb_probe_interface
  2719. hub 1-0:1.0: usb_probe_interface - got id
  2720. hub 1-0:1.0: USB hub found
  2721. hub 1-0:1.0: 1 port detected
  2722. hub 1-0:1.0: standalone hub
  2723. hub 1-0:1.0: individual port power switching
  2724. hub 1-0:1.0: individual port over-current protection
  2725. hub 1-0:1.0: Single TT
  2726. hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)
  2727. hub 1-0:1.0: power on to power good time: 20ms
  2728. hub 1-0:1.0: local power source is good
  2729. hub 1-0:1.0: enabling power on all ports
  2730. usbcore: registered new interface driver usb-storage
  2731. input: imx-keypad as /devices/platform/imx-keypad/input/input0
  2732. rtc-pcf2123 spi1.0: chip found, driver version 0.6
  2733. rtc-pcf2123 spi1.0: spiclk 4000 KHz.
  2734. rtc-pcf2123 spi1.0: rtc core: registered rtc-pcf2123 as rtc0
  2735. i2c /dev entries driver
  2736. cpuidle: using governor ladder
  2737. sdhci: Secure Digital Host Controller Interface driver
  2738. sdhci: Copyright(c) Pierre Ossman
  2739. sdhci-pltfm: SDHCI platform and OF driver helper
  2740. usbcore: registered new interface driver usbhid
  2741. usbhid: USB HID core driver
  2742. TCP: cubic registered
  2743. NET: Registered protocol family 10
  2744. hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000
  2745. sit: IPv6 over IPv4 tunneling driver
  2746. NET: Registered protocol family 17
  2747. Key type dns_resolver registered
  2748. UBI: attaching mtd3 to ubi0
  2749. UBI: scanning is finished
  2750. UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 8, need 20
  2751. UBI: attached mtd3 (name "root", size 80 MiB) to ubi0
  2752. UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  2753. UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  2754. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
  2755. UBI: good PEBs: 640, bad PEBs: 0, corrupted PEBs: 0
  2756. UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
  2757. UBI: max/mean erase counter: 104/69, WL threshold: 4096, image sequence number: 24185
  2758. UBI: available PEBs: 0, total reserved PEBs: 640, PEBs reserved for bad PEB handling: 8
  2759. UBI: background thread "ubi_bgt0d" started, PID 564
  2760. rtc-pcf2123 spi1.0: setting system clock to 2020-01-02 11:43:39 UTC (1577965419)
  2761. UBIFS: mounted UBI device 0, volume 0, name "root", R/O mode
  2762. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  2763. UBIFS: FS size: 78344192 bytes (74 MiB, 617 LEBs), journal size 9023488 bytes (8 MiB, 72 LEBs)
  2764. UBIFS: reserved for root: 0 bytes (0 KiB)
  2765. UBIFS: media format: w4/r0 (latest is w4/r0), UUID CCA32AB6-CBD9-481A-8B39-705ED27E195D, small LPT model
  2766. VFS: Mounted root (ubifs filesystem) readonly on device 0:12.
  2767. devtmpfs: mounted
  2768. Freeing unused kernel memory: 228K
  2769. >systemd[1]: systemd 204 running in system mode. (-PAM +LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT -LIBCRYPTSETUP -GCRYPT -ACL -XZ)
  2770. >systemd[1]: Set hostname to <ecu01>.
  2771. >systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
  2772. >systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
  2773. >systemd[1]: Started Forward Password Requests to Wall Directory Watch.
  2774. >systemd[1]: Expecting device dev-ttymxc4.device...
  2775. >systemd[1]: Starting Remote File Systems.
  2776. >systemd[1]: Reached target Remote File Systems.
  2777. >systemd[1]: Starting Timers.
  2778. >systemd[1]: Reached target Timers.
  2779. >systemd[1]: Starting Delayed Shutdown Socket.
  2780. >systemd[1]: Listening on Delayed Shutdown Socket.
  2781. >systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
  2782. >systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
  2783. >systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
  2784. >systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
  2785. >systemd[1]: Starting Paths.
  2786. >systemd[1]: Reached target Paths.
  2787. >systemd[1]: Starting udev Kernel Socket.
  2788. >systemd[1]: Listening on udev Kernel Socket.
  2789. >systemd[1]: Starting udev Control Socket.
  2790. >systemd[1]: Listening on udev Control Socket.
  2791. >systemd[1]: Starting Journal Socket.
  2792. >systemd[1]: Listening on Journal Socket.
  2793. >systemd[1]: Starting udev Coldplug TTY Devices for Getty...
  2794. >systemd[1]: Starting Apply Kernel Variables...
  2795. >systemd[1]: Starting Journal Service...
  2796. >systemd[1]: Started Journal Service.
  2797. >systemd[1]: Starting Load Kernel Modules...
  2798. >systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
  2799. >systemd[1]: Started Set Up Additional Binary Formats.
  2800. >systemd[1]: Starting Create static device nodes in /dev...
  2801. >systemd[1]: Starting Attach data ubi partition...
  2802. >systemd[1]: Starting File System Check on Root Device...
  2803. UBI: attaching mtd4 to ubi1
  2804. >systemd-journald[587]: Failed to resolve 'systemd-journal' group: No such process
  2805. ads7953_init
  2806. mmc_init() called
  2807. qa_driver_init() called
  2808. >systemd-modules-load[590]: Inserted module 'qadriver'
  2809. >systemd-udevd[622]: starting version 204
  2810. UBI: scanning is finished
  2811. UBI: attached mtd4 (name "var", size 43 MiB) to ubi1
  2812. UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
  2813. UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
  2814. UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
  2815. UBI: good PEBs: 347, bad PEBs: 2, corrupted PEBs: 0
  2816. UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
  2817. UBI: max/mean erase counter: 79/42, WL threshold: 4096, image sequence number: 48
  2818. UBI: available PEBs: 87, total reserved PEBs: 260, PEBs reserved for bad PEB handling: 18
  2819. UBI: background thread "ubi_bgt1d" started, PID 676
  2820. UBIFS: background thread "ubifs_bgt1_1" started, PID 695
  2821. UBIFS: background thread "ubifs_bgt1_0" started, PID 697
  2822. RTW: rtl8188eu v5.2.2.4_25483.20171222
  2823. RTW: build time: Dec 17 2019 14:59:14
  2824. usbcore: registered new interface driver rtl8188eu
  2825. UBIFS: mounted UBI device 1, volume 1, name "stat"
  2826. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  2827. UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
  2828. UBIFS: reserved for root: 653715 bytes (638 KiB)
  2829. UBIFS: media format: w4/r0 (latest is w4/r0), UUID E80C166F-06CC-4970-BC1D-F90E77A0FE3B, small LPT model
  2830. UBIFS: mounted UBI device 1, volume 0, name "dyn"
  2831. UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
  2832. UBIFS: FS size: 13840384 bytes (13 MiB, 109 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
  2833. UBIFS: reserved for root: 653715 bytes (638 KiB)
  2834. UBIFS: media format: w4/r0 (latest is w4/r0), UUID 30205726-B785-418B-A836-DB1A7803510D, small LPT model
  2835. imx-sdma imx35-sdma: firmware not found
  2836. fec imx25-fec.0 eth0: no PHY, assuming direct connection to switch
  2837. libphy: PHY fixed-0:00 not found
  2838. fec imx25-fec.0 eth0: could not attach to PHY
  2839. qa_mmc_open()
  2840. ecu01-mmc: pin PIN_V_NAMUR_VALID = 0
  2841. ecu01-mmc: running in WALTERSCHEID mode (12 volt signals).
  2842. ecu01-compcap: irq=70/70, changed interrupt thread pid=809 to 'SCHED_FIFO'/rtprio=95
  2843. ecu01-compcap: irq=69/69, changed interrupt thread pid=815 to 'SCHED_FIFO'/rtprio=95
  2844. ecu01-compcap: irq=17/17, changed interrupt thread pid=816 to 'SCHED_FIFO'/rtprio=95
  2845. qa_mmc_release()
  2846. qa_mmc_open()
  2847. ecu01-compcap: irq=70/70, changed interrupt thread pid=817 to 'SCHED_FIFO'/rtprio=95
  2848. ecu01-compcap: irq=69/69, changed interrupt thread pid=818 to 'SCHED_FIFO'/rtprio=95
  2849. ecu01-compcap: irq=17/17, changed interrupt thread pid=819 to 'SCHED_FIFO'/rtprio=95
  2850. UBIFS: background thread "ubifs_bgt0_0" started, PID 835
  2851. UBIFS: background thread "ubifs_bgt0_0" stops
  2852. UBIFS: background thread "ubifs_bgt0_0" started, PID 855
  2853. UBIFS: background thread "ubifs_bgt0_0" stops
  2854. qa_mmc_release()
  2855. qa_driver_exit() called
  2856. root 14:10:10 : /sys # find . -name gpio
  2857. ./devices/platform/mxc_aips/imx35-gpio.0/gpio
  2858. ./devices/platform/mxc_aips/imx35-gpio.1/gpio
  2859. ./devices/platform/mxc_aips/imx35-gpio.2/gpio
  2860. ./devices/platform/mxc_aips/imx35-gpio.3/gpio
  2861. ./class/gpio
  2862. root 14:23:37 : /sys # cd class/gpio
  2863. root 14:23:41 : /sys/class/gpio # ls -la
  2864. total 0
  2865. drwxr-xr-x  2 root root    0 Jan  2 11:43 .
  2866. drwxr-xr-x 39 root root    0 Jan  2 11:43 ..
  2867. --w-------  1 root root 4096 Jan  2 11:44 export
  2868. lrwxrwxrwx  1 root root    0 Jan  2 11:44 gpio120 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio120
  2869. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip0 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpiochip0
  2870. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip32 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpiochip32
  2871. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip64 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpiochip64
  2872. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip96 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpiochip96
  2873. --w-------  1 root root 4096 Jan  2 11:47 unexport
  2874. root 14:23:42 : /sys/class/gpio # for ((i=1 ; i < 100 ; i++)) ; do printf "#trying %d\n" $i; echo "$i" >export ; done
  2875. #trying 1
  2876. #trying 2
  2877. #trying 3
  2878. #trying 4
  2879. #trying 5
  2880. #trying 6
  2881. #trying 7
  2882. #trying 8
  2883. #trying 9
  2884. #trying 10
  2885. #trying 11
  2886. #trying 12
  2887. #trying 13
  2888. #trying 14
  2889. #trying 15
  2890. #trying 16
  2891. #trying 17
  2892. #trying 18
  2893. #trying 19
  2894. #trying 20
  2895. #trying 21
  2896. #trying 22
  2897. #trying 23
  2898. #trying 24
  2899. #trying 25
  2900. #trying 26
  2901. #trying 27
  2902. #trying 28
  2903. #trying 29
  2904. #trying 30
  2905. #trying 31
  2906. #trying 32
  2907. #trying 33
  2908. #trying 34
  2909. #trying 35
  2910. #trying 36
  2911. #trying 37
  2912. #trying 38
  2913. #trying 39
  2914. #trying 40
  2915. #trying 41
  2916. #trying 42
  2917. #trying 43
  2918. #trying 44
  2919. #trying 45
  2920. #trying 46
  2921. #trying 47
  2922. #trying 48
  2923. #trying 49
  2924. #trying 50
  2925. #trying 51
  2926. #trying 52
  2927. #trying 53
  2928. #trying 54
  2929. #trying 55
  2930. #trying 56
  2931. #trying 57
  2932. #trying 58
  2933. -bash: echo: write error: Device or resource busy
  2934. #trying 59
  2935. -bash: echo: write error: Device or resource busy
  2936. #trying 60
  2937. -bash: echo: write error: Device or resource busy
  2938. #trying 61
  2939. #trying 62
  2940. #trying 63
  2941. #trying 64
  2942. #trying 65
  2943. #trying 66
  2944. #trying 67
  2945. #trying 68
  2946. #trying 69
  2947. #trying 70
  2948. #trying 71
  2949. #trying 72
  2950. #trying 73
  2951. #trying 74
  2952. #trying 75
  2953. #trying 76
  2954. #trying 77
  2955. #trying 78
  2956. #trying 79
  2957. #trying 80
  2958. -bash: echo: write error: Device or resource busy
  2959. #trying 81
  2960. -bash: echo: write error: Device or resource busy
  2961. #trying 82
  2962. #trying 83
  2963. #trying 84
  2964. #trying 85
  2965. #trying 86
  2966. #trying 87
  2967. #trying 88
  2968. #trying 89
  2969. #trying 90
  2970. #trying 91
  2971. #trying 92
  2972. #trying 93
  2973. #trying 94
  2974. #trying 95
  2975. #trying 96
  2976. #trying 97
  2977. #trying 98
  2978. #trying 99
  2979. root 14:24:39 : /sys/class/gpio # ls -la
  2980. total 0
  2981. drwxr-xr-x  2 root root    0 Jan  2 11:43 .
  2982. drwxr-xr-x 39 root root    0 Jan  2 11:43 ..
  2983. --w-------  1 root root 4096 Jan  2 14:24 export
  2984. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio1 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio1
  2985. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio10 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio10
  2986. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio11 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio11
  2987. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio12 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio12
  2988. lrwxrwxrwx  1 root root    0 Jan  2 11:44 gpio120 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio120
  2989. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio13 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio13
  2990. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio14 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio14
  2991. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio15 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio15
  2992. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio16 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio16
  2993. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio17 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio17
  2994. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio18 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio18
  2995. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio19 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio19
  2996. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio2 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio2
  2997. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio20 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio20
  2998. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio21 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio21
  2999. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio22 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio22
  3000. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio23 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio23
  3001. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio24 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio24
  3002. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio25 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio25
  3003. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio26 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio26
  3004. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio27 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio27
  3005. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio28 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio28
  3006. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio29 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio29
  3007. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio3 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio3
  3008. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio30 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio30
  3009. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio31 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio31
  3010. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio32 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio32
  3011. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio33 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio33
  3012. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio34 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio34
  3013. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio35 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio35
  3014. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio36 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio36
  3015. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio37 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio37
  3016. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio38 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio38
  3017. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio39 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio39
  3018. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio4 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio4
  3019. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio40 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio40
  3020. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio41 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio41
  3021. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio42 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio42
  3022. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio43 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio43
  3023. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio44 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio44
  3024. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio45 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio45
  3025. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio46 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio46
  3026. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio47 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio47
  3027. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio48 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio48
  3028. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio49 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio49
  3029. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio5 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio5
  3030. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio50 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio50
  3031. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio51 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio51
  3032. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio52 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio52
  3033. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio53 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio53
  3034. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio54 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio54
  3035. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio55 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio55
  3036. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio56 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio56
  3037. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio57 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio57
  3038. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio6 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio6
  3039. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio61 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio61
  3040. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio62 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio62
  3041. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio63 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpio63
  3042. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio64 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio64
  3043. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio65 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio65
  3044. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio66 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio66
  3045. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio67 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio67
  3046. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio68 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio68
  3047. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio69 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio69
  3048. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio7 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio7
  3049. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio70 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio70
  3050. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio71 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio71
  3051. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio72 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio72
  3052. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio73 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio73
  3053. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio74 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio74
  3054. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio75 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio75
  3055. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio76 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio76
  3056. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio77 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio77
  3057. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio78 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio78
  3058. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio79 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio79
  3059. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio8 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio8
  3060. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio82 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio82
  3061. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio83 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio83
  3062. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio84 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio84
  3063. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio85 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio85
  3064. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio86 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio86
  3065. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio87 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio87
  3066. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio88 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio88
  3067. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio89 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio89
  3068. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio9 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpio9
  3069. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio90 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio90
  3070. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio91 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio91
  3071. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio92 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio92
  3072. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio93 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio93
  3073. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio94 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio94
  3074. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio95 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpio95
  3075. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio96 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio96
  3076. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio97 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio97
  3077. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio98 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio98
  3078. lrwxrwxrwx  1 root root    0 Jan  2 14:24 gpio99 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpio99
  3079. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip0 -> ../../devices/platform/mxc_aips/imx35-gpio.0/gpio/gpiochip0
  3080. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip32 -> ../../devices/platform/mxc_aips/imx35-gpio.1/gpio/gpiochip32
  3081. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip64 -> ../../devices/platform/mxc_aips/imx35-gpio.2/gpio/gpiochip64
  3082. lrwxrwxrwx  1 root root    0 Jan  2 11:47 gpiochip96 -> ../../devices/platform/mxc_aips/imx35-gpio.3/gpio/gpiochip96
  3083. --w-------  1 root root 4096 Jan  2 11:47 unexport
  3084. root 14:24:44 : /sys/class/gpio # cat gpio
  3085. gpio1/      gpio17/     gpio25/     gpio33/     gpio41/     gpio5/      gpio6/      gpio69/     gpio77/     gpio87/     gpio95/
  3086. gpio10/     gpio18/     gpio26/     gpio34/     gpio42/     gpio50/     gpio61/     gpio7/      gpio78/     gpio88/     gpio96/
  3087. gpio11/     gpio19/     gpio27/     gpio35/     gpio43/     gpio51/     gpio62/     gpio70/     gpio79/     gpio89/     gpio97/
  3088. gpio12/     gpio2/      gpio28/     gpio36/     gpio44/     gpio52/     gpio63/     gpio71/     gpio8/      gpio9/      gpio98/
  3089. gpio120/    gpio20/     gpio29/     gpio37/     gpio45/     gpio53/     gpio64/     gpio72/     gpio82/     gpio90/     gpio99/
  3090. gpio13/     gpio21/     gpio3/      gpio38/     gpio46/     gpio54/     gpio65/     gpio73/     gpio83/     gpio91/     gpiochip0/
  3091. gpio14/     gpio22/     gpio30/     gpio39/     gpio47/     gpio55/     gpio66/     gpio74/     gpio84/     gpio92/     gpiochip32/
  3092. gpio15/     gpio23/     gpio31/     gpio4/      gpio48/     gpio56/     gpio67/     gpio75/     gpio85/     gpio93/     gpiochip64/
  3093. gpio16/     gpio24/     gpio32/     gpio40/     gpio49/     gpio57/     gpio68/     gpio76/     gpio86/     gpio94/     gpiochip96/
  3094. root 14:24:44 : /sys/class/gpio # cat gpio
  3095. gpio1/      gpio17/     gpio25/     gpio33/     gpio41/     gpio5/      gpio6/      gpio69/     gpio77/     gpio87/     gpio95/
  3096. gpio10/     gpio18/     gpio26/     gpio34/     gpio42/     gpio50/     gpio61/     gpio7/      gpio78/     gpio88/     gpio96/
  3097. gpio11/     gpio19/     gpio27/     gpio35/     gpio43/     gpio51/     gpio62/     gpio70/     gpio79/     gpio89/     gpio97/
  3098. gpio12/     gpio2/      gpio28/     gpio36/     gpio44/     gpio52/     gpio63/     gpio71/     gpio8/      gpio9/      gpio98/
  3099. gpio120/    gpio20/     gpio29/     gpio37/     gpio45/     gpio53/     gpio64/     gpio72/     gpio82/     gpio90/     gpio99/
  3100. gpio13/     gpio21/     gpio3/      gpio38/     gpio46/     gpio54/     gpio65/     gpio73/     gpio83/     gpio91/     gpiochip0/
  3101. gpio14/     gpio22/     gpio30/     gpio39/     gpio47/     gpio55/     gpio66/     gpio74/     gpio84/     gpio92/     gpiochip32/
  3102. gpio15/     gpio23/     gpio31/     gpio4/      gpio48/     gpio56/     gpio67/     gpio75/     gpio85/     gpio93/     gpiochip64/
  3103. gpio16/     gpio24/     gpio32/     gpio40/     gpio49/     gpio57/     gpio68/     gpio76/     gpio86/     gpio94/     gpiochip96/
  3104. root 14:24:44 : /sys/class/gpio # cat gpio1/
  3105. active_low  device/     direction   edge        power/      subsystem/  uevent      value      
  3106. root 14:24:44 : /sys/class/gpio # cat gpio1/direction
  3107. in
  3108. root 14:25:01 : /sys/class/gpio # cat gpio*/direction
  3109. in
  3110. out
  3111. out
  3112. in
  3113. in
  3114. in
  3115. in
  3116. in
  3117. in
  3118. in
  3119. in
  3120. in
  3121. in
  3122. in
  3123. in
  3124. in
  3125. in
  3126. in
  3127. in
  3128. in
  3129. in
  3130. in
  3131. in
  3132. out
  3133. in
  3134. out
  3135. in
  3136. in
  3137. in
  3138. in
  3139. in
  3140. in
  3141. in
  3142. in
  3143. in
  3144. in
  3145. in
  3146. in
  3147. in
  3148. in
  3149. in
  3150. in
  3151. in
  3152. in
  3153. in
  3154. in
  3155. in
  3156. in
  3157. in
  3158. out
  3159. out
  3160. in
  3161. in
  3162. in
  3163. out
  3164. in
  3165. in
  3166. in
  3167. in
  3168. in
  3169. in
  3170. in
  3171. in
  3172. in
  3173. out
  3174. in
  3175. in
  3176. in
  3177. in
  3178. in
  3179. in
  3180. in
  3181. in
  3182. in
  3183. out
  3184. out
  3185. in
  3186. in
  3187. in
  3188. in
  3189. in
  3190. in
  3191. in
  3192. in
  3193. out
  3194. in
  3195. in
  3196. in
  3197. in
  3198. in
  3199. in
  3200. in
  3201. in
  3202. in
  3203. in
  3204. root 14:25:07 : /sys/class/gpio # cat gpio*/value    
  3205. 1
  3206. 0
  3207. 0
  3208. 1
  3209. 1
  3210. 1
  3211. 0
  3212. 1
  3213. 0
  3214. 0
  3215. 0
  3216. 0
  3217. 1
  3218. 0
  3219. 0
  3220. 0
  3221. 0
  3222. 0
  3223. 0
  3224. 0
  3225. 1
  3226. 1
  3227. 0
  3228. 1
  3229. 0
  3230. 0
  3231. 0
  3232. 0
  3233. 0
  3234. 0
  3235. 0
  3236. 0
  3237. 0
  3238. 0
  3239. 0
  3240. 0
  3241. 0
  3242. 0
  3243. 0
  3244. 0
  3245. 0
  3246. 0
  3247. 0
  3248. 0
  3249. 0
  3250. 0
  3251. 0
  3252. 0
  3253. 0
  3254. 0
  3255. 0
  3256. 0
  3257. 0
  3258. 0
  3259. 1
  3260. 1
  3261. 1
  3262. 1
  3263. 1
  3264. 0
  3265. 0
  3266. 0
  3267. 0
  3268. 1
  3269. 1
  3270. 1
  3271. 0
  3272. 0
  3273. 0
  3274. 0
  3275. 0
  3276. 0
  3277. 0
  3278. 0
  3279. 0
  3280. 1
  3281. 0
  3282. 0
  3283. 0
  3284. 0
  3285. 1
  3286. 0
  3287. 0
  3288. 0
  3289. 0
  3290. 1
  3291. 1
  3292. 0
  3293. 0
  3294. 1
  3295. 1
  3296. 0
  3297. 0
  3298. 0
  3299. 0
  3300. root 14:25:19 : /sys/class/gpio # echo "$(cat gpio*/value)"
  3301. 1
  3302. 0
  3303. 0
  3304. 1
  3305. 1
  3306. 1
  3307. 0
  3308. 1
  3309. 0
  3310. 0
  3311. 0
  3312. 0
  3313. 1
  3314. 0
  3315. 0
  3316. 0
  3317. 0
  3318. 0
  3319. 0
  3320. 0
  3321. 1
  3322. 1
  3323. 0
  3324. 1
  3325. 0
  3326. 0
  3327. 0
  3328. 0
  3329. 0
  3330. 0
  3331. 0
  3332. 0
  3333. 0
  3334. 0
  3335. 0
  3336. 0
  3337. 0
  3338. 0
  3339. 0
  3340. 0
  3341. 0
  3342. 0
  3343. 0
  3344. 0
  3345. 0
  3346. 0
  3347. 0
  3348. 0
  3349. 0
  3350. 0
  3351. 0
  3352. 0
  3353. 0
  3354. 0
  3355. 1
  3356. 1
  3357. 1
  3358. 1
  3359. 1
  3360. 0
  3361. 0
  3362. 0
  3363. 0
  3364. 0
  3365. 1
  3366. 1
  3367. 0
  3368. 0
  3369. 0
  3370. 0
  3371. 0
  3372. 0
  3373. 0
  3374. 0
  3375. 0
  3376. 1
  3377. 0
  3378. 0
  3379. 0
  3380. 0
  3381. 1
  3382. 0
  3383. 0
  3384. 0
  3385. 0
  3386. 1
  3387. 1
  3388. 0
  3389. 0
  3390. 1
  3391. 1
  3392. 0
  3393. 0
  3394. 0
  3395. 0
  3396. root 14:25:29 : /sys/class/gpio # echo $(cat gpio*/value)
  3397. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3398. root 14:25:34 : /sys/class/gpio # eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LINES ; kill -s WINCH -$$
  3399. root 14:25:45 : /sys/class/gpio # echo $(cat gpio*/value)
  3400. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3401. root 14:25:47 : /sys/class/gpio # echo $(cat gpio*/value)
  3402. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3403. root 14:25:49 : /sys/class/gpio # echo $(cat gpio*/value)
  3404. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3405. root 14:25:50 : /sys/class/gpio # while true ; do echo $(cat gpio*/value) ; sleep 1 ; done
  3406. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3407. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3408. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3409. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3410. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3411. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3412. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3413. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3414. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3415. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3416. 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3417. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3418. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3419. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3420. 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3421. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3422. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3423. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3424. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3425. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3426. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3427. 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3428. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3429. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3430. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3431. 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3432. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3433. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3434. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3435. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3436. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3437. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3438. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3439. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3440. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3441. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3442. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3443. 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3444. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3445. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3446. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3447. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3448. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3449. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3450. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3451. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3452. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3453. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3454. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 1 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3455. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3456. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3457. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3458. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3459. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3460. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3461. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3462. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3463. 1 0 0 1 1 1 0 0 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3464. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3465. 1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 0 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1 0 0 1 1 0 0 0 0
  3466.  
  3467. root 14:27:15 : /sys/class/gpio # echo gpio*/value                  
  3468. gpio1/value gpio10/value gpio11/value gpio12/value gpio120/value gpio13/value gpio14/value gpio15/value gpio16/value gpio17/value gpio18/value gpio19/value gpio2/value gpio20/value gpio21/value gpio22/value gpio23/value gpio24/value gpio25/value gpio26/value gpio27/value gpio28/value gpio29/value gpio3/value gpio30/value gpio31/value gpio32/value gpio33/value gpio34/value gpio35/value gpio36/value gpio37/value gpio38/value gpio39/value gpio4/value gpio40/value gpio41/value gpio42/value gpio43/value gpio44/value gpio45/value gpio46/value gpio47/value gpio48/value gpio49/value gpio5/value gpio50/value gpio51/value gpio52/value gpio53/value gpio54/value gpio55/value gpio56/value gpio57/value gpio6/value gpio61/value gpio62/value gpio63/value gpio64/value gpio65/value gpio66/value gpio67/value gpio68/value gpio69/value gpio7/value gpio70/value gpio71/value gpio72/value gpio73/value gpio74/value gpio75/value gpio76/value gpio77/value gpio78/value gpio79/value gpio8/value gpio82/value gpio83/value gpio84/value gpio85/value gpio86/value gpio87/value gpio88/value gpio89/value gpio9/value gpio90/value gpio91/value gpio92/value gpio93/value gpio94/value gpio95/value gpio96/value gpio97/value gpio98/value gpio99/value
  3469. root 14:27:30 : /sys/class/gpio # (i="1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" ; echo ${#i})
  3470. 111
  3471. root 14:28:10 : /sys/class/gpio # (i="1 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 1 1 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0" ; echo $(( ${#i} / 2 )) )
  3472. 55
  3473. root 14:28:23 : /sys/class/gpio # while true ; do echo $(cat gpio5?/value) ; sleep 1 ; done
  3474. 0 0 0 0 0 0 0 0
  3475. 0 0 0 0 0 0 0 0
  3476. 0 0 0 0 0 0 0 0
  3477. 0 0 0 0 0 0 0 0
  3478. 0 0 0 0 0 0 0 0
  3479. 0 0 0 0 0 0 0 0
  3480. 0 0 0 0 0 0 0 0
  3481. 0 0 0 0 0 0 0 0
  3482. 0 0 0 0 0 0 0 0
  3483. 0 0 0 0 0 0 0 0
  3484. 0 0 0 0 0 0 0 0
  3485.  
  3486. root 14:28:55 : /sys/class/gpio # while true ; do echo $(cat gpio6?/value) ; sleep 1 ; done
  3487. 1 1 1 1 0 0 0 0 0
  3488. 1 1 1 1 0 0 0 0 0
  3489. 1 1 1 1 0 0 0 0 0
  3490. 0 1 1 1 0 0 0 0 1
  3491. 0 1 1 1 0 0 0 0 0
  3492. 0 1 1 1 0 0 0 0 1
  3493. 1 1 1 1 0 0 0 0 1
  3494. 1 1 1 1 0 0 0 0 1
  3495. 0 1 1 1 0 0 0 0 1
  3496. 0 1 1 1 0 0 0 0 0
  3497. 0 1 1 1 0 0 0 0 0
  3498. 1 1 1 1 0 0 0 0 0
  3499. 1 1 1 1 0 0 0 0 0
  3500. 0 1 1 1 0 0 0 0 0
  3501. 0 1 1 1 0 0 0 0 0
  3502. 0 1 1 1 0 0 0 0 0
  3503. 1 1 1 1 0 0 0 0 1
  3504. 0 1 1 1 0 0 0 0 1
  3505. 0 1 1 1 0 0 0 0 0
  3506. 0 1 1 1 0 0 0 0 0
  3507. 0 1 1 1 0 0 0 0 1
  3508. 1 1 1 1 0 0 0 0 0
  3509. 1 1 0 1 0 0 0 0 0
  3510. 1 1 1 1 0 0 0 0 0
  3511. 1 1 1 0 0 0 0 0 1
  3512. 1 1 1 0 0 0 0 0 0
  3513. 1 1 1 0 0 0 0 0 1
  3514. 1 1 1 0 0 0 0 0 1
  3515. 1 1 1 1 0 0 0 0 1
  3516. 0 1 1 1 0 0 0 0 0
  3517. 0 1 1 1 0 0 0 0 1
  3518. 1 1 1 1 0 0 0 0 0
  3519. 1 1 1 1 0 0 0 0 0
  3520. 1 1 1 1 0 0 0 0 0
  3521.  
  3522. root 14:29:34 : /sys/class/gpio # while true ; do echo $(cat gpio7?/value) ; sleep 1 ; done
  3523. 1 0 0 0 0 0 0 0 0 0
  3524. 1 0 0 0 0 0 0 0 0 0
  3525. 1 0 0 0 0 0 0 0 0 0
  3526. 1 0 0 0 0 0 0 0 0 0
  3527. 1 0 0 0 0 0 0 0 0 0
  3528. 1 0 0 0 0 0 0 0 0 0
  3529. 1 0 0 0 0 0 0 0 0 0
  3530. 1 0 0 0 0 0 0 0 0 0
  3531. 1 0 0 0 0 0 0 0 0 0
  3532. 1 0 0 0 0 0 0 0 0 0
  3533. 1 0 0 0 0 0 0 0 0 0
  3534. 1 0 0 0 0 0 0 0 0 0
  3535. 1 0 0 0 0 0 0 0 0 0
  3536. 1 0 0 0 0 0 0 0 0 0
  3537. 1 0 0 0 0 0 0 0 0 0
  3538. 1 0 0 0 0 0 0 0 0 0
  3539.  
  3540. root 14:29:55 : /sys/class/gpio # while true ; do echo $(cat gpio8?/value) ; sleep 1 ; done
  3541. 0 0 0 0 1 0 0 0
  3542. 0 0 0 0 1 0 0 0
  3543. 0 0 0 0 1 0 0 0
  3544. 0 0 0 0 1 0 0 0
  3545. 0 0 0 0 1 0 0 0
  3546. 0 0 0 0 1 0 0 0
  3547. 0 0 0 0 1 0 0 0
  3548. 0 0 0 0 1 0 0 0
  3549. 0 0 0 0 1 0 0 0
  3550. 0 0 0 0 1 0 0 0
  3551. 0 0 0 0 1 0 0 0
  3552.  
  3553. root 14:30:11 : /sys/class/gpio #
  3554. root 14:30:13 : /sys/class/gpio # for ((i=1 ; i < 200 ; i++)) ; do printf "#trying %d\n" $i; echo "$i" >export ; done
  3555. #trying 1
  3556. -bash: echo: write error: Device or resource busy
  3557. #trying 2
  3558. -bash: echo: write error: Device or resource busy
  3559. #trying 3
  3560. -bash: echo: write error: Device or resource busy
  3561. #trying 4
  3562. -bash: echo: write error: Device or resource busy
  3563. #trying 5
  3564. -bash: echo: write error: Device or resource busy
  3565. #trying 6
  3566. -bash: echo: write error: Device or resource busy
  3567. #trying 7
  3568. -bash: echo: write error: Device or resource busy
  3569. #trying 8
  3570. -bash: echo: write error: Device or resource busy
  3571. #trying 9
  3572. -bash: echo: write error: Device or resource busy
  3573. #trying 10
  3574. -bash: echo: write error: Device or resource busy
  3575. #trying 11
  3576. -bash: echo: write error: Device or resource busy
  3577. #trying 12
  3578. -bash: echo: write error: Device or resource busy
  3579. #trying 13
  3580. -bash: echo: write error: Device or resource busy
  3581. #trying 14
  3582. -bash: echo: write error: Device or resource busy
  3583. #trying 15
  3584. -bash: echo: write error: Device or resource busy
  3585. #trying 16
  3586. -bash: echo: write error: Device or resource busy
  3587. #trying 17
  3588. -bash: echo: write error: Device or resource busy
  3589. #trying 18
  3590. -bash: echo: write error: Device or resource busy
  3591. #trying 19
  3592. -bash: echo: write error: Device or resource busy
  3593. #trying 20
  3594. -bash: echo: write error: Device or resource busy
  3595. #trying 21
  3596. -bash: echo: write error: Device or resource busy
  3597. #trying 22
  3598. -bash: echo: write error: Device or resource busy
  3599. #trying 23
  3600. -bash: echo: write error: Device or resource busy
  3601. #trying 24
  3602. -bash: echo: write error: Device or resource busy
  3603. #trying 25
  3604. -bash: echo: write error: Device or resource busy
  3605. #trying 26
  3606. -bash: echo: write error: Device or resource busy
  3607. #trying 27
  3608. -bash: echo: write error: Device or resource busy
  3609. #trying 28
  3610. -bash: echo: write error: Device or resource busy
  3611. #trying 29
  3612. -bash: echo: write error: Device or resource busy
  3613. #trying 30
  3614. -bash: echo: write error: Device or resource busy
  3615. #trying 31
  3616. -bash: echo: write error: Device or resource busy
  3617. #trying 32
  3618. -bash: echo: write error: Device or resource busy
  3619. #trying 33
  3620. -bash: echo: write error: Device or resource busy
  3621. #trying 34
  3622. -bash: echo: write error: Device or resource busy
  3623. #trying 35
  3624. -bash: echo: write error: Device or resource busy
  3625. #trying 36
  3626. -bash: echo: write error: Device or resource busy
  3627. #trying 37
  3628. -bash: echo: write error: Device or resource busy
  3629. #trying 38
  3630. -bash: echo: write error: Device or resource busy
  3631. #trying 39
  3632. -bash: echo: write error: Device or resource busy
  3633. #trying 40
  3634. -bash: echo: write error: Device or resource busy
  3635. #trying 41
  3636. -bash: echo: write error: Device or resource busy
  3637. #trying 42
  3638. -bash: echo: write error: Device or resource busy
  3639. #trying 43
  3640. -bash: echo: write error: Device or resource busy
  3641. #trying 44
  3642. -bash: echo: write error: Device or resource busy
  3643. #trying 45
  3644. -bash: echo: write error: Device or resource busy
  3645. #trying 46
  3646. -bash: echo: write error: Device or resource busy
  3647. #trying 47
  3648. -bash: echo: write error: Device or resource busy
  3649. #trying 48
  3650. -bash: echo: write error: Device or resource busy
  3651. #trying 49
  3652. -bash: echo: write error: Device or resource busy
  3653. #trying 50
  3654. -bash: echo: write error: Device or resource busy
  3655. #trying 51
  3656. -bash: echo: write error: Device or resource busy
  3657. #trying 52
  3658. -bash: echo: write error: Device or resource busy
  3659. #trying 53
  3660. -bash: echo: write error: Device or resource busy
  3661. #trying 54
  3662. -bash: echo: write error: Device or resource busy
  3663. #trying 55
  3664. -bash: echo: write error: Device or resource busy
  3665. #trying 56
  3666. -bash: echo: write error: Device or resource busy
  3667. #trying 57
  3668. -bash: echo: write error: Device or resource busy
  3669. #trying 58
  3670. -bash: echo: write error: Device or resource busy
  3671. #trying 59
  3672. -bash: echo: write error: Device or resource busy
  3673. #trying 60
  3674. -bash: echo: write error: Device or resource busy
  3675. #trying 61
  3676. -bash: echo: write error: Device or resource busy
  3677. #trying 62
  3678. -bash: echo: write error: Device or resource busy
  3679. #trying 63
  3680. -bash: echo: write error: Device or resource busy
  3681. #trying 64
  3682. -bash: echo: write error: Device or resource busy
  3683. #trying 65
  3684. -bash: echo: write error: Device or resource busy
  3685. #trying 66
  3686. -bash: echo: write error: Device or resource busy
  3687. #trying 67
  3688. -bash: echo: write error: Device or resource busy
  3689. #trying 68
  3690. -bash: echo: write error: Device or resource busy
  3691. #trying 69
  3692. -bash: echo: write error: Device or resource busy
  3693. #trying 70
  3694. -bash: echo: write error: Device or resource busy
  3695. #trying 71
  3696. -bash: echo: write error: Device or resource busy
  3697. #trying 72
  3698. -bash: echo: write error: Device or resource busy
  3699. #trying 73
  3700. -bash: echo: write error: Device or resource busy
  3701. #trying 74
  3702. -bash: echo: write error: Device or resource busy
  3703. #trying 75
  3704. -bash: echo: write error: Device or resource busy
  3705. #trying 76
  3706. -bash: echo: write error: Device or resource busy
  3707. #trying 77
  3708. -bash: echo: write error: Device or resource busy
  3709. #trying 78
  3710. -bash: echo: write error: Device or resource busy
  3711. #trying 79
  3712. -bash: echo: write error: Device or resource busy
  3713. #trying 80
  3714. -bash: echo: write error: Device or resource busy
  3715. #trying 81
  3716. -bash: echo: write error: Device or resource busy
  3717. #trying 82
  3718. -bash: echo: write error: Device or resource busy
  3719. #trying 83
  3720. -bash: echo: write error: Device or resource busy
  3721. #trying 84
  3722. -bash: echo: write error: Device or resource busy
  3723. #trying 85
  3724. -bash: echo: write error: Device or resource busy
  3725. #trying 86
  3726. -bash: echo: write error: Device or resource busy
  3727. #trying 87
  3728. -bash: echo: write error: Device or resource busy
  3729. #trying 88
  3730. -bash: echo: write error: Device or resource busy
  3731. #trying 89
  3732. -bash: echo: write error: Device or resource busy
  3733. #trying 90
  3734. -bash: echo: write error: Device or resource busy
  3735. #trying 91
  3736. -bash: echo: write error: Device or resource busy
  3737. #trying 92
  3738. -bash: echo: write error: Device or resource busy
  3739. #trying 93
  3740. -bash: echo: write error: Device or resource busy
  3741. #trying 94
  3742. -bash: echo: write error: Device or resource busy
  3743. #trying 95
  3744. -bash: echo: write error: Device or resource busy
  3745. #trying 96
  3746. -bash: echo: write error: Device or resource busy
  3747. #trying 97
  3748. -bash: echo: write error: Device or resource busy
  3749. #trying 98
  3750. -bash: echo: write error: Device or resource busy
  3751. #trying 99
  3752. -bash: echo: write error: Device or resource busy
  3753. #trying 100
  3754. #trying 101
  3755. #trying 102
  3756. #trying 103
  3757. #trying 104
  3758. #trying 105
  3759. #trying 106
  3760. #trying 107
  3761. #trying 108
  3762. #trying 109
  3763. #trying 110
  3764. #trying 111
  3765. #trying 112
  3766. #trying 113
  3767. #trying 114
  3768. #trying 115
  3769. #trying 116
  3770. #trying 117
  3771. #trying 118
  3772. -bash: echo: write error: Device or resource busy
  3773. #trying 119
  3774. #trying 120
  3775. -bash: echo: write error: Device or resource busy
  3776. #trying 121
  3777. #trying 122
  3778. #trying 123
  3779. #trying 124
  3780. #trying 125
  3781. #trying 126
  3782. #trying 127
  3783. #trying 128
  3784. Unable to handle kernel NULL pointer dereference at virtual address 00000044
  3785. pgd = c7288000
  3786. [00000044] *pgd=870ac831, *pte=00000000, *ppte=00000000
  3787. Internal error: Oops - BUG: 17 [#1] PREEMPT ARM
  3788. Modules linked in: 8188eu(O) ads7953(O) [last unloaded: power_button]
  3789. CPU: 0 PID: 722 Comm: bash Tainted: G           O 3.10.108-rt123-g9de6c66 #1
  3790. task: c79b8ae0 ti: c70a2000 task.ti: c70a2000
  3791. PC is at gpiod_request+0x44/0x1bc
  3792. LR is at rt_spin_lock_slowlock+0x60/0x238
  3793. pc : [<c02112f8>]    lr : [<c0483b54>]    psr: 60000013
  3794. sp : c70a3ec0  ip : 00000000  fp : c70a3ee4
  3795. r10: c04a3868  r9 : c787f01c  r8 : c7881040
  3796. r7 : c056c3b0  r6 : fffffdfb  r5 : 00000000  r4 : c0669600
  3797. r3 : 00000000  r2 : 00000000  r1 : c062a9c0  r0 : 00000001
  3798. Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
  3799. Control: 0005317f  Table: 87288000  DAC: 00000015
  3800. Process bash (pid: 722, stack limit = 0xc70a21b8)
  3801. Stack: (0xc70a3ec0 to 0xc70a4000)
  3802. 3ec0: 00000000 00000000 c0669600 00000004 c7113540 c7881040 c70a3f0c c70a3ee8
  3803. 3ee0: c0211f60 c02112c4 c70a2000 00000080 c70a3f0c 00000004 c7113558 c70a3f80
  3804. 3f00: c70a3f1c c70a3f10 c024d524 c0211f1c c70a3f4c c70a3f20 c00f82bc c024d514
  3805. 3f20: c70a3f80 c70f13c0 00000004 b6f51000 c70a3f80 c0009524 c70a2000 00000000
  3806. 3f40: c70a3f7c c70a3f50 c00a12c8 c00f815c c009ef50 c00a2390 00000000 00000000
  3807. 3f60: c70f13c0 00000000 c0009524 00000000 c70a3fa4 c70a3f80 c00a16dc c00a121c
  3808. 3f80: 00000000 00000000 00000004 b6f51000 0016b938 00000004 00000000 c70a3fa8
  3809. 3fa0: c00093a0 c00a16a8 00000004 b6f51000 00000001 b6f51000 00000004 00000000
  3810. 3fc0: 00000004 b6f51000 0016b938 00000004 00000004 00000004 b6f51000 00000000
  3811. 3fe0: 00000000 be9078fc 000bc054 000e5f1c 60000010 00000001 e0621001 e1a0200c
  3812. Backtrace:
  3813. [<c02112b4>] (gpiod_request+0x0/0x1bc) from [<c0211f60>] (export_store+0x54/0xf8)
  3814.  r8:c7881040 r7:c7113540 r6:00000004 r5:c0669600 r4:00000000
  3815. r3:00000000
  3816. [<c0211f0c>] (export_store+0x0/0xf8) from [<c024d524>] (class_attr_store+0x20/0x2c)
  3817.  r6:c70a3f80 r5:c7113558 r4:00000004
  3818. [<c024d504>] (class_attr_store+0x0/0x2c) from [<c00f82bc>] (sysfs_write_file+0x170/0x1a4)
  3819. [<c00f814c>] (sysfs_write_file+0x0/0x1a4) from [<c00a12c8>] (vfs_write+0xbc/0x198)
  3820. [<c00a120c>] (vfs_write+0x0/0x198) from [<c00a16dc>] (SyS_write+0x44/0x78)
  3821. [<c00a1698>] (SyS_write+0x0/0x78) from [<c00093a0>] (ret_fast_syscall+0x0/0x34)
  3822.  r7:00000004 r6:0016b938 r5:b6f51000 r4:00000004
  3823. Code: e3500000 1a000011 e5945000 e3e06f81 (e5952044)
  3824. ---[ end trace 0000000000000002 ]---
  3825.  
  3826.  _____    _    ____
  3827. | ____|  / `  / ___|
  3828. |  _|   / _ `| |  _
  3829. | |___ / ___ ` |_| |
  3830. |_____/_/   `_`____|
  3831.  
  3832.                   ___  _
  3833.   ___  ___ _   _ / _ `/ |
  3834.  / _ `/ __| | | | | | | |
  3835. |  __/ (__| |_| | |_| | |
  3836.  `___|`___|`__,_|`___/|_|
  3837.  
  3838.  
  3839. OSELAS(R)-ecu01-V3.1.10 / ecu01-2012.10.0
  3840. ptxdist-2012.10.0/2019-12-15T17:38:41+0100
  3841.  
  3842. ecu01 login:
  3843.  _____    _    ____
  3844. | ____|  / `  / ___|
  3845. |  _|   / _ `| |  _
  3846. | |___ / ___ ` |_| |
  3847. |_____/_/   `_`____|
  3848.  
  3849.                   ___  _
  3850.   ___  ___ _   _ / _ `/ |
  3851.  / _ `/ __| | | | | | | |
  3852. |  __/ (__| |_| | |_| | |
  3853.  `___|`___|`__,_|`___/|_|
  3854.  
  3855.  
  3856. OSELAS(R)-ecu01-V3.1.10 / ecu01-2012.10.0
  3857. ptxdist-2012.10.0/2019-12-15T17:38:41+0100
  3858.  
  3859. ecu01 login: root
  3860. Password:
  3861. ## Running /etc/profile ...
  3862. running /etc/profile.local
  3863. Loading /usr/share/keymaps/i386/qwertz/de.map.gz
  3864. # Running /etc/bash.bashrc ...
  3865. root 14:30:49 : ~ # setfacl -m u:rpcuser:rwx /dev/qa_mmc
  3866. root 14:30:55 : ~ #
  3867. root 14:34:41 : ~ #
  3868. root 14:34:41 : ~ # while true ; do echo $(cat gpio5?/value) ; sleep 1 ; done
  3869. cat: can't open 'gpio5?/value': No such file or directory
  3870.  
  3871. cat: can't open 'gpio5?/value': No such file or directory
  3872.  
  3873.  
  3874. root 14:34:55 : ~ # while true ; do echo $(cat gpio6?/value) ; sleep 1 ; done
  3875. cat: can't open 'gpio6?/value': No such file or directory
  3876.  
  3877. cat: can't open 'gpio6?/value': No such file or directory
  3878.  
  3879.                                                                                   ot 14:35:14 : ~ # while true ; do echo $(cat /sys/class/gpio
  3880. (oot 14:35:14 : ~ # while true ; do echo $(cat /sys/class/gpiogpio5?/value) ; sleetrue ; do echo $(cat gpio6?/value) ; sleeot 14:35:14 : ~ # while true ; do echo $(cat /sys/class/gpigpio5?/value) ; sl
  3881. root 14:35:24 : ~ #  find /sys -name gpio  ot 14:35:14 : ~ # while true ; do echo $(cat /sys/class/gpgpio5?/value) ; sleep                                          ot 14:35:14 : ~ # while true ; do ecroot 14:35:24 : ~ # pio5?/value) ; sleep 1.0/gpio                                  ot 14:35:14 : ~ # while true ; do echo $(cat /sys/class/gpio5?/value) ; sleep 1  
  3882. root 14:35:25 : ~ # while true ; do echo $(cat /sys/classgpio5?/value) ; sleep 1 ;                                         ot 14:35:14 : ~ # while true ; do echo $(cat /sys/clasgpio5?/value) ; sleep 1root 14:35:25 : ~ # rm/mxc_aips/imx35-gpio.ot 14:35:14 : ~ # while true ; do echo $(cat /sys/clagpio5?/value) ; sleep 1 ; d                                          t 14:35:14 : ~ # while true ; do ecroot 14:35:25 : ~ # /value) ; sleep 1 ; do.3/gpio                                  ot 14:35:14 : ~ # while true ; do echo $(cat /sys/cgpio5?/value) ; sleep 1 ; done
  3883. root 14:35:25 : ~ # while true ; do echo $(cat /sys/gpio5?/value) ; sleep 1 ; done
  3884. root 14:35:26 : ~ #                                                              oot 14:35:14 : ~ # while true ; do echo $(cat /sysgpio5?/value) ; sleep 1 ; done
  3885. root 14:35:26 : ~ # while true ; do echo $(cat /sygpio5?/value) ; sleep 1 ; done
  3886. root 14:35:26 : ~ #
  3887. root 14:35:26 : ~ #
  3888. root 14:35:26 : ~ #
  3889. root 14:35:26 : ~ #
  3890. root 14:35:26 : ~ #
  3891. root 14:35:26 : ~ #
  3892. root 14:35:26 : ~ #
  3893. root 14:35:26 : ~ #
  3894. root 14:35:26 : ~ #
  3895. root 14:35:26 : ~ #
  3896. root 14:35:26 : ~ #
  3897. root 14:35:26 : ~ #                                                              oot 14:35:26 : ~ # eval "$(/usr/bin/
  3898. root 14:35:26 : ~ # eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LINES ; e-i-search)`resi': eval "$(/usr/bin/
  3899. root 14:35:28 : ~ #   i': eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LIN
  3900. root 14:35:28 : ~ # -$$: eval "$(/usr/bin/resize)" ; stty cols $COLUMNS rows $LINreverse-i-search)`re': ls --help 2>&1 | fgrep -i acl
  3901. root 14:35:28 : ~ #
  3902. root 14:35:29 : ~ #
  3903. root 14:35:29 : ~ #
  3904. root 14:35:29 : ~ # find /sys -name gpio
  3905. root 14:35:35 : ~ # while true ; do echo $(cat /sys/class/gpio/gpio5?/value) ; sleep 1 ; done
  3906. 0 0 0 0 0 0 0 0
  3907. 0 0 0 0 0 0 0 0
  3908. 0 0 0 0 0 0 0 0
  3909. 0 0 0 0 0 0 0 0
  3910. 0 0 0 0 0 0 0 0
  3911. 0 0 0 0 0 0 0 0
  3912. 0 0 0 0 0 0 0 0
  3913. 0 0 0 0 0 0 0 0
  3914. 0 0 0 0 0 0 0 0
  3915. 0 0 0 0 0 0 0 0
  3916. 0 0 0 0 0 0 0 0
  3917.  
  3918. root 14:35:59 : ~ # while true ; do echo $(cat /sys/class/gpio/gpio6?/value) ; sleep 1 ; done
  3919. 1 1 1 1 0 0 0 0 0
  3920. 1 1 1 1 0 0 0 0 1
  3921. 1 1 1 1 0 0 0 0 0
  3922. 1 1 1 1 0 0 0 0 1
  3923. 1 1 1 0 0 0 0 0 0
  3924. 1 1 1 0 0 0 0 0 1
  3925. 1 1 1 1 0 0 0 0 1
  3926. 1 1 1 1 0 0 0 0 0
  3927. 1 1 1 1 0 0 0 0 1
  3928. 0 1 1 1 0 0 0 0 0
  3929. 0 1 1 1 0 0 0 0 1
  3930. 1 1 1 1 0 0 0 0 1
  3931. 1 1 1 1 0 0 0 0 1
  3932. 1 1 1 1 0 0 0 0 1
  3933. 1 1 1 1 0 0 0 0 0
  3934. 1 1 1 1 0 0 0 0 0
  3935. 1 1 1 1 0 0 0 0 1
  3936. 1 1 0 1 0 0 0 0 1
  3937. 1 1 0 1 0 0 0 0 0
  3938. 1 1 0 1 0 0 0 0 1
  3939. 1 1 0 1 0 0 0 0 1
  3940. 1 1 0 1 0 0 0 0 1
  3941. 1 1 1 1 0 0 0 0 0
  3942. 1 1 0 1 0 0 0 0 1
  3943. 1 1 1 1 0 0 0 0 1
  3944. 1 1 1 1 0 0 0 0 0
  3945. 0 1 1 1 0 0 0 0 1
  3946. 0 1 1 1 0 0 0 0 0
  3947. 1 1 1 1 0 0 0 0 0
  3948. 1 1 1 1 0 0 0 0 0
  3949. 0 1 1 1 0 0 0 0 0
  3950. 0 1 1 1 0 0 0 0 0
  3951. 0 1 1 1 0 0 0 0 0
  3952. 0 1 1 1 0 0 0 0 1
  3953. 0 1 1 1 0 0 0 0 0
  3954. 0 1 1 1 0 0 0 0 1
  3955. 0 1 1 1 0 0 0 0 1
  3956. 0 1 1 1 0 0 0 0 0
  3957. 0 1 1 1 0 0 0 0 0
  3958. 0 1 1 1 0 0 0 0 0
  3959. 0 1 1 1 0 0 0 0 1
  3960. 0 1 1 1 0 0 0 0 1
  3961. 0 1 1 1 0 0 0 0 1
  3962. 0 1 1 1 0 0 0 0 0
  3963. 0 1 1 1 0 0 0 0 1
  3964. 0 1 1 1 0 0 0 0 1
  3965. 0 1 1 1 0 0 0 0 1
  3966. 0 1 1 1 0 0 0 0 1
  3967. 1 1 1 1 0 0 0 0 1
  3968. 1 1 1 1 0 0 0 0 0
  3969. 1 1 1 1 0 0 0 0 1
  3970. 1 1 1 1 0 0 0 0 0
  3971. 1 1 1 1 0 0 0 0 0
  3972. 1 1 1 1 0 0 0 0 1
  3973. 1 1 1 1 0 0 0 0 1
  3974. 1 1 1 1 0 0 0 0 0
  3975. 1 1 1 1 0 0 0 0 1
  3976. 1 1 1 1 0 0 0 0 0
  3977. 1 1 1 1 0 0 0 0 1
  3978. 1 1 1 1 0 0 0 0 0
  3979. 1 1 1 1 0 0 0 0 1
  3980. 1 1 1 1 0 0 0 0 0
  3981. 1 1 1 1 0 0 0 0 1
  3982. 1 1 1 1 0 0 0 0 1
  3983. 1 1 1 1 0 0 0 0 1
  3984. 1 1 1 1 0 0 0 0 1
  3985. 1 1 1 1 0 0 0 0 0
  3986. 1 1 1 1 0 0 0 0 1
  3987. 1 1 1 1 0 0 0 0 1
  3988.  
  3989. root 14:37:26 : ~ # while true ; do echo $(printf "%d" /sys/class/gpio/gpio6?/value) ; echo ; sleep 1 ; done
  3990. -bash: printf: /sys/class/gpio/gpio61/value: invalid number
  3991. -bash: printf: /sys/class/gpio/gpio62/value: invalid number
  3992. -bash: printf: /sys/class/gpio/gpio63/value: invalid number
  3993. -bash: printf: /sys/class/gpio/gpio64/value: invalid number
  3994. -bash: printf: /sys/class/gpio/gpio65/value: invalid number
  3995. -bash: printf: /sys/class/gpio/gpio66/value: invalid number
  3996. -bash: printf: /sys/class/gpio/gpio67/value: invalid number
  3997. -bash: printf: /sys/class/gpio/gpio68/value: invalid number
  3998. -bash: printf: /sys/class/gpio/gpio69/value: invalid number
  3999. 000000000
  4000.  
  4001. -bash: printf: /sys/class/gpio/gpio61/value: invalid number
  4002. -bash: printf: /sys/class/gpio/gpio62/value: invalid number
  4003. -bash: printf: /sys/class/gpio/gpio63/value: invalid number
  4004. -bash: printf: /sys/class/gpio/gpio64/value: invalid number
  4005. -bash: printf: /sys/class/gpio/gpio65/value: invalid number
  4006. -bash: printf: /sys/class/gpio/gpio66/value: invalid number
  4007. -bash: printf: /sys/class/gpio/gpio67/value: invalid number
  4008. -bash: printf: /sys/class/gpio/gpio68/value: invalid number
  4009. -bash: printf: /sys/class/gpio/gpio69/value: invalid number
  4010. 000000000
  4011.  
  4012.  
  4013. root 14:37:43 : ~ # while true ; do echo $(printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) ; echo ; sleep 1 ; done
  4014. 111100001
  4015.  
  4016. 111100000
  4017.  
  4018. 111100000
  4019.  
  4020. 111100001
  4021.  
  4022. 111100001
  4023.  
  4024. 111100000
  4025.  
  4026. 111100000
  4027.  
  4028. 111100000
  4029.  
  4030.  
  4031. root 14:38:22 : ~ # while true ; do echo $(printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) ; echo ; sleep 1 ; done
  4032. root 14:38:36 : ~ # echo $(( 2#11 ))
  4033. 3
  4034. root 14:38:46 : ~ # while true ; do echo $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) ; sleep 1 ; done
  4035. 2#111100000
  4036. 2#111100001
  4037. 2#111100000
  4038.  
  4039. root 14:39:22 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) ; sleep 1 ; done
  4040. 481
  4041. 481
  4042. 481
  4043. 481
  4044. 481
  4045. 225
  4046. 225
  4047. 480
  4048. 480
  4049. 481
  4050. 481
  4051. 481
  4052. 225
  4053. 225
  4054. 480
  4055. 449
  4056. 448
  4057. 481
  4058. 480
  4059.  
  4060. root 14:39:54 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio7?/value) ) )) ; sleep 1 ; done
  4061. 480 512
  4062. 480 512
  4063. 481 512
  4064. 449 512
  4065. 448 512
  4066. 449 512
  4067. 449 512
  4068. 449 512
  4069. 448 512
  4070. 480 512
  4071. 481 512
  4072. 481 512
  4073. 480 512
  4074. 225 512
  4075. 481 512
  4076. 480 512
  4077. 224 512
  4078. 480 512
  4079. 480 512
  4080. 225 512
  4081. 480 512
  4082. 225 512
  4083. 481 512
  4084. 481 512
  4085. 481 512
  4086. 480 512
  4087. 481 512
  4088. 480 512
  4089. 481 512
  4090. 353 512
  4091. 353 512
  4092. 480 512
  4093. 481 512
  4094. 353 512
  4095. 353 512
  4096. 480 512
  4097. 225 512
  4098. 481 512
  4099. 481 512
  4100. 224 512
  4101. 480 512
  4102. 481 512
  4103. 224 512
  4104. 225 512
  4105. 224 512
  4106. 225 512
  4107. 225 512
  4108. 225 512
  4109. 481 512
  4110. 481 512
  4111. 480 512
  4112. 353 512
  4113. 481 512
  4114. 416 512
  4115. 416 512
  4116. 480 512
  4117. 480 512
  4118. 416 512
  4119. 416 512
  4120. 417 512
  4121. 480 512
  4122. 480 512
  4123. 352 512
  4124. 353 512
  4125. 352 512
  4126. 352 512
  4127. 481 512
  4128. 481 512
  4129.  
  4130. root 14:41:38 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio7?/value) ) )) ; sleep 1 ; done
  4131. 480 512
  4132. 480 512
  4133. 480 512
  4134. 481 512
  4135. 417 512
  4136. 480 512
  4137. 480 512
  4138. 416 512
  4139. 480 512
  4140. 416 512
  4141. 417 512
  4142. 416 512
  4143. 417 512
  4144. 480 512
  4145. 480 512
  4146. 480 512
  4147. 352 512
  4148. 353 512
  4149. 353 512
  4150. 352 512
  4151. 481 512
  4152. 352 512
  4153. 352 512
  4154. 481 512
  4155. 416 512
  4156. 416 512
  4157. 480 512
  4158.  
  4159. root 14:52:18 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio8?/value) ) )) ; sleep 1 ; done
  4160. 481 8
  4161. 481 8
  4162. 481 8
  4163. 481 8
  4164. 353 8
  4165. 481 8
  4166. 481 8
  4167. 480 8
  4168. 481 8
  4169.  
  4170. root 14:52:46 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio9?/value) ) )) ; sleep 1 ; done
  4171. 480 816
  4172. 481 816
  4173. 353 816
  4174. 480 816
  4175. 353 816
  4176. 448 816
  4177. 480 816
  4178.  
  4179. root 14:52:58 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio???/value) ) )) ; sleep 1 ; done
  4180. 480 696
  4181. 481 696
  4182. 481 696
  4183. 481 696
  4184. 352 696
  4185. 352 696
  4186. 481 696
  4187. 416 696
  4188. 481 696
  4189. 417 696
  4190. 480 696
  4191. 480 696
  4192.  
  4193. root 14:53:16 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio?/value) ) )) ; sleep 1 ; done
  4194. 480 462
  4195. 481 462
  4196. 352 462
  4197. 353 462
  4198. 352 462
  4199. 481 462
  4200. 481 462
  4201.  
  4202. root 14:53:29 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio2?/value) ) )) ; sleep 1 ; done
  4203. 480 6
  4204. 481 38
  4205. 353 54
  4206. 352 54
  4207. 481 6
  4208. 480 6
  4209. 481 54
  4210. 353 22
  4211. 352 54
  4212. 352 54
  4213. 481 166
  4214. 481 22
  4215. 481 22
  4216. 480 22
  4217. 481 54
  4218. 481 150
  4219. 481 150
  4220. 480 22
  4221. 481 22
  4222. 481 54
  4223. 481 22
  4224. 481 6
  4225. 480 38
  4226. 480 22
  4227. 480 54
  4228. 481 38
  4229.  
  4230. root 14:54:03 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio3?/value) ) )) ; sleep 1 ; done
  4231. 481 0
  4232. 481 0
  4233. 480 0
  4234. 353 0
  4235. 353 0
  4236. 352 0
  4237. 353 0
  4238. 481 0
  4239.  
  4240. root 14:54:17 : ~ # while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio4?/value) ) )) ; sleep 1 ; done
  4241. 481 0
  4242. 480 0
  4243. 480 0
  4244. 417 0
  4245. 480 0
  4246. 481 0
  4247. 480 0
  4248. 481 0
  4249. 480 0
  4250.  
  4251. root 14:54:32 : ~ #
  4252. (reverse-i-search)`val': while true ; do echo $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio6?/value) ) )) $(( $(printf "2#"; printf "%d" $(cat /sys/class/gpio/gpio4?/value) ) )) ; sleep 1 ; done
  4253. root 14:56:14 : ~ # while true ; do echo "1" >value ; usleep 1 ; echo 0 >value ; usleep 1 ; done
  4254. root 14:56:17 : ~ #
  4255. root 14:56:17 : ~ #
  4256. (reverse-i-search)`ex': echo 11 >/sys/class/gpio/unexport
  4257. root 14:56:27 : ~ # for i in /sys/class/gpio/gpio*/direction ; do echo $i ; done)
  4258. -bash: syntax error near unexpected token `)'
  4259. root 14:56:52 : ~ # (for i in /sys/class/gpio/gpio*/direction ; do echo "$i" ; done)
  4260. /sys/class/gpio/gpio1/direction
  4261. /sys/class/gpio/gpio10/direction
  4262. /sys/class/gpio/gpio100/direction
  4263. /sys/class/gpio/gpio101/direction
  4264. /sys/class/gpio/gpio102/direction
  4265. /sys/class/gpio/gpio103/direction
  4266. /sys/class/gpio/gpio104/direction
  4267. /sys/class/gpio/gpio105/direction
  4268. /sys/class/gpio/gpio106/direction
  4269. /sys/class/gpio/gpio107/direction
  4270. /sys/class/gpio/gpio108/direction
  4271. /sys/class/gpio/gpio109/direction
  4272. /sys/class/gpio/gpio11/direction
  4273. /sys/class/gpio/gpio110/direction
  4274. /sys/class/gpio/gpio111/direction
  4275. /sys/class/gpio/gpio112/direction
  4276. /sys/class/gpio/gpio113/direction
  4277. /sys/class/gpio/gpio114/direction
  4278. /sys/class/gpio/gpio115/direction
  4279. /sys/class/gpio/gpio116/direction
  4280. /sys/class/gpio/gpio117/direction
  4281. /sys/class/gpio/gpio119/direction
  4282. /sys/class/gpio/gpio12/direction
  4283. /sys/class/gpio/gpio120/direction
  4284. /sys/class/gpio/gpio121/direction
  4285. /sys/class/gpio/gpio122/direction
  4286. /sys/class/gpio/gpio123/direction
  4287. /sys/class/gpio/gpio124/direction
  4288. /sys/class/gpio/gpio125/direction
  4289. /sys/class/gpio/gpio126/direction
  4290. /sys/class/gpio/gpio127/direction
  4291. /sys/class/gpio/gpio13/direction
  4292. /sys/class/gpio/gpio14/direction
  4293. /sys/class/gpio/gpio15/direction
  4294. /sys/class/gpio/gpio16/direction
  4295. /sys/class/gpio/gpio17/direction
  4296. /sys/class/gpio/gpio18/direction
  4297. /sys/class/gpio/gpio19/direction
  4298. /sys/class/gpio/gpio2/direction
  4299. /sys/class/gpio/gpio20/direction
  4300. /sys/class/gpio/gpio21/direction
  4301. /sys/class/gpio/gpio22/direction
  4302. /sys/class/gpio/gpio23/direction
  4303. /sys/class/gpio/gpio24/direction
  4304. /sys/class/gpio/gpio25/direction
  4305. /sys/class/gpio/gpio26/direction
  4306. /sys/class/gpio/gpio27/direction
  4307. /sys/class/gpio/gpio28/direction
  4308. /sys/class/gpio/gpio29/direction
  4309. /sys/class/gpio/gpio3/direction
  4310. /sys/class/gpio/gpio30/direction
  4311. /sys/class/gpio/gpio31/direction
  4312. /sys/class/gpio/gpio32/direction
  4313. /sys/class/gpio/gpio33/direction
  4314. /sys/class/gpio/gpio34/direction
  4315. /sys/class/gpio/gpio35/direction
  4316. /sys/class/gpio/gpio36/direction
  4317. /sys/class/gpio/gpio37/direction
  4318. /sys/class/gpio/gpio38/direction
  4319. /sys/class/gpio/gpio39/direction
  4320. /sys/class/gpio/gpio4/direction
  4321. /sys/class/gpio/gpio40/direction
  4322. /sys/class/gpio/gpio41/direction
  4323. /sys/class/gpio/gpio42/direction
  4324. /sys/class/gpio/gpio43/direction
  4325. /sys/class/gpio/gpio44/direction
  4326. /sys/class/gpio/gpio45/direction
  4327. /sys/class/gpio/gpio46/direction
  4328. /sys/class/gpio/gpio47/direction
  4329. /sys/class/gpio/gpio48/direction
  4330. /sys/class/gpio/gpio49/direction
  4331. /sys/class/gpio/gpio5/direction
  4332. /sys/class/gpio/gpio50/direction
  4333. /sys/class/gpio/gpio51/direction
  4334. /sys/class/gpio/gpio52/direction
  4335. /sys/class/gpio/gpio53/direction
  4336. /sys/class/gpio/gpio54/direction
  4337. /sys/class/gpio/gpio55/direction
  4338. /sys/class/gpio/gpio56/direction
  4339. /sys/class/gpio/gpio57/direction
  4340. /sys/class/gpio/gpio6/direction
  4341. /sys/class/gpio/gpio61/direction
  4342. /sys/class/gpio/gpio62/direction
  4343. /sys/class/gpio/gpio63/direction
  4344. /sys/class/gpio/gpio64/direction
  4345. /sys/class/gpio/gpio65/direction
  4346. /sys/class/gpio/gpio66/direction
  4347. /sys/class/gpio/gpio67/direction
  4348. /sys/class/gpio/gpio68/direction
  4349. /sys/class/gpio/gpio69/direction
  4350. /sys/class/gpio/gpio7/direction
  4351. /sys/class/gpio/gpio70/direction
  4352. /sys/class/gpio/gpio71/direction
  4353. /sys/class/gpio/gpio72/direction
  4354. /sys/class/gpio/gpio73/direction
  4355. /sys/class/gpio/gpio74/direction
  4356. /sys/class/gpio/gpio75/direction
  4357. /sys/class/gpio/gpio76/direction
  4358. /sys/class/gpio/gpio77/direction
  4359. /sys/class/gpio/gpio78/direction
  4360. /sys/class/gpio/gpio79/direction
  4361. /sys/class/gpio/gpio8/direction
  4362. /sys/class/gpio/gpio82/direction
  4363. /sys/class/gpio/gpio83/direction
  4364. /sys/class/gpio/gpio84/direction
  4365. /sys/class/gpio/gpio85/direction
  4366. /sys/class/gpio/gpio86/direction
  4367. /sys/class/gpio/gpio87/direction
  4368. /sys/class/gpio/gpio88/direction
  4369. /sys/class/gpio/gpio89/direction
  4370. /sys/class/gpio/gpio9/direction
  4371. /sys/class/gpio/gpio90/direction
  4372. /sys/class/gpio/gpio91/direction
  4373. /sys/class/gpio/gpio92/direction
  4374. /sys/class/gpio/gpio93/direction
  4375. /sys/class/gpio/gpio94/direction
  4376. /sys/class/gpio/gpio95/direction
  4377. /sys/class/gpio/gpio96/direction
  4378. /sys/class/gpio/gpio97/direction
  4379. /sys/class/gpio/gpio98/direction
  4380. /sys/class/gpio/gpio99/direction
  4381. root 14:57:04 : ~ # (for i in /sys/class/gpio/gpio*/direction ; do cat "$i" ; done)
  4382. in
  4383. out
  4384. in
  4385. in
  4386. in
  4387. in
  4388. in
  4389. in
  4390. in
  4391. in
  4392. in
  4393. in
  4394. out
  4395. in
  4396. in
  4397. in
  4398. in
  4399. in
  4400. in
  4401. in
  4402. in
  4403. in
  4404. in
  4405. in
  4406. in
  4407. in
  4408. in
  4409. in
  4410. out
  4411. in
  4412. in
  4413. in
  4414. in
  4415. in
  4416. in
  4417. in
  4418. in
  4419. in
  4420. in
  4421. in
  4422. in
  4423. in
  4424. in
  4425. in
  4426. in
  4427. in
  4428. in
  4429. in
  4430. in
  4431. out
  4432. in
  4433. out
  4434. in
  4435. in
  4436. in
  4437. in
  4438. in
  4439. in
  4440. in
  4441. in
  4442. in
  4443. in
  4444. in
  4445. in
  4446. in
  4447. in
  4448. in
  4449. in
  4450. in
  4451. in
  4452. in
  4453. in
  4454. in
  4455. in
  4456. in
  4457. out
  4458. out
  4459. in
  4460. in
  4461. in
  4462. out
  4463. in
  4464. in
  4465. in
  4466. in
  4467. in
  4468. in
  4469. in
  4470. in
  4471. in
  4472. out
  4473. in
  4474. in
  4475. in
  4476. in
  4477. in
  4478. in
  4479. in
  4480. in
  4481. in
  4482. out
  4483. out
  4484. in
  4485. in
  4486. in
  4487. in
  4488. in
  4489. in
  4490. in
  4491. in
  4492. out
  4493. in
  4494. in
  4495. in
  4496. in
  4497. in
  4498. in
  4499. in
  4500. in
  4501. in
  4502. in
  4503. root 14:57:13 : ~ #
  4504. root 14:57:13 : ~ # (for i in /sys/class/gpio/gpio*/direction ; do echo in > "$i" ; done)
  4505.  
  4506. Enter command. Try 'help' for a list of builtin commands
  4507. -> break
  4508.  
  4509. ----------------------

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}





All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at