[haiku-bugs] Re: [Haiku] #7354: usb_hid tablet support

  • From: "mmlr" <trac@xxxxxxxxxxxx>
  • Date: Mon, 06 Jun 2011 00:44:19 -0000

#7354: usb_hid tablet support
---------------------------+----------------------------
   Reporter:  lt_henry     |      Owner:  mmlr
       Type:  enhancement  |     Status:  in-progress
   Priority:  normal       |  Milestone:  R1
  Component:  Drivers/USB  |    Version:  R1/Development
 Resolution:               |   Keywords:  usb_hid
 Blocked By:               |   Blocking:  6821
Has a Patch:  1            |   Platform:  All
---------------------------+----------------------------

Comment (by mmlr):

 Replying to [comment:22 caz_haiku]:
 > Hey modeenf and mmlr,  I did a search on google and found this page
 [http://www.everythingusb.com/forums/showthread.php?threadid=13443] it
 mentions that the Logitech Precision Gamepad does not work if the polling
 rate is above 125hz,  whether this is the reason your Gamepad doesn't work
 who knows.

 Interesting. It's possible that the interrupt pipe is polled at a higher
 rate since it is connected to the EHCI root hub (probably via an internal
 transaction translator). The output of listusb -v should tell what poll
 rate the interrupt pipe specifies. Since we do not support Frame Span
 Traversal Nodes we always interact with low/full speed interrupt pipes at
 a 1 micro-frame level, which might just push the resulting full/low speed
 polling frequency high enough for this device to become problematic.
 Attaching this to a root port without a transaction translator (so that
 UHCI/OHCI get hold of the device) should work in that case.

 That problem doesn't really belong into this ticket anymore though. Can
 you please open a new ticket modeenf? Attach the full listusb -v output
 and preferrably a syslog as well.

 Replying to [comment:23 caz_haiku]:
 > I hacked the usb_joystick_test a while ago, so the code isn't great.

 Why not just build on the HID framework? Take a look at hid_decode
 browser:haiku/trunk/src/bin/hid_decode which uses it to generate a generic
 dump of descriptors.

 On the original topic of this ticket: I've implemented generic support for
 absolute pointing devices through the tablet input_server device add-on
 (added to the image in r41950) and additions to the MouseProtocolHandler
 in r41951. I'll add the digitizer specific parts in a next step which
 should then complete this ticket.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7354#comment:24>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: