French keyboard PowerBook G4 ( alu ) with KDE
Hi All, i've been struggling for a few days tying to have my keyboard mapped correctly on my PowerBook Alu G4. I'm running debian sid with kernel 2.6.10 and KDE 3.3.2. After looking on the web i found some info ( mostly the files located at http://www.linux-france.org/ftp/macintosh/kbd-mac-fr.tar.gz ). I've applied these recepies but with no success. The keyboard is mostly ok but i'm missing some important keys: {|}~[] the Euro sign and possibly more. My XF86Config-4 section for the keyboard is as follows: Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "macintosh" Option "XkbLayout" "fr_new" with fr_new installed from the package found above. Has anyone got a fully functional keyboard with a configuration like mine ? Any hint would be greatly appreciated ! Regards. -- Charles-Edouard Ruault -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: French keyboard PowerBook G4 ( alu ) with KDE
Hi Julien, thanks for the reply. I've just tried your settings without much success :( I believe it's due to KDE. I've digged around once more in the options of KDE and found promising options in the "Keyboard Shortcuts, Modifier Keys" of the Control center. There's a "Macintosh keyboard" option and a "MacOS-style modifier usage" However when i try to turn on the "MacOS-style modifier usage" option i'm getting the following error: "You can only activate this option if your X keyboard layout has the 'Super' or 'Meta' keys properly configured as modifier keys" So i guess there's something missing in the low level configuration of the keyboard. Does that mean anything to you ? any hint on how to fix it ? Thanks again. Regards. Julien PERVILLE wrote: Le jeudi 17 février 2005 à 09:46 +1100, Benjamin Herrenschmidt a écrit : On Wed, 2005-02-16 at 17:28 +0100, Charles-Edouard Ruault wrote: Hi All, i've been struggling for a few days tying to have my keyboard mapped correctly on my PowerBook Alu G4. I'm running debian sid with kernel 2.6.10 and KDE 3.3.2. After looking on the web i found some info ( mostly the files located at http://www.linux-france.org/ftp/macintosh/kbd-mac-fr.tar.gz ). I've applied these recepies but with no success. The keyboard is mostly ok but i'm missing some important keys: {|}~[] the Euro sign and possibly more. My XF86Config-4 section for the keyboard is as follows: i got an ibook g4, and i ran into your problem when i started my training period. no "guide" would work (most were obsolete, talking about the old input method, and xmodmap). i had to make my own. my experience and solution at : http://www.linux-france.org/macintosh/clavier_gentoo.html it still does not work 100% as you would expect regarding meta/alt mappings, but it does all {} [] | like on a mac :) on emacs, command is "meta", same as esc on pc. works good enough to get work done. i also did the same mapping on the console. enjoy, Julien -- Charles-Edouard Ruault Idtect SA 115 rue Reaumur - 75002, Paris, France Tel: +33-1-55-34-76-65 Fax: +33-1-55-34-76-75 Web: http://www.idtect.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: French keyboard PowerBook G4 ( alu ) with KDE
Sven Luther wrote: On Wed, Feb 16, 2005 at 05:28:16PM +0100, Charles-Edouard Ruault wrote: Hi All, i've been struggling for a few days tying to have my keyboard mapped correctly on my PowerBook Alu G4. I'm running debian sid with kernel 2.6.10 and KDE 3.3.2. After looking on the web i found some info ( mostly the files located at http://www.linux-france.org/ftp/macintosh/kbd-mac-fr.tar.gz ). I've applied these recepies but with no success. The keyboard is mostly ok but i'm missing some important keys: {|}~[] the Euro sign and possibly more. My XF86Config-4 section for the keyboard is as follows: Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "macintosh" Option "XkbLayout" "fr_new" with fr_new installed from the package found above. Has anyone got a fully functional keyboard with a configuration like mine ? Any hint would be greatly appreciated ! Regards. Not, it is a known problem of french (or generally non-US) pmac keyboards nobody has fixed the right way, and the fr_new only halfway fixes the issues (i can't alt+tab switch windows in metacity anymore for example). Friendly, Sven Luther Hi Sven, it looks like it's even worth with KDE I still can't get those essential keys to appear :( -- Charles-Edouard Ruault Idtect SA 115 rue Reaumur - 75002, Paris, France Tel: +33-1-55-34-76-65 Fax: +33-1-55-34-76-75 Web: http://www.idtect.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: French keyboard PowerBook G4 ( alu ) with KDE
Benjamin Herrenschmidt wrote: On Wed, 2005-02-16 at 17:28 +0100, Charles-Edouard Ruault wrote: Hi All, i've been struggling for a few days tying to have my keyboard mapped correctly on my PowerBook Alu G4. I'm running debian sid with kernel 2.6.10 and KDE 3.3.2. After looking on the web i found some info ( mostly the files located at http://www.linux-france.org/ftp/macintosh/kbd-mac-fr.tar.gz ). I've applied these recepies but with no success. The keyboard is mostly ok but i'm missing some important keys: {|}~[] the Euro sign and possibly more. My XF86Config-4 section for the keyboard is as follows: .../... I've spent hours in xkb trying to get that right (I also have a french keyboard) and never got it 100%... The problem is that you can't really have the "option/alt" key be both used for the |,{,},... combos, _and_ be the real Alt key. I mean, you sort-of can define it that way, but you end up with apps like emacs who will decide it's Alt and thus can't be used to compose symbols... The problem is historically on how xlib apps interpret modifiers it seems. The best I got for now was to map "command/apple" to Meta, alt to ISO_Level3_Shift (you may need a recent enough X for that, like X.org, I'm not sure 4.3 in debian knows about ISO_Level3_Shift) so I can get the combos, and Fn-Alt to Alt (which makes the console switch a bit awkward, but I need it a lot less often than I need to type |,{,},...) Note that it's still broken with ... latest emacs (xemacs is fine), it seems a recent patch to emacs broke it (that is emacs suddenly decided that ISO_Level3_Shift/Mod4 would be another Meta key... grrr...) Enclosed is my keymap (I use it with X.org CVS head) Ben. // // Copyright (C) 2004, Benjamin Herrenschmidt <[EMAIL PROTECTED]> // // This xkb file describes the differences between a Macintosh US Extended // keymap and an French keyboard layout in the style of Mac OS(X). partial default alphanumeric_keys xkb_symbols "basic" { name[Group1]= "French"; include "srvr_ctrl(xfree86)" // Alphanumeric section key { [ less, greater ] }; key {[ at, numbersign, periodcentered ] }; key { [ ampersand, 1, dead_acute, dead_acute ] }; key { [ eacute, 2 ] }; key { [ quotedbl, 3 ] }; key { [ quoteright, 4, quoteleft ] }; key { [ parenleft, 5, braceleft, bracketleft ] }; key { [ section, 6, paragraph ] }; key { [ egrave, 7, guillemotleft, guillemotright ] }; key { [ exclam, 8, exclamdown, Ucircumflex ] }; key { [ ccedilla, 9, Ccedilla, Aacute ] }; key { [ agrave, 0, oslash, Ooblique ] }; key { [ parenright, degree, braceright, bracketright ] }; key { [ minus, underscore ] }; key { [ a, A, ae, AE ] }; key { [ z, Z, Acircumflex, Aring ] }; key { [ e, E, ecircumflex, Ecircumflex ] }; key { [ r, R, registered, currency] }; key { [ t, T ] }; key { [ y, Y, Uacute, ydiaeresis ] }; key { [ u, U ] }; key { [ i, I, icircumflex, idiaeresis ] }; key { [ o, O ] }; key { [ p, P ] }; key { [ dead_circumflex, dead_diaeresis, ocircumflex, Ocircumflex ] }; key { [ dollar, asterisk, comma, yen ] }; key { [ dead_grave, sterling, at, numbersign ] }; key { [ q, Q, acircumflex, Acircumflex ] }; key { [ s, S, Ograve, S ] }; key { [ d, D ] }; key { [ f, F, f, periodcentered ] }; key { [ g, G ] }; key { [ h, H, Igrave, Icircumflex ] }; key { [ j, J, Idiaeresis, Iacute ] }; key { [ k, K, Egrave, Ediaeresis ] }; key { [ l, L, ssharp, bar ] }; key { [ m, M, mu, Oacute ] }; key { [ ugrave, percent, Ugrave, ucircumflex ] }; key { [ Return, Return, hyphen, hyphen ] }; key { [ w, W ] }; key { [ x, X ] }; key { [ c, C, copyright, copyright ] }; key { [ v, V ] }; key { [ b, B ] }; key { [ n, N, dead_tilde ] }; key { [ comma, question, at, questiondown ] }; key { [ semicolon, period ] }; key { [ colon, slash, division, backslash ] }; key { [ equal, plus, macron, plusminus ] }; // End alphanumeric section key {[ KP_Separator,KP_Delete ] }; // Special keys and modifiers key { [ Shift_L ] }; key { [ Shift_R ] }; key { [ Control_L] }; key { [ Control_R] }; key { [ ISO_Level3_Shift ] }; key { [ Alt_R] }; key { [ Meta_L ] };
Re: French keyboard PowerBook G4 ( alu ) with KDE
Bruno Beaufils wrote: I had got the same problem with either my old TiBook and my new AlBook (the one with ATI 9600 graphic card). My solution was to bypass all those new stuff not well documented (XKB) and use plain old Xmodmap. I create a customized version of an Xmodmap file and load it as X starts. It worked well for me with XFree86 (from debian archive), under WindowMaker, and Gnome (I did not try KDE). I just swap to use Xorg (from Ubuntu archive) since I need clone mode for video-projection. Almost every keymap seems to work but I am now unable to go back to console with CTRL+ALT+F1... I do not had time to look from where comes the trouble for now. My Xmodmap, used on my AlBook, is attached to this mail. Look at comments at the beginning of the file there is some useful things about how to install sitewide and about my customized mapping. Hope it helps. Hello Bruno, thanks a lot for your email, you just made my day brighter since it works !!! I now have a usable keyboard, even with KDE ! I've recoved all these needed chars and i won't have to use KCharSelect anymore. Thanks again ! Regards. -- Charles-Edouard Ruault Idtect SA 115 rue Reaumur - 75002, Paris, France Tel: +33-1-55-34-76-65 Fax: +33-1-55-34-76-75 Web: http://www.idtect.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: French keyboard PowerBook G4 ( alu ) with KDE
Kristian Peters wrote: Charles-Edouard Ruault <[EMAIL PROTECTED]> schrieb: thanks for the reply, however i had no luck with your keymap either Still the same behaviour :( Add a "me too". I tried a lot of things. Nothing worked properly. Does anybody know about other distributions ? Could be interesting how for example Yellow Dog or Ubuntu handle this problem... Maybe X.org has an improved keyboard-layout ? PS: Please CC me. *Kristian Hi Kristian, you can try the Xmodmap file that Bruno sent me. It works like a charm on KDE for my French keyboard. I was getting desperate to have a decent keyboard ! I'm attaching the file. Hope this helps. Regards. -- Charles-Edouard Ruault Idtect SA 115 rue Reaumur - 75002, Paris, France Tel: +33-1-55-34-76-65 Fax: +33-1-55-34-76-75 Web: http://www.idtect.com ! ! This Xmodmap works with most of the keys on my AlBook with French keyboard ! layout. ! ! Installing on Debian : ! - copy this file as /etc/X11/Xmodmap ! - install a 40custom_load-xmodmap file in /etc/X11/Xsession.d looking like: ! 8<- ! #-*-sh-*- ! SYSMODMAP=/etc/X11/Xmodmap ! USRMODMAP=${HOME}/.Xmodmap ! ! if [ -x /usr/bin/X11/xmodmap ]; then ! if [ -f ${SYSMODMAP} ]; then ! xmodmap ${SYSMODMAP} ! fi ! fi ! ! if [ -x /usr/bin/X11/xmodmap ]; then ! if [ -f ${USRMODMAP} ]; then ! xmodmap ${USRMODMAP} ! fi ! fi ! 8<- ! ! In order to facilitate key recognition keycodes are given respectively to ! their position on the keyboard from left-to-right and top-to-bottom. ! ! I tailored it a little bit in order to get : ! - easy combination to obtain the tilde symbol (apple n). ! - a delete key on Apple key with Fn key (fn apple). ! - an compose key on the next to right apple key. ! - an insert key in emacs on the next to right apple key (apple then compose) ! - a backslash easily accessible (apple :) ! - a pipe easily accessible (apple l and shift apple l) ! - a euro sign easily accessible (apple $) ! - a german double s remapped (shift apple s) ! ! Some keys seems to be unusable : ! - equal sign when NumLock is on (same keycode as left direction key) ! ! A lot of interesting docs about using Xmodmap and other X11 i18n and l10n stuff ! are accessible at sven maschek X11 page : ! !http://www.in-ulm.de/~mascheck/X11/ ! ! Bruno Beaufils, 20050102 ! clear shift clear lock clear control clear mod1 clear mod2 clear mod3 clear mod4 clear mod5 !! ! ! Lines format is as follows (as described in the man page of xmodmap) : ! ! keycode alone Shift Mode_Switch Shift ! + Mode_Switch ! !! ! 1st row !! keycode9 = Escape keycode 67 = F1 keycode 68 = F2 keycode 69 = F3 keycode 70 = F4 keycode 71 = F5 keycode 72 = F6 keycode 73 = F7 keycode 74 = F8 keycode 75 = F9 keycode 76 = F10 keycode 95 = F11 keycode 96 = F12 !keycode 116 = !! ! 2nd row !! keycode 49 = at numbersign periodcentered keycode 10 = ampersand 1 dead_acute dead_acute keycode 11 = eacute 2 keycode 12 = quotedbl3 keycode 13 = apostrophe 4 grave keycode 14 = parenleft 5 braceleft bracketleft keycode 15 = section 6 paragraph keycode 16 = egrave 7 guillemotleft guillemotright keycode 17 = exclam 8 exclamdown Ucircumflex keycode 18 = ccedilla9 CcedillaAacute keycode 19 = agrave 0 oslash Ooblique keycode 20 = parenright degree braceright bracketright keycode 21 = minus underscore keycode 22 = BackSpace BackSpace BackSpace BackSpace !! ! 3rd row !! keycode 23 = Tab ISO_Left_Tab keycode 24 = a A ae AE keycode 25 = z Z Acircumflex Aring keycode 26 = e E ecircumflex Ecircumflex keycode 27 = r R registered currency keycode 28 = t T keycode 29 = y Y keycode 30 = u U Uacute y
Re: State of Java on PPC
Benjamin Herrenschmidt wrote: On Sat, 2005-04-16 at 09:10 -0700, Paul J. Lucas wrote: A few years ago, the state of Java on Linux/PPC was less than that of Java on x86. Has that improved? There may be newer versions of the IBM JDK I suppose... As far as i know the latest version of the IBM Java Development Kit is 1.4.2, available here : http://www-106.ibm.com/developerworks/java/jdk/linux140/ I'm running it on my powerbook G4 with no problem ( aside the fact that you have to select the correct platform version for the JIT to work fine ). -- Charles-Edouard Ruault Idtect SA 115 rue Reaumur - 75002, Paris, France Tel: +33-1-55-34-76-65 Fax: +33-1-55-34-76-75 Web: http://www.idtect.com GPG key Id C97EDD59 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
AirportExtreme on albook G4 15"
Hi all, i've installed debian testing on my new 1Gz albook 15". Everything works fine ( after some tweaking of course, so far i'm using the framebuffer for X ), except the extreme wireless card. lspci ( cf attached file ) shows it as a Broadcom BCM94306 rev3 chip. I've googled a bit and found some solutions for linux i386 using the native windows drivers but of course this is not an option on a ppc :-( Has anyone managed to get this working ? Thanks for your help. Regards. Charles-Edouard Ruault Idtect SA tel: +33-1-42-81-81-84 fax: +33-1-42-81-82-21 00:0b.0 Host bridge: Apple Computer Inc. UniNorth 2 AGP Flags: bus master, 66Mhz, medium devsel, latency 16 Capabilities: [80] AGP version 1.0 00:10.0 VGA compatible controller: ATI Technologies Inc: Unknown device 4e50 (prog-if 00 [VGA]) Subsystem: ATI Technologies Inc: Unknown device 4e50 Flags: bus master, 66Mhz, medium devsel, latency 255, IRQ 48 Memory at b800 (32-bit, prefetchable) [size=128M] I/O ports at 802400 [size=256] Memory at b000 (32-bit, non-prefetchable) [size=64K] Expansion ROM at f100 [size=128K] Capabilities: [58] AGP version 2.0 Capabilities: [50] Power Management version 2 01:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0035 Flags: bus master, 66Mhz, medium devsel, latency 16 01:12.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 03) Subsystem: Apple Computer Inc.: Unknown device 004e Flags: bus master, fast devsel, latency 16, IRQ 52 Memory at a0006000 (32-bit, non-prefetchable) [disabled] [size=8K] Capabilities: [40] Power Management version 2 01:13.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller Flags: bus master, medium devsel, latency 16, IRQ 53 Memory at a0004000 (32-bit, non-prefetchable) [size=4K] Bus: primary=01, secondary=02, subordinate=05, sec-latency=176 Memory window 0: 9000-9000 I/O window 0: -7fff I/O window 1: -0003 16-bit legacy interface ports at 0001 01:17.0 Class ff00: Apple Computer Inc.: Unknown device 003e Flags: bus master, medium devsel, latency 16 Memory at 8000 (32-bit, non-prefetchable) [size=512K] 01:18.0 USB Controller: Apple Computer Inc.: Unknown device 003f (prog-if 10 [OHCI]) Flags: medium devsel Memory at f300 (32-bit, non-prefetchable) [size=4K] 01:19.0 USB Controller: Apple Computer Inc.: Unknown device 003f (prog-if 10 [OHCI]) Flags: medium devsel Memory at f3001000 (32-bit, non-prefetchable) [size=4K] 01:1a.0 USB Controller: Apple Computer Inc.: Unknown device 003f (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 16, IRQ 29 Memory at a0003000 (32-bit, non-prefetchable) [size=4K] 01:1b.0 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI]) Subsystem: NEC Corporation USB Flags: bus master, medium devsel, latency 16, IRQ 63 Memory at a0002000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 01:1b.1 USB Controller: NEC Corporation USB (rev 43) (prog-if 10 [OHCI]) Subsystem: NEC Corporation USB Flags: bus master, medium devsel, latency 16, IRQ 63 Memory at a0001000 (32-bit, non-prefetchable) [size=4K] Capabilities: [40] Power Management version 2 01:1b.2 USB Controller: NEC Corporation USB 2.0 (rev 04) (prog-if 20 [EHCI]) Subsystem: NEC Corporation USB 2.0 Flags: bus master, medium devsel, latency 16, IRQ 63 Memory at a000 (32-bit, non-prefetchable) [disabled] [size=256] Capabilities: [40] Power Management version 2 06:0b.0 Host bridge: Apple Computer Inc.: Unknown device 0036 Flags: bus master, 66Mhz, medium devsel, latency 16 06:0d.0 Class ff00: Apple Computer Inc.: Unknown device 003b Flags: bus master, medium devsel, latency 32, IRQ 39 Memory at f5004000 (32-bit, non-prefetchable) [size=16K] 06:0e.0 FireWire (IEEE 1394): Apple Computer Inc. UniNorth 2 FireWire (rev 81) (prog-if 10 [OHCI]) Subsystem: Apple Computer Inc.: Unknown device 5811 Flags: bus master, medium devsel, latency 64, IRQ 40 Memory at f500 (32-bit, non-prefetchable) [size=4K] Capabilities: [44] Power Management version 2 06:0f.0 Ethernet controller: Apple Computer Inc. UniNorth 2 GMAC (Sun GEM) (rev 80) Flags: bus master, 66Mhz, slow devsel, latency 16, IRQ 41 Memory at f520 (32-bit, non-prefetchable) [size=2M] Expansion ROM at f510 [disabled] [size=1M]
Re: AirportExtreme on albook G4 15"
On Jan 15, 2004, at 6:34 PM, Chris Anderson wrote: On Wed, 2004-01-14 at 10:57, Charles-Edouard Ruault wrote: Hi all, i've installed debian testing on my new 1Gz albook 15". Everythingworks fine ( after some tweaking of course, so far i'm using theframebuffer for X ), except the extreme wireless card. lspci ( cf attached file ) shows it as a Broadcom BCM94306 rev3 chip. I've googled a bit and found some solutions for linux i386 using thenative windows drivers but of course this is not an option on a ppc :-( Has anyone managed to get this working ? Thanks for your help. Regards. Charles-Edouard Ruault Idtect SA tel: +33-1-42-81-81-84 fax: +33-1-42-81-82-21 If I recall correctly, there is currently no way to use the Airport Extreme card in linux. However, since you have a powerbook you can get an original Airport card and use that without any problems. -Chris Hi Chris, thanks for the reply. That's what i was suspecting no support for this guy. Well i'll use my old orinoco card if i really need wifi on the powerbook .... Regards Charles-Edouard Ruault
Re: harddisk inacessible in G4PowerBook
Hi Bernhard, i just went through it i followed the instructions on from this page : http://www.mathematik.uni-marburg.de/~schmidtm/apple/powerbook.en.php the kernel linked on this page works for me. Good luck. Regards Charles-Edouard Ruault On Jan 9, 2004, at 5:28 PM, Bernhard Lang wrote: I think there are now better resources than what I wrote a year ago, but my http://valla.uchicago.edu/ppc/PBG412.html is at least one answer. Thanks for your answer, but this link is broken. (The problem is that the G4's ATA-100 chip is not supported in the Woody kernel, so you have to compile a kernel that does support it.) Hm, without Linux, I don't have a compiler being suitable to compile a Linux kernel (for a PPC Processor), sigh... Are there precompiled kernels somewhere? Or lodable modules perhaps? regards Bernhard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]