eGalax USB touchscreen issues

Mark Kane mark at kane.mn
Thu May 20 17:44:45 UTC 2021


Hi,

I'm trying to get an eGalax USB touchscreen working on FreeBSD 
13.0-RELEASE and several approaches have been unsuccessful.

1) uep(4) in evdev or native mode - uep.ko automatically loads and 
attaches. X uses the respective evdev or egalax input driver however no 
events are registered with `xinput --test` or evemu-record. [1] suggests 
uep(4) is for older non-HID devices and the vendor reused the same 
device IDs for newer HID devices, so a different driver may be correct 
for this device. [1] 
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183032

ugen0.3: <eGalax Inc. USB TouchController> at usbus0
uep0: <eGalax Inc. USB TouchController, class 0/0, rev 1.10/1.00, addr 
3> on usbus0

2) uhid(4) - With uep(4) disabled, uhid(4) attempts to attach but fails:

kernel: ugen0.3: <eGalax Inc. USB TouchController> at usbus0
kernel: uhid1 on uhub1
kernel: uhid1: <eGalax Inc. USB TouchController, class 0/0, rev 
1.10/1.00, addr 3> on usbus0
kernel: uhid1: no report descriptor
kernel: device_attach: uhid1 attach returned 12

3) uhidd(8) - With uhid(4) disabled, this is the only method that any 
touchscreen events have been seen but there are issues. Sometimes 
starting uhidd will fail the first couple times 
("libusb20_dev_request_sync failed" the first, crash the second) and 
then start OK after a few tries. When it is running uhidd prints 
touchscreen events with -v but X didn't autodetect the /dev/uvhid* 
device or if symlinked to /dev/uhid*. If the X "mouse" driver is 
configured with the uvhid device X will segfault upon startup citing 
mouse_drv.so.

4) wmt(4) - wmt.ko automatically loads but does not attach or create any 
evdev devices.

5) `webcamd -l` shows the device but exits on startup with "Cannot find 
USB device".

Should this device work with uhid(4) or wmt(4) and does the below output 
give any clues what might be going wrong? If uhidd(8) or webcamd is what 
should be used instead are there any issues with my config?

The device itself should be okay, it works out of the box on OpenBSD and 
the vendor provides drivers for Linux.

Thanks in advance for any pointers.

-Mark


# usbconfig
ugen0.1: <Intel EHCI root HUB> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen0.2: <vendor 0x8087 product 0x07e6> at usbus0, cfg=0 md=HOST 
spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen0.3: <eGalax Inc. USB TouchController> at usbus0, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON (100mA)
ugen0.4: <Lite-On Technology Corp. USB Multimedia Keyboard> at usbus0, 
cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA)
ugen0.5: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (100mA)
#

# usbhid-dump
000:003:000:DESCRIPTOR         1621478496.823720
  8D 0F 00 09 42 09 32 15 00 25 01 95 02 75 01 81
  02 95 06 75 01 81 03 05 01 09 30 75 10 95 01 A4
  55 00 65 00 36 00 00 46 00 00 16 1E 00 26 C8 0F
  81 02 09 31 16 3C 00 26

000:004:001:DESCRIPTOR         1621478496.826074
  05 0C 09 01 A1 01 85 01 19 00 2A 3C 02 15 00 26
  3C 02 95 01 75 10 81 00 C0 05 01 09 80 A1 01 85
  02 19 81 29 83 25 01 75 01 95 03 81 02 95 05 81
  01 C0

000:004:000:DESCRIPTOR         1621478496.829067
  05 01 09 06 A1 01 05 07 19 E0 29 E7 15 00 25 01
  95 08 75 01 81 02 95 08 75 01 81 01 05 08 19 01
  29 03 95 03 75 01 91 02 95 01 75 05 91 01 05 07
  19 00 2A FF 00 15 00 26 FF 00 95 06 75 08 81 00
  C0
#

