Comment 5 for bug 1251637

Revision history for this message
Ed Bakker (gaytan) wrote :

the command you are looking for is: 'sudo lsinput'

It's output:

gaytan@MMUG:~$ sudo lsinput
/dev/input/event0
   bustype : BUS_HOST
   vendor : 0x0
   product : 0x1
   version : 0
   name : "Power Button"
   phys : "PNP0C0C/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event1
   bustype : BUS_HOST
   vendor : 0x0
   product : 0x3
   version : 0
   name : "Sleep Button"
   phys : "PNP0C0E/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event2
   bustype : BUS_HOST
   vendor : 0x0
   product : 0x1
   version : 0
   name : "Power Button"
   phys : "LNXPWRBN/button/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event3
   bustype : BUS_HOST
   vendor : 0x0
   product : 0x6
   version : 0
   name : "Video Bus"
   phys : "LNXVIDEO/video/input0"
   bits ev : EV_SYN EV_KEY

/dev/input/event4
   bustype : BUS_USB
   vendor : 0x47d
   product : 0x2048
   version : 273
   name : "Primax Kensington Eagle Trackbal"
   phys : "usb-0000:00:14.0-2/input0"
   uniq : ""
   bits ev : EV_SYN EV_KEY EV_REL EV_ABS EV_MSC

/dev/input/event5
   bustype : BUS_USB
   vendor : 0x5ac
   product : 0x250
   version : 273
   name : "Apple Inc. Apple Keyboard"
   phys : "usb-0000:00:14.0-3.2/input0"
   uniq : ""
   bits ev : EV_SYN EV_KEY EV_MSC EV_LED EV_REP

/dev/input/event6
   bustype : BUS_USB
   vendor : 0x5ac
   product : 0x250
   version : 273
   name : "Apple Inc. Apple Keyboard"
   phys : "usb-0000:00:14.0-3.2/input1"
   uniq : ""
   bits ev : EV_SYN EV_KEY EV_MSC

/dev/input/event9
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "HDA Intel PCH HDMI/DP,pcm=8"
   phys : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event10
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "HDA Intel PCH HDMI/DP,pcm=7"
   phys : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event11
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "HDA Intel PCH HDMI/DP,pcm=3"
   phys : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event12
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "HDA Intel PCH SPDIF In"
   phys : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event13
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "HDA Intel PCH Headphone"
   phys : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event14
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "HDA Intel PCH Line"
   phys : "ALSA"
   bits ev : EV_SYN EV_SW

/dev/input/event15
   bustype : BUS_USB
   vendor : 0x5ac
   product : 0x8242
   version : 273
   name : "Apple, Inc. IR Receiver"
   phys : "usb-0000:00:1d.0-1.8.2/input0"
   uniq : ""
   bits ev : EV_SYN EV_KEY EV_REP

/dev/input/event16
   bustype : BUS_USB
   vendor : 0xc45
   product : 0x6340
   version : 0
   name : "USB 2.0 Camera"
   phys : "usb-0000:00:14.0-4/button"
   bits ev : EV_SYN EV_KEY

NO Apple Magic Trackpad showing in the list.... With my former iMac it DID appear in the list as example given on:
(XX values filled in for real values of course...!)

https://wiki.ubuntu.com/Multitouch/AppleMagicTrackpad

quote

/dev/input/event7
   bustype : BUS_BLUETOOTH
   vendor : 0x5ac
   product : 0x30e
   version : 352
   name : "Apple Wireless Trackpad"
   phys : "XX:XX:XX:XX:XX:XX"
   uniq : "XX:XX:XX:XX:XX:XX"
   bits ev : EV_SYN EV_KEY EV_REL EV_MSC

unquote