Re: Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-29 Thread Cédric Boutillier

This mysterious key seems to act as a second escape key. Here are the
results of xev for the standard Esc, and for this key, obtained from
Apple's X11:

Esc
KeyPress event, serial 26, synthetic NO, window 0x121,
   root 0x57, subw 0x0, time 16733974, (-624,143), root:(249,570),
   state 0x0, keycode 61 (keysym 0xff1b, Escape), same_screen YES,
   XLookupString gives 1 bytes: (1b) 
mbLookupString gives 1 bytes: (1b) 
FilterEvent returns: False

-mysterious key--
KeyPress event, serial 26, synthetic NO, window 0x121,
   root 0x57, subw 0x0, time 16867229, (351,36), root:(379,549),
   state 0x0, keycode 79 (keysym 0xff1b, Escape), same_screen YES,
   XKeysymToKeycode returns keycode: 61
   XLookupString gives 1 bytes: (1b) 
mbLookupString gives 1 bytes: (1b) 
FilterEvent returns: False

I can confirm that they both clear the screen of the calculator in the
MacOs Dashboard, activating the (c) key drawn on the calculator.
However, I could not notice any Num Lock property nor Delete
property attached to this key.




On 9/28/06, Mich Lanners [EMAIL PROTECTED] wrote:

Hi,

Short-circuiting all the later discussion

On  19 Sep, this message from Jörg Sommer echoed through cyberspace:
 Denis Barbier [EMAIL PROTECTED] wrote:
 On Mon, Sep 18, 2006 at 07:11:20PM +, Jörg Sommer wrote:
 Why is Fn+6 num_lock?

 No idea, please run
   xkbcomp :0
 and send the generated file server-0.xkb.

 I send it per PM. Maybe someone else knows what key it should be. It
 is a rectangle with a big X above.

 +-\-/-+
 |  X  |
 +-/-\-+

How about Delete (i.e. the other character-erasing key besides
backspace)?

I do think remember that key behaving like a PC-style Delete
(forward-delete)... On the other hand, the symbol changed to a c on my
Powerbook5,8.

But I also see no reason why this key combo should be numlock.

Cheers

Michel

-
Michel Lanners |   Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. 




Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-28 Thread Mich Lanners
Hi,

Short-circuiting all the later discussion

On  19 Sep, this message from Jörg Sommer echoed through cyberspace:
 Denis Barbier [EMAIL PROTECTED] wrote:
 On Mon, Sep 18, 2006 at 07:11:20PM +, Jörg Sommer wrote:
 Why is Fn+6 num_lock?

 No idea, please run
   xkbcomp :0
 and send the generated file server-0.xkb.
 
 I send it per PM. Maybe someone else knows what key it should be. It
 is a rectangle with a big X above.
 
 +-\-/-+
 |  X  |
 +-/-\-+

How about Delete (i.e. the other character-erasing key besides
backspace)?

I do think remember that key behaving like a PC-style Delete
(forward-delete)... On the other hand, the symbol changed to a c on my
Powerbook5,8.

But I also see no reason why this key combo should be numlock.

Cheers

Michel

-
Michel Lanners |   Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. 



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-26 Thread Wolfgang Pfeiffer
On Mon, Sep 25, 2006 at 04:03:54PM +, Jörg Sommer wrote:
 Hello Sven,
 
 Sven Luther [EMAIL PROTECTED] wrote:
  On Thu, Sep 21, 2006 at 08:57:14PM +0200, Denis Barbier wrote:
  On Wed, Sep 20, 2006 at 10:45:58PM +, Jörg Sommer wrote:
   Yves-Alexis Perez [EMAIL PROTECTED] wrote:
On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
Why is Fn+6 num_lock?
   
On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
handled by the kernel)
   
   At me too, but I spoke about Fn + 6 (the key between 5 and 7, above T Z).
  
  I went at an Apple Center today, and indeed 6 has the symbol you
  described engraved on it; this key is immediately to the left of
  the numpad (on keys 7, 8, 9) so it is indeed surely Num_Lock.
  This is handled by the hardware, Fn + 6 returns keycode 77.
 
  On my powerbook (last-of-tibook generation, some 3-4 years old), US 
  keyboard,
  the 6 key is part of the fn-enabled numerical pad, and is marked 'clear' for
  the combination with the fn key.
 
 I've got the information in the german mac group that this is the clear
 key found on a calculator. I tried the calculator (in german ???Rechner???)
 from OS X and, yes, it is the clear key used to reset the calculator.
 
 I don't know if X has an equivalent, but it is not the num lock key.

