Hi,
 
I'm new to directfb and somewhat new to embedded linux as well but I'm
running into a problem with directfb and I don't know if it is related to
version mismatches or a possible configuration error.
 
I'm using buildroot to build my embedded system and after some extensive
work have a bootable system for my at91sam9263ek development board. GPIOs,
I2C and SPI are all working. I would like to use directfb for the LCD
interface. Buildroot currently uses DirectFB 1.0.1 and I have chosen Linux
2.6.24 because that is the latest version which supports patches for the
at91sam9263ek.
 
With a bit of trouble I have been able to compile and run a number of the
directfb example 1.0.0 programs but I don't seem to be able to get any input
into the example programs. For example, the df_input example finds a
Keyboard device but does not get any input from this device. I run the
df_input program from the console and it does not respond to keyboard input
from the console or the gpio-keys device. I can't figure out where the
keyboard device is located and how directfb finds it. I also have a tslib
device, ads7846, but directfb does not find this device either. I looked in
the DirectFB 1.0.1 source code and found where it is trying to open files
like /dev/input/tslibX (tslib inputdrivers) and /dev/input/eventX
(linux_input inputdrivers) but these devices files do not exist on my
embedded system after boot.
 
Here's the kernel boot up messages I get from the gpio-keys and ads7846
drivers. I can see these paths on sysfs at /sys (/sys/class/input/input0).
 
input: gpio-keys as /class/input/input0
ads7846 spi0.3: touchscreen, irq 31
input: ADS784x Touchscreen as /class/input/input1
 
I am using busybox and have the mdev -s command in the inittab file so my
device files are created at boot but it is not creating the /dev/input file
tree.
 
I have also read some information regarding linux 2.6 that devfs is no
longer used and so I'm wondering if directfb 1.0.1 is no longer compatible
with linux 2.6.24. Maybe I have to upgrade to a later version of directfb.
 
Or maybe there is some configure option that I should be using like
enable-sysfs to make directfb go through sysfs instead of /dev to find input
devices.
 
Any help would be appreciated.
 
Version mismatch? Configuration Error? Some other type of newbie error?
Cosmic energy?
 
Regards,
 
John
 
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to