USB keyboard

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
JoeKayzA

Re:USB keyboard

Post by JoeKayzA »

Candy wrote: The situation that you'd get a USB mouse that doesn't work with the HID standard, but that DOES work with your BIOS is a paradox.
Just to make sure I didn't miss something essential around me - is there really such a thing as usb-to-ps2 emulation for mice? I've only seen it for keyboard so far..

cheers Joe
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:USB keyboard

Post by Pype.Clicker »

(oops. sorry for the poor example. i just picked up another PS/2 device. my bad)
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:USB keyboard

Post by Candy »

It would be logical however, both conform to the USB HID and both are used through the same (simulated) PS2 controller chip.

Just one thing, how do you catch a write to a port number in software? Are you sure that it isn't a very weird thing to be able to catch?
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:USB keyboard

Post by Brendan »

Hi,
Candy wrote:Just one thing, how do you catch a write to a port number in software? Are you sure that it isn't a very weird thing to be able to catch?
I think the chipset itself detects the access and triggers an SMI - the Intel manuals aren't particularly descriptive (probably need to dig the depths of chipset manuals to find something conclusive)...


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:USB keyboard

Post by Pype.Clicker »

on the other side, the chipset can simply offer the 'traditionnal' ports for PS/2 and stuff, and translating them directly into USB commands ... since both USB host controller and 8042 emulation occur on the same chipset chip, i don't see why SMI should even be involved in the process ...
Post Reply