Re: [Linuxwacom-devel] [PATCH 2/4] Have ToolSerials patch re-use existing infrastructure

2011-04-18 Thread Jason Gerecke
On Mon, Apr 18, 2011 at 11:26 AM, Jason Gerecke wrote: > This tweaks the prior ToolSerials patch to use the existing > infrastructure where appropriate. For instance, using the 'WacomTool' > struct instead of the custom 'WacomToolSerial' struct. > > This should actually be integrated as a "fixup",

[Linuxwacom-devel] [PATCH 2/4] Have ToolSerials patch re-use existing infrastructure

2011-04-18 Thread Jason Gerecke
This tweaks the prior ToolSerials patch to use the existing infrastructure where appropriate. For instance, using the 'WacomTool' struct instead of the custom 'WacomToolSerial' struct. This should actually be integrated as a "fixup", but is included here to more easily see the changes from the ori

[Linuxwacom-devel] [PATCH 1/4] Add ToolSerials option for hotplugging pens

2011-04-18 Thread Jason Gerecke
From: Alexia Death Provide a new "ToolSerials" option which describes tools that should be automatically hotplugged along with the standard devices. This is achieved by parsing "ToolSerials" while the master device is being initialized to create a WacomTool list. This list is then used while hotp

[Linuxwacom-devel] [PATCH 3/4] Allow serial hotplugging only on protocol 5 devices

2011-04-18 Thread Jason Gerecke
Since only protocol 5 devices (Intuos, Cintiq) allow tool-specific serial numbers, we limit hotplugging to devices supporting that protocol. For this to work, we need to move the call to wcmInitModel (which several calls down sets common->wcmProtocolLevel) before the call to wcmParseOptions. From

[Linuxwacom-devel] [PATCH 4/4] man: Describe ToolSerials option

2011-04-18 Thread Jason Gerecke
From: Alexia Death Adds a description of the "ToolSerials" option to the driver manpage. Slightly modified from Alexia's original patch (breaks the list of types out into the description) Signed-off-by: Jason Gerecke --- man/wacom.man |7 +++ 1 files changed, 7 insertions(+), 0 deletio