I am using DirectFB on an embedded device. I am using an NFS mounted root filesystem.
I have been having a strange problem where I get different Input Devices depending on which Linux OS I use to host the root filesystem. I have traced the reason for this to the NFS server version. The NFS server returns a list of InputDevice .so files in the inputdrivers directory. The order of this list differs when done on different NFS server versions. If it loads an input provider that has no devices on my system it bombs out and does not load the other inputproviders. (i.e it tries PS2 and I have none, it does not then try Linux Input devices of which I have 3!) This is my problem, I can solve it by changing the following: direct_list_foreach statement in init_devices (src/core/input.c) to direct_list_foreach_safe Does anyone have any good ideas why this is the case? It seems like the _safe function is working as expected which makes me wonder if the compiler might be doing something naughty with the non safe version. Any help appreciated maybe I am missing something obvious or maybe there is a bug here?? Cheers Dan Laird -- View this message in context: http://www.nabble.com/DirectFB-and-Missing-Input-Devices-%28Possible-Bug%29-tp14276770p14276770.html Sent from the DirectFB Users mailing list archive at Nabble.com. _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users