summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouai Al-Khanji <louai.al-khanji@qt.io>2016-08-22 11:46:21 -0700
committerLouai Al-Khanji <louai.al-khanji@qt.io>2016-08-30 14:47:45 +0000
commit5b3c7dec8161de553df268cc690d8a11bbd1e3ca (patch)
tree5db9f3c1ca6d978ca78193b49107ec6901b5364c
parent12e34bc599aed45b5f331560c133ee956649e37b (diff)
rcar-gen2: USB fixups
Autoload USB modules for adb bridge and touch screens. Change-Id: I1370f87b25e1c0660ffc8fb6fd0aa6d0a1cf0658 Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
-rw-r--r--recipes/adbd/files/defaults2
-rw-r--r--recipes/linux/linux-renesas/b2qt.cfg12
2 files changed, 13 insertions, 1 deletions
diff --git a/recipes/adbd/files/defaults b/recipes/adbd/files/defaults
index 0fbba4c..d2a3cc0 100644
--- a/recipes/adbd/files/defaults
+++ b/recipes/adbd/files/defaults
@@ -1,4 +1,4 @@
VENDOR=0x18d1
PRODUCT=0x0000
SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address)
-USE_ETHERNET=yes
+USE_ETHERNET=no
diff --git a/recipes/linux/linux-renesas/b2qt.cfg b/recipes/linux/linux-renesas/b2qt.cfg
index 6ecc61e..1c60d89 100644
--- a/recipes/linux/linux-renesas/b2qt.cfg
+++ b/recipes/linux/linux-renesas/b2qt.cfg
@@ -62,6 +62,18 @@ CONFIG_RFKILL=m
CONFIG_FHANDLE=y
CONFIG_USB_NAMESPACES=m
+# HID support
+CONFIG_HID=m
+CONFIG_HID_BATTERY_STRENGTH=y
+CONFIG_HIDRAW=y
+CONFIG_UHID=m
+CONFIG_HID_GENERIC=m
+
+# USB HID support
+CONFIG_USB_HID=m
+CONFIG_HID_PID=y
+CONFIG_USB_HIDDEV=y
+
# needed for USB touchscreens
CONFIG_HID_MULTITOUCH=y