Stantor is a Domotic project. It is a SCADA for the computer interface board K8055 (USB bus), K8000 (I2C bus) , X10 modules and also Webcam. It uses Browser WEB, I-mode and Wap2/Wap1, Apache,mySQL, PHP, javascript. It run with Linux 2.4 or 2.6 and XP
This driver was developed using a USB keyboard from Cherry,as indicated by the VID and PID codes. These IDs must be set for the device you intend to support. Similarly, you will need to set Class to the appropriate string for your device class.
This firmware translates a PS/2 mouse to a USB mouse. The translator
firmware is entirely interrupt driven (with the exception of sending the
data via USB to the host.) An interrupt is generated when the PS/2 start
bit is received, at which time the firmware will begin its receive routine.
In addition to this interrupt, every 168ms a timer overflow interrupts the
main program and implements one state of the mouse state machine. This
state machine handles sending bytes to and translating bytes received from
the PS/2 mouse automatically. All of this is done in the background while
the main program runs in the foreground. The only operation that the main
program implements is sending mouse data to the PC via USB.