Followed Code in Mag, LED Lights Not Working As Advertised
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Resmi, Your link drops us in page 8 of an article. Did you read all the article? Have you digested the links that XavierP kindly posted to guide your questioning style.
And Finally, is this homework? (Good luck with your BE) Please show us your code, notes regarding compilation etc and any error messages generated. I'm also wondering why you didn't make your first enquiry on the FSM website in the first instance, among others might be having similar difficulties with the code?
I tried that code with the commands as the mentioned in that
before removing the inbuilt parallel ports parport & parport_pc the application program is working properly.but at that time the memory location 0x378[i checked it by using the command #cat /proc/ioports] is using by parport0
So for getting the memory location 0x378 to my parallelport I have to remove that parpot.This parport is u using by parport_pc.So at first I removed parport_pc,then parport0[at this all my LEDs are blinking].the commands I used after this are written below.........
#make
#insmod parlelport.ko
#mknod /dev/parlelport c 60 0
#echo -n A>/dev/parlelport
But at this time also all my LEDs are blinking[ie;no change]........& the application program is not working
I did used the same parlelport module today and I faced the same prob's (all outputs are high all the time, independent of the value that is written to the port). Did you find a solution for this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.