#27 Support for usb tabletpc

Next_Release
closed
Ping Cheng
None
5
2008-10-29
2006-11-09
J. I. Burgos Gil
No

New models of tabletpc use the usb bus to conect the
wacom tablet. An example of such model is the asus
R1F model.

The current wacom driver (Nov. 2006) does not support
this models of tabletpc.

Please could you add support for usb tabletpc to the
wacom driver.

J. I. Burgos

Discussion

1 2 3 .. 6 > >> (Page 1 of 6)
    • assigned_to: nobody --> pingc
     
  • Logged In: NO

    I also got the Asus R1F, it seems to be a very common tablet when I asked on a Norwegian linux site. Pleeeease hack something together. I would happily donate money to get this feature working, and I'm sure I'm not alone.

     
  • Logged In: YES
    user_id=1702407
    Originator: NO

    I also have the ASUS R1F. Ubuntu 6.10 is installed and am interested in this support. If you need someone to test updates, let me know. Thanks.

     
  • Logged In: YES
    user_id=1688510
    Originator: NO

    I own the same laptop as well. I'm ready to help for testing purposes.

     
  • Logged In: NO

    Same to the Fujitsu Siemens Stylistic ST5022. It uses a USB Wacom Graphire and Wacom Intuos tablet driver but there is no device where any events show up at.
    (Ubuntu 7.04)

     
  • Logged In: NO

    Any news on this one Ping?

    I find I'm using Windows Vista on my Asus R1F more often than Linux these days because of the lack of tablet support in Linux. We need to fix this before too many of us turn to the "Dark Side" ;)

    If you're swamped with other projects, I might be prepared to cram up on the necessary code and have a go at this.

    -- Pat Sunter.

     
  • Logged In: YES
    user_id=1161757
    Originator: NO

    Ditto for testing offer. I'd love to get rid of windows on this tablet (Asus R1F)

     
  • Logged In: YES
    user_id=1961810
    Originator: NO

    I would also request this feature as I definitely need the tablet for university and am not willing to give windows a try but there's the very need for a linux driver then. Hope you'll be on it. thx

     
  • Walter
    Walter
    2007-12-17

    Logged In: YES
    user_id=1930398
    Originator: NO

    I bought my Asus R1F to use in lecture presentations-- a high-tech "chalk and talk" system with the added benefits of accessing applets, other software, the Internet, etc, etc (students love the experience almost as much as I do!).

    After becoming totally disillusioned with Vista, I switched to Ubuntu 7.10 and was delighted at the amazing computing experience it provided "out of the box"-- sadly, except for using the stylus!!

    It seems there are a lot of us out there in Tablet World saddled with this otherwise excellent notebook (and similar usb-bus tablets) frustrated at not being able to use them for the purpose intended. Asus are no help--- they suggested I switch to Vista "for a better computing experience"...

    I fully endorse the pleas of others on this site, and possibly hundreds more silently tracking it in the hope of seeing an outcome soon: please can the linux development gurus take up the challenge to resolve this issue in the near future?

     
  • Kevin Shepherd
    Kevin Shepherd
    2008-01-13

    Logged In: YES
    user_id=1900870
    Originator: NO

    I am a 'C' programmer with kernel driver experience who is happy to fix the wacom tablet driver.
    However I need some documentation from Wacom. I sent the following request to them on 27 December 2007:
    "Please help with technical documentation.
    I am attempting to get your ISD-V4 / USB chip, embedded in the Asus R1F and R1E Tablet PCs, to work with Linux - using the "Linux Wacom" driver. There are several mysteries, such as the appearance of the ID 0x92 USB device and the disappearance of the 0x90 HID when connecting to the USB ID which would be cleared up if you could provide documentation for the interface.
    Thank you for your help."
    Using this link: http://www.wacom.com/productsupport/email.cfm
    They have not yet replied. This is not unreasonable as the technical documentation in question may well be only in Japanese, which I do not read.
    If anyone knows of English language docs related to this, please post them to this Sourceforge tracker.
    Here is a summary of the situation, as far as I understand it. Please correct me if you know better as I have only just looked at the wacom code:
    Asus have used a USB / ISD-V4 protocol chip from Wacom to implement the pressure sensitive touch screen of their new R1F and now R1E tablet PCs.
    The linux - wacom project has three independent drivers, one for serial, one for ISD-V4 over serial, and one for USB. Unfortunately none for ISD-V4 over USB.
    A little USB background: USB has a number of generic drivers written for HID ( Human Interface Device ) types - one for a standard keyboard, another for a mouse and another for joysticks. These are flexible and support varients such as differing degrees of freedom for joysticks and differing numbers of buttons for mice. This means that a manufacturer such as Logitech can produce new mice and keyboards that will instantly run with our operating systems without new drivers, and yet can later provide specific device drivers if this will enable additional functionality.
    Unfortunately Wacom have not followed this model, for whatever reason, which means that with every new tablet, chip or device that they produce, yet more exception code needs to be written into the drivers. When they decide to adopt a standard HID ( they can write their own, for all tablets - it need not be a shared standard ) then we can all start using their new products with our existing computer setups. Until that time, though, we will have to write new code for every device.
    That is why we need the technical documentation that I request above.

    Here are the locations of the key code affected ( kernel v2.6.22 ):

    The USB code that ignores all wacom devices:
    /usr/src/linux-source-2.6.22/drivers/hid/usbhid/hid-quirks.c line 673
    /* Ignore all Wacom devices */
    if (idVendor == USB_VENDOR_ID_WACOM)
    return HID_QUIRK_IGNORE;
    I tried commenting this out in the hopes of getting at least standard mouse behaviour from the tablet. It did not work.

    The wacom specific code for USB Wacom Graphire and Wacom Intuos tablet support:
    /usr/src/linux-source-2.6.22/drivers/input/tablet/wacom*
    this includes wacom_wac.c which has the list of USB driver IDs to which one can add
    USB_DEVICE(USB_VENDOR_ID_WACOM, 0x90) and have the USB id "jump" to 0x92 as described elsewhere.
    I can confirm that I had the same experience with 0x90 -> 0x92 as described by both Moze and Ralph
    in the links below.

    Here are the sources of the little information that I have been able to find elsewhere:
    http://osdir.com/ml/linux.drivers.wacom/2006-10/msg00022.html
    http://permalink.gmane.org/gmane.linux.drivers.wacom/1251
    http://www.nabble.com/usb-tablet-pc%3A-how-to-start-development--to10457863.html#a10609908

    If anyone knows any more than the above, please post your info below.

    Without further information from Wacom, I fail to see how we might proceed.

    Thank you in advance for any help or further insight.
    - Kevin

     
  • Ping Cheng
    Ping Cheng
    2008-01-17

    Logged In: YES
    user_id=754442
    Originator: NO

    You need to change rep_data[1] = 2; to rep_data[1] = 0; in wacom_probe() so the tablet reports tablet data.

    Then you need to make a new wacom_tpc_irq() to receive and translate the tablet data as we did for all the other models. I'll email you the data format as well as some other details.

    The product ID you need to use is 0x90, i.e., you need to add 0x90 and TPC into wacom_features[]. The fist step is to make sure that you receive data in wacom_tpc_irq, otherwise, you are still stuck in the probe state.

    Another detail is that you need to get the tablet size from HID descriptor since 0x90 supports more than one size.

     
  • Logged In: NO

    Has there been any new developments on the linux front - I would love to try ubuntu - but not without my tablet.

     
  • tzdata
    tzdata
    2008-03-05

    Logged In: YES
    user_id=2028142
    Originator: NO

    Is there any progress on this?

     
  • Zappacky
    Zappacky
    2008-04-10

    Logged In: YES
    user_id=1039856
    Originator: NO

    Wrote a patch, having difficulty finding where I can upload it. Hopefully can edit this post, otherwise will try to delete.

     
  • Logged In: YES
    user_id=2060350
    Originator: NO

    zappacky if you don't know how to upload then send patch to pingc he will take care of it.

     
  • Logged In: YES
    user_id=2060350
    Originator: NO

    Zappacky please send the patch as soon as possible, many people are waiting for this since 1 year

     
  • Zappacky
    Zappacky
    2008-04-11

    Logged In: YES
    user_id=1039856
    Originator: NO

    I was unable to find the link Ping directed me to in order to upload a patch, so I uploaded it to a Pastebin

    http://linuxwacom.pastebin.com/f6a22e479

    For best results, hit 'download', don't try to copy and paste the text with the line numbers and everything else.

    Enjoy!

     
  • Zappacky
    Zappacky
    2008-04-11

    Logged In: YES
    user_id=1039856
    Originator: NO

    Oh, forgot to add, I'm relatively sure that the patch I included only works on 2.6.24 kernels, since that was the only branch I was able to test. The features should be fairly trivial to backport, however.

    I have tested that it properly applies at compiles to 0.7.9-9, but I have not had time to test it on any other releases/CVS.

     
  • Logged In: YES
    user_id=2060350
    Originator: NO

    Zappacky I have tested your code it's working nicely there are few problem please check them out. wacdump does not display Model etc..
    eraser is also displayed as pen in wacdump is that correct?.

    Zappacky You did a great job i am realy very thankfull to you.

     
  • Zappacky
    Zappacky
    2008-04-11

    Logged In: YES
    user_id=1039856
    Originator: NO

    Wacdump does not display model because, as far as I know, wacdump needs to be updated for the new USB ISDv4 devices. I haven't had time to do so, but it is certainly on my to-do list. (Or maybe I need to send some ABS_MISC event.)

    As for eraser showing up as pen; I think perhaps it is more to do with wacdump than my code. I tried making it report only eraser events (E.g. never even sending pen as a tool), and it still showed up as "TOOLTYPE: PEN". So I suspect this may just be how wacdump handles it, as I am relatively sure I am sending the correct eraser events. (Somebody please correct me if I am wrong)

    For Ping: Wacdump reads the proper pressure on the pen (0-255), but Gimp and other pressure-sensitive apps only seem to go up to 50% of max pressure (but varies in between as expected).

     
  • Logged In: YES
    user_id=2060350
    Originator: NO

    zappacky i have HP TX2000 my stylus had a button for right click but it is working as middle button.

     
  • Ping Cheng
    Ping Cheng
    2008-04-11

    Logged In: YES
    user_id=754442
    Originator: NO

    Thank you Andrew. I downloaded your patch. I'll take a look and work on it after I finish my current list (0.7.9-11 will be posted soon). If you have any more fixes, please email them to me so I can start with your most recent ones.

     
  • Walter
    Walter
    2008-04-11

    Logged In: YES
    user_id=1930398
    Originator: NO

    Thank you zappacky for working on this for us. I am most grateful for your efforts.

    For those of us who have never applied a patch, would it be possible to post some instructions for installing your code? I am running Ubuntu 7.10.

     
  • Logged In: NO

    Anyone! How to apply this patch.
    Is this for the pen to work or for the touchscreen to work? Or both?
    I have a tx2000 Tablet .

    Thanks,

     
  • Logged In: NO

    Anyone! How to apply this patch.
    Is this for the pen to work or for the touchscreen to work? Or both?
    I have a tx2000 Tablet .

    Thanks,

     
1 2 3 .. 6 > >> (Page 1 of 6)