# usbconfig -d ugen0.3 dump_all_desc
ugen0.3: <eGalax Inc. USB TouchController> at usbus0, cfg=0 md=HOST 
spd=FULL (12Mbps) pwr=ON (100mA)

   bLength = 0x0012
   bDescriptorType = 0x0001
   bcdUSB = 0x0110
   bDeviceClass = 0x0000  <Probed by interface class>
   bDeviceSubClass = 0x0000
   bDeviceProtocol = 0x0000
   bMaxPacketSize0 = 0x0040
   idVendor = 0x0eef
   idProduct = 0x0001
   bcdDevice = 0x0100
   iManufacturer = 0x0001  <eGalax Inc.>
   iProduct = 0x0002  <USB TouchController>
   iSerialNumber = 0x0000  <no string>
   bNumConfigurations = 0x0001

  Configuration index 0

     bLength = 0x0009
     bDescriptorType = 0x0002
     wTotalLength = 0x0022
     bNumInterfaces = 0x0001
     bConfigurationValue = 0x0001
     iConfiguration = 0x0001  <eGalax Inc.>
     bmAttributes = 0x00a0
     bMaxPower = 0x0032

     Interface 0
       bLength = 0x0009
       bDescriptorType = 0x0004
       bInterfaceNumber = 0x0000
       bAlternateSetting = 0x0000
       bNumEndpoints = 0x0001
       bInterfaceClass = 0x0003  <HID device>
       bInterfaceSubClass = 0x0000
       bInterfaceProtocol = 0x0000
       iInterface = 0x0000  <no string>

       Additional Descriptor

       bLength = 0x09
       bDescriptorType = 0x21
       bDescriptorSubType = 0x10
        RAW dump:
        0x00 | 0x09, 0x21, 0x10, 0x02, 0x00, 0x01, 0x22, 0x8d,
        0x08 | 0x00

      Endpoint 0
         bLength = 0x0007
         bDescriptorType = 0x0005
         bEndpointAddress = 0x0081  <IN>
         bmAttributes = 0x0003  <INTERRUPT>
         wMaxPacketSize = 0x0008
         bInterval = 0x0003
         bRefresh = 0x0000
         bSynchAddress = 0x0000
#

-----------------------
uhidd sees events:

# /usr/local/sbin/uhidd -kmohsuvvv /dev/ugen0.3
uhidd 1292 - - open /usr/local/etc/uhidd.conf failed: No such file or 
directory
uhidd 1292 - - proceed without configuration file
ugen0.3[0]-> HID interface
ugen0.3[0]-> Report descriptor size = 141
ugen0.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8
HID APPLICATION COLLECTION (Pointer) size(63)
   HID REPORT: ID 1
     INPUT:
       POS:0 SIZE:1 COUNT:2 [VARIABLE]
         USAGE Button1
         USAGE Button2
       POS:2 SIZE:6 COUNT:1 [CONST]
       POS:8 SIZE:16 COUNT:2 [VARIABLE]
         USAGE X
         USAGE Y
HID APPLICATION COLLECTION (Touch Screen) size(78)
   HID REPORT: ID 2
     INPUT:
       POS:0 SIZE:1 COUNT:2 [VARIABLE]
         USAGE Tip Switch
         USAGE In Range
       POS:2 SIZE:1 COUNT:6 [CONST]
       POS:8 SIZE:16 COUNT:1 [VARIABLE]
         USAGE X
       POS:24 SIZE:16 COUNT:1 [VARIABLE]
         USAGE Y
