Nieuws:

Ubuntu-NL weer online!

Na een periode van technische problemen en een overbelaste server zijn we eindelijk weer bereikbaar.
Samen met Hobbynet, onze sponsor en hostingpartner, hebben we een oplossing gevonden zodat alles weer soepel draait.

Bedankt voor jullie geduld en begrip. We hopen nu weer verder te gaan waar we gebleven waren.

Het team van Ubuntu-NL

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: wacom knoppen omdraaien in 9.04 (OPGELOST)  (gelezen 802 keer)

wacom knoppen omdraaien in 9.04 (OPGELOST)
« Gepost op: 2009/04/25, 23:36:29 »
Hallo lui,

heeeeel lang niet hier geweest, heeft ermee te maken dat Ubuntu het eigenlijk altijd gewoon doet, en ik sinds 8.04 niet geupgrade had....

Ik heb net 9.04 geintstalleerd, (eindelijk werkt mijn wireless zoals het hoort, verder lijkt alles ook weer goed te werken) maar nu kan ik de knoppen niet meer omdraaien op mijn wacom tablet.

Ik heb gelezen dat je nu een "custom_wacom.fdi" in /etc/hal/fdi/policy moet aanmaken.

Heb ik gedaan, en dit is wat er in staat. Maar na herstarten "werkt het niet". Ik heb wat rond lopen zoeken, en dit is het enige concrete wat ik kan vinden.
https://help.ubuntu.com/community/Wacom.fdi
https://bugs.launchpad.net/ubuntu/+source/wacom-tools/+bug/293564

... In 8.10 schijnt er in plaats van
   "<match key="info.category" contains="input">
      <match key="info.product" contains="Wacom">"
het volgende te staan:
    <match key="info.capabilities" contains="input">
      <match key="info.product" contains="Wacom">"

Dit is wat er nu in mijn custom_wacom.fdi staat:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">

  <device>
    <match key="info.category" contains="input">
      <match key="info.product" contains="Wacom">
        <merge key="input.x11_options.KeepShape" type="string">on</merge>
        <merge key="input.x11_options.Button2" type="string">3</merge>
        <merge key="input.x11_options.Button3" type="string">2</merge>
      </match>
    </match>
  </device>

</deviceinfo>

« Laatst bewerkt op: 2009/04/26, 13:31:19 door FreakyDude »

Offline mrGee

  • Lid
Re: wacom knoppen omdraaien in 9.04
« Reactie #1 Gepost op: 2009/04/26, 00:10:50 »
Hallo

In een ver verleden wel even hier mee gespeeld, op moment staat alles trouwens default.
Ik heb toen (in 8.04) mbv. van synaptic de wacom-tools geinstalleerd.
Met name met xsetwacom kun je het 1 en ander veranderen, kijk even hier ;
http://linuxwacom.sourceforge.net/index.php/howto/xsetwacom
voor het gebruik en de opties

Groeten Gerrit

-- = >  simplify if you can   -- = >

Re: wacom knoppen omdraaien in 9.04
« Reactie #2 Gepost op: 2009/04/26, 13:28:11 »
ja weet ik, maar in 8.04 kon je ook alles rechtstreeks in xorg regelen. Dat was minder omslachtig dan xsetwacom leren. (in 7.10 kon je zowat alles via xorg regelen en stond xorg helemaal vol, nu is xorg bijna helemaal leeg!!)
Bij 8.10 hebben ze (dacht ik) de wacom eigenschappen uit xorg gehaald zodat je kon hotpluggen (kabel eruit en terug in de usb poort steken en je hoeft niet de xserver opnieuw op te starten)

In 9.04 heb je ook hotpluggen, maar ik heb de oplossing al.
de oplossing was een "custom_wacom.fdi" bestand plaatsen in /etc/hal/fdi/policy, met hetzelfde stukje tekst als in mijn eerste post, maar dan  ipv "info.category" staat er nu "info.capabilities"
dus:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->

<deviceinfo version="0.2">

  <device>
    <match key="info.capabilities" contains="input">
      <match key="info.product" contains="Wacom">
         [b]<merge key="input.x11_options.KeepShape" type="string">on</merge>
        <merge key="input.x11_options.Button2" type="string">3</merge>
        <merge key="input.x11_options.Button3" type="string">2</merge>[/b]
      </match>
    </match>
  </device>

</deviceinfo>

Waarschijnlijk kan dit ook door ipv een extra custom_wacom.fdi bestand aan te maken, deze regels toe te voegen ergens in  usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi"
Citaat
Kaihsu Tai, the fdi file doesn't need to exist in /etc/hal/fdi/policy/, there's already one in /usr/share/hal/fdi/policy/20thirdparty/ installed by the package xserver-xorg-input-wacom and it should already be enough for the stylus (unless you're affected by a bug in the 0.8.1.4 wacom drivers, see https://help.ubuntu.com/community/Wacom Option A).

The /etc/hal/fdi/policy/ is the place to copy it if you want to edit your stylus options (see https://help.ubuntu.com/community/Wacom.fdi ).

However, you only get stylus. If you want to get the eraser, cursor, pad... you need to edit your xorg.conf as in https://help.ubuntu.com/community/Wacom option B) and https://help.ubuntu.com/community/WacomTroubleshooting ).

Come to the forum if you have questions.

However, part of your bug report is still true - there need to be a solution for eraser/cursor/etc, but that's not possible at the moment (adding the lines in the .fdi file won't work). Hopefully it can be solved for Jaunty (see the discussion there : https://lists.ubuntu.com/archives/ubuntu-x/2008-November/000243.html and there : https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2008-November/006205.html ).

I had a look at your xorg.conf, and it's not a "default" one since apparently you upgraded. Remove the # (only one) at the beginning of the lines concerning wacom sections (stylus, eraser, cursor) and the ones concerning the same devices in "ServerLayout". But make sure you make sure you make a copy of your xorg.conf and can either copy it under a command line (CTRL-ALT-F1) or boot on a live CD, mount the / partition and copy it from there.

Hoe dan ook, mijn probleem is opgelost.