ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: Reading "keystrokes" from a wireless remote

To:
Subject: Re: [ts-7000] Re: Reading "keystrokes" from a wireless remote
From: Neil Cherry <>
Date: Sun, 15 Oct 2006 02:40:17 -0400
Aaron Miller wrote:
> Sorry to reply to my own message, but I made headway on this.  A "ps 
> - ax" shows a getty running on tty1, but I didn't see any keystrokes 
> when I did a "cat /dev/tty1".  However I can see the keystrokes 
> appear when I press "enter" so I imagine I just have to stty 
> /dev/tty1 into some single-character mode and it will work fine.

You've got 2 different problems that you need to resolve. The tty1
is buffered (buffers the characters until you hit an EOL - End Of
Line). I'm not sure how you can use the stty to unbuffer the
key strokes (are you using a keyboard or a serial port?).

To access the USB dongle you need to open up the USB device
(you'll need a device driver which you'll need to write) or
you'll need to load the hid driver and access the HID - Human
Interface Device. You can use libhid to do this. I hope to be
working on something like this later. Right now I'm in the
middle of several things that need to be done first.

-- 
Linux Home Automation         Neil Cherry       
http://www.linuxha.com/                         Main site
http://linuxha.blogspot.com/                    My HA Blog
http://home.comcast.net/~ncherry/               Backup site



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU