Page 21 of 142 FirstFirst ... 1119202122233171121 ... LastLast
Results 201 to 210 of 1415

Thread: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

  1. #201
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    I'm just guessing too. But I find the "stylus eraser" suspicious in light of append...
    If you find a manual or wiki on .fdi other than the Wacom.fdi wiki let me know.

    When you say wacomcpl works does that mean you can say, remap your stylus button? Do the rotation scripts work? In other words to the wacom input devices rotate with the screen?
    Last edited by Favux; April 30th, 2009 at 06:58 PM.

  2. #202
    Join Date
    Jul 2007
    Beans
    864
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Wow. Cool!
    I will definately try this when I get home tonight.
    Kory

  3. #203
    Join Date
    Jul 2007
    Beans
    864
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    It works!!
    What's more I have no idea how since as far as I knew only root can update hal stuff.
    But it works anyway. Hibernate and suspend multiple times. Everything. Wacomcpl.
    The only change I had to make is to the fdi file.
    Here is how I got it to work:
    <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

    <deviceinfo version="0.2">
    <device>
    <match key="input.originating_device" contains="if0">
    <match key="info.product" contains="Wacom">
    <merge key="input.x11_driver" type="string">wacom</merge>
    <merge key="input.x11_options.Type" type="string">stylus</merge>
    <merge key="info.product" type="string">stylus</merge>
    <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
    <append key="wacom.types" type="strlist">eraser</append>
    <merge key="input.x11_options.BottomY" type="string">16466</merge>
    <merge key="input.x11_options.BottomX" type="string">26271</merge>
    <merge key="input.x11_options.TopY" type="string">183</merge>
    <merge key="input.x11_options.TopX" type="string">397</merge>
    </match>
    </match>
    </device>
    <device>
    <match key="input.originating_device" contains="if1">
    <match key="info.product" contains="Wacom">
    <merge key="input.x11_driver" type="string">wacom</merge>
    <merge key="input.x11_options.Type" type="string">touch</merge>
    <merge key="info.product" type="string">touch</merge>
    <merge key="input.x11_options.BottomY" type="string">3909</merge>
    <merge key="input.x11_options.BottomX" type="string">3947</merge>
    <merge key="input.x11_options.TopY" type="string">185</merge>
    <merge key="input.x11_options.TopX" type="string">186</merge>
    </match>
    </match>
    </device>
    <device>
    <match key="input.x11_options.Type" contains="eraser">
    <merge key="info.product" type="string">eraser</merge>
    </match>
    </device>
    </deviceinfo>
    (no idea why the indentations aren't showing up.)
    Battery about to die. Any questions, ask away!
    Kory

  4. #204
    Join Date
    Apr 2008
    Beans
    74

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Nice! I never knew it's possible to encode calibration info into fdi.

    What's more I have no idea how since as far as I knew only root can update hal stuff.
    Well, you do need root priviledge to change the fdi, which is all HAL cares about.

    If you are talking about my program, it only listens on dbus for screensavor signal, which doesn't require root.

    I suppose if you don't change any settings in wacomcpl, you don't even need my little program.

  5. #205
    Join Date
    Apr 2008
    Beans
    74

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    When you say wacomcpl works does that mean you can say, remap your stylus button? Do the rotation scripts work? In other words to the wacom input devices rotate with the screen?
    Yeap to all . For my tx2000 at least. I heard rotation is a bit trickier for tx2500's ATI.

    Remapping stylus button would require my little C program. Otherwise it will get reverted to default sometimes after suspend (no big deal, though, you just need to run the wacom script again, or let my program do it for you).

  6. #206
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Hi gali98 and cyberfish,

    Quotes instead of code re indents? So we learn more about .fdi and HAL, good.

    And rotation is working for you Kory? We need to test this on a TX2500.

    Putting the stylus button in the .fdi is no big deal.

    Re: .fdi you both should check out mzuther's, just posted on post #169 here: http://ubuntuforums.org/showthread.php?t=967147&page=17

  7. #207
    Join Date
    Jul 2007
    Beans
    864
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Yes! You can actually change any option you could do in the xorg.conf in the fdi file.


    Well, the thing is, your little program (man I wish I knew C :\) calls the script right? And the script makes changes to hal. And the program is run with normal user privleges if it is put in start up applications...
    I don't have any idea why it works.
    I'll experiment, and see if I can't find out anything. Anyways, thanks so much! This is great!
    Kory

  8. #208
    Join Date
    Apr 2008
    Beans
    74

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    Well, the thing is, your little program (man I wish I knew C :\) calls the script right? And the script makes changes to hal. And the program is run with normal user privleges if it is put in start up applications...
    The script is just a bunch of xsetwacom calls. I don't think it makes any change to HAL.

    Oh hmm... I think I wasn't clear. The script I am referring to is the one generated by wacomcpl, not the script we used to put in /etc/init.d (that one requires root).

    Re: .fdi you both should check out mzuther's, just posted on post #169 here: http://ubuntuforums.org/showthread.php?t=967147&page=17
    I don't think it's for tablet PCs, but it COULD work with some modifications...

    Is there anything wrong with the fdi we have already?

  9. #209
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    No it's for a usb external graphics tablet. I was just showing that it has changes similar to the ones we made from the included 10-wacom.fdi. The more working .fdi's I see the better handle on .fdi's I get in lieu of a real manual.

  10. #210
    Join Date
    Apr 2008
    Beans
    74

    Re: HOW TO: Install a LinuxWacom Kernel Driver for Tablet PC's

    The real manual is certainly available.
    http://people.freedesktop.org/~david.../hal-spec.html

    chapters 2 and 5 in particular.

    I'm just too lazy to read it .

Page 21 of 142 FirstFirst ... 1119202122233171121 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •