Can Teensy do this? Ps2, USB , HID

Status
Not open for further replies.
Hi and thanks for any input.

I want to be able to send keystrokes to a PC via USB and PS/2 from a small embedded linux box that only have a USB port.
Can this be done with Teensy? Would I need any additional hardware?

thanks for Your help!
 
thanks for your input!
i have a lot of different approaches on this. with different hardware.
i am glad that teensy can be the solution.
will look more into the documentation and start testing

is this forum the best place to look for advice?

My Project breaks down to:

1. send keystrokes from linux box usb port to teensy
?what is the smartest way to do this? as a usb serial port?

2. send recieved scancodes to PC USB
?let teensy be a usb hid keyboard?

3. send recieved scancodes to pc ps/2
?how can this be done? looked at a ps2 library for inputing ps2 to teensy. but nothing on having teensy sending ps/2.
 
Thanks!

1. I tried the mouse example included in ps2dev found on that page. But I get errors that I do not understand. Any ideas?

In file included from C:\arduino-1.0.4\hardware\teensy\cores\teensy/WProgram.h:6,
from C:\arduino-1.0.4\hardware\teensy\cores\teensy/Arduino.h:1,
from ps2_mouse.pde:4:
c:/arduino-1.0.4/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected unqualified-id before 'double'
c:/arduino-1.0.4/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'
c:/arduino-1.0.4/hardware/tools/avr/lib/gcc/../../avr/include/math.h:439: error: expected `)' before 'double'


2.
I see no way to send characters from a Linux USB port to the Teensy 2.0 if I am going to use the Teensy USB to connect to the remote PC.. I have to add a USB to TTL RS232.
Am I wrong?
 
Status
Not open for further replies.
Back
Top