tq_timer question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

i'm building a robot with two stepper motors controlled by the parallel 
port. i am trying to write a device driver for doing this. this driver 
consists of a bottom half that gets called by the 100Hz clock (tq_timer) 
and changes the state of the stepper by "outb"-ing some value to the 
parallel port adress. the top half of the driver gets some coordinate 
information and converts these to values that should be send to the 
parallel port byt he bottom half. all very nice in theory, but i don't 
get the tq_timer to work (i started to try to write something using 
printk each time the bottom half is called, but nothing happens).

therefor my question is:: is there someone who has (or can construct) a 
small WORKING example of using tq_timer for the 2.4 kernel series? just 
some code that registers a module and puts a function to tq_timer that 
writes something out or so.

thnx,
geert.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux