<div class="gmail_quote">On Tue, Nov 3, 2009 at 2:08 PM, Greg KH <span dir="ltr"><<a href="mailto:greg@kroah.com">greg@kroah.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">On Tue, Nov 03, 2009 at 12:19:54PM -0800, Ping wrote:<br>> These questions make me feel the kernel driver may need some work. Anyway,<br>> let me share what I have now before we can figure out a better solution:<br>
><br>> Wacom supports both penabled and touch digitizers. The older tablets<br>> doesn't have touch. So, there is no problem there. The newer tablets have<br>> both pen and touch through the same physical USB port. They are definded in<br>
> separate HID descriptors with the same vendor id and product id. So, for<br>> kernel, I think, it is one physical device.<br><br></div>Yes, but it should show up as 2 different hid devices, right?<br></blockquote>
<div> </div>
<div>Will that help? Wacom devices are not processed by HID. We told hid-core.c to ignore all Wacom devices. That is why I said "I am in control" (I know I am not in control. I am most likely in the middle of nowhere :).</div>
<div> </div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">> Once it comes to xorg, the device is mapped onto two logical ports. I need<br>> a way to tell which logical port is for touch and which one is for<br>> penabled.<br><br></div>Can't you get that from the different descriptors?</blockquote>
<div> </div>
<div>I am testing a way to resolve this issue. Hopefully it doesn't need to make a change either in the kernel or in X server.</div>
<div> </div>
<div>Thank you both for discussing the problem with me. That is the best help I need.</div>
<div> </div>
<div>Ping</div>
<div> </div>
<div> </div></div><br>