serio chaining in 2.6.x?
I have a device (the device in question is the infamous cuecat) which connects between the computer and a PS/2 device, and I'm trying to figure out a good way to chain serio devices, such as:
atkbd <-> cuecat <-> lowlevel driver
The serio driver, however, is very clearly not designed for such chaining. So, the question is:
What do you folks think the best method for chaining the serio drivers is?
Signature · 1 line
Zinx Verituse
Quoted 10 lines · Zinx Verituse
I have a device (the device in question is the infamous cuecat) which connects between the computer and a PS/2 device, and I'm trying to figure out a good way to chain serio devices, such as:
atkbd <-> cuecat <-> lowlevel driverThe serio driver, however, is very clearly not designed for such chaining. So, the question is:
What do you folks think the best method for chaining the serio drivers is?
You grab the port. Then you create a new one and register it. And you forward all data that's not destined for you through to the new serio port.
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR
Quoted 2 lines · Vojtech Pavlik
Quoted 1 line · Zinx Verituse
[snip]
Quoted 9 lines
Quoted 2 lines
What do you folks think the best method for chaining the serio drivers is?
You grab the port. Then you create a new one and register it. And you forward all data that's not destined for you through to the new serio port.
Signature · 1 line
Vojtech Pavlik
Many thanks -- I hadn't considered creating a new port, and I'm sure this solution will work perfectly :)
Signature · 1 line
Zinx Verituse
Quoted 11 lines · Zinx Verituse
Quoted 2 lines · Vojtech Pavlik
Quoted 1 line · Zinx Verituse
[snip]
Quoted 7 lines
Quoted 2 lines
What do you folks think the best method for chaining the serio drivers is?
You grab the port. Then you create a new one and register it. And you forward all data that's not destined for you through to the new serio port.
Quoted 6 lines
Quoted 2 lines
Signature · 1 line
Vojtech PavlikMany thanks -- I hadn't considered creating a new port, and I'm sure this solution will work perfectly :)
Unfortunately, I hit a snag... I can't see a way to rescan or disconnect all the ports that need intercepted (or, indeed, any of them that are already connected)
Suggestions welcome :)
Signature · 1 line
Zinx Verituse