Re: [Linuxwacom-devel] Multitouch?

2012-01-04 Thread Chris Bagwell
On Wed, Jan 4, 2012 at 4:34 PM, Cedric Sodhi  wrote:
> Hello everyone,
>
> I hope you can shed a little light on this, multitouch is a complete
> mystery to me. I know that my eGalax is running fine with the
> hid-multitouch these days but I'm completely irritated as for what is
> required to actually get multitouch support in X.
>
> I didn't need it so far, but as of today, I do. I know my xorg (1.11.2)
> runs XI2, as I can get its values from xinput, but now? Currently, I'm
> still using the wacom driver for the eGalax, which doesn't seem very
> multitouchy to me.
>
> I know there is a bright and sunny future in the pipeline where
> everything is being reworked on the kernel an X side of things and
> everything will go up into the GREAT UNIFICATION OF X11 POINTERS, but
> that's about all I know.
>
> Could you provide a remote hint what I need to do so that the
> touchscreen's MT caps actually make it into X and don't die uselessly
> after the kernel handled it? In particular, I'd like a multitouch
> capable Qt application to pick it up.
>

Are you looking for simple gestures like a synaptics touchpad would
support?  If so then xf86-input-wacom is pretty good choice
(especially after upgrading to todays git, it has some good gesture
fixes).  Use xsetwacom or xinput to enable on touch device if they are
disabled by default.

Or are you looking for raw MT events so you can do your own gesture
logic?  If so then check out Peter's blog on near term X plumbing
updates: http://who-t.blogspot.com/

If you want things to be already nice and your toolkits provide some
nice abstraction then your out of luck.

Or perhaps you can install latest version of Ubuntu and check out
their uTouch stuff and any custom Qt patches they ship.  They are
probably furthest along with exposing MT to toolkits although their
API's are likely to change in each release since they are not using
the above official plumbing yet.

https://wiki.ubuntu.com/Multitouch

Chris

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH input-wacom] Add missing input_mt_get_value() for 2.6.36/37

2012-01-04 Thread Chris Bagwell
Pushed.  Thanks.

On Wed, Jan 4, 2012 at 2:16 PM, Ping Cheng  wrote:
> Compiled on 2.6.36 and .37. So,
>
> Acked-by: Ping Cheng 
>
> Ping
>
> On Thu, Dec 29, 2011 at 3:33 PM,  wrote:
>>
>> From: Chris Bagwell 
>>
>> Reported in bug tracker #3463769.
>>
>> Based on mini code review, I think this is only missing
>> symbol and 2.6.36/37 contain ABS_MT_FIRST and input_mt_slot
>> which this function depends on.
>>
>> I'm unable to test this fix but its a copy&paste of
>> function from mt.h in later kernels.
>> ---
>>  2.6.36/wacom.h |    6 ++
>>  1 files changed, 6 insertions(+), 0 deletions(-)
>>
>> diff --git a/2.6.36/wacom.h b/2.6.36/wacom.h
>> index 3117877..569ad9c 100644
>> --- a/2.6.36/wacom.h
>> +++ b/2.6.36/wacom.h
>> @@ -94,6 +94,12 @@
>>  # endif
>>  #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37)
>>  #include 
>> +#else
>> +static inline int input_mt_get_value(const struct input_mt_slot *slot,
>> +                                     unsigned code)
>> +{
>> +        return slot->abs[code - ABS_MT_FIRST];
>> +}
>>  #endif
>>  #include 
>>
>> --
>> 1.7.7.4
>>
>>
>>
>> --
>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>> infrastructure or vast IT resources to deliver seamless, secure access to
>> virtual desktops. With this all-in-one solution, easily deploy virtual
>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> ___
>> Linuxwacom-devel mailing list
>> Linuxwacom-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
>
>

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


[Linuxwacom-devel] Multitouch?

2012-01-04 Thread Cedric Sodhi
Hello everyone,

I hope you can shed a little light on this, multitouch is a complete
mystery to me. I know that my eGalax is running fine with the
hid-multitouch these days but I'm completely irritated as for what is
required to actually get multitouch support in X.

I didn't need it so far, but as of today, I do. I know my xorg (1.11.2)
runs XI2, as I can get its values from xinput, but now? Currently, I'm
still using the wacom driver for the eGalax, which doesn't seem very
multitouchy to me.

I know there is a bright and sunny future in the pipeline where
everything is being reworked on the kernel an X side of things and
everything will go up into the GREAT UNIFICATION OF X11 POINTERS, but
that's about all I know.

Could you provide a remote hint what I need to do so that the
touchscreen's MT caps actually make it into X and don't die uselessly
after the kernel handled it? In particular, I'd like a multitouch
capable Qt application to pick it up.

best regards,
Cedric

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH input-wacom] Add missing input_mt_get_value() for 2.6.36/37

2012-01-04 Thread Ping Cheng
Compiled on 2.6.36 and .37. So,

Acked-by: Ping Cheng 

Ping

On Thu, Dec 29, 2011 at 3:33 PM,  wrote:

> From: Chris Bagwell 
>
> Reported in bug tracker #3463769.
>
> Based on mini code review, I think this is only missing
> symbol and 2.6.36/37 contain ABS_MT_FIRST and input_mt_slot
> which this function depends on.
>
> I'm unable to test this fix but its a copy&paste of
> function from mt.h in later kernels.
> ---
>  2.6.36/wacom.h |6 ++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/2.6.36/wacom.h b/2.6.36/wacom.h
> index 3117877..569ad9c 100644
> --- a/2.6.36/wacom.h
> +++ b/2.6.36/wacom.h
> @@ -94,6 +94,12 @@
>  # endif
>  #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37)
>  #include 
> +#else
> +static inline int input_mt_get_value(const struct input_mt_slot *slot,
> + unsigned code)
> +{
> +return slot->abs[code - ABS_MT_FIRST];
> +}
>  #endif
>  #include 
>
> --
> 1.7.7.4
>
>
>
> --
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> ___
> Linuxwacom-devel mailing list
> Linuxwacom-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
>
--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] linuxwacom project - asustek eeenote tablet

2012-01-04 Thread Mike Rolland
I looked into EeeNote kernel source code, but internaly tablet screen is
managed by serial, not usb, so no way to find something from this side.
I can try to find X11 asus wacom driver but not sure i can.
I will try to extract something from the tablet itself, there is a
tablet mode interface to switch to external digitizer, so maybe ...
hopping I should have something to tell you at the end of the week.

M.

Le mercredi 04 janvier 2012 à 09:24 -0600, Chris Bagwell a écrit :

> It wasn't the debug interface I was looking for (its the HID debug
> interface which filters packets) but it gives enough info to see whats
> happening.
> 
> The device is stuck in mouse mode and only sending 5 byte mouse
> packets.  Its not responding to the standard Tablet PC request to go
> into Wacom mode.
> 
> There is some unique command that probably needs to be sent to device
> to switch modes but there is no way to guess this value.
> 
> You could see if Asus released the source code to their probably
> custom wacom driver and use it.
> 
> Or if your able to get debugfs and usbmon working on Asus's original
> Linux distro, you can monitor the USB packet it sends when you do a
> rmmod followed by a insmod of their driver.  Then we'd know what to
> add to modern wacom drivers.
> 
> Without the info, I'm afraid we are at a dead end.
> 
> Chris
> 
> 2012/1/4 Mike Rolland :
> > well, i have no /sys/kernel/debug/usb/usbmon/2u but there is a
> > /sys/kernel/debug/hid/0003\:0B05\:179F.0001/rdesc and
> > /sys/kernel/debug/hid/0003\:0B05\:179F.0001/events
> >
> > events start from upleft corner to upright, bottom, bottom left and diagonal
> > from upleft to bottom right.
> > hope it helps
> >
> > M.
> >
> > Le mercredi 04 janvier 2012 à 12:56 +0400, Mike Rolland a écrit :
> >
> > Little trouble here...
> > I've mounted debugfs, but usb dir just show devices list file.
> > Have I to activate some other debug in kernel conf ? (this is a first time
> > for me)
> >
> > Le mardi 03 janvier 2012 à 10:23 -0600, Chris Bagwell a écrit :
> >
> > On Tue, Jan 3, 2012 at 4:21 AM, Mike Rolland  wrote:
> >> I was beginning to loose my self in all this advices.
> >> I had needs to clean my brain and go from start, so like suggest Chris, I
> >> revert all and change my kernel like this to separate multi device thing
> >> and
> >> clarify my-self :
> >>
> >> Index: drivers/hid/hid-ids.h
> >> ===
> >> --- drivers/hid/hid-ids.h
> >> +++ drivers/hid/hid-ids.h 2012-01-03 13:05:37.030924428 +0400
> >> @@ -135,6 +135,7 @@
> >> #define USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO 0x0186
> >>
> >> #define USB_VENDOR_ID_ASUSTEK 0x0b05
> >> +#define USB_DEVICE_ID_ASUSTEK_DIGITIZER 0x179f
> >> #define USB_DEVICE_ID_ASUSTEK_LCM 0x1726
> >> #define USB_DEVICE_ID_ASUSTEK_LCM2 0x175b
> >>
> >> Index: drivers/hid/usbhid/hid-quirks.c
> >> ===
> >> --- drivers/hid/usbhid/hid-quirks.c
> >> +++ drivers/hid/usbhid/hid-quirks.c 2012-01-03 13:08:07.210924957 +0400
> >> @@ -91,6 +91,7 @@
> >> { USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_MULTI_TOUCH,
> >> HID_QUIRK_MULTI_INPUT },
> >> { USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS,
> >> HID_QUIRK_MULTI_INPUT },
> >> { USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD,
> >> HID_QUIRK_NO_INIT_REPORTS },
> >> + { USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_DIGITIZER,
> >> HID_QUIRK_MULTI_INPUT }, /* experimental */
> >> { 0, 0 }
> >> };
> >>
> >> All reports are in the attached file because the 40ko mailing list limits.
> >> My conclusion are :
> >> Device is known as 2 devices.
> >> - touchscreen
> >> - mouse
> >> So, I wonder if we shouldn't point on 1 of this device to start Wacom
> >> driver
> >> change (or both, depends).
> >
> > The wacom driver has been coded such that it skips over that mouse
> > device when querying the device and I *think* sends a command to
> > device that says stop sending mouse data and start sending pen data
> > (I'm not positive about this for TABLETPC's).
> >
> >> On the EeeNote webpage tablet is implicitly declare as a Wacom one, and
> >> windows drivers for digitizer is from Wacom. There is no doubt about this.
> >>
> >> With experimental changes evtest stay squared in the left corner, and the
> >> first time I launched after driver change cursor was effectively squared
> >> there.
> >
> > It does do several things that seem like Wacom devices but I'm
> > starting to suspect its a new version of hardware that sends a new
> > packet format.
> >
> >>
> >> Now, with revert to initial and quirk, mouse event are good and acts like
> >> mouse cursor in a 1024x768 pixel rectangle (nearby).
> >> Touchscreen mode report no events in evtest and really don't know how
> >> configure it with evdev and Xorg, so I can't tell you more.
> >
> > This makes some sense I think.  When an interface support multiple
> > report types, it will send only the first one until some

Re: [Linuxwacom-devel] linuxwacom project - asustek eeenote tablet

2012-01-04 Thread Chris Bagwell
It wasn't the debug interface I was looking for (its the HID debug
interface which filters packets) but it gives enough info to see whats
happening.

The device is stuck in mouse mode and only sending 5 byte mouse
packets.  Its not responding to the standard Tablet PC request to go
into Wacom mode.

There is some unique command that probably needs to be sent to device
to switch modes but there is no way to guess this value.

You could see if Asus released the source code to their probably
custom wacom driver and use it.

Or if your able to get debugfs and usbmon working on Asus's original
Linux distro, you can monitor the USB packet it sends when you do a
rmmod followed by a insmod of their driver.  Then we'd know what to
add to modern wacom drivers.

Without the info, I'm afraid we are at a dead end.

Chris

2012/1/4 Mike Rolland :
> well, i have no /sys/kernel/debug/usb/usbmon/2u but there is a
> /sys/kernel/debug/hid/0003\:0B05\:179F.0001/rdesc and
> /sys/kernel/debug/hid/0003\:0B05\:179F.0001/events
>
> events start from upleft corner to upright, bottom, bottom left and diagonal
> from upleft to bottom right.
> hope it helps
>
> M.
>
> Le mercredi 04 janvier 2012 à 12:56 +0400, Mike Rolland a écrit :
>
> Little trouble here...
> I've mounted debugfs, but usb dir just show devices list file.
> Have I to activate some other debug in kernel conf ? (this is a first time
> for me)
>
> Le mardi 03 janvier 2012 à 10:23 -0600, Chris Bagwell a écrit :
>
> On Tue, Jan 3, 2012 at 4:21 AM, Mike Rolland  wrote:
>> I was beginning to loose my self in all this advices.
>> I had needs to clean my brain and go from start, so like suggest Chris, I
>> revert all and change my kernel like this to separate multi device thing
>> and
>> clarify my-self :
>>
>> Index: drivers/hid/hid-ids.h
>> ===
>> --- drivers/hid/hid-ids.h
>> +++ drivers/hid/hid-ids.h 2012-01-03 13:05:37.030924428 +0400
>> @@ -135,6 +135,7 @@
>> #define USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO 0x0186
>>
>> #define USB_VENDOR_ID_ASUSTEK 0x0b05
>> +#define USB_DEVICE_ID_ASUSTEK_DIGITIZER 0x179f
>> #define USB_DEVICE_ID_ASUSTEK_LCM 0x1726
>> #define USB_DEVICE_ID_ASUSTEK_LCM2 0x175b
>>
>> Index: drivers/hid/usbhid/hid-quirks.c
>> ===
>> --- drivers/hid/usbhid/hid-quirks.c
>> +++ drivers/hid/usbhid/hid-quirks.c 2012-01-03 13:08:07.210924957 +0400
>> @@ -91,6 +91,7 @@
>> { USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_MULTI_TOUCH,
>> HID_QUIRK_MULTI_INPUT },
>> { USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS,
>> HID_QUIRK_MULTI_INPUT },
>> { USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD,
>> HID_QUIRK_NO_INIT_REPORTS },
>> + { USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_DIGITIZER,
>> HID_QUIRK_MULTI_INPUT }, /* experimental */
>> { 0, 0 }
>> };
>>
>> All reports are in the attached file because the 40ko mailing list limits.
>> My conclusion are :
>> Device is known as 2 devices.
>> - touchscreen
>> - mouse
>> So, I wonder if we shouldn't point on 1 of this device to start Wacom
>> driver
>> change (or both, depends).
>
> The wacom driver has been coded such that it skips over that mouse
> device when querying the device and I *think* sends a command to
> device that says stop sending mouse data and start sending pen data
> (I'm not positive about this for TABLETPC's).
>
>> On the EeeNote webpage tablet is implicitly declare as a Wacom one, and
>> windows drivers for digitizer is from Wacom. There is no doubt about this.
>>
>> With experimental changes evtest stay squared in the left corner, and the
>> first time I launched after driver change cursor was effectively squared
>> there.
>
> It does do several things that seem like Wacom devices but I'm
> starting to suspect its a new version of hardware that sends a new
> packet format.
>
>>
>> Now, with revert to initial and quirk, mouse event are good and acts like
>> mouse cursor in a 1024x768 pixel rectangle (nearby).
>> Touchscreen mode report no events in evtest and really don't know how
>> configure it with evdev and Xorg, so I can't tell you more.
>
> This makes some sense I think.  When an interface support multiple
> report types, it will send only the first one until something tells it
> to send the other type.  I've seen some eGalax touchscreens that put
> the touchscreen first and mouse second so by default it sends
> touchscreen coordinates.
>
> Wacom devices have always put mouse first in HID reports I've seen.
>
> So I guess that means you will require a custom driver to set up your
> digitizer correctly and probably its the wacom driver where it needs
> to do this.
>
>>
>> Because there is no error in kernel compilation, I suppose I didn't make
>> mistakes with my change, I missed something and don't know what (probably
>> because I'm not a hacker, lol)
>>
>> M.
>>
>> note: evtestX reports events with modified wacom drv in long X movement.
>> evtestY, the

Re: [Linuxwacom-devel] linuxwacom project - asustek eeenote tablet

2012-01-04 Thread Mike Rolland
Little trouble here...
I've mounted debugfs, but usb dir just show devices list file.
Have I to activate some other debug in kernel conf ? (this is a first
time for me)

Le mardi 03 janvier 2012 à 10:23 -0600, Chris Bagwell a écrit :

