[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl]:reading information from a character device



On Die, 23 Feb 1999 albinom wrote:
>>Hi ,and thanks for your attention.
> 
>I'm using a modified mouse as an inclinometer in a mobile robot thet  I have to control with an embedded RTLinux PC.
>A basic task in my application is  monitoring the inclinometer information at a fixed rate.
>Can I read information in "/dev/mouse" in a real time task ?
>I tried to do it but I have encountered some problems with the include files.Can I solve these problems?
>Or should I use the RT_COM module, programming an ad hoc driver for my sensor? (But in this case I have'nt any advantage in using a pseudo-mouse)

Well, you cannot use the Standard Linux mouse driver from within RT-Linux :-(

Greetings,
Jochen
-----------------------------------------------------------------------
  Jochen K¸pper

  Heinrich-Heine-Universit”t D¸sseldorf     jochen@uni-duesseldorf.de
  Institut f¸r Physikalische Chemie I
  Universit”tsstr. 1, Geb 26.43 Raum 02.29     phone ++49-211-8113681
  40225 D¸sseldorf                             fax   ++49-211-8115195
  Germany             http://www-public.rz.uni-duesseldorf.de/~jochen
-----------------------------------------------------------------------
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/