no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Jean-Christophe Michel
Hi,

I updated and migrated from xfree86 to xorg on my unstable Pismo.
But I'm not able to keep a working keyboard similar with mac layout.

The generated xorg.conf contains:

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  macintosh
Option  XkbLayout fr_new
Option  XkbOptionsctrl:nocaps
EndSection

(fr_new comes from http://www.linux-france.org/macintosh/clavier_v4.html)

All attempts I made to change this setting leads to a non working
keyboad in Gnome. Currently I'm writing from Xfe where I get a keyboard
working, though without any accentuated chars. I don't get the pipe
neither :/

Anyone already experienced an xorg switch on an old pwb with adb kbd ?


-- 
Jean-Christophe Michel


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



Re: no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Benjamin Herrenschmidt

 (fr_new comes from http://www.linux-france.org/macintosh/clavier_v4.html)
 
 All attempts I made to change this setting leads to a non working
 keyboad in Gnome. Currently I'm writing from Xfe where I get a keyboard
 working, though without any accentuated chars. I don't get the pipe
 neither :/
 
 Anyone already experienced an xorg switch on an old pwb with adb kbd ?

Etienne (CC'd) has a working french keymap for X.org

Ben.



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



Re: no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Gabriel Paubert
On Tue, May 02, 2006 at 11:02:30PM +1000, Benjamin Herrenschmidt wrote:
 
  (fr_new comes from http://www.linux-france.org/macintosh/clavier_v4.html)
  
  All attempts I made to change this setting leads to a non working
  keyboad in Gnome. Currently I'm writing from Xfe where I get a keyboard
  working, though without any accentuated chars. I don't get the pipe
  neither :/
  
  Anyone already experienced an xorg switch on an old pwb with adb kbd ?
 
 Etienne (CC'd) has a working french keymap for X.org

I had the same problem on my spanish keyboard. Actually all keys work
except the alphabetic ones, which is only about a quarter of the keys on
my 108 key Apple Pro keyboard, but letters are somewhat important :-)

One possible solution is that in /usr/share/X11/xkb/rules/xfree86,
the line:

 $mac   $macvendorlayouts   = pc(pc105)+macintosh_vndr/%l%(v)

should actually insert +macintosh_vndr/us(extended) before the last
item.

Another solution is to make the country specific files include some 
latin map (latin4 for Spain as done for the PC maps, I don't know 
for France). In macintosh_vndr/es it is explictly stated that it 
only describes the differences between american and spanish keyboards.

And even that is wrong, it actually is a latin-american keyboard
(latam for Debian, la for X.org AFAIR since la is now laotian in 
Debian). European spanish keyboards are completely different when 
it comes to punctuation and non-alphabetic symbols.

This said, there are so many differences between Xorg and Debian
source packages when it comes to keyboard description that I don't
really know where to report these bugs.

Regards,
Gabriel


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



Re: no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Michel Dänzer
On Tue, 2006-05-02 at 15:30 +0200, Gabriel Paubert wrote:
 
 This said, there are so many differences between Xorg and Debian
 source packages when it comes to keyboard description that I don't
 really know where to report these bugs.

There are differences between xkb-data (built from the source package
xkeyboard-config) and xkeyboard-config upstream? If so, the bug should
go to Debian, otherwise, upstream may be better, but Denis Barbier is
pretty good at dealing with bug reports and forwarding them upstream as
necessary anyway.


Hope this helps,


-- 
Earthling Michel Dänzer   |  http://tungstengraphics.com
Libre software enthusiast |  Debian, X and DRI developer



Re: no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Bin Zhang

On 5/2/06, Jean-Christophe Michel [EMAIL PROTECTED] wrote:

Hi,

I updated and migrated from xfree86 to xorg on my unstable Pismo.
But I'm not able to keep a working keyboard similar with mac layout.

The generated xorg.conf contains:

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  xfree86
Option  XkbModel  macintosh
Option  XkbLayout fr_new
Option  XkbOptionsctrl:nocaps
EndSection

(fr_new comes from http://www.linux-france.org/macintosh/clavier_v4.html)

All attempts I made to change this setting leads to a non working
keyboad in Gnome. Currently I'm writing from Xfe where I get a keyboard
working, though without any accentuated chars. I don't get the pipe
neither :/

Anyone already experienced an xorg switch on an old pwb with adb kbd ?


I had a similar problem on my ibook after upgrade from xorg6 to xorg7.
I had to copy fr_new to /usr/share/X11/xkb/symbols/macintosh_vndr/fr.
Using the name fr_new didn't work.

My config :
Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRulesxorg
Option  XkbModelmacintosh
Option  XkbLayout   fr
EndSection

Regards,
Bin



--
Jean-Christophe Michel


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






Re: no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Jean-Christophe Michel
Hi,

Bin Zhang wrote:
 Anyone already experienced an xorg switch on an old pwb with adb kbd ?

 I had a similar problem on my ibook after upgrade from xorg6 to xorg7.
 I had to copy fr_new to /usr/share/X11/xkb/symbols/macintosh_vndr/fr.
 Using the name fr_new didn't work.
 
 My config :
 Section InputDevice
 IdentifierGeneric Keyboard
 Driverkbd
 OptionCoreKeyboard
 OptionXkbRulesxorg
 OptionXkbModelmacintosh
 OptionXkbLayoutfr
 EndSection

Many thanks ! very good advice, it works now: éà|\ !
I digged into this for some hours without any result :/
I didn't find any doc about the place where kbds were placed; I thought
they were in /etc/x11/xkb/symbols/macintosh :(
The driver name changed from keyboard to kbd too.
Why was there no warning in paquet install ? :((

-- 
Jean-Christophe Michel


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



Re: no keyborad with xorg on Pismo/unstable

2006-05-02 Thread Bin Zhang

On 5/2/06, Jean-Christophe Michel [EMAIL PROTECTED] wrote:

Hi,

Bin Zhang wrote:
 Anyone already experienced an xorg switch on an old pwb with adb kbd ?

 I had a similar problem on my ibook after upgrade from xorg6 to xorg7.
 I had to copy fr_new to /usr/share/X11/xkb/symbols/macintosh_vndr/fr.
 Using the name fr_new didn't work.

 My config :
 Section InputDevice
 IdentifierGeneric Keyboard
 Driverkbd
 OptionCoreKeyboard
 OptionXkbRulesxorg
 OptionXkbModelmacintosh
 OptionXkbLayoutfr
 EndSection

Many thanks ! very good advice, it works now: éà|\ !
I digged into this for some hours without any result :/
I didn't find any doc about the place where kbds were placed; I thought
they were in /etc/x11/xkb/symbols/macintosh :(


Yes. It was used by package xlibs.

I found the new place /usr/share/X11/xkb/symbols/macintosh_vndr/ by
using package contents search:
http://packages.debian.org/cgi-bin/search_contents.pl?word=frsearchmode=searchfilescase=insensitiveversion=unstablearch=powerpc
The new package is xkb-data.

Bin


The driver name changed from keyboard to kbd too.
Why was there no warning in paquet install ? :((

--
Jean-Christophe Michel


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