> On Tue, Jan 3, 2012 at 4:21 AM, Mike Rolland  wrote:
> > I was beginning to loose my self in all this advices.
> > I had needs to clean my brain and go from start, so like suggest Chris, I
> > revert all and change my kernel like this to separate multi device thing and
> > clarify my-self :
> >
> > Index: drivers/hid/hid-ids.h
> > ===
> > --- drivers/hid/hid-ids.h
> > +++ drivers/hid/hid-ids.h 2012-01-03 13:05:37.030924428 +0400
> > @@ -135,6 +135,7 @@
> > #define USB_DEVICE_ID_ASUSTEK_MULTITOUCH_YFO 0x0186
> >
> > #define USB_VENDOR_ID_ASUSTEK 0x0b05
> > +#define USB_DEVICE_ID_ASUSTEK_DIGITIZER 0x179f
> > #define USB_DEVICE_ID_ASUSTEK_LCM 0x1726
> > #define USB_DEVICE_ID_ASUSTEK_LCM2 0x175b
> >
> > Index: drivers/hid/usbhid/hid-quirks.c
> > ===
> > --- drivers/hid/usbhid/hid-quirks.c
> > +++ drivers/hid/usbhid/hid-quirks.c 2012-01-03 13:08:07.210924957 +0400
> > @@ -91,6 +91,7 @@
> > { USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_MULTI_TOUCH,
> > HID_QUIRK_MULTI_INPUT },
> > { USB_VENDOR_ID_CHICONY, USB_DEVICE_ID_CHICONY_WIRELESS,
> > HID_QUIRK_MULTI_INPUT },
> > { USB_VENDOR_ID_SIGMA_MICRO, USB_DEVICE_ID_SIGMA_MICRO_KEYBOARD,
> > HID_QUIRK_NO_INIT_REPORTS },
> > + { USB_VENDOR_ID_ASUSTEK, USB_DEVICE_ID_ASUSTEK_DIGITIZER,
> > HID_QUIRK_MULTI_INPUT }, /* experimental */
> > { 0, 0 }
> > };
> >
> > All reports are in the attached file because the 40ko mailing list limits.
> > My conclusion are :
> > Device is known as 2 devices.
> > - touchscreen
> > - mouse
> > So, I wonder if we shouldn't point on 1 of this device to start Wacom driver
> > change (or both, depends).
> 
> The wacom driver has been coded such that it skips over that mouse
> device when querying the device and I *think* sends a command to
> device that says stop sending mouse data and start sending pen data
> (I'm not positive about this for TABLETPC's).
> 
> > On the EeeNote webpage tablet is implicitly declare as a Wacom one, and
> > windows drivers for digitizer is from Wacom. There is no doubt about this.
> >
> > With experimental changes evtest stay squared in the left corner, and the
> > first time I launched after driver change cursor was effectively squared
> > there.
> 
> It does do several things that seem like Wacom devices but I'm
> starting to suspect its a new version of hardware that sends a new
> packet format.
> 
> >
> > Now, with revert to initial and quirk, mouse event are good and acts like
> > mouse cursor in a 1024x768 pixel rectangle (nearby).
> > Touchscreen mode report no events in evtest and really don't know how
> > configure it with evdev and Xorg, so I can't tell you more.
> 
> This makes some sense I think.  When an interface support multiple
> report types, it will send only the first one until something tells it
> to send the other type.  I've seen some eGalax touchscreens that put
> the touchscreen first and mouse second so by default it sends
> touchscreen coordinates.
> 
> Wacom devices have always put mouse first in HID reports I've seen.
> 
> So I guess that means you will require a custom driver to set up your
> digitizer correctly and probably its the wacom driver where it needs
> to do this.
> 
> >
> > Because there is no error in kernel compilation, I suppose I didn't make
> > mistakes with my change, I missed something and don't know what (probably
> > because I'm not a hacker, lol)
> >
> > M.
> >
> > note: evtestX reports events with modified wacom drv in long X movement.
> > evtestY, the same for Y movement.
> >
> 
> The reports showed the X doing something reasonable but a little
> questionable while the Y log seemed totally wrong.
> 
> Here is one more thing to try so that we can get some needed
> information.  Hopefully, your distribution auto-mounts the
> /sys/kernel/debug filesystem.  If not, you can google and see how to
> mount that.
> 
> One of your earlier "lsusb" outputs showed that your device is on USB
> bus #2 and is device 008 on that bus.  If you move things around, it
> can change so verify that is still true for next steps.
> 
> Bus 002 Device 008: ID 0b05:179f ASUSTek Computer, Inc.
> 
> You can log packets coming from USB bus #2 by running this as root:
> 
> cat /sys/kernel/debug/usb/usbmon/2u | tee /tmp/usb2.log
> 
> The pipe part is optional but I like to do that so I can see and log
> whats going on.
> 
> If you have a lot of devices on that bus then the output could be
> noisy.  You can usually filter the output to just your device #008
> with grep:
> 
> cat /sys/kernel/debug/usb/usbmon/2u | grep 2:008 | /tmp/usb2.log
> 
> The lines that say "Ii:2:008" are interrupt packets coming from
> hardware.  When you put pen on