On 3/17/14 09:08 , Paul S. wrote: > Hello again, it's been a long time since my last email, and I've tried to > make hal driver for my boards' gpios, but it seems I'm stuck. > > First, I've used pcl720.comp as an example, and after a couple of > iterations I've got this code: > > http://pastebin.com/4LT3WLRE > > It compiles, and loadrt loads it, I guess (but seems strange to me that > lsmod dows not show any additional kernel module loaded), but oscilloscope > tells me that nothing happens when I try to fix the value of a pin.
Are you adding your comp's write function to a running thread? Does your read function successfully read the gpios? > Both log and dmesg are silent about that mistake, and now I don't even know > where to look for mistakes and how to start my debug. Are you basing your work on the unified-build-candidate-3 branch or something else? ubc3 has very different logging. In master and 2.5, look in dmesg, ~/linuxcnc_print.txt, and ~/linuxcnc_debug.txt. In ubc3, look in dmesg and /var/log/linuxcnc.log. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