That's not so clear:

From 
http://www.iogear.com/support/manual/GCS634U.pdf:

-
Advanced Hotkeys

You may enter advanced hotkey mode by pressing and holding [Num Lock]
on the number pad, then pressing the [-] key on the number pad and
immediately releasing both keys. On Apple keyboards the [Clear] key on
the number pad should be used in place of [Num Lock]. If you have done
this correctly the Caps Lock and Scroll Lock lights on the keyboard
should begin flashing. This means you are in hotkey mode, which will be
shortened to just [HKM] below. If you are having trouble entering
hotkey mode press [Esc] and try again.



And this excerpt from 
http://www.macintouch.com/ReaderReports/bootcamp/topic4188.html .. :
__
[ .. the question, WP ]
I have successfully installed Boot Camp, Windows XP Pro, sp2, and the
Mac drivers. The only problem I detect is inability to use numeric
keypad on the standard white Apple keyboard on my Intel iMac. Any
suggestions?

[Answer, WP]
Try the clear key on the keypad. On older Apple keyboards, this key
had an alternate label of num lock and a status light. It probably
still serves this function, despite the lack of the label and light.
___


You can search for more instances of the clear key on this last
page, with several hints that say this key has some sort of Num Lock
function ...

You might want searching Google with these parameters:
+clear key +apple +f6

HTH

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-26 Thread Jörg Sommer
Hello Wolfgang,

Wolfgang Pfeiffer [EMAIL PROTECTED] wrote:
 On Mon, Sep 25, 2006 at 04:03:54PM +, Jörg Sommer wrote:
 Sven Luther [EMAIL PROTECTED] wrote:
  On Thu, Sep 21, 2006 at 08:57:14PM +0200, Denis Barbier wrote:
  I went at an Apple Center today, and indeed 6 has the symbol you
  described engraved on it; this key is immediately to the left of
  the numpad (on keys 7, 8, 9) so it is indeed surely Num_Lock.
  This is handled by the hardware, Fn + 6 returns keycode 77.
 
  On my powerbook (last-of-tibook generation, some 3-4 years old), US 
  keyboard,
  the 6 key is part of the fn-enabled numerical pad, and is marked 'clear' 
  for
  the combination with the fn key.
 
 I've got the information in the german mac group that this is the clear
 key found on a calculator. I tried the calculator (in german ???Rechner???)
 from OS X and, yes, it is the clear key used to reset the calculator.
 
 I don't know if X has an equivalent, but it is not the num lock key.

 That's not so clear:

news:[EMAIL PROTECTED]
http://www.google.com/search?q=numeric+keypad+layout+site:apple.com

 On Apple keyboards the [Clear] key on the number pad should be used in
 place of [Num Lock]. If you have done this correctly the Caps Lock and
 Scroll Lock lights on the keyboard

This text doesn't include a statement that the clear key is num lock.
It describes the key handling of a program, not more.

 And this excerpt from 
 http://www.macintouch.com/ReaderReports/bootcamp/topic4188.html .. :

 You can search for more instances of the clear key on this last
 page, with several hints that say this key has some sort of Num Lock
 function ...

Because it's not a offical site from Apple I would trust in this one:
http://developer.apple.com/documentation/Hardware/Developer_Notes/Macintosh_CPUs-G4/12inchPowerBookG4/3_Input-Output/chapter_4_section_12.html#//apple_ref/doc/uid/TP40001763-CH207-BCIDEJAA

And the program Rechner from Apple handles the key differently from num
lock.

 You might want searching Google with these parameters:
 +clear key +apple +f6

Yes, F6 is the num lock key. The clear key is Fn + 6 (the key with the
ampersand ).

Bye, Jörg.
-- 
Die beste Tarnung ist die Wahrheit. Die glaubt einem keiner!
  (Max Frisch: Biedermann und die Brandstifter)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-25 Thread Jörg Sommer
Hello Sven,

Sven Luther [EMAIL PROTECTED] wrote:
 On Thu, Sep 21, 2006 at 08:57:14PM +0200, Denis Barbier wrote:
 On Wed, Sep 20, 2006 at 10:45:58PM +, Jörg Sommer wrote:
  Yves-Alexis Perez [EMAIL PROTECTED] wrote:
   On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
   Why is Fn+6 num_lock?
  
   On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
   handled by the kernel)
  
  At me too, but I spoke about Fn + 6 (the key between 5 and 7, above T Z).
 
 I went at an Apple Center today, and indeed 6 has the symbol you
 described engraved on it; this key is immediately to the left of
 the numpad (on keys 7, 8, 9) so it is indeed surely Num_Lock.
 This is handled by the hardware, Fn + 6 returns keycode 77.

 On my powerbook (last-of-tibook generation, some 3-4 years old), US keyboard,
 the 6 key is part of the fn-enabled numerical pad, and is marked 'clear' for
 the combination with the fn key.

I've got the information in the german mac group that this is the clear
key found on a calculator. I tried the calculator (in german ‘Rechner’)
from OS X and, yes, it is the clear key used to reset the calculator.

I don't know if X has an equivalent, but it is not the num lock key.

Bye, Jörg.
-- 
Der Wunsch, klug zu erscheinen, verhindert oft, es zu werden.
  (Francois de la Rochefoucauld)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-22 Thread Sven Luther
On Thu, Sep 21, 2006 at 08:57:14PM +0200, Denis Barbier wrote:
 On Wed, Sep 20, 2006 at 10:45:58PM +, Jörg Sommer wrote:
  Hello Yves-Alexis,
  
  Yves-Alexis Perez [EMAIL PROTECTED] wrote:
   On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
   Why is Fn+6 num_lock?
  
   On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
   handled by the kernel)
  
  At me too, but I spoke about Fn + 6 (the key between 5 and 7, above T Z).
 
 I went at an Apple Center today, and indeed 6 has the symbol you
 described engraved on it; this key is immediately to the left of
 the numpad (on keys 7, 8, 9) so it is indeed surely Num_Lock.
 This is handled by the hardware, Fn + 6 returns keycode 77.

On my powerbook (last-of-tibook generation, some 3-4 years old), US keyboard,
the 6 key is part of the fn-enabled numerical pad, and is marked 'clear' for
the combination with the fn key.

Not sure what it is supposed to do, it has been ages since i boother into
mac-os-x.

Friendly,

Sven Luther


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-22 Thread Timothy Lyons
You have the same configuration as Helge Kreutzmann, can you please 
have

a look at http://bugs.debian.org/387917 and follow instructions there?


I am  still getting the X crash with exp2, despite using -option to try 
to kill all previous options, followed by the options I actually want.


I have an iMac iSight G5 (PowerMac12,1), so a different configuration 
to Helge, and I am using GB rather than DE.



Ok, then you may put xkb-data on hold, because these patches have
been merged upstream and I am willing to upload into unstable very
soon to have broader testing.


Oh! Not sure which patches you mean have been merged upsteam, because 
if it includes the xkb-data that crashes my machine, I obviously would 
not think that a good idea.


Tim.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-22 Thread Jörg Sommer
Hello Denis,

Denis Barbier [EMAIL PROTECTED] wrote:
 On Wed, Sep 20, 2006 at 10:45:58PM +, Jörg Sommer wrote:
 Yves-Alexis Perez [EMAIL PROTECTED] wrote:
  On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
  Why is Fn+6 num_lock?
 
  On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
  handled by the kernel)
 
 At me too, but I spoke about Fn + 6 (the key between 5 and 7, above T Z).

 I went at an Apple Center today, and indeed 6 has the symbol you
 described engraved on it; this key is immediately to the left of
 the numpad (on keys 7, 8, 9) so it is indeed surely Num_Lock.
 This is handled by the hardware, Fn + 6 returns keycode 77.

But what is the num key above? As Yves-Alexis said, this is handled as
num lock key. Do I have two num lock keys? I'm unsettled.

Schöne Grüße, Jörg.
-- 
Dummheit anprangern ist ungefährlich, weil sich niemand angegriffen fühlt.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-21 Thread Jörg Sommer
Hello Yves-Alexis,

Yves-Alexis Perez [EMAIL PROTECTED] wrote:
 On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
 Why is Fn+6 num_lock?

 On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
 handled by the kernel)

At me too, but I spoke about Fn + 6 (the key between 5 and 7, above T Z).

Bye, Jörg.
-- 
Hügelschäfer's Law (http://www.bruhaha.de/laws.html):
Beiträge werden dort gepostet, wo sie den größten Widerstand hervorrufen.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-21 Thread Denis Barbier
On Wed, Sep 20, 2006 at 10:45:58PM +, Jörg Sommer wrote:
 Hello Yves-Alexis,
 
 Yves-Alexis Perez [EMAIL PROTECTED] wrote:
  On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
  Why is Fn+6 num_lock?
 
  On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
  handled by the kernel)
 
 At me too, but I spoke about Fn + 6 (the key between 5 and 7, above T Z).

I went at an Apple Center today, and indeed 6 has the symbol you
described engraved on it; this key is immediately to the left of
the numpad (on keys 7, 8, 9) so it is indeed surely Num_Lock.
This is handled by the hardware, Fn + 6 returns keycode 77.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-20 Thread Yves-Alexis Perez
On Mon, 2006-09-18 at 19:11 +, Jörg Sommer wrote:
 Why is Fn+6 num_lock?

On my system, (powerbook 5,6), Fn+F6 -is- numlock (but I thought it was
handled by the kernel)
-- 
Yves-Alexis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-20 Thread Wolfgang Pfeiffer
On Sun, Sep 17, 2006 at 11:24:26AM +0200, Denis Barbier wrote:
 Hi,
 
 xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
 has been removed from this version, there are only 2 models:
   - macintosh_old (old kernels with ADB keycodes)
   - macintosh (new kernels with PC keycodes)


This logs me out of a running underprivileged user X:
[output slightly shortened for better readability]:

--
$ ll usr
ls: usr: No such file or directory
$ dpkg -x /home/shorty/downloads/xkb-data_0.8-12exp2_all.deb .
$ cd usr/share/X11/xkb/
$ setxkbmap -option -model macintosh -layout de -variant nodeadkeys -print | 
xkbcomp - :0



Is the log-out a feature or a bug?

--
$ cat /proc/cpuinfo
processor   : 0
cpu : 7447A, altivec supported
clock   : 833.333000MHz
revision: 0.5 (pvr 8003 0105)
bogomips: 16.57
timebase: 832
platform: PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh 
detected as : 287 (PowerBook G4 15)
pmac flags  : 0019
L2 cache: 512K unified
pmac-generation : NewWorld



Thanks in anticipation

Best Regards
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113fingerprint=on


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-20 Thread Denis Barbier
On Wed, Sep 20, 2006 at 12:47:22PM +0200, Wolfgang Pfeiffer wrote:
 On Sun, Sep 17, 2006 at 11:24:26AM +0200, Denis Barbier wrote:
  Hi,
  
  xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
  has been removed from this version, there are only 2 models:
- macintosh_old (old kernels with ADB keycodes)
- macintosh (new kernels with PC keycodes)
 
 This logs me out of a running underprivileged user X:
 [output slightly shortened for better readability]:
 
 --
 $ ll usr
 ls: usr: No such file or directory
 $ dpkg -x /home/shorty/downloads/xkb-data_0.8-12exp2_all.deb .
 $ cd usr/share/X11/xkb/
 $ setxkbmap -option -model macintosh -layout de -variant nodeadkeys -print | 
 xkbcomp - :0
 
 
 
 Is the log-out a feature or a bug?

A bug, of course ;)
You have the same configuration as Helge Kreutzmann, can you please have
a look at http://bugs.debian.org/387917 and follow instructions there?

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-19 Thread Denis Barbier
On Mon, Sep 18, 2006 at 07:11:20PM +, Jörg Sommer wrote:
 Hello Denis,
 
 Denis Barbier [EMAIL PROTECTED] wrote:
  xkb-data 0.8-12exp2 is in experimental.
 
  This version will be pushed ustream, so please test it and report
  problems.  After that, we will discuss modifiers and default settings.
  Thanks.
 
 The package works for me. But I miss the power key at the top of the
 keyboard. This is the power key:
 
 KeyPress event, serial 27, synthetic NO, window 0xc1,
 root 0x44, subw 0x0, time 3238923114, (485,311), root:(512,384),
 state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
 XLookupString gives 0 bytes: 
 XmbLookupString gives 0 bytes: 
 XFilterEvent returns: False
 
 KeyRelease event, serial 30, synthetic NO, window 0xc1,
 root 0x44, subw 0x0, time 3238923263, (485,311), root:(512,384),
 state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
 XLookupString gives 0 bytes: 

Ok, I will add it.

 And I found this messages on the console:
 The XKEYBOARD keymap compiler (xkbcomp) reports:
  Warning:  Multiple names for keycode 182
Using FK13, ignoring K5D
  Warning:  Key name FK13 assigned to multiple keys
Using 182, ignoring 118
  Warning:  Multiple names for keycode 183
Using FK14, ignoring K5E
  Warning:  Key name FK14 assigned to multiple keys
Using 183, ignoring 119
  Warning:  Multiple names for keycode 184
Using FK15, ignoring K5F
  Warning:  Key name FK15 assigned to multiple keys
Using 184, ignoring 120
  Warning:  Multiple names for keycode 157
Using KPEQ, ignoring K59
  Warning:  Key name KPEQ assigned to multiple keys
Using 157, ignoring 126

Those 4 keys are indeed redefined in
  /usr/share/X11/xkb/keycodes/macintosh
I do not know yet why.

 expected keysym, got XF86AudioEject: line 2244 of inet
  Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
Ignoring extra symbols
 Errors from xkbcomp are not fatal to the X server

These warnings are normal'.

 Why is Fn+6 num_lock?

No idea, please run
  xkbcomp :0
and send the generated file server-0.xkb.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-19 Thread Yves-Alexis Perez
On Sun, 2006-09-17 at 11:24 +0200, Denis Barbier wrote:
 Hi,
 
 xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
 has been removed from this version, there are only 2 models:
   - macintosh_old (old kernels with ADB keycodes)
   - macintosh (new kernels with PC keycodes)
 But 2 new options are added: apple:badmap and apple:goodmap to change
 keycodes for the 2 swapped keys.  This means that macintosh_old2
 model is replaced by macintosh.  If kernel misdetects the attached
 keyboard, users can select the apple:badmap option.

ii  xkb-data   0.8-12exp2 X Keyboard Extension (XKB)
configuration dat
Powerbook 5,6.

If I use the following xorg configuration:

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  macintosh
Option  XkbLayout fr
Option  XkbOptionslv3:lwin_switch
Option  XkbOptionsapple:goodmap
EndSection

(with or without apple:goodmap or apple:badmap option), the /@# keys
are swapped. The option doesn't change anything.

Regards,
-- 
Yves-Alexis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-19 Thread Denis Barbier
On Tue, Sep 19, 2006 at 10:20:04AM +0200, Yves-Alexis Perez wrote:
 On Sun, 2006-09-17 at 11:24 +0200, Denis Barbier wrote:
  Hi,
  
  xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
  has been removed from this version, there are only 2 models:
- macintosh_old (old kernels with ADB keycodes)
- macintosh (new kernels with PC keycodes)
  But 2 new options are added: apple:badmap and apple:goodmap to change
  keycodes for the 2 swapped keys.  This means that macintosh_old2
  model is replaced by macintosh.  If kernel misdetects the attached
  keyboard, users can select the apple:badmap option.
 
 ii  xkb-data   0.8-12exp2 X Keyboard Extension (XKB)
 configuration dat
 Powerbook 5,6.
 
 If I use the following xorg configuration:
 
 Section InputDevice
 Identifier  Generic Keyboard
 Driver  kbd
 Option  CoreKeyboard
 Option  XkbRules  xorg
 Option  XkbModel  macintosh
 Option  XkbLayout fr
 Option  XkbOptionslv3:lwin_switch
 Option  XkbOptionsapple:goodmap
 EndSection
 
 (with or without apple:goodmap or apple:badmap option), the /@# keys
 are swapped. The option doesn't change anything.

It works for me.  Maybe another program overrides your xorg.conf
settings, please try on command line:
  setxkbmap -model macintosh -layout fr \
-option -option lv3:lwin_switch -option apple:badmap

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-19 Thread Yves-Alexis Perez
On Tue, 2006-09-19 at 10:34 +0200, Denis Barbier wrote:
 It works for me.  Maybe another program overrides your xorg.conf
 settings, please try on command line:
   setxkbmap -model macintosh -layout fr \
 -option -option lv3:lwin_switch -option apple:badmap 

[EMAIL PROTECTED]: setxkbmap -v -model macintosh -layout fr -option
lv3:lwin_switch -option apple:badmap
Warning! Multiple definitions of keyboard model
 Using command line, ignoring X server
Warning! Multiple definitions of keyboard layout
 Using command line, ignoring X server
Trying to build keymap using the following components:
keycodes:   macintosh+aliases(azerty)+macintosh(badmap)
types:  complete+numpad(mac)
compat: complete
symbols:pc(pc105)+macintosh_vndr/fr+inet(apple)+level3(lwin_switch)
geometry:   macintosh(macintosh)

It works when set from commandline and... it work when using the correct
syntax in xorg.conf:

Option  XkbOptionslv3:lwin_switch,apple:badmap

With that syntax, everything works correctly, thanks.

Btw, maybe goodmap badmap aren't really good names for those
options. It seems that this should be handled in kernel area, but in the
meanwhile it's not really self-explanatory for user. If you have a
powerbook or ibook (or macbook ?) from after february 2005, use the
badmap option ??

Regards,
-- 
Yves-Alexis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-19 Thread Jörg Sommer
Hi Denis,

Denis Barbier [EMAIL PROTECTED] wrote:
 On Mon, Sep 18, 2006 at 07:11:20PM +, Jörg Sommer wrote:
 Why is Fn+6 num_lock?

 No idea, please run
   xkbcomp :0
 and send the generated file server-0.xkb.

I send it per PM. Maybe someone else knows what key it should be. It is a
rectangle with a big X above.

+-\-/-+
|  X  |
+-/-\-+

Bye, Jörg.
-- 
Wenn Du jedesmal stehen bleibst, wenn ein Hund bellt, wirst du Deine Reise
nie beenden.   (Arabisches Sprichwort)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-18 Thread Jörg Sommer
Hello Denis,

Denis Barbier [EMAIL PROTECTED] wrote:
 xkb-data 0.8-12exp2 is in experimental.

 This version will be pushed ustream, so please test it and report
 problems.  After that, we will discuss modifiers and default settings.
 Thanks.

The package works for me. But I miss the power key at the top of the
keyboard. This is the power key:

KeyPress event, serial 27, synthetic NO, window 0xc1,
root 0x44, subw 0x0, time 3238923114, (485,311), root:(512,384),
state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes: 
XmbLookupString gives 0 bytes: 
XFilterEvent returns: False

KeyRelease event, serial 30, synthetic NO, window 0xc1,
root 0x44, subw 0x0, time 3238923263, (485,311), root:(512,384),
state 0x0, keycode 222 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes: 

And I found this messages on the console:
The XKEYBOARD keymap compiler (xkbcomp) reports:
 Warning:  Multiple names for keycode 182
   Using FK13, ignoring K5D
 Warning:  Key name FK13 assigned to multiple keys
   Using 182, ignoring 118
 Warning:  Multiple names for keycode 183
   Using FK14, ignoring K5E
 Warning:  Key name FK14 assigned to multiple keys
   Using 183, ignoring 119
 Warning:  Multiple names for keycode 184
   Using FK15, ignoring K5F
 Warning:  Key name FK15 assigned to multiple keys
   Using 184, ignoring 120
 Warning:  Multiple names for keycode 157
   Using KPEQ, ignoring K59
 Warning:  Key name KPEQ assigned to multiple keys
   Using 157, ignoring 126
expected keysym, got XF86AudioEject: line 2244 of inet
 Warning:  Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

Why is Fn+6 num_lock?

Thanks for your effort, Jörg.
-- 
Perfection is reached, not when there is no longer anything that can be
added, but when there is no longer anything to take away.
(Antoine de Saint-Exupery)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Please test xkb-data 0.8-12exp2 in experimental

2006-09-17 Thread Denis Barbier
Hi,

xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
has been removed from this version, there are only 2 models:
  - macintosh_old (old kernels with ADB keycodes)
  - macintosh (new kernels with PC keycodes)
But 2 new options are added: apple:badmap and apple:goodmap to change
keycodes for the 2 swapped keys.  This means that macintosh_old2
model is replaced by macintosh.  If kernel misdetects the attached
keyboard, users can select the apple:badmap option.

Basically macintosh model is now equivalent to pc105, the only
difference is that with the former, layouts are taken from
symbols/macintosh_vndr whereas with the latter, they come from
symbols/.  One can then set a Macintosh layout on a PC keyboard
by selecting the macintosh model, or set a PC layout on a Mac with
pc105 model, and use apple:badmap and apple:goodmap if needed to
swap the 2 problematic keys.

This version will be pushed ustream, so please test it and report
problems.  After that, we will discuss modifiers and default settings.
Thanks.

Denis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-17 Thread Helge Kreutzmann
Hello Denis,
sorry, this one I cannot test, as it reproducibly (tried it twice)
kills my X server when I try to load the keymap, i.e. when issuing:

setxkbmap -print | xkbcomp - :0

I will write a bug report agaings x11-common.

Greetings

 Helge
-- 
Dr. Helge Kreutzmann, Dipl.-Phys.   [EMAIL PROTECTED]
   gpg signed mail preferred 
64bit GNU powered  http://www.itp.uni-hannover.de/~kreutzm
  Help keep free software libre: http://www.ffii.de/


signature.asc
Description: Digital signature


Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-17 Thread Bin Zhang

On 9/17/06, Denis Barbier [EMAIL PROTECTED] wrote:

Hi,

xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
has been removed from this version, there are only 2 models:
  - macintosh_old (old kernels with ADB keycodes)
  - macintosh (new kernels with PC keycodes)
But 2 new options are added: apple:badmap and apple:goodmap to change
keycodes for the 2 swapped keys.  This means that macintosh_old2
model is replaced by macintosh.  If kernel misdetects the attached
keyboard, users can select the apple:badmap option.

Basically macintosh model is now equivalent to pc105, the only
difference is that with the former, layouts are taken from
symbols/macintosh_vndr whereas with the latter, they come from
symbols/.  One can then set a Macintosh layout on a PC keyboard
by selecting the macintosh model, or set a PC layout on a Mac with
pc105 model, and use apple:badmap and apple:goodmap if needed to
swap the 2 problematic keys.

This version will be pushed ustream, so please test it and report


It works fine for my ibook G4 1.2Ghz 12
---
$ cat /proc/cpuinfo
processor   : 0
cpu : 7447A, altivec supported
clock   : 599.999000MHz
revision: 0.1 (pvr 8003 0101)
bogomips: 36.73
timebase: 18432000
platform: PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
pmac-generation : NewWorld
-

-
xorg.conf :
Section InputDevice
   Identifier  Generic Keyboard
   Driver  kbd
   Option  CoreKeyboard
   Option  XkbRules  xorg
   Option  XkbModel  macintosh
   Option  XkbLayout fr
   Option  XkbOptionslv3:lwin_switch
EndSection



problems.  After that, we will discuss modifiers and default settings.


OK.

Best regards,
Bin


Thanks.