uhidd 1292 - - cuse initiailzed.
ugen0.3[0]-> vhid device created: uvhid0
ugen0.3[0]-> vhid device created: uvhid1
ugen0.3[0]-> HID interface task started
[...start touching screen...]
ugen0.3[0]-> received data(6): 02 03 -7 03 -8 10
hid_appcol_recv_data: len(6) 0x02 0x03 0xf9 0x03 0xf8 0x0a
ugen0.3[0]-> uvhid1 received data: 2 3 249 3 248 10
ugen0.3[0]-> received data(6): 02 03 -7 03 -13 10
hid_appcol_recv_data: len(6) 0x02 0x03 0xf9 0x03 0xf3 0x0a
ugen0.3[0]-> uvhid1 received data: 2 3 249 3 243 10
ugen0.3[0]-> received data(6): 02 02 -7 03 -13 10
hid_appcol_recv_data: len(6) 0x02 0x02 0xf9 0x03 0xf3 0x0a
ugen0.3[0]-> uvhid1 received data: 2 2 249 3 243 10
ugen0.3[0]-> received data(6): 02 03 -30 03 00 11
hid_appcol_recv_data: len(6) 0x02 0x03 0xe2 0x03 0x00 0x0b
ugen0.3[0]-> uvhid1 received data: 2 3 226 3 0 11
ugen0.3[0]-> received data(6): 02 03 -39 03 09 11
[... more events ...]
#

however X crashes with uhidd and xf86-input-mouse:
[...]
[   151.396] (II) Using input driver 'mouse' for 'Touch0'
[   151.397] (**) Option "SendCoreEvents"
[   151.397] (**) Option "CorePointer" "on"
[   151.397] (**) Touch0: always reports core events
[   151.397] (**) Option "Protocol" "usb"
[   151.397] (**) Option "Device" "/dev/uvhid1"
[   151.397] (**) Touch0: Protocol: usb
[   151.397] (**) Touch0: always reports core events
[   151.397] (==) Touch0: Opening new HID device
[   151.398] (==) Touch0: Found 1 usable logical collections
[   151.398] (**) Option "Collection" "2"
[   151.398] (**) Touch0: Collection: 2
[   151.398] (EE) Touch0: Application collection not found or already 
handled
[   151.398] (**) Touch0: Protocol: "usb"
[   151.398] (II) XINPUT: Adding extended input device "Touch0" (type: 
MOUSE, id 7)
[   151.399] (EE)
[   151.399] (EE) Backtrace:
[   151.402] (EE) 0: /usr/local/bin/Xorg (?+0x0) [0x41dd9a]
[   151.404] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   151.404] (EE) 1: /lib/libthr.so.3 (?+0x0) [0x800928e0e]
[   151.407] (EE) unw_get_proc_name failed: no unwind info found [-10]
[   151.407] (EE) 2: /lib/libthr.so.3 (?+0x0) [0x8009283cf]
[   151.409] (EE) 3: ? (?+0x0) [0x7ffffffff003]
[   151.412] (EE) 4: /usr/local/lib/xorg/modules/input/mouse_drv.so 
(?+0x0) [0x801cef5ff]
[   151.415] (EE) 5: /usr/local/bin/Xorg (?+0x0) [0x292bfc]
[   151.417] (EE) 6: /usr/local/bin/Xorg (?+0x0) [0x2f0ed8]
[   151.420] (EE) 7: /usr/local/bin/Xorg (?+0x0) [0x2e6961]
[   151.422] (EE) 8: /usr/local/bin/Xorg (?+0x0) [0x2a1a5f]
[   151.425] (EE) 9: /usr/local/bin/Xorg (?+0x0) [0x28a420]
[   151.427] (EE) 10: ? (?+0x0) [0x800458008]
[   151.427] (EE)
[   151.427] (EE) Segmentation fault at address 0x0
[   151.428] (EE)
Fatal server error:
[   151.428] (EE) Caught signal 11 (Segmentation fault). Server aborting

Section "InputDevice"
     Identifier     "Touch0"
     Driver         "mouse"
     Option         "Protocol" "usb"
     Option         "Device" "/dev/uvhid1"
EndSection


Sometimes uhidd has problems starting but then works on the 3rd or 4th 
try:

# uhidd -dD -vvv -kmohu /dev/ugen0.3
uhidd 1808 - - open /usr/local/etc/uhidd.conf failed: No such file or 
directory
uhidd 1808 - - proceed without configuration file
ugen0.3[0]-> HID interface
ugen0.3[0]-> Report descriptor size = 141
uhidd 1808 - - ugen0.3[0]=> libusb20_dev_request_sync failed
# uhidd -dD -vvv -kmohu /dev/ugen0.3
uhidd 1809 - - open /usr/local/etc/uhidd.conf failed: No such file or 
directory
uhidd 1809 - - proceed without configuration file
ugen0.3[0]-> HID interface
ugen0.3[0]-> Report descriptor size = 141
ugen0.3[0]-> Report descriptor dump:
illegal type (bType=3)
illegal Main Item (bTag=0)
ugen0.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8
uhidd: hid_parser: unknown bType(3)
uhidd: hid_parser: unknown Main item(0)
Assertion failed: (ha != NULL), function hid_parser_init, file 
uhidd_hidcore.c, line 380.
Abort (core dumped)
# uhidd -dD -vvv -kmohu /dev/ugen0.3
uhidd 1810 - - open /usr/local/etc/uhidd.conf failed: No such file or 
directory
uhidd 1810 - - proceed without configuration file
ugen0.3[0]-> HID interface
ugen0.3[0]-> Report descriptor size = 141
uhidd 1810 - - ugen0.3[0]=> libusb20_dev_request_sync failed
# uhidd -dD -vvv -kmohu /dev/ugen0.3
uhidd 1811 - - open /usr/local/etc/uhidd.conf failed: No such file or 
directory
uhidd 1811 - - proceed without configuration file
ugen0.3[0]-> HID interface
ugen0.3[0]-> Report descriptor size = 141
ugen0.3[0]-> Report descriptor dump:
	USAGE PAGE Generic Desktop(0x1)
	USAGE Pointer(0x1)[Generic Desktop(0x1)]
	COLLECTION Application(1)
	  REPORT ID 1
	  USAGE Pointer(0x1)[Generic Desktop(0x1)]
	  COLLECTION Physical(0)
	    USAGE PAGE Button(0x9)
	    USAGE MINIMUM Button1(1)
	    USAGE MAXIMUM Button2(2)
	    LOGICAL MINIMUM 0
	    LOGICAL MAXIMUM 1
	    REPORT COUNT 2
	    REPORT SIZE 1
	    INPUT ( Data Variable Absolute ) (2)
	    REPORT COUNT 1
	    REPORT SIZE 6
	    INPUT ( Const Array Absolute ) (1)
	    USAGE PAGE Generic Desktop(0x1)
	    USAGE X(0x30)[Generic Desktop(0x1)]
	    USAGE Y(0x31)[Generic Desktop(0x1)]
	    LOGICAL MINIMUM 42
	    LOGICAL MAXIMUM 1981
	    PHYSICAL MINIMUM 0
	    PHYSICAL MAXIMUM 4095
	    UNIT (0)
	    REPORT SIZE 16
	    REPORT COUNT 2
	    INPUT ( Data Variable Absolute ) (2)
	  END COLLECTION
	END COLLECTION
	USAGE PAGE Digitizer(0xd)
	USAGE Touch Screen(0x4)[Digitizer(0xd)]
	COLLECTION Application(1)
	  REPORT ID 2
	  USAGE Stylus(0x20)[Digitizer(0xd)]
	  COLLECTION Physical(0)
	    USAGE Tip Switch(0x42)[Digitizer(0xd)]
	    USAGE In Range(0x32)[Digitizer(0xd)]
	    LOGICAL MINIMUM 0
	    LOGICAL MAXIMUM 1
	    REPORT COUNT 2
	    REPORT SIZE 1
	    INPUT ( Data Variable Absolute ) (2)
	    REPORT COUNT 6
	    REPORT SIZE 1
	    INPUT ( Const Variable Absolute ) (3)
	    USAGE PAGE Generic Desktop(0x1)
	    USAGE X(0x30)[Generic Desktop(0x1)]
	    REPORT SIZE 16
	    REPORT COUNT 1
	    PUSH
	    UNIT EXPONENT 0
	    UNIT (0)
	    PHYSICAL MINIMUM 0
	    PHYSICAL MAXIMUM 0
	    LOGICAL MINIMUM 30
	    LOGICAL MAXIMUM 4040
	    INPUT ( Data Variable Absolute ) (2)
	    USAGE Y(0x31)[Generic Desktop(0x1)]
	    LOGICAL MINIMUM 60
	    LOGICAL MAXIMUM 4035
	    PHYSICAL MINIMUM 0
	    PHYSICAL MAXIMUM 0
	    INPUT ( Data Variable Absolute ) (2)
	    POP
	  END COLLECTION
	END COLLECTION
