Jump to content

mandriva 2007.1 wacom tablet udev xorg.conf


filochard
 Share

Recommended Posts

Petit problème pour un expert :

J'ai une tablette graphique intuos et ai donc adapté mon fichier xorg.conf (voir en fin de message) pour l'utiliser (c'est absolument génial!)

mais cela ne marchait pas pour deux autres kernels que le premier installé pour lequel j'avais dû adapter mon xorg.conf!!!!

 

J'ai finalement trouvé la cause :

dans mon xorg.conf je me référais à /dev/input/event2

Mais udev donne des liens différents, selon le noyau chargé : la tablette devient selon les cas /dev/input/event2 ou dev/inptut/event1.......

Comment cela s'explique-t-il?

Faut-il faire un rapport de bug

 

Harddrake crée une référence à /dev/input/event1 devrait-il créer une référence au fichier situé dans dev/input/by-id/ ?

 

kernel 2.6.17.14mdv

 

[/dev/input/by-id]$ ll

total 0

lrwxrwxrwx 1 root root 9 jui 7 2007 usb-Tablet_PTZ-630-event-mouse -> ../event2

lrwxrwxrwx 1 root root 9 jui 7 2007 usb-Tablet_PTZ-630-mouse -> ../mouse1

 

[/dev/input/by-path]$ ll

total 0

lrwxrwxrwx 1 root root 9 jui 7 2007 pci-0000:00:02.0-usb-0:1:1.0-event-mouse -> ../event2

lrwxrwxrwx 1 root root 9 jui 7 2007 pci-0000:00:02.0-usb-0:1:1.0-mouse -> ../mouse1

lrwxrwxrwx 1 root root 9 jui 7 2007 platform-i8042-serio-0-event-mouse -> ../event1

lrwxrwxrwx 1 root root 9 jui 7 2007 platform-i8042-serio-0-mouse -> ../mouse0

lrwxrwxrwx 1 root root 9 jui 7 2007 platform-i8042-serio-1-event-kbd -> ../event0

lrwxrwxrwx 1 root root 9 jui 7 13:44 platform-pcspkr-event-spkr -> ../event3

 

 

kernel multimedia 2.6.17.14-mm-desktop-5mdv

 

[/dev/input/by-id]$ ll

total 0

lrwxrwxrwx 1 root root 9 jui 7 13:32 usb-Tablet_PTZ-630-event-mouse -> ../event1

lrwxrwxrwx 1 root root 9 jui 7 13:32 usb-Tablet_PTZ-630-mouse -> ../mouse0

 

[/dev/input/by-path]$ ll

total 0

lrwxrwxrwx 1 root root 9 jui 7 13:32 pci-0000:00:02.0-usb-0:1:1.0-event-mouse -> ../event1

lrwxrwxrwx 1 root root 9 jui 7 13:32 pci-0000:00:02.0-usb-0:1:1.0-mouse -> ../mouse0

lrwxrwxrwx 1 root root 9 jui 7 13:32 platform-i8042-serio-0-event-mouse -> ../event3

lrwxrwxrwx 1 root root 9 jui 7 13:32 platform-i8042-serio-0-mouse -> ../mouse1

lrwxrwxrwx 1 root root 9 jui 7 13:32 platform-i8042-serio-1-event-kbd -> ../event0

lrwxrwxrwx 1 root root 9 jui 7 13:32 platform-pcspkr-event-spkr -> ../event2

 

 

kernel tmb 2.6.21.5-tmb-desktop-1mdv

 

[/dev/input/by-id]$ ll

total 0

lrwxrwxrwx 1 root root 9 jui 7 13:56 usb-Tablet_PTZ-630-event-mouse -> ../event1

lrwxrwxrwx 1 root root 9 jui 7 2007 usb-Tablet_PTZ-630-mouse -> ../mouse0

 

[/dev/input/by-path]$ ll

total 0

lrwxrwxrwx 1 root root 9 jui 7 13:56 pci-0000:00:02.0-usb-0:1:1.0-event-mouse -> ../event1

lrwxrwxrwx 1 root root 9 jui 7 2007 pci-0000:00:02.0-usb-0:1:1.0-mouse -> ../mouse0

lrwxrwxrwx 1 root root 9 jui 7 13:56 platform-i8042-serio-0-event-kbd -> ../event0

lrwxrwxrwx 1 root root 9 jui 7 13:56 platform-i8042-serio-1-event-mouse -> ../event3

lrwxrwxrwx 1 root root 9 jui 7 13:56 platform-i8042-serio-1-mouse -> ../mouse1

lrwxrwxrwx 1 root root 9 jui 7 13:56 platform-pcspkr-event-spkr -> ../event2

 

 

 

extrait: du xorg.conf

Section "InputDevice"

Identifier "Eraser1"

Driver "wacom"

Option "Device" "/dev/input/event2"

Option "Type" "eraser"

Option "Mode" "Absolute"

Option "Keepshape" "on"

Option "USB" "on"

Option "Tilt" "on"

Option "Presscurve" "0,0,100,100"

Option "Threshold" "10"

EndSection

 

Section "InputDevice"

Identifier "Cursor1"

Driver "wacom"

Option "Device" "/dev/input/event2"

Option "Type" "cursor"

Option "Mode" "Relative"

Option "USB" "on"

Option "Speed" "3"

EndSection

 

Section "InputDevice"

Identifier "Stylus1"

Driver "wacom"

Option "Device" "/dev/input/event2"

Option "Type" "stylus"

Option "Mode" "Absolute"

Option "USB" "on"

Option "Tilt" "on"

Option "Presscurve" "0,0,100,100"

Option "Threshold" "10"

EndSection

 

Section "InputDevice"

Identifier "Pad1"

Driver "wacom"

Option "Device" "/dev/input/event2"

Option "Type" "pad"

Option "USB" "on"

EndSection

Link to comment
Share on other sites

Merci spinymorman mais je reste sec pour une explication du comportement erratique de udev!

 

Je dois dire que l'installation sur le noyau standard de la 2007.0 m'avait imposé une recherche sur google pour installer la tablette! hardrake la reliait au fichier /dev/input/event1 et j'avais dû corriger manuellement le xorg.conf!!! après avoir auparavant recompilé linuxwacom pour la 2007.0 (en modifiant le spec de la source pour pouvoir utiliser l'interface graphique de configuration, ce qui n'avait malheureusement servi à rien!!!! sinon que j'ai maintenant cet outil) .

La détection matérielle est correcte, la reconnaissance et le nommage sont corrects mais cela ne permet pas l'installation out of the box pour un débuttant puisqu'un petit gag (pas facile à élucider) vient tout compromettre....

 

J'utilise Mandrake depuis que j'ai découvert linux (version7.2) parce qu'il a été le premier à permettre une installation facile entièrement graphique... même s'il y avait des bugs je n'ai jamais eu de catastrophe et il est dommage qu'un détail difficilement compréhensible annule des efforts de convivialité qui ont fait que ce n'est pas réservé à une minorité d'amateurs avertis (une debian ne s'installe pas aussi simplement et je n'aurais jamais fait mes premiers pas malgré 20 ans d'utilisation de microsoft qui m'avaient pourtant forcé à mettre les mains dans le cambouis : j'ai commencé avec le DOS 3.0 et les lignes de commande ne me font pas peur!)

 

Je suis heureux d'avoir trouvé une solution et de la partager mais les questions reste posées :

Faut-il faire un rapport de bug?

Quelqu'un peut-il expliquer le comportement aléatoire de udev?

 

Avis aux investigateurs.

et d'avance Merci pour tous

Link to comment
Share on other sites

Sorry for the English, please translate if necessary (I read French fluently but my writing stinks):

 

One of our developers, Frederic Crozat, just got hold of a Wacom tablet, so we're no longer trying to support them 'blind' (without hardware to test on) :). He's already made quite a lot of fixes to the Wacom support in Cooker and the packages are being pushed to the /main/backports repository for 2007 Spring. If you want to try them out, add the /main/backports repository (see the instructions at http://wiki.mandriva.com/en/Docs/Basic_tas...ndidate_updates ) and then just search for 'wacom'. You should expect much better automatic detection and configuration of Wacom pads in 2008.

 

The best thing to do to help us would be to wait until the 2008 betas start coming out, then test those, and see if your pad is properly detected and configured. If it's not, then you can file a bug and we can fix it :)

Link to comment
Share on other sites

Hi Adam

I have just exchanged some mails with Frederic that I met on bugzilla.

I tested the last rpms they are OK!

The problem of the tablet id is solved!

Congratulations to everybody for such a good and quick job!

Thanks for all and long life to Mandriva!

Philippe

Link to comment
Share on other sites

Some useful details for laptops and Wacom tablet:

 

1 Never let mouse or stylus upon the tablet when power on : it will freeze the start of system after bios ! (if you remove them, then the MBR reading starts!) :wall:

 

2 Never let the mouse nor the stylus upon the tablet if you stop working and let the laptop get sleeping : when you wake it up the mouse or stylus won't be useable !

In that case you can always get them work correctly by using the Wacom control panel (mandriva-menu/system/configuration/hardware/Wacom control panel) if you installed the linuxwacom-controlpanel rpm.

Just click on one item (stylus or cursor) then click on tool button, then click on OK, then click on EXIT and everything is allright again!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...