Hi Piotr, I want to use a 14 inch touch screen with my BBB. I have recompiled the kernel with the touch screen driver compiled as a module, and my lsmod: root@beaglebone:/boot# lsmod Module Size Used by fuse 51621 2 ip_tables 8064 0 x_tables 15084 1 ip_tables ti_am335x_tsc 3829 0 g_multi 47152 2 libcomposite 13871 1 g_multi rfcomm 25039 0 ircomm_tty 14423 0 ircomm 8858 1 ircomm_tty irda 89698 2 ircomm_tty,ircomm ipv6 228974 12 hidp 10108 0 bluetooth 146082 4 hidp,rfcomm rfkill 16532 3 bluetooth autofs4 17241 2
and root@beaglebone:~# cat /proc/bus/input/devices . . . I: Bus=0000 Vendor=0000 Product=0000 Version=0000 N: Name="ti-tsc" P: Phys= S: Sysfs=/devices/ocp.3/44e0d000.tscadc/tsc/input/input4 U: Uniq= H: Handlers=mouse2 event4 B: PROP=0 B: EV=b B: KEY=400 0 0 0 0 0 0 0 0 0 0 B: ABS=1000003 . . . and root@beaglebone:~# uname -a Linux beaglebone 3.8.13-00755-g5b6fa721-dirty #2 SMP Tue Jun 3 08:56:51 IRDT 2014 armv7l GNU/Linux I have used your BB-ADC-00A0.dts with minor modifications: ti,adc-channels = <0 1 2 3>; since AIN7 is not available on BBB headers. I used the following instructions for kernel recompilation: http://hipstercircuits.com/enable-device-tree-overlay-on-startup-on-beaglebone-black/ I have already transferred the uImage and modules to my BBB, but my touch screen still doesn't work. what am I missing? BR, Elyas On Wednesday, March 26, 2014 10:09:57 PM UTC+4:30, Piotr Murawski wrote: > > Hello Dennis, > > I did exactly the same. I connected a touchscreen without a cape. So... > > 1) Capes are recognized thanks to EEPROM data, then appropriate "device > tree" file is loaded which does the job, that is set hardware pins and > loads + configures the driver. > 2) You don't have a cape and hence neither an EEPROM, you need to use > so-called "device tree overlay". > 3) By default, touch screen driver is build in into the kernel, somehow, > this does not play well with "overlay-ed device tree", the kernel needs to > be recompiled with the touch screen driver compiled as a module. this is > because we need to load the driver after the device tree overlay is loaded. > 4) I got 10" tsc, which has bigger capacity, and the default tsc driver > charging delay was not good at all, I need to modify the driver before > kernel compilation. > > So, It may look scary, I know. Le me know, if you know how to do the > steps. I mean: are you able to configure and build the kernel? Do you know > how to load device tree overlay? Do you know how to load a driver module? > > I have attached my device tree file for the touchscreen, assuming it has > exactly same connections as the LCD7 cape. The file shall be but into > KERNEL/firmware/capes directory before kernel compilation. > > Regards, > Piotr. > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.