How imx8qm_mek supports usb touch screen

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How imx8qm_mek supports usb touch screen

997 Views
MickyHe
Contributor III

I add in the file at the following path,All turned on, but the usb touch still does not support。How to configure usb touch?
\imx-automotive-10.0.0_2.4.0\android_build\vendor\nxp-opensource\kernel_imx\arch\arm64\configs\imx_v8_android_car2_defconfig
CONFIG_USB_ARCH_HAS_HCD=y
CONFIG_TOUCHSCREEN_USB_COMPOSITE=y
CONFIG_TOUCHSCREEN_USB_ELO=y
CONFIG_TOUCHSCREEN_USB_EGALAX=y
CONFIG_TOUCHSCREEN_USB_PANJIT=y
CONFIG_TOUCHSCREEN_USB_3M=y
CONFIG_TOUCHSCREEN_USB_ITM=y
CONFIG_TOUCHSCREEN_USB_ETURBO=y
CONFIG_TOUCHSCREEN_USB_GUNZE=y
CONFIG_TOUCHSCREEN_USB_DMC_TSC10=y
CONFIG_TOUCHSCREEN_USB_IRTOUCH=y
CONFIG_TOUCHSCREEN_USB_IDEALTEK=y
CONFIG_TOUCHSCREEN_USB_GENERAL_TOUCH=y
CONFIG_TOUCHSCREEN_USB_GOTOP=y
CONFIG_TOUCHSCREEN_USB_JASTEC=y
CONFIG_TOUCHSCREEN_USB_E2I=y
CONFIG_TOUCHSCREEN_USB_ZYTRONIC=y
CONFIG_TOUCHSCREEN_USB_ETT_TC45USB=y
CONFIG_TOUCHSCREEN_USB_NEXIO=y
CONFIG_TOUCHSCREEN_USB_EASYTOUCH=y

 

0 Kudos
5 Replies

993 Views
MickyHe
Contributor III

Serial port information:

[ 509.859758] xhci-cdns3: xHCI Host Controller
[ 509.864207] xhci-cdns3: new USB bus registered, assigned bus number 1
[ 509.872727] xhci-cdns3: hcc params 0x200073c8 hci version 0x100 quirks 0x0000001000018010
[ 509.881239] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 509.889554] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 509.896802] usb usb1: Product: xHCI Host Controller
[ 509.901718] usb usb1: Manufacturer: Linux 5.4.24-dirty xhci-hcd
[ 509.907653] usb usb1: SerialNumber: xhci-cdns3
[ 509.915487] hub 1-0:1.0: USB hub found
[ 509.919317] hub 1-0:1.0: 1 port detected
[ 509.927344] xhci-cdns3: xHCI Host Controller
[ 509.931732] xhci-cdns3: new USB bus registered, assigned bus number 2
[ 509.938298] xhci-cdns3: Host supports USB 3.0 SuperSpeed
[ 509.943792] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 509.952047] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[ 509.960336] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 509.967574] usb usb2: Product: xHCI Host Controller
[ 509.972474] usb usb2: Manufacturer: Linux 5.4.24-dirty xhci-hcd
[ 509.978413] usb usb2: SerialNumber: xhci-cdns3
[ 509.984017] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 509.993358] hub 2-0:1.0: USB hub found
[ 509.997243] hub 2-0:1.0: 1 port detected
[ 510.005293] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 510.259035] usb 1-1: new high-speed USB device number 2 using cdns-usb3
[ 510.284701] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.70
[ 510.292918] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 510.300113] usb 1-1: Product: USB2.0 Hub
[ 510.309848] hub 1-1:1.0: USB hub found
[ 510.313992] hub 1-1:1.0: 4 ports detected
[ 510.330223] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 510.615041] usb 1-1.3: new full-speed USB device number 3 using cdns-usb3
[ 510.722409] usb 1-1.3: New USB device found, idVendor=1d5c, idProduct=7102, bcdDevice= 1.00
[ 510.730805] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 510.738162] usb 1-1.3: Product: Generic Billboard Device
[ 510.743502] usb 1-1.3: Manufacturer: Fresco Logic, Inc
[ 510.756852] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 510.843056] usb 1-1.4: new full-speed USB device number 4 using cdns-usb3
[ 510.962609] usb 1-1.4: New USB device found, idVendor=056a, idProduct=8191, bcdDevice= 2.16
[ 510.971822] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 510.979255] usb 1-1.4: Product: TouchScreen
[ 510.983562] usb 1-1.4: Manufacturer: WingCool Inc.
[ 510.988410] usb 1-1.4: SerialNumber: 9LQ0172005164
[ 511.020076] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 511.109990] usb 1-1: USB disconnect, device number 2
[ 511.115253] usb 1-1.3: USB disconnect, device number 3
[ 511.123883] usb 1-1.4: USB disconnect, device number 4
[ 512.834783] cdns-usb3 5b110000.usb3: wait lpm_clk_req timeout
[ 512.965697] cdns-usb3 5b110000.usb3: wait phy_refclk_req timeout
[ 513.173450] cdns-usb3 5b110000.usb3: wait phy_refclk_req timeout
[ 513.415015] usb 1-1: new high-speed USB device number 5 using cdns-usb3
[ 513.440629] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.70
[ 513.448839] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 513.456000] usb 1-1: Product: USB2.0 Hub
[ 513.470201] hub 1-1:1.0: USB hub found
[ 513.474365] hub 1-1:1.0: 4 ports detected
[ 513.493820] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 513.775408] usb 1-1.3: new full-speed USB device number 6 using cdns-usb3
[ 513.886358] usb 1-1.3: New USB device found, idVendor=1d5c, idProduct=7102, bcdDevice= 1.00
[ 513.894754] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 513.902108] usb 1-1.3: Product: Generic Billboard Device
[ 513.907446] usb 1-1.3: Manufacturer: Fresco Logic, Inc
[ 513.921194] imx-cs42888 sound-cs42888: failed to find codec platform device
[ 514.007050] usb 1-1.4: new full-speed USB device number 7 using cdns-usb3
[ 514.122958] usb 1-1.4: New USB device found, idVendor=056a, idProduct=8191, bcdDevice= 2.16
[ 514.131395] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 514.138756] usb 1-1.4: Product: TouchScreen
[ 514.142967] usb 1-1.4: Manufacturer: WingCool Inc.
[ 514.147800] usb 1-1.4: SerialNumber: 9LQ0172005164

0 Kudos

987 Views
MickyHe
Contributor III

I have filtered the hid to avoid it being recognized as a mouse,But still can't mount successfully

static const struct hid_device_id hid_ignore_list[]

static const struct hid_device_id hid_mouse_ignore_list[]

0 Kudos

973 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Can you confirm the driver has been add to kernel?

You need add configs to automotive_addition_defconfig 

0 Kudos

969 Views
MickyHe
Contributor III

The first step is to mount the hub of the usb touch screen successfully
The second step is to mount the usb touch screen driver。

The hub was unsuccessful, it has already exited, so it failed to load the usb touch screen。

0 Kudos

970 Views
MickyHe
Contributor III

I modified defconfig,The path is as follows,And shield the usbhid driver,but not loaded usbtouchscreen。This usb touch screen has a hub, which has been exited early。

\imx-automotive-10.0.0_2.4.0\android_build\vendor\nxp-opensource\kernel_imx\arch\arm64\configs\imx_v8_android_car2_defconfig

 

log information:

[13:42:50.980]收←◆[ 138.528197] xhci-cdns3: remove, state 85
[ 138.532563] usb usb2: USB disconnect, device number 1

[13:42:51.098]收←◆[ 138.660279] xhci-cdns3: USB bus 2 deregistered
[ 138.664884] xhci-cdns3: remove, state 1
[ 138.668871] usb usb1: USB disconnect, device number 1
[ 138.673952] usb 1-1: USB disconnect, device number 5
[ 138.678947] usb 1-1.3: USB disconnect, device number 6
[ 138.685255] usb 1-1.4: USB disconnect, device number 7
[ 138.692630] usbhid_disconnect

[13:42:51.242]收←◆[ 138.840020] usbhid_disconnect

[13:42:51.263]收←◆[ 138.854708] usbhid_disconnect

[13:42:51.305]收←◆[ 138.908210] xhci-cdns3: USB bus 1 deregistered

 

 

0 Kudos