File size: 5,749 Bytes
4aa5fce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[00:06] <bryce> signal handler and my patch.  http://pastebin.ubuntu.com/37830/
[00:13] <jcristau> tjaalton: hrm. symbols/inet(evdev) redefines AB11 as XF86Launch4. symbols/br(abnt2) defines it as [     slash,   question,       degree, questiondown ]
[00:13] <jcristau> tjaalton: i guess that's the point where you lose.
[00:14] <tjaalton> jcristau: hmm interesting
[00:15] <jcristau> tjaalton: setxkbmap br -print | xkbcomp -xkb - -
[00:15] <jcristau> and then enjoy :)
[00:17] <jcristau> (it worries me that i can sort of make sense of what xkbcomp spits out)
[00:17] <tjaalton> don't tell svu :)
[00:22] <jcristau> anyway it's pretty clear that's what happens here. we get [ XF86Launch4, question, degree, questiondown ].
[00:23] <tjaalton> not only that, but the keycode for that is 211, and not 97 (which has Romaji)
[00:24] <jcristau> oh. hum.
[00:27] <tjaalton> hmm.. addint -model abnt2 to that command shows that 97 should have Home, and AB11 has 211
[00:30] <tjaalton> *adding
[00:32] <tjaalton> heh, fjp asking for 10-synaptics.fdi :)
[00:32] <jcristau> that might just be evdev keycodes being different
[00:35] <jcristau> tjaalton: have a link to your synaptics.fdi somewhere?
[00:36] <tjaalton> jcristau: it's currently identical to the one in fedora: http://cvs.fedoraproject.org/viewcvs/*checkout*/rpms/xorg-x11-drv-synaptics/devel/10-synaptics.fdi?rev=1.1
[00:37] <tjaalton> it lacks support for mac trackpads
[00:37] <jcristau> ok
[00:37] <tjaalton> would be enough to have someone with a macbook run 'lshal'
[00:38] <tjaalton> alex-weej: hey, you asked for some synaptics options to be turned on by default? please reply to the bug, we need you :)
[00:39] <alex-weej> tjaalton: er
[00:39] <alex-weej> i did!
[00:39] <alex-weej> at least, i did via email
[00:39] <alex-weej> maybe it didn't get through
[00:39]  * alex-weej checks
[00:40] <tjaalton> alex-weej: yep, it's there.. didn't get the mail :)
[00:40] <tjaalton> damn mimetypes
[00:40] <alex-weej> hm lol yeah
[00:40] <alex-weej> mimetype fail
[00:41] <alex-weej> fixed :)
[00:42] <tjaalton> info.product = 'appletouch'
[00:43] <tjaalton> that should do it
[00:44] <alex-weej> ah, it's not actually synaptics...
[00:44] <alex-weej> just speaks the same protocol to the X11 driver
[00:44] <tjaalton> right
[00:44] <alex-weej> learn something new every day
[00:44] <tjaalton> a sec
[00:45] <tjaalton> what is the option name?
[00:46] <tjaalton> VertTwoFingerScroll & HorizTwoFingerScroll?
[00:47] <alex-weej> um, will check
[00:48] <alex-weej> i think the *default* configuration (i.e. nothing in Xorg config) reserves a huge chunk of the right and bottom edges for scrolling
[00:48] <alex-weej> that should really be disabled for this
[00:48] <alex-weej> let me read my config
[00:48] <alex-weej>     Option         "HorizEdgeScroll" "0"
[00:48] <alex-weej>     Option         "VertEdgeScroll" "0"
[00:48] <alex-weej>     Option         "VertTwoFingerScroll" "1"
[00:48] <alex-weej>     Option         "HorizTwoFingerScroll" "1"
[00:50] <tjaalton> k, try this out: http://users.tkk.fi/~tjaalton/dpkg/10-synaptics.fdi
[00:51] <tjaalton> put it in /etc/hal/fdi/policy
[00:51] <tjaalton> restart hal & X
[00:51] <tjaalton> and comment out the stuff from xorg.conf
[00:51] <alex-weej> oh yay
[00:52] <alex-weej> i didn't realise you could already specify X options with HAL
[00:52] <tjaalton> neither did I, before last week
[00:55] <alex-weej> BRB then
[00:58] <alex-weej> tjaalton: fail :<
[00:58] <alex-weej> i don't see the keys via HAL Device Manager
[00:58] <tjaalton> yes, one </match> missing :)
[00:58] <alex-weej> xml fail
[00:58] <tjaalton> try now
[00:59] <jcristau> xml is fail in itself, don't try to add more to it
[00:59] <alex-weej> lol
[00:59] <alex-weej> shhh
[01:00] <alex-weej> ok it's merged in now
[01:00] <alex-weej> let's see if X picks it up
[01:02] <alex-weej> tjaalton: nope :<
[01:02] <alex-weej> X doesn't seem to want to pick it up
[01:03] <tjaalton> you are on intrepid?
[01:03] <tjaalton> logfile or didn't happen
[01:03] <alex-weej> hehe
[01:03] <alex-weej> yes i am
[01:03] <alex-weej> let's see
[01:05] <alex-weej> tjaalton: ok i see a problem
[01:05] <alex-weej> during X startup it claims to detect my touch pad like 3 times... (checks)
[01:06] <alex-weej> first of all it sets up based on my xorg.conf
[01:06] <alex-weej> (II) config/hal: Adding input device appletouch
[01:06] <tjaalton> comment those out
[01:06] <alex-weej> then it has the right things like (**) Option "VertTwoFingerScroll" "1"
[01:06] <alex-weej> but then it says (WW) appletouch can't grab event device, errno=16
[01:07] <tjaalton> because it's already taken
[01:07] <alex-weej> tjaalton: nuke my xorg.conf ?
[01:07] <tjaalton> full log please, after you've cleaned up your xorg.conf :)
[01:07] <tjaalton> move it aside
[01:07] <alex-weej> tjaalton: it's clear that these HAL settings only apply to devices that have been added as part of the HAL sniffing
[01:08] <tjaalton> right
[01:08] <alex-weej> which i guess is fine, as long as people stop using xorg.conf to configure stuff
[01:08] <tjaalton> sun is rising.. ;)
[01:08] <alex-weej> i'm gonna try it and see what the default settings are like these days
[01:08] <alex-weej> ok cya :P
[01:09] <tjaalton> not really rising yet, but got some action by saying that
[01:09] <tjaalton> harhar
[01:18] <tjaalton> sure takes a long time to run 'mv xorg.conf xorg.conf.old; gdm restart'
[01:20] <jcristau> hrm svu closed the bug
[01:21] <tjaalton> sigh
[01:22] <tjaalton> I'll reopen
[01:29] <tjaalton> seems like alex broke his X, but I can't stay up a minute longer.. night!
[01:36] <bryce> night timo
=== superm1|away is now known as superm1
=== james_w is now known as james_w_
=== james_w_ is now known as james_w