New set of input patches
cover New set of input patches
Hi,
Here is my new set of input patches, most important IMHO is serio sysfs integration. It is not complete in sense that we need add attributes to individual drivers (like rate and resolution and protocol to psmouse) and create some platform devices for i8042, q40kbd, etc so serio ports would have parents. But the core integration is done. Unfortunately I do not have 90% hardware to test my changes so there could be some problems, although I tried to compile everything I could.
The patches are against Vojtech's tree and should apply to -mm as well.
01-psmouse-kvm-sync.patch
- when getting partial packet (usually KVM resets mouse from IMPS/2 to bare PS/2 count it in out_of_sync counter so psmouse.resetafter logic has a chance to reconnect and reestablish proper protocol; set default value for psmouse.resetafter to 20 (was 0, disabled)
02-psmouse-state-locking.patch
- Acquire underlying serio lock when changing psmouse state to prevent interrupt handler runniong on us
03-serio-connect-mandatory.patch
- Make serio driviers connect/disconnect methods mandatory as these methods open/close serio ports and link ports and drivers together
04-serio-rename-1.patch
- Rename serio->driver to serio->port_data as with sysfs integration driver is not the best name for arbitrary data
05-serio-rename-2.patch
- Rename serio_dev to serio_driver as they are drivers in sysfs sense
06-serio-dynamic-alloc.patch
- Switch from static to dynamic serio port allocation so serio ports drivers can be freely unloaded even if not all references to ports are dropped (sysfs req.)
07-serio-no-recursion.patch
- do not do recursive discovery of children ports, needed for sysfs and generally better for stack
08-serio-sysfs.patch
- sysfs integration. register ports and drivers in driver model, link them all together.
09-serio-rebind.patch
- allow user to disconnect or rebind serio port by writing appropriate data to it's sysfs attribute:
echo -n "psmouse" > /sys/bus/serio/devices/serio0/driver echo -n "none" > /sys/bus/serio/devices/serio0/driver
10-serio-manual-bind.patch
- allow marking some drivers as requiring manual bind (to be used when driver does not do automatic HW discovery)
11-serio_raw.patch
- raw access to serio data ala 2.4 /dev/psaux
Vojtech, if you like some patches and want to pull any of it drop me a note and I'll push it on bkbits.
Signature · 1 line
Dmitry
On Fri, 2004-06-18 03:44:46 -0500, Dmitry Torokhov <[email protected]> wrote in message <[email protected]>:
Quoted 3 lines
would have parents. But the core integration is done. Unfortunately I do not have 90% hardware to test my changes so there could be some problems, although I tried to compile everything I could.
Maybe I'll test at least my two babies (vsxxxaa and lkkbd) to work with these patches. They're using normal serial ports (ISA + USB) with inputattach, these should already have parents, right?
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
Quoted 11 lines · Jan-Benedict Glaw
On Fri, 2004-06-18 03:44:46 -0500, Dmitry Torokhov <[email protected]> wrote in message <[email protected]>:
Quoted 3 lines
would have parents. But the core integration is done. Unfortunately I do not have 90% hardware to test my changes so there could be some problems, although I tried to compile everything I could.
Maybe I'll test at least my two babies (vsxxxaa and lkkbd) to work with these patches. They're using normal serial ports (ISA + USB) with inputattach, these should already have parents, right?
Right now nothing has a parent except for passthrough ports. I will do more patches later, but when I as looking at the serial port code it seemed that ther actual devices (as in struct device) were not available for ttys yet.
Please corect me if I am mistaken.
Signature · 1 line
Dmitry
On Fri, 2004-06-18 03:44:46 -0500, Dmitry Torokhov <[email protected]> wrote in message <[email protected]>:
Quoted 1 line
The patches are against Vojtech's tree and should apply to -mm as well.
However, they won't apply onto Linus' tree and cause rejects in a good number of "interesting" files.
MfG, JBG
Signature · 4 lines
Jan-Benedict Glaw [email protected] . +49-172-7608481 "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));