July 05, 2020, 01:54:46 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - null

1
У Cubie, чот не нашёл такой инфы, если знаете где это можно увидеть, то скиньте ссылку плиз.
Только устройства cubie интересуют.
2
When i press power button,  evtest shows me that KEY_POWER pressed :
Quote
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "axp20-supplyer"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 116 (KEY_POWER)
  Event type 2 (EV_REL)
Properties:
Testing ... (interrupt to exit)
Event: time 1413907256.648877, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1413907256.648884, -------------- SYN_REPORT ------------

What software able to detect such event and run shell command ?
I use Gentoo linux.
3
Запускаю evtest, жму кнопку POWER на устройстве, прога показывает что видит нажатие.
Чем ловить это событие, чтобы  выполнить команду по аналогии с lirc/irexec ?
A20, Gentoo Linux.

Quote
A20 # evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:   sun4i-keyboard
/dev/input/event1:   axp20-supplyer
/dev/input/event2:   TeraDak Audio TeraDak 96KHz USB Audio
/dev/input/event3:   Genius SS 720
/dev/input/event4:   Genius SS 720
/dev/input/event5:   PixArt USB Optical Mouse
/dev/input/event6:   Media Center Ed. eHome Infrared Remote Transceiver (1934:5168)
/dev/input/event7:   sunxi-ir
Select the device event number [0-7]: 1
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "axp20-supplyer"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 116 (KEY_POWER)
  Event type 2 (EV_REL)
Properties:
Testing ... (interrupt to exit)
Event: time 1413907256.648877, type 1 (EV_KEY), code 116 (KEY_POWER), value 1
Event: time 1413907256.648884, -------------- SYN_REPORT ------------