On Thu, Mar 24, 2011 at 11:30:35AM +1000, Peter Hutterer wrote:
> On Wed, Mar 23, 2011 at 12:58:21PM -0700, Jason Gerecke wrote:
> > As I'm working on the X11 wheel mapping, I'm finding a few weird
> > quirks in the code. I pretty much understand 'how' things work, but
> > I'm not sure why some thi
On Thu, Mar 24, 2011 at 9:40 AM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer
> ---
> configure.ac|3 ++
> src/Makefile.am |2 +-
> src/wcmISDV4.c | 92
> ++
> 3 files changed, 69 insertions(+), 28 deletions(-)
>
> diff
Reviewed-by: Ping Cheng
Ping
On Thu, Mar 24, 2011 at 9:40 AM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer
> ---
> src/wcmISDV4.c |6 +-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
> index bfa0d0f..bbbfcf0 100644
> --- a
Reviewed-by: Ping Cheng
Ping
On Thu, Mar 24, 2011 at 9:20 AM, Peter Hutterer wrote:
> ./src/wcmCommon.c: In function 'sendCommonEvents':
> ./src/wcmCommon.c:382:2: warning: 'value' may be used uninitialized in this
> function [-Wuninitialized]
> ./src/wcmCommon.c:329:22: note: 'value' was decla
On Wed, Mar 23, 2011 at 11:36:25AM +0100, Eduard Hasenleithner wrote:
> 2011/3/23 Peter Hutterer :
> > On Tue, Mar 22, 2011 at 10:47:12PM +0100, Eduard Hasenleithner wrote:
> >> For accessing USB-FS, I already considered libusb, just to find out
> >> that it does not (yet?) provide the USBDEVFS_IOC
On Wed, Mar 23, 2011 at 01:48:45PM -0500, Favux ... wrote:
> usbfs was deprecated in kernel 2.6.31 I think. Certainly by 2.6.32
> Ubuntu (Lucid 10.04) and several other distributions dropped it. This
> all happened at about the same time. There was some conflict with
> changes in udev. Apparent
On Wed, Mar 23, 2011 at 04:42:05PM -0700, Ping Cheng wrote:
> On Wed, Mar 23, 2011 at 4:09 PM, Eduard Hasenleithner
> wrote:
>
> > 2011/3/23 Ping Cheng :
> > > On Wed, Mar 23, 2011 at 12:55 PM, Eduard Hasenleithner <
> > ehase...@gmail.com>
> > > wrote:
> > >> Now I even tested the linuxwacom/src
On Wed, Mar 23, 2011 at 02:57:51PM -0700, Ping Cheng wrote:
> Don't assume the last tool was a pad, which confuses those tools
> that never receive a serial number. Keep PAD on the PAD_CHANNEL.
>
> Signed-off-by: Ping Cheng
merged, thanks.
Cheers,
Peter
> ---
> src/wcmUSB.c | 21 -
On Wed, Mar 23, 2011 at 02:57:33PM -0700, Ping Cheng wrote:
> Signed-off-by: Ping Cheng
> ---
> src/wcmUSB.c |4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/wcmUSB.c b/src/wcmUSB.c
> index 197d9fc..d58a740 100644
> --- a/src/wcmUSB.c
> +++ b/src/wcmUSB.c
> @@
On Wed, Mar 23, 2011 at 02:57:12PM -0700, Ping Cheng wrote:
> Serial ISDv4 kernel driver, wacom_w8001.ko, provides both pen and
> touch events on the same logical port. Filtering touch events when
> pen is in proximity while allowing pen events (ABS_X/Y, etc) pass.
>
> Making this action configura
Signed-off-by: Peter Hutterer
---
configure.ac|3 ++
src/Makefile.am |2 +-
src/wcmISDV4.c | 92 ++
3 files changed, 69 insertions(+), 28 deletions(-)
diff --git a/configure.ac b/configure.ac
index 85ec1a9..1d6ef0f 100644
--- a/c
Signed-off-by: Peter Hutterer
---
src/wcmISDV4.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/wcmISDV4.c b/src/wcmISDV4.c
index bfa0d0f..bbbfcf0 100644
--- a/src/wcmISDV4.c
+++ b/src/wcmISDV4.c
@@ -893,7 +893,11 @@ static ISDV4ModelDesc isdv4_models[] = {
/
On Wed, Mar 23, 2011 at 12:58:21PM -0700, Jason Gerecke wrote:
> As I'm working on the X11 wheel mapping, I'm finding a few weird
> quirks in the code. I pretty much understand 'how' things work, but
> I'm not sure why some things are the way they are...
>
> 1. Why does WACOM_PROP_BUTTON_ACTIONS h
./src/wcmCommon.c: In function 'sendCommonEvents':
./src/wcmCommon.c:382:2: warning: 'value' may be used uninitialized in this
function [-Wuninitialized]
./src/wcmCommon.c:329:22: note: 'value' was declared here
Signed-off-by: Peter Hutterer
---
src/wcmCommon.c |2 +-
1 files changed, 1 ins
On Wed, Mar 23, 2011 at 4:09 PM, Eduard Hasenleithner wrote:
> 2011/3/23 Ping Cheng :
> > On Wed, Mar 23, 2011 at 12:55 PM, Eduard Hasenleithner <
> ehase...@gmail.com>
> > wrote:
> >> Now I even tested the linuxwacom/src/2.6.30 driver on a fresh
> >> linux-2.6.38 from kernel.org. I had to do a fe
2011/3/23 Ping Cheng :
> On Wed, Mar 23, 2011 at 12:55 PM, Eduard Hasenleithner
> wrote:
>> Now I even tested the linuxwacom/src/2.6.30 driver on a fresh
>> linux-2.6.38 from kernel.org. I had to do a few minor modifications to
>> the driver source (ioctl has been renamed to unlocked_ioctl in
>> u
Reviewed-by: Ping Cheng
Ping
On Mon, Mar 21, 2011 at 9:04 PM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer
> ---
> src/wcmCommon.c |2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/wcmCommon.c b/src/wcmCommon.c
> index d024ad8..caa6774 100644
> --- a/
Don't assume the last tool was a pad, which confuses those tools
that never receive a serial number. Keep PAD on the PAD_CHANNEL.
Signed-off-by: Ping Cheng
---
src/wcmUSB.c | 21 -
1 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
i
Signed-off-by: Ping Cheng
---
src/wcmUSB.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wcmUSB.c b/src/wcmUSB.c
index 197d9fc..d58a740 100644
--- a/src/wcmUSB.c
+++ b/src/wcmUSB.c
@@ -945,8 +945,8 @@ static int usbIdToType(int id)
}
/**
- * Find the tool typ
Serial ISDv4 kernel driver, wacom_w8001.ko, provides both pen and
touch events on the same logical port. Filtering touch events when
pen is in proximity while allowing pen events (ABS_X/Y, etc) pass.
Making this action configurable would make sense when XInput 2.1 is
ready. At that point, we can p
On Wed, Mar 23, 2011 at 12:55 PM, Eduard Hasenleithner
wrote:
> Now I even tested the linuxwacom/src/2.6.30 driver on a fresh
> linux-2.6.38 from kernel.org. I had to do a few minor modifications to
> the driver source (ioctl has been renamed to unlocked_ioctl in
> usb_device and input->abs is mis
As I'm working on the X11 wheel mapping, I'm finding a few weird
quirks in the code. I pretty much understand 'how' things work, but
I'm not sure why some things are the way they are...
1. Why does WACOM_PROP_BUTTON_ACTIONS have room for only 16 buttons,
yet priv->btn_actions (storing the same dat
Now I even tested the linuxwacom/src/2.6.30 driver on a fresh
linux-2.6.38 from kernel.org. I had to do a few minor modifications to
the driver source (ioctl has been renamed to unlocked_ioctl in
usb_device and input->abs is missing) but it works perfectly!
Apparently the driver did not diverge too
Interesting. That's why I didn't say anything earlier. Supposedly
you could use some symlinks to get around the lack of a /proc/bus/usb,
but we could never get that working.
Launchpad bug report:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/488274
Favux
On Wed, Mar 23, 2011 at 1:56 PM,
2011/3/23 Favux ... :
> usbfs was deprecated in kernel 2.6.31 I think. Certainly by 2.6.32
> Ubuntu (Lucid 10.04) and several other distributions dropped it. This
> all happened at about the same time. There was some conflict with
> changes in udev. Apparently since usbfs implicitly changes eve
Hi,
usbfs was deprecated in kernel 2.6.31 I think. Certainly by 2.6.32
Ubuntu (Lucid 10.04) and several other distributions dropped it. This
all happened at about the same time. There was some conflict with
changes in udev. Apparently since usbfs implicitly changes event
behavior it was breaki
On Wed, Mar 23, 2011 at 3:36 AM, Eduard Hasenleithner wrote:
> 2011/3/23 Peter Hutterer :
> > On Tue, Mar 22, 2011 at 10:47:12PM +0100, Eduard Hasenleithner wrote:
> >> For accessing USB-FS, I already considered libusb, just to find out
> >> that it does not (yet?) provide the USBDEVFS_IOCTL. Idea
2011/3/23 Peter Hutterer :
> On Tue, Mar 22, 2011 at 10:47:12PM +0100, Eduard Hasenleithner wrote:
>> For accessing USB-FS, I already considered libusb, just to find out
>> that it does not (yet?) provide the USBDEVFS_IOCTL. Ideal would be
>> IOCTL tunneling through the linux event subsystem in the
28 matches
Mail list logo