@subs login as: root
root@192.168.1.22's password:
jstest
Usage: jstest [<mode>] <device>
Modes:
--normal One-line mode showing immediate status
--old Same as --normal, using 0.x interface
--event Prints events as they come in
--nonblock Same as --event, in nonblocking mode
--select Same as --event, using select() call
cat /proc/bus/input/devices
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1D57:FA20.0001/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input1
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1D57:FA20.0002/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=143
B: MSC=10
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input2
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D57:FA20.0003/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=1f
B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c000 677bfa d941dfed 9ed680 4400 0 10000002
B: REL=40
B: ABS=1 0
B: MSC=10
I: Bus=0015 Vendor=0001 Product=0001 Version=0100
N: Name="GPIO Controller 1"
P: Phys=input0
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3 js0
B: PROP=0
B: EV=b
B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3
I: Bus=0015 Vendor=0001 Product=0002 Version=0100
N: Name="GPIO Controller 2"
P: Phys=input1
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event4 js1
B: PROP=0
B: EV=b
B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3
ls /dev/input/ js*
ls: js*: No such file or directory
/dev/input/:
by-id event0 event2 event4 js1 mouse0
by-path event1 event3 js0 mice
jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (GPIO Controller 1) has 2 axes (X, Y)
and 9 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR, ?).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off #
jstest
jlogin as: root
root@192.168.1.22's password:
jstest
Usage: jstest [<mode>] <device>
Modes:
--normal One-line mode showing immediate status
--old Same as --normal, using 0.x interface
--event Prints events as they come in
--nonblock Same as --event, in nonblocking mode
--select Same as --event, using select() call
cat /proc/bus/input/devices
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1D57:FA20.0001/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input1
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1D57:FA20.0002/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=143
B: MSC=10
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input2
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D57:FA20.0003/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=1f
B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c000 677bfa d941dfed 9ed680 4400 0 10000002
B: REL=40
B: ABS=1 0
B: MSC=10
I: Bus=0015 Vendor=0001 Product=0001 Version=0100
N: Name="GPIO Controller 1"
P: Phys=input0
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3 js0
B: PROP=0
B: EV=b
B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3
I: Bus=0015 Vendor=0001 Product=0002 Version=0100
N: Name="GPIO Controller 2"
P: Phys=input1
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event4 js1
B: PROP=0
B: EV=b
B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3
ls /dev/input/ js*
ls: js*: No such file or directory
/dev/input/:
by-id event0 event2 event4 js1 mouse0
by-path event1 event3 js0 mice
jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (GPIO Controller 1) has 2 axes (X, Y)
and 9 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR, ?).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off
By: hachile 0 sec ago | reply | delete
login as: root
root@192.168.1.22's password:
jstest
Usage: jstest [<mode>] <device>
Modes:
--normal One-line mode showing immediate status
--old Same as --normal, using 0.x interface
--event Prints events as they come in
--nonblock Same as --event, in nonblocking mode
--select Same as --event, using select() call
cat /proc/bus/input/devices
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input0
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:1D57:F A20.0001/input/input0
U: Uniq=
H: Handlers=sysrq kbd event0
B: PROP=0
B: EV=120013
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input1
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.1/0003:1D57:F A20.0002/input/input1
U: Uniq=
H: Handlers=mouse0 event1
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0 0 0 0 0
B: REL=143
B: MSC=10
I: Bus=0003 Vendor=1d57 Product=fa20 Version=0100
N: Name="Compx 2.4G Receiver"
P: Phys=usb-3f980000.usb-1.3/input2
S: Sysfs=/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.2/0003:1D57:F A20.0003/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=1f
B: KEY=3f 3007f 0 0 0 0 483ffff 17aff32d bf544446 0 0 1 130f93 8b17c000 677bfa d 941dfed 9ed680 4400 0 10000002
B: REL=40
B: ABS=1 0
B: MSC=10
I: Bus=0015 Vendor=0001 Product=0001 Version=0100
N: Name="GPIO Controller 1"
P: Phys=input0
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3 js0
B: PROP=0
B: EV=b
B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3
I: Bus=0015 Vendor=0001 Product=0002 Version=0100
N: Name="GPIO Controller 2"
P: Phys=input1
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event4 js1
B: PROP=0
B: EV=b
B: KEY=1cdb0000 0 0 0 0 0 0 0 0 0
B: ABS=3
ls /dev/input/js*
/dev/input/js0 /dev/input/js1
ls /dev/input/ js*
ls: js*: No such file or directory
/dev/input/:
by-id event0 event2 event4 js1 mouse0
by-path event1 event3 js0 mice
jstest /dev/input/js1
Driver version is 2.1.0.
Joystick (GPIO Controller 2) has 2 axes (X, Y)
and 9 buttons (BtnX, BtnY, BtnTL, BtnTR, BtnTR2, BtnSelect, BtnThumbL, BtnThumbR , ?).
Testing ... (interrupt to exit)
Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6: on 7:off 8:off