Denis


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-17 Thread Matteo Bigoi - Bigo!
* Sun 17 Sep (11:24), Denis Barbier scrive:
 Hi,
 
 xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
 has been removed from this version, there are only 2 models:
   - macintosh_old (old kernels with ADB keycodes)
   - macintosh (new kernels with PC keycodes)
 But 2 new options are added: apple:badmap and apple:goodmap to change
 keycodes for the 2 swapped keys.  This means that macintosh_old2
 model is replaced by macintosh.  If kernel misdetects the attached
 keyboard, users can select the apple:badmap option.
 
 Basically macintosh model is now equivalent to pc105, the only
 difference is that with the former, layouts are taken from
 symbols/macintosh_vndr whereas with the latter, they come from
 symbols/.  One can then set a Macintosh layout on a PC keyboard
 by selecting the macintosh model, or set a PC layout on a Mac with
 pc105 model, and use apple:badmap and apple:goodmap if needed to
 swap the 2 problematic keys.
 
 This version will be pushed ustream, so please test it and report
 problems.  After that, we will discuss modifiers and default settings.
 Thanks.
 

works fine for me 
ibook g4 1.2 GHz 12'

cat /proc/cpuinfo
processor   : 0
cpu : 7447A, altivec supported
clock   : 599.999000MHz
revision: 0.1 (pvr 8003 0101)
bogomips: 36.73
timebase: 18432000
platform: PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh 
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
pmac-generation : NewWorld

cat /etc/X11/xorg.conf
Section InputDevice
Identifier  Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XlbRules xorg
Option  XkbModel machintosh
Option  XkbLayout us
EndSection


 Denis
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

Ciao

Bigo!

-- 
There's no place like /home.

 Registered Linux User # 365044
  WEB PAGE:  http://crisidev.org
  ADBSYN PATCH:  http://www.cs.unibo.it/~bigoi  
 Please don't send me any Micro$oft attachments!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Please test xkb-data 0.8-12exp2 in experimental

2006-09-17 Thread Bin Zhang

On 9/17/06, Bin Zhang [EMAIL PROTECTED] wrote:

On 9/17/06, Denis Barbier [EMAIL PROTECTED] wrote:
 Hi,

 xkb-data 0.8-12exp2 is in experimental.  The macintosh_old2 version
 has been removed from this version, there are only 2 models:
   - macintosh_old (old kernels with ADB keycodes)
   - macintosh (new kernels with PC keycodes)
 But 2 new options are added: apple:badmap and apple:goodmap to change
 keycodes for the 2 swapped keys.  This means that macintosh_old2
 model is replaced by macintosh.  If kernel misdetects the attached
 keyboard, users can select the apple:badmap option.

 Basically macintosh model is now equivalent to pc105, the only
 difference is that with the former, layouts are taken from
 symbols/macintosh_vndr whereas with the latter, they come from
 symbols/.  One can then set a Macintosh layout on a PC keyboard
 by selecting the macintosh model, or set a PC layout on a Mac with
 pc105 model, and use apple:badmap and apple:goodmap if needed to
 swap the 2 problematic keys.

 This version will be pushed ustream, so please test it and report

It works fine for my ibook G4 1.2Ghz 12
---
$ cat /proc/cpuinfo
processor   : 0
cpu : 7447A, altivec supported
clock   : 599.999000MHz
revision: 0.1 (pvr 8003 0101)
bogomips: 36.73
timebase: 18432000
platform: PowerMac
machine : PowerBook6,5
motherboard : PowerBook6,5 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 512K unified
pmac-generation : NewWorld
-

-
xorg.conf :
Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  macintosh
Option  XkbLayout fr
Option  XkbOptionslv3:lwin_switch
EndSection



I can also use two others config:

Section InputDevice
   Identifier  Generic Keyboard
   Driver  kbd
   Option  CoreKeyboard
   Option  XkbRules  xorg
   #Option XkbModel  macintosh
   Option  XkbModel  ibook
   Option  XkbLayout fr
   #Option  XkbOptionslv3:lwin_switch
EndSection

and

Section InputDevice
   Identifier  Generic Keyboard
   Driver  kbd
   Option  CoreKeyboard
   Option  XkbRules  xorg
   #Option XkbModel  macintosh
   Option  XkbModel  ibook
   Option  XkbLayout fr
   Option  XkbOptionslv3:lwin_switch
EndSection


Bin


 problems.  After that, we will discuss modifiers and default settings.

OK.

Best regards,
Bin

 Thanks.

 Denis


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]