ugen0.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8
HID APPLICATION COLLECTION (Pointer) size(63)
   HID REPORT: ID 1
     INPUT:
       POS:0 SIZE:1 COUNT:2 [VARIABLE]
         USAGE Button1
         USAGE Button2
       POS:2 SIZE:6 COUNT:1 [CONST]
       POS:8 SIZE:16 COUNT:2 [VARIABLE]
         USAGE X
         USAGE Y
HID APPLICATION COLLECTION (Touch Screen) size(78)
   HID REPORT: ID 2
     INPUT:
       POS:0 SIZE:1 COUNT:2 [VARIABLE]
         USAGE Tip Switch
         USAGE In Range
       POS:2 SIZE:1 COUNT:6 [CONST]
       POS:8 SIZE:16 COUNT:1 [VARIABLE]
         USAGE X
       POS:24 SIZE:16 COUNT:1 [VARIABLE]
         USAGE Y
ugen0.3[0]-> Kernel driver is active
ugen0.3[0]-> kernel driver detached!
uhidd 1811 - - Attempt to load kernel module cuse.ko...
uhidd 1811 - - Successfully loaded cuse kernel module
uhidd 1811 - - cuse initiailzed.
ugen0.3[0]-> vhid device created: uvhid0
ugen0.3[0]-> vhid device created: uvhid1
ugen0.3[0]-> HID interface task started

-----------------------

# webcamd -d ugen0.3
webcamd 1415 - - Attached to ugen0.3[0]
webcamd 1415 - - webcamd: Cannot find USB device
#

-----------------------
uep(4) with evdev:

# evemu-describe
Available devices:
/dev/input/event0:	System mouse
/dev/input/event1:	System keyboard multiplexer
/dev/input/event2:	Power Button
/dev/input/event3:	Sleep Button
/dev/input/event4:	Lite-On Technology Corp. USB Multimedia Keyboard, 
class 0/0, rev 1.10/1.09, add
/dev/input/event5:	eGalax Inc. USB TouchController, class 0/0, rev 
1.10/1.00, addr 3
Select the device event number [0-5]: 5
# EVEMU 1.3
# Kernel: 13.0-RELEASE
# Input device name: "eGalax Inc. USB TouchController, class 0/0, rev 
1.10/1.00, addr 3"
# Input device ID: bus 0x03 vendor 0xeef product 0x01 version 0000
# Supported events:
#   Event type 0 (EV_SYN)
#     Event code 0 (SYN_REPORT)
#     Event code 1 (SYN_CONFIG)
#     Event code 2 (SYN_MT_REPORT)
#     Event code 3 (SYN_DROPPED)
#     Event code 4 ((null))
#     Event code 5 ((null))
#     Event code 6 ((null))
#     Event code 7 ((null))
#     Event code 8 ((null))
#     Event code 9 ((null))
#     Event code 10 ((null))
#     Event code 11 ((null))
#     Event code 12 ((null))
#     Event code 13 ((null))
#     Event code 14 ((null))
#     Event code 15 (SYN_MAX)
#   Event type 1 (EV_KEY)
#     Event code 330 (BTN_TOUCH)
#   Event type 3 (EV_ABS)
#     Event code 0 (ABS_X)
#       Value        0
#       Min          0
#       Max       2047
#       Fuzz         0
#       Flat         0
#       Resolution   0
#     Event code 1 (ABS_Y)
#       Value        0
#       Min          0
#       Max       2047
#       Fuzz         0
#       Flat         0
#       Resolution   0
# Properties:
#   Property  type 1 (INPUT_PROP_DIRECT)
N: eGalax Inc. USB TouchController, class 0/0, rev 1.10/1.00, addr 3
I: 0003 0eef 0001 0000
P: 02 00 00 00 00 00 00 00
B: 00 0b 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 04 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 01 00 00 00 00 00 00 00 00
B: 02 00 00 00 00 00 00 00 00
B: 03 03 00 00 00 00 00 00 00
B: 04 00 00 00 00 00 00 00 00
B: 05 00 00 00 00 00 00 00 00
B: 11 00 00 00 00 00 00 00 00
B: 12 00 00 00 00 00 00 00 00
B: 14 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
B: 15 00 00 00 00 00 00 00 00
A: 00 0 2047 0 0 0
A: 01 0 2047 0 0 0
#


# libinput list-devices
[...]
Device:           eGalax Inc. USB TouchController, class 0/0, rev 
1.10/1.00, addr 3
Kernel:           /dev/input/event5
Group:            6
Seat:             seat0, default
Capabilities:     touch
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a
#

X log for uep(4) in evdev mode:
[   291.398] (II) config/udev: Adding input device eGalax Inc. USB 
TouchController (/dev/input/event5)
[   291.398] (**) eGalax Inc. USB TouchController: Applying InputClass 
"evdev touchscreen catchall"
[   291.398] (**) eGalax Inc. USB TouchController: Applying InputClass 
"libinput touchscreen catchall"
[   291.398] (II) Using input driver 'libinput' for 'eGalax Inc. USB 
TouchController'
[   291.398] (**) eGalax Inc. USB TouchController: always reports core 
events
[   291.398] (**) Option "Device" "/dev/input/event5"
[   291.398] (**) Option "_source" "server/udev"
[   291.401] (II) event5  - eGalax Inc. USB TouchController, class 0/0, 
rev 1.10/1.00, addr 3: is tagged by udev as: Touchscreen
[   291.402] (II) event5  - eGalax Inc. USB TouchController, class 0/0, 
rev 1.10/1.00, addr 3: device is a touch device
[   291.403] (II) event5  - eGalax Inc. USB TouchController, class 0/0, 
rev 1.10/1.00, addr 3: device removed
[   291.403] (**) Option "config_info" "udev:/dev/input/event5"
[   291.403] (II) XINPUT: Adding extended input device "eGalax Inc. USB 
TouchController" (type: TOUCHSCREEN, id 11)
[   291.403] (**) Option "AccelerationScheme" "none"
[   291.403] (**) eGalax Inc. USB TouchController: (accel) selected 
scheme none/0
[   291.403] (**) eGalax Inc. USB TouchController: (accel) acceleration 
factor: 2.000
[   291.403] (**) eGalax Inc. USB TouchController: (accel) acceleration 
threshold: 4
[   291.406] (II) event5  - eGalax Inc. USB TouchController, class 0/0, 
rev 1.10/1.00, addr 3: is tagged by udev as: Touchscreen
[   291.407] (II) event5  - eGalax Inc. USB TouchController, class 0/0, 
rev 1.10/1.00, addr 3: device is a touch device

xinput uep(4) evdev test:
% xinput --list
⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  
(2)]
⎜   ↳ System mouse                            	id=6	[slave  pointer  
(2)]
⎜   ↳ eGalax Inc. USB TouchController         	id=11	[slave  pointer  
(2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
     ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard 
(3)]
     ↳ System keyboard multiplexer             	id=7	[slave  keyboard 
(3)]
     ↳ Power Button                            	id=8	[slave  keyboard 
(3)]
     ↳ Sleep Button                            	id=9	[slave  keyboard 
(3)]
     ↳ Lite-On Technology Corp. USB Multimedia Keyboard	id=10	[slave  
keyboard (3)]
% xinput --test 11
[...no events...]
^C
%


dmesg:
Copyright (c) 1992-2021 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr  9 
04:24:09 UTC 2021
     
root at releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC 
amd64
FreeBSD clang version 11.0.1 (git at github.com:llvm/llvm-project.git 
llvmorg-11.0.1-0-g43ff75f2c3fe)
VT(vga): resolution 640x480
CPU: Intel(R) Atom(TM) CPU  E3845  @ 1.91GHz (1916.71-MHz K8-class CPU)
   Origin="GenuineIntel"  Id=0x30679  Family=0x6  Model=0x37  Stepping=9
   
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
   
Features2=0x43d8e3bf<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,MOVBE,POPCNT,TSCDLT,AESNI,RDRAND>
   AMD Features=0x28000800<SYSCALL,RDTSCP,LM>
   AMD Features2=0x101<LAHF,Prefetch>
   Structured Extended Features=0x2282<TSCADJ,SMEP,ERMS,NFPUSG>
   VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,UG,VPID
   TSC: P-state invariant, performance statistics
real memory  = 2147483648 (2048 MB)
avail memory = 1907458048 (1819 MB)
Event timer "LAPIC" quality 600
ACPI APIC Table: <ALASKA A M I >
WARNING: L1 data cache covers fewer APIC IDs than a core (0 < 1)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
random: registering fast source Intel Secure Key RNG
random: fast provider: "Intel Secure Key RNG"
random: unblocking device.
Firmware Warning (ACPI): 32/64X length mismatch in FADT/Gpe0Block: 
128/32 (20201113/tbfadt-748)
ioapic0 <Version 2.0> irqs 0-86
Launching APs: 3 2 1
Timecounter "TSC" frequency 1916713993 Hz quality 1000
KTLS: Initialized 4 threads
random: entropy device external interface
000.000019 [4354] netmap_init               netmap: loaded module
[ath_hal] loaded
WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 
14.0.
kbd0 at kbdmux0
mlx5en: Mellanox Ethernet driver 3.6.0 (December 2020)
nexus0
vtvga0: <VT VGA driver>
cryptosoft0: <software crypto>
aesni0: <AES-CBC,AES-CCM,AES-GCM,AES-ICM,AES-XTS>
acpi0: <ALASKA A M I >
acpi0: Power Button (fixed)
unknown: I/O range not supported
cpu0: <ACPI CPU> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x77 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock, resolution 1.000000s
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 8 on 
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: Length mismatch for 3 range: 50d06fff vs 50d07000
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0xe080-0xe087 mem 
0xd0000000-0xd03fffff,0xc0000000-0xcfffffff irq 16 at device 2.0 on pci0
vgapci0: Boot video device
ahci0: <AHCI SATA controller> port 
0xe070-0xe077,0xe060-0xe063,0xe050-0xe057,0xe040-0xe043,0xe020-0xe03f 
mem 0xd0d06000-0xd0d067ff irq 19 at device 19.0 on pci0
ahci0: AHCI v1.30 with 2 3Gbps ports, Port Multiplier not supported
ahcich0: <AHCI channel> at channel 0 on ahci0
pci0: <encrypt/decrypt> at device 26.0 (no driver attached)
hdac0: <Intel BayTrail HDA Controller> mem 0xd0d00000-0xd0d03fff irq 22 
at device 27.0 on pci0
pcib1: <ACPI PCI-PCI bridge> irq 16 at device 28.0 on pci0
pci1: <ACPI PCI bus> on pcib1
igb0: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xd000-0xd01f 
mem 0xd0a00000-0xd0afffff,0xd0b00000-0xd0b03fff irq 16 at device 0.0 on 
pci1
igb0: Using 1024 TX descriptors and 1024 RX descriptors
igb0: Using 4 RX queues 4 TX queues
igb0: Using MSI-X interrupts with 5 vectors
igb0: Ethernet address: 00:10:f3:9c:6b:7c
igb0: netmap queues/slots: TX 4/1024, RX 4/1024
pcib2: <ACPI PCI-PCI bridge> irq 17 at device 28.1 on pci0
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 28.2 on pci0
pci2: <ACPI PCI bus> on pcib3
pci2: <simple comms, UART> at device 0.0 (no driver attached)
pcib4: <ACPI PCI-PCI bridge> irq 19 at device 28.3 on pci0
pci3: <ACPI PCI bus> on pcib4
igb1: <Intel(R) PRO/1000 PCI-Express Network Driver> port 0xc000-0xc01f 
mem 0xd0700000-0xd07fffff,0xd0800000-0xd0803fff irq 19 at device 0.0 on 
pci3
igb1: Using 1024 TX descriptors and 1024 RX descriptors
igb1: Using 4 RX queues 4 TX queues
igb1: Using MSI-X interrupts with 5 vectors
igb1: Ethernet address: 00:10:f3:9c:6b:7d
igb1: netmap queues/slots: TX 4/1024, RX 4/1024
ehci0: <Intel BayTrail USB 2.0 controller> mem 0xd0d05000-0xd0d053ff irq 
23 at device 29.0 on pci0
usbus0: EHCI version 1.0
usbus0 on ehci0
usbus0: 480Mbps High Speed USB v2.0
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
ppc1: <Parallel port> port 0x378-0x37f irq 15 on acpi0
ppc1: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc1
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
uart2: <16950 or compatible> port 0x248-0x24f irq 5 on acpi0
uart1: <16950 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
uart3: <16950 or compatible> port 0x3e8-0x3ef irq 11 on acpi0
uart4: <16950 or compatible> port 0x2e8-0x2ef irq 10 on acpi0
uart5: <16950 or compatible> port 0x228-0x22f irq 6 on acpi0
uart6: <16950 or compatible> port 0x238-0x23f irq 7 on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
Timecounters tick every 1.000 msec
hdacc0: <Realtek ALC888 HDA CODEC> at cad 0 on hdac0
hdaa0: <Realtek ALC888 Audio Function Group> at nid 1 on hdacc0
pcm0: <Realtek ALC888 (Rear Analog)> at nid 20 and 24 on hdaa0
pcm1: <Realtek ALC888 (Analog)> at nid 21 and 26 on hdaa0
hdacc1: <Intel Valleyview2 HDA CODEC> at cad 2 on hdac0
hdaa1: <Intel Valleyview2 Audio Function Group> at nid 1 on hdacc1
hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (5) in association 1! 
Disabling association.
hdaa1: hdaa_audio_as_parse: Duplicate pin 0 (6) in association 1! 
Disabling association.
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <KINGSTON SA400S37120G SBFKB1E1> ACS-3 ATA SATA 3.x device
ada0: Serial Number 50026B768365A54C
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 512bytes)
ada0: Command Queueing enabled
ada0: 114473MB (234441648 512 byte sectors)
Trying to mount root from ufs:/dev/ada0s1a [rw]...
ugen0.1: <Intel EHCI root HUB> at usbus0
uhub0 on usbus0
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ichsmb0: <Intel Baytrail SMBus controller> port 0xe000-0xe01f mem 
0xd0d04000-0xd0d0401f irq 18 at device 31.3 on pci0
smbus0: <System Management Bus> on ichsmb0
lo0: link state changed to UP
uhub0: 8 ports with 8 removable, self powered
ugen0.2: <vendor 0x8087 product 0x07e6> at usbus0
uhub1 on uhub0
uhub1: <vendor 0x8087 product 0x07e6, class 9/0, rev 2.00/0.17, addr 2> 
on usbus0
uhub1: 4 ports with 4 removable, self powered
igb1: link state changed to UP
ugen0.3: <eGalax Inc. USB TouchController> at usbus0
ugen0.4: <Lite-On Technology Corp. USB Multimedia Keyboard> at usbus0
ukbd0 on uhub1
ukbd0: <Lite-On Technology Corp. USB Multimedia Keyboard, class 0/0, rev 
1.10/1.09, addr 4> on usbus0
kbd1 at ukbd0
ugen0.5: <vendor 0x05e3 USB2.0 Hub> at usbus0
uhub2 on uhub1
uhub2: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 2.00/32.98, addr 5> on 
usbus0
uhub2: 4 ports with 4 removable, self powered


More information about the freebsd-usb mailing list