We are trying to Interface "AA104SL02" Mitsubishi 10.4" LCD on USB1 of AM335x board.
We have added all the required data to the kernel (linux-3.2), provided by Mitsubishi.
After booting the board LCD is working fin, But when we touch the LCD we are getting the below error log:
*****************************************************************************************************
[ 1726.851226] usb 1-1: USB disconnect, device number 6
[ 1727.301055] usb 1-1: new full-speed USB device number 7 using musb-hdrc
[ 1727.442108] usb 1-1: New USB device found, idVendor=06d3, idProduct=6400
[ 1727.449157] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 1727.456695] usb 1-1: Product: USB Touch (WinXP&7)
[ 1727.461639] usb 1-1: Manufacturer: MITSUBISHI ELECTRIC
******************************************************************************************************
We have added the below LCD USB touch related code to the kernel (linux-3.2)
*******************************************************************************************************
Modify below files and then re-build the kernel.
(1)drivers/hid/hid-ids.h
Add below command line
#define USB_VENDOR_ID_MITSUBISHI_ELECTRIC 0x06d3 #define
USB_DEVICE_ID_MITSUBISHI_ELECTRIC_USB_Touch_6400 0x6400
(2)drivers/hid/hid-core.c
Add Mitsubishi VENDOR ID and DEVICE ID in below statement static const struct hid_device_id hid_have_special_driver[] = { ... }, { HID_USB_DEVICE(USB_VENDOR_ID_MITSUBISHI_ELECTRIC,
USB_DEVICE_ID_MITSUBISHI_ELECTRIC_USB_Touch_6400 ) }
(3)drivers/hid/hid-multitouch.c
Add Mitsubishi VENDOR ID and DEVICE ID in below statement static const struct hid_device_id mt_devices[] = { ... }, { .driver_data = MT_CLS_DEFAULT, HID_USB_DEVICE(USB_VENDOR_ID_MITSUBISHI_ELECTRIC,
USB_DEVICE_ID_MITSUBISHI_ELECTRIC_USB_Touch_6400 ) }
***************************************************************************************************************
I am unable to find the USB touch controller of Mitsubishi under:
-> Device Drivers -> Input device support -> Generic input layer -> Touchscreens