Re: Ignore accidental input
Hi Magnus, Magnus Rosenbaum <[EMAIL PROTECTED]> wrote: > Børge Holen wrote: >> I have to install another program to shut down the trackpad then? > > Yes :-) The block-trackpad-while-typing functionality is also in > pbbuttons, but will be removed because mouseemu does the job better. Please not! I use pbbuttons and this functionality. mouseemu did a bad, job last time I used it. It did not remove the modifier I've used to generate the second and third mouse keys. And it could not work with the Fn key. Did anyone of these issues changed? Bye, Jörg. -- Nicht was du bist, ist es was dich ehrt, wie du bist bestimmt den Wert. Wünsche hat man oft und viel, nur wer lernt erreicht sein Ziel. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: sleep mode power usage on powerbook5,6
Hello Johannes, Johannes Berg <[EMAIL PROTECTED]> wrote: > > Hi, > > After approximately 18 hours of sleep under linux, my powerbook has lost > almost 25% of its battery charge. > > That seems to be too high. Sure? I see the same on my iBook G4 and I don't think 60 hours standby with a fully battery is too high. Regards, Jörg. -- Macht besitzen und nicht ausüben ist wahre Größe. (Friedl Beutelrock) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: [RFC][Patch] Cirumvent appletouch fuzziness
Hello Sven, Sven Henkel <[EMAIL PROTECTED]> wrote: > So, some questions for you guys: I have never read a report on this > fuzziness problem. Am I the only one experiencing it? If yes, forget > about my patch, as I'd probably be the only happy user of it. ;) I would say yes. I've this problem, too. Mainly while charging the pointer jumps around when I hit on the trackpad. Bye, Jörg. -- Diskusion "Pascal vs. Rest der Welt": 30 Aug 2000 00:13:11 GMT, Adrian Knoth <[EMAIL PROTECTED]> Und selbst wenn eure 10 Zeilen-Programme noch so oft unter Windows verwendet werden: mit einem Handwagen fährt man nicht Formel-1. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: New I2C and machine probing method
Hello Matthias, Matthias Grimm <[EMAIL PROTECTED]> wrote: > > Hi, > I want to use some OF and kernel 2.6 features to improve device probing > in pbbuttonsd. Unfortunately I have only an ancient PowerBook so I need > your help to test the new routines on as many different machines as > possible. > > I attached the source code of a short program. You could compile it as > follows: > $> gcc -o of_probing of_probing.c #v+ % gcc-4.2 -O2 -Wall -Wformat=2 -Wunused -Wundef -Wextra of_prob.c -o of_prob of_prob.c: In function ?probeLMU?: of_prob.c:20: warning: implicit declaration of function ?read? of_prob.c:23: warning: implicit declaration of function ?close? of_prob.c: In function ?addPath?: of_prob.c:36: warning: suggest parentheses around assignment used as truth value of_prob.c: In function ?getLMUAddress?: of_prob.c:67: warning: ordered comparison of pointer with integer zero of_prob.c: In function ?findI2CDevice?: of_prob.c:86: warning: suggest parentheses around assignment used as truth value of_prob.c:89: warning: ordered comparison of pointer with integer zero of_prob.c:91: warning: comparison between signed and unsigned of_prob.c: In function ?getMachineID?: of_prob.c:121: warning: implicit declaration of function ?atoi? of_prob.c: In function ?main?: of_prob.c:133: warning: unused parameter ?argc? of_prob.c:133: warning: unused parameter ?argv? of_prob.c: In function ?findI2CDevice?: of_prob.c:106: warning: control reaches end of non-void function % ./of_prob Probing machine... Machine: ID = 63 OF: '/proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/reg' Path incomplete! One or more elements not found. LMU: No LMU found! #v- Jörg. -- Ein Narr, er sieht die Weisheit nicht selbst wenn sie närrisch zu Ihm spricht! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: New I2C and machine probing method
Hallo Matthias, Matthias Grimm <[EMAIL PROTECTED]> wrote: > On Sun, 16 Jul 2006 15:45:57 +0200 > Matthias Grimm <[EMAIL PROTECTED]> wrote: > > Thanks a lot for your support so far. I put the new knowledge into a > revised program and attached it again. Changes are: > > I hope you give it another try :-) #v+ % cat /proc/cpuinfo processor : 0 cpu : 7455, altivec supported clock : 606.00MHz revision: 0.3 (pvr 8001 0303) bogomips: 36.73 timebase: 18432000 platform: PowerMac machine : PowerBook6,3 motherboard : PowerBook6,3 MacRISC3 Power Macintosh detected as : 287 (iBook G4) pmac flags : 001b L2 cache: 256K unified pmac-generation : NewWorld # /tmp/of_test Probing machine... Machine: This is not a PowerBook #v- Schöne Grüße, Jörg. -- Dein Gesicht wird dir geschenkt. Lächeln musst du selber! (Inga Hermann) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: New I2C and machine probing method
Hallo Matthias, Matthias Grimm <[EMAIL PROTECTED]> wrote: > On Mon, 17 Jul 2006 21:19:30 +0200 > Matthias Grimm <[EMAIL PROTECTED]> wrote: > > Damn, I didn't removed my debugging stuff and so the program used a > wrong device tree path. Sorry for that. Replace line % ./of_test Probing machine... Machine: ID = 63 -> iBook G4 (Oct 2003) OF: '/proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/reg' Path incomplete! One or more elements not found. LMU: No LMU found! Schöne Grüße, Jörg. -- Gienger's Law (http://www.bruhaha.de/laws.html): Die Wichtigkeit eines Newspostings im Usenet ist reziprok zur Anzahl der enthaltenenen, kumulierten Ausrufungszeichen. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: iBook and batteries
Hello Jack, Jack Malmostoso <[EMAIL PROTECTED]> wrote: > My iBook is 32 months old and around the 24th month I noticed a sudden > loss in battery performance: I thought it was related to some changes in > power management under linux (never really had the nerves to use OSX as > long as the battery life...), but (using a small .app called > "coconutBattery") I have now found out that only 69% of my battery is > still alive after *only* 167 charge cycles. How are the 69% calculated? > My question is: could you make a small "survey" on the health of your > batteries, How should I do this? > to see if we (as linux users) have a problem with that or if we are > pretty much average? Would it be possible to access such information > from linux too? Maybe something in /proc, who knows. Do you search /proc/pmu/battery_0? % cat /proc/pmu/battery_0 flags : 0011 charge : 2540 max_charge : 2549 current: 0 voltage: 12374 > Oh, and since we're on the topic: did anybody of you experience problems > with your batteries, such as overheating, swelling and such? My battery gets very hot while charging, but this is was ever so. Bye, Jörg. -- "Hey, dad, you see how this man can twist his fingers? Amazing, isn't it?" "No, son, not really. He's been using Emacs for ten years..." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: iBook and batteries
Hello Jack, Jack Malmostoso <[EMAIL PROTECTED]> wrote: > On Sat, 26 Aug 2006 17:20:10 +0200, Jörg Sommer wrote: > >> How are the 69% calculated? > > Over the nominal battery capacity of 4400mAh. The nominal capacity of my battery is 3600mAh and my currect max_charge value is 2549. 70%—the same as yours. My battery is now 33 months old. I can increase the capacity considerably, if I discharge my battery until the moment before it dies. At me this happens if the voltage goes below 9V. Doing this (everytime) I've got it from 2000mAh back to 2800mAh. Bye, Jörg. -- Die am Lautesten reden, haben stets am wenigsten zu sagen. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: iBook and batteries
Hello Matthias, Matthias Kirschner <[EMAIL PROTECTED]> wrote: > * Jack Malmostoso <[EMAIL PROTECTED]> [2006-08-27 15:44:48 +]: > >> On Sat, 26 Aug 2006 23:40:06 +0200, Jörg Sommer wrote: >> >> > I can increase the capacity considerably, if I discharge my battery until >> > the moment before it dies. >> >> I tried it (thanks to Michael too for pointing that out) but nothing >> changed. I guess the new free battery will solve the issue ;) > > I have also tried it several times -- but also without success. What have you done? I kill pbbuttonsd to prevent it shut down the machine and than monitor the voltage value—you can do this with watch cat … If it is close to 9.0V (Attention: This is the value where *my* battery gives up. Your might give up earlier! Then you loos unsaved data.) I plug in the power connector. Bye, Jörg. -- Two types have compatible type if their types are the same. [ANSI C, 6.2.7] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: iBook and batteries
Hi Matthias, Matthias Kirschner <[EMAIL PROTECTED]> wrote: > * Jörg Sommer <[EMAIL PROTECTED]> [2006-08-29 18:05:33 +0200]: > >> > I have also tried it several times -- but also without success. >> >> What have you done? I kill pbbuttonsd to prevent it shut down the machine >> and than monitor the voltage value—you can do this with watch cat … If it >> is close to 9.0V (Attention: This is the value where *my* battery gives >> up. Your might give up earlier! Then you loos unsaved data.) I plug in >> the power connector. > > I added "onBattery_SuspendTime = 0" in /etc/pbbuttonsd.conf and than > worked until I got the warning, that only 2 minutes are left -- than I > plugged in the power connector and charged it. 2 minutes is to early. I saw the last minute (from 60 seconds to 0) took 20 minutes and after this I have nearly 30 minutes until my iBook dies. To really discharge the battery you must kill pbbuttons. Bye, Jörg. -- Wer einen Traum verwirklichen will, muss erst aufwachen. -- 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
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 , ignoring > Warning: Key name assigned to multiple keys > Using 182, ignoring 118 > Warning: Multiple names for keycode 183 > Using , ignoring > Warning: Key name assigned to multiple keys > Using 183, ignoring 119 > Warning: Multiple names for keycode 184 > Using , ignoring > Warning: Key name assigned to multiple keys > Using 184, ignoring 120 > Warning: Multiple names for keycode 157 > Using , ignoring > Warning: Key name assigned to multiple keys > Using 157, ignoring 126 expected keysym, got XF86AudioEject: line 2244 of inet > Warning: Type "ONE_LEVEL" has 1 levels, but 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]
Re: Please test xkb-data 0.8-12exp2 in experimental
Hi Denis, Denis Barbier <[EMAIL PROTECTED]> wrote: > On Mon, Sep 18, 2006 at 07:11:20PM +0000, 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
Hello Yves-Alexis, Yves-Alexis Perez <[EMAIL PROTECTED]> wrote: > On Mon, 2006-09-18 at 19:11 +0000, 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
Hello Denis, Denis Barbier <[EMAIL PROTECTED]> wrote: > On Wed, Sep 20, 2006 at 10:45:58PM +0000, 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: xkb-data with support for Mac keyboards into unstable
Hallo Helge, Helge Kreutzmann <[EMAIL PROTECTED]> wrote: > So the following still needs to be done for a german ibook keyboard: > > 1. When pressing the key between ß? and backspace, I still get >nothing, while I expect ' as printed on the key. With the shift >modifier it works. This is keycode 21. It's a dead key. Press a 'e' after it and you get é. The ' is definitive the wrong character! > 2. The AltGr-Bracket sequence is still "wrong", i.e. I would like the >PC style version, Then configure a PC style keyboard. Use pc105 instead of macintosh. >i.e. (starting at AltGR-7) {[]}\ while I get (starting at AltGr-5) >[]|{}}\. This behaviour should be switchable. Also I still wonder >why "}" is on AltGr-9 *and* AltGr-0. > > 3. AltGr-Q still produces "«" and not "@" It's a Apple keyboard. Don't use it, if you don't like it. Bye, Jörg. -- The UNIX Guru's View of Sex: # unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xkb-data with support for Mac keyboards into unstable
Hallo Wolfgang, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote: > On Sat, Sep 23, 2006 at 03:52:11PM +0200, Helge Kreutzmann wrote: > >> 1. When pressing the key between ß? and backspace, I still get >>nothing, while I expect ' as printed on the key. With the shift >>modifier it works. This is keycode 21. >> >> 2. The AltGr-Bracket sequence is still "wrong", i.e. I would like the >>PC style version, i.e. (starting at AltGR-7) {[]}\ > > My vote for this. Definitely. :) Use pc105 instead of macintosh. It's an Apple keyboard not a PC keyboard. I vote for the Apple layout. >>while I get (starting at AltGr-5) []|{}}\. This behaviour should >>be switchable. Also I still wonder why "}" is on AltGr-9 *and* >>AltGr-0. >> >> 3. AltGr-Q still produces "«" and not "@" > > Same here, on a PowerBook5.8: ISO_Level3_Shift + Q = « At me, the sign @ is engraved on the L key not on the Q key. Why do you expect a PC keyboard layout when you use an Apple keyboard? Bye, Jörg. -- Der Wille und nicht die Gabe macht den Geber. -- 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
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 +0000, 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
Hello Wolfgang, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote: > On Mon, Sep 25, 2006 at 04:03:54PM +0000, 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: xkb-data with support for Mac keyboards into unstable
Hi Wolfgang, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote: > On Mon, Sep 25, 2006 at 11:15:43AM +0000, Jörg Sommer wrote: >> >i.e. (starting at AltGR-7) {[]}\ while I get (starting at AltGr-5) >> >[]|{}}\. This behaviour should be switchable. Also I still wonder >> >why "}" is on AltGr-9 *and* AltGr-0. >> > >> > 3. AltGr-Q still produces "«" and not "@" >> >> It's a Apple keyboard. Don't use it, if you don't like it. > > With logics like this I could say: This is Linux. Go get OSX if you > want an Apple keyboard. No. Linux and OS X are software. A keyboard is hardware. It's the same thing with mice. Don't buy an Apple mouse if you want more than one key. If I sit in front of a keyboard with an Apple logo, I expect an Apple keyboard. If I see the @ sign engraved on the L key, I expect I get it when I press Modifier+L. Which problems do you have, when you load the pc105 layout? Aren't it work? Bye, Jörg. -- Ein Narr, er sieht die Weisheit nicht selbst wenn sie närrisch zu ihm spricht. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xkb-data with support for Mac keyboards into unstable
Hi Helge, Helge Kreutzmann <[EMAIL PROTECTED]> wrote: > On Mon, Sep 25, 2006 at 11:15:43AM +0000, Jörg Sommer wrote: >> Helge Kreutzmann <[EMAIL PROTECTED]> wrote: >> > 2. The AltGr-Bracket sequence is still "wrong", i.e. I would like the >> >PC style version, >> >> Then configure a PC style keyboard. Use pc105 instead of macintosh. > > Could you be so kind to tell me exactly what I should try? When I run % setxkbmap -model pc105 -layout de -variant nodeadkeys I get the normal PC layout. Maybe you want -option lv3:lwin_switch to use the Apple key as AltGr. Bye, Jörg. -- Damit das Mögliche entsteht, muß immer wieder das Unmögliche versucht werden. (Hermann Hesse) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xkb-data with support for Mac keyboards into unstable
Hello Chris, Chris Burdess <[EMAIL PROTECTED]> wrote: > Jörg Sommer wrote: >> If I sit in front of a keyboard with an Apple logo, I expect an Apple >> keyboard. If I see the @ sign engraved on the L key, I expect I get it >> when I press Modifier+L. > > That's laudable, and echoes my own expectations with respect to the > Alt+click (right click) when using X on my (1-button mouse) > Powerbook. I think no. But maybe this helps you. http://www.linuxfocus.org/English/May2004/index.shtml#tip I don't know if it is possible to use the Pointer_ButtonX on the left side of the xmodmap expression, but you can map the buttons to a key. xmodmap -e 'keysym space = space Pointer_Button3' Bye, Jörg. -- Ein Mensch sieht ein und das ist wichtig, nichts ist ganz flach und nichts ganz richtig. (Eugen Roth) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pbbuttons with sysfs backlight support
Hi Matthias, Matthias Grimm <[EMAIL PROTECTED]> wrote: > Please try the CVS version and tell me any issues you find. Also > positive feedback is welcome. > > If you are unfamiliar with CVS but nevertheless want to test the > release candidate, please see on > http://sourceforge.net/cvs/?group_id=47862 > > After the source is on your hard disk, run the autogen.sh script in the > main directory. After that 'make' and 'make install' should do the job. gtkpbbuttons% dpkg-buildpackage -uc -rfakeroot -b [...] make[3]: Entering directory `/home/joerg/programmieren/pbbuttons/gtkpbbuttons/po' file=./`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file de.po file=./`echo ca | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -c -o $file ca.po ca.po:205: Anzahl der Formatspezifikationen in »msgid« und »msgstr[1]« stimmt nicht überein /usr/bin/msgfmt: es ist 1 fataler Fehler aufgetreten make[3]: *** [ca.gmo] Fehler 1 make[3]: Leaving directory `/home/joerg/programmieren/pbbuttons/gtkpbbuttons/po' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/home/joerg/programmieren/pbbuttons/gtkpbbuttons' make[1]: *** [all] Fehler 2 pbbuttonsd% ./autogen.sh [...] Running ./configure ... [...] checking pkg-config is at least version 0.9.0... yes checking for PACKAGE... yes ./configure: line 6524: syntax error near unexpected token `1.0.0,' ./configure: line 6524: ` AM_PATH_ALSA(1.0.0, pbb_have_alsa=yes, pbb_have_alsa=no)' Bye, Jörg. -- Es ist außerdem ein weit verbreiteter Irrtum das USENET ‚helfen‘ soll. Tatsächlich wurde USENET nachweislich zur persönlichen Belustigung seiner Erfinder geschaffen. Jörg Klemenz <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pbbuttons with sysfs backlight support
Hi Matthias, Matthias Grimm <[EMAIL PROTECTED]> wrote: > On Mon, 2 Oct 2006 21:38:34 + (UTC) > Jörg Sommer <[EMAIL PROTECTED]> wrote: >> file=./`echo ca | sed 's,.*/,,'`.gmo \ >> && rm -f $file && /usr/bin/msgfmt -c -o $file ca.po >> ca.po:205: Anzahl der Formatspezifikationen in »msgid« und »msgstr[1]« >> stimmt nicht überein >> /usr/bin/msgfmt: es ist 1 fataler Fehler aufgetreten >> make[3]: *** [ca.gmo] Fehler 1 > > Which versions of gettext, autoconf and automake do you use? % gettext --version gettext (GNU gettext-runtime) 0.15 % autoconf --version autoconf (GNU Autoconf) 2.60a % automake --version automake (GNU automake) 1.9.6 > Did you modify any file before starting the package building process? No. >> checking pkg-config is at least version 0.9.0... yes >> checking for PACKAGE... yes >> ./configure: line 6524: syntax error near unexpected token `1.0.0,' >> ./configure: line 6524: ` AM_PATH_ALSA(1.0.0, pbb_have_alsa=yes, >> pbb_have_alsa=no)' > > I can't reproduce this error. Do you have libasound2-dev installed? No. It's not a build dependency. But with it configure still fails, because automake failed, because cvs could not checkout the file NEWS cvs checkout: nothing known about pbbuttons/pbbuttonsd/NEWS With an empty NEWS ./autgen.sh reaches the end, but now dpkg-buildpackage fails. % cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/pbbuttons co -P pbbuttons/pbbuttonsd % cd pbbuttons/pbbuttonsd/ % touch NEWS % NOCONFIGURE=1 ./autogen.sh Copying file po/quot.sed Copying file po/remove-potcdate.sin Making ./aclocal.m4 writable ... Running aclocal ... /usr/share/aclocal/libart.m4:11: warning: underquoted definition of AM_PATH_LIBART run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/share/aclocal/glib.m4:8: warning: underquoted definition of AM_PATH_GLIB configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from... /usr/share/aclocal/lock.m4:231: gl_LOCK_BODY is expanded from... /usr/share/aclocal/lock.m4:25: gl_LOCK is expanded from... /usr/share/aclocal/gettext.m4:569: gt_INTL_SUBDIR_CORE is expanded from... /usr/share/aclocal/gettext.m4:471: AM_INTL_SUBDIR is expanded from... /usr/share/aclocal/gettext.m4:347: AM_GNU_GETTEXT is expanded from... configure.in:109: the top level configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE Running autoheader... configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from... aclocal.m4:2346: gl_LOCK_BODY is expanded from... aclocal.m4:2140: gl_LOCK is expanded from... aclocal.m4:743: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:645: AM_INTL_SUBDIR is expanded from... aclocal.m4:521: AM_GNU_GETTEXT is expanded from... configure.in:109: the top level configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE Running automake --gnu ... configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from... aclocal.m4:2346: gl_LOCK_BODY is expanded from... aclocal.m4:2140: gl_LOCK is expanded from... aclocal.m4:743: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:645: AM_INTL_SUBDIR is expanded from... aclocal.m4:521: AM_GNU_GETTEXT is expanded from... configure.in:109: the top level configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE configure.in: installing `./install-sh' configure.in: installing `./missing' libpbbipc/Makefile.am: installing `./depcomp' configure.in:109: installing `./config.guess' configure.in:109: installing `./config.sub' Makefile.am: installing `./INSTALL' Makefile.am: installing `./COPYING' Running autoconf ... configure.in:109: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from... aclocal.m4:2346: gl_LOCK_BODY is expanded from... aclocal.m4:2140: gl_LOCK is expanded from... aclocal.m4:743: gt_INTL_SUBDIR_CORE is expanded from... aclocal.m4:645: AM_INTL_SUBDIR is expanded from... aclocal.m4:521: AM_GNU_GETTEXT is expanded from... configure.in:109: the top level configure.in:109: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE Skipping configure process. % dpkg-buildpackage -uc -rfakeroot -b Making install in po make[2]: Entering directory `/tmp/pbbuttons/pbbuttonsd/po' /bin/sh @MKINSTALLDIRS@ /tmp/pbbuttons/pbbuttonsd/debian/tmp//usr/share /bin/sh: Can't open @MKINSTALLDIRS@ make[2]: *** [install-data-yes] Fehler 2 make[2]: Leaving directory `/tmp/pbbuttons/pbbuttonsd/po' make[1]: *** [install-recursive] Fehler 1 make[1]: Leaving directory `/tmp/pbbuttons/pbbuttonsd' % grep installd M
Re: pbbuttons with sysfs backlight support
Hallo Matthias, Matthias Grimm <[EMAIL PROTECTED]> wrote: > On Tue, 3 Oct 2006 22:23:31 + (UTC) > Jörg Sommer <[EMAIL PROTECTED]> wrote: > >> cvs checkout: nothing known about pbbuttons/pbbuttonsd/NEWS > > This is really strange because NEWS *is* in the repository. Did you > configure your CVS not to get files with zero length? I did not configure CVS—this might be the problem. >> With an empty NEWS ./autgen.sh reaches the end, but now dpkg-buildpackage >> fails. > > The error log you attached didn't tell me anything and I don't know > what's wrong here. Did configure run without errors or warnings? Yes, configure runs without any errors and warnings. > Sorry for this insufficient answer but I prefer to spend my time to > develop pbbuttonsd rather than the GNU autotools. They should > simply work. ;-) Yes, they should. :-) Frank Lichtenheld built new packages for Debian. I use these and pbbuttons and gtkpbbuttons work good. Have a nice weekend, Jörg. -- MCSE = Minesweeper Consultant & Solitaire Expert -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: xkb-data with support for Mac keyboards into unstable
Hello Denis, Denis Barbier <[EMAIL PROTECTED]> wrote: > Oh, and you could also add Unicode quote characters U201E/U201C > (doublelowquotemark, leftdoublequotemark) to the German layout, > for instance on v/b keys which use to have quotation marks. Or put it on ^ where it is on OS X 10.4: ^ ° „ “ I saw your layout differs very much from the one used by OS X. I don't know how constant the layout from one version to the other is or if Apple change it regulary. Do you wan't to keep compatibility as much as possible? Regards, Jörg. -- Manchmal denke ich, das sicherste Indiz dafür, daß anderswo im Universum intelligentes Leben existiert, ist, daß niemand versucht hat, mit uns Kontakt aufzunehmen. (Calvin und Hobbes) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Problems on boot.
Hallo Javier, Javier Ramirez <[EMAIL PROTECTED]> wrote: > I upgrade debian a couple of days ago. Some of the packages I upgrade > were xorg and pbbuttons. As soon, as pbbuttons install, my powerbook > went black (At the moment I was listening some music)... and the music > started to fade. Use the brightness and volume keys to enlight the screen and turn the music on. > I didn't know what was happening so, I rebooted the computer, the > kernel started to load. Everything seems to be fine, but at the last > moment loads ppbuttons and the screen suddendly turns white and then > black and my powerbook is freezes again. > > I wonder is something wrong in the debian packages? No nothing is wrong. You should change LCD_brightness and Volume in your pbbuttonsd.conf. HTH, Jörg. -- Ein Narr, er sieht die Weisheit nicht selbst wenn sie närrisch zu ihm spricht. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pbbuttonsd gets SIGKILL when suspending
Hi, my pbbuttonsd dies sometimes while suspending the system to RAM. It gets a SIGKILL, but I don't know from where and when. Is it possible to create a coredump upon SIGKILL? How? What could be the reason? It happens not often and I can't reproduce it. But I tend to say it happens often when there were many changes to the file system (apt-get dist-upgrade) and the buffer need the be flushed. Bye, Jörg. -- Two types have compatible type if their types are the same. [ANSI C, 6.2.7] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: pbbuttonsd gets SIGKILL when suspending
Hello Gabriel, Gabriel Paubert <[EMAIL PROTECTED]> wrote: > On Mon, Oct 09, 2006 at 02:34:52PM +0000, Jörg Sommer wrote: >> Hi, >> >> my pbbuttonsd dies sometimes while suspending the system to RAM. It gets >> a SIGKILL, but I don't know from where and when. Is it possible to create >> a coredump upon SIGKILL? How? >> > > What I have seen happening in some cases is that the script > started by pbbuttonsd takes too much time and is killed after > a timeout. Yes, but I'm talking about pbbuttonsd. The daemon died. Does the kernel send under some circumstances SIGKILL to a process? I have no explanation for this. The only thing I know, I hit Shift+Power which triggers the suspend in pbbuttonsd, but the system does not suspend and pbbuttonsd has quit with exit code 137. Bye, Jörg. -- “Computer games don't affect kids. If Pacman would have affected us as children, we would now run around in darkened rooms, munching pills and listening to repetetive music.” -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: acroread
Hello Cédric, Cédric Boutillier <[EMAIL PROTECTED]> wrote: > What can you do with acroread that would not work with kdpf for example ? Presentations. Bye, Jörg. -- And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports on it, you know they are just evil lies. (Linus Torvalds) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: acroread
Hello Cédric, Cédric Boutillier <[EMAIL PROTECTED]> wrote: > On 11/7/06, Jörg Sommer <[EMAIL PROTECTED]> wrote: >> Presentations. > What do you mean by presentations ? The ability to move in/out slide from left, right, upper left edge, … or flap one slide over another. All these effects you can produce with texpower. Bye, Jörg. -- The social dynamics of the net are a direct consequence of the fact that nobody has yet developed a Remote Strangulation Protocol. (Larry Wall) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: acroread
Hello Sven, Sven Luther <[EMAIL PROTECTED]> wrote: > On Thu, Nov 09, 2006 at 12:38:58AM +0000, Jörg Sommer wrote: >> Hello Cédric, >> >> Cédric Boutillier <[EMAIL PROTECTED]> wrote: >> > On 11/7/06, Jörg Sommer <[EMAIL PROTECTED]> wrote: >> >> Presentations. >> > What do you mean by presentations ? >> >> The ability to move in/out slide from left, right, upper left edge, … >> or flap one slide over another. All these effects you can produce with >> texpower. > > BTW, maybe you want to have a look at active-dvi (or advi), whose purpose is > exactly to do presentations in tex. Thanks for this hint. I will have a look. I saw also another tool: keyjnote. But I don't do presentations so often. It will take some time until I can (must) test them. Bye, Jörg. -- A red sign on the door of a physics professor: 'If this sign is blue, you're going too fast.' -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: acroread
Hello Enrique, Enrique Morfin <[EMAIL PROTECTED]> wrote: > In the end, i used kpdf for my presentation. All > worked flawlessly :) > > Now, meybe we need some "pdf-forms writers". AFAIK, you can create PDF forms with LaTeX and hyperref. But don't ask me how. Bye, Jörg. -- Je planmäßiger ein Mensch vorgeht, desto stärker mag ihn der Zufall treffen. Erich Krunau ‚Die Physiker‘ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Adding special character to complete french keymap on macintosh
Salut Étienne, Étienne Bersac <[EMAIL PROTECTED]> wrote: > I publish this symbol map at > http://bersace03.free.fr/pub/Linux/xkb-mac . Can you merge some of these > changes to french or all macintosh keymap ? Send a wishlist bug report to xlibs package. On this list, nobody from the X team sees your request. Bye, Jörg. -- Life can only be understood backwards, but it must be lived forwards. (Soren Kierkegaard) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Airport Extreme Support
Hello Yves-Alexis, Yves-Alexis Perez <[EMAIL PROTECTED]> wrote: > On jeu, 2006-12-14 at 20:48 +, Marco Stagno wrote: >> I'm able to make it works without encryption, but I have several >> troubles >> with WPA (I'm using wpa_supplicant).. it seems the driver doesn't >> support >> something... > > I'm using bcm43xx with wpa_supplicant (WPA2 PSK and WPA2 EAP-TLS) > without problems. Does someone use WPA EAP-TTLS? wpa_supplicant does not connect: http://www.minet.uni-jena.de/~joergs/wlan12.wpa I used this config file http://www.uni-jena.de/Linux_Fedora_Core___Scientific_Linux_4_x_mit_WPA_EAP_TTLS_PAP.html Has anybody similar problems? What might be the reason? Bye, Jörg. -- “Hey, dad, you see how this man can twist his fingers? Amazing, isn't it?” “No, son, not really. He's been using Emacs for ten years…” -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Today dist-upgrade
Hello Justin, Justin Hartman <[EMAIL PROTECTED]> wrote: > Justin Hartman <[EMAIL PROTECTED]> wrote: >> Yves-Alexis Perez wrote: >> > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=404048 >> >> I have read this through many many many times and still have no idea >> what to do to fix this error. Can anyone help me on this list please? > > Ok figured out that if I change my mirrors to ftp.us.debian.org there > was an updated gzip package which fixes this issue on apt-get > dist-upgrade. Or you could look at incoming.debian.org. Sometimes you can find there the package before. 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: New Install Questions
Hallo Aenn, Aenn Seidhe Priest <[EMAIL PROTECTED]> wrote: > On Thu, 22 Feb 2007 15:10:59 -0600, Jack Malmostoso <[EMAIL PROTECTED]> wrote: >> Aenn Seidhe Priest wrote: >>> Debian installer had written the Newworld boot partition and the boot order >>> automatically. > Now the question is, how to dump a Yaboot.conf from an >>> existing boot 2) Install the firmware from the Windows driver using the aforementioned software >>> >>> That is, MacOS X? >> >> No, that is "the Windows driver". You only want the firmware, not some >> executable. > > So the firmware is included in the Windows driver, and there's no way > to directly extract it from the Broadcom card itself? It's not in the card, you must load it into the card, before you can use it. But the bcm43xx-fwcutter package in Debian downloads the driver from the net for you. The only thing you have to do is install the package. Bye, Jörg. -- Pfronten (V.) (Begriff aus dem Reitsport:): Beim Galoppieren in Waldgebieten nicht aufpassen und mit dem Kopf gegen einen Ast prallen. (Douglas Adams, John Lloyd, Sven Boettcher: Der tiefere Sinn des Labenz) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
mol on external disply
Hi, is it possible to make the output of OS X with MOL goes to the external output device (mini DVI) of an iBook G4? I would like to make a presentation about Linux and some OS X details and I don't want to interrupt the presentation to reboot the system. Bye, Jörg. -- Du hast keine Chance – also nutze sie. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Powernowd: fast switch to high speed
Hallo Wolfgang, Wolfgang Pfeiffer <[EMAIL PROTECTED]> wrote: > I removed cpufreqd (due to a, IINM, bug) and installed powernowd: Why did you do that? Is cpufreqd obsolated? Bye, Jörg. -- Je planmäßiger ein Mensch vorgeht, desto stärker mag ihn der Zufall treffen. Erich Krunau ‚Die Physiker‘ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Please unban S. Luther from debian-powerpc@lists.debian.org
Hi David, David Moreno Garza <[EMAIL PROTECTED]> wrote: > On Thu, 2007-08-30 at 20:53 +0900, Charles Plessy wrote: >> nobody retracted his support to his comeback > > How are you so sure about that? > > More people and DDs privately asked listmasters to place the ban again, > than the users asking for the ban to be lifted. Can you give names and numbers? Telling us there where some guys they asked for reinstate the ban of Sven is not very reviewable. Why such decision is not made public? Bye, Jörg. -- > Definiere ‚Demokratie‘ … … eine Mehrheit beweist einer Minderheit, dass Widerstand zwecklos ist. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
pbbuttonsd get SIGTERM while suspending
Hi, sometimes, pbbuttonsd terminates while suspending to ram. It doesn't happen everytime and I can't reproduce it. I've started pbbuttonsd with gdb to see what happens: […] INFO: Script '/etc/power/pmcs-pbbuttonsd powersave ac ' gestartet und normal beendet Program received signal SIGTERM, Terminated. [Switching to Thread 805446496 (LWP 3538)] 0x0fa7bad0 in __nanosleep_nocancel () from /lib/libc.so.6 (gdb) bt #0 0x0fa7bad0 in __nanosleep_nocancel () from /lib/libc.so.6 reading register r1 (#1): No such process. (gdb) I don't know where this SIGTERM comes from. Does the kernel send under special circumstances a SIGTERM? I'm not sure, but I would say this happens after heavy disk access, e.g. after an upgrade, but not everytime. How can I gather more informations? Regards, 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]
Formula for power consumption
Hi, pmu gives the following values: % cat /proc/pmu/battery_0 flags : 0011 charge : 1014 max_charge : 1014 current: 0 voltage: 12289 time rem. : 0 While charging and discharging the current value is non‐zero. Is it correct to calculate the power consumption with current * voltage / 10^6? Bye, Jörg. -- Der Klügere gibt nach … … deshalb regieren die Dummen die Welt! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: radeon driver updates for mac laptops
Hi, I would like to give some feedback. Alex Deucher <[EMAIL PROTECTED]> wrote: > Those of you with radeon based mac laptops please test the latest code > in that ati git tree. I recently added connector table and quirk > information for mac laptops. You will need at least xserver 1.3 and a > recent version of xrandr (1.2.2 preferred) to test. I've an iBook G4 and have installed the ati driver from Debian experimental. (Nearly) All works fine. I didn't had to add the MacModel option to xorg.conf and only had to remove the HorizSync and VertRefresh entries from the device sections of the internal display. I can switch the external monitor on and off, can change the resolution and arrange the displays side by side. But I couldn't change the maximum screen size and even though /var/log/Xorg.0.log tells it is 2048x1200 xrandr tells me something different. % grep 'Max d' /var/log/Xorg.0.log (II) RADEON(0): Max desktop size set to 2048x1200 % xrandr -q |head -n1 Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024 So I reduced the resolution of both displays and placed the external below the internal. It worked. I can acknowlage the problem with the mouse pointer—it is flipped, it looks like an endianess problem. And turning off the internal display is not a good idea. I becomes destroyed and it looks awesome. % cat /proc/cpuinfo processor : 0 cpu : 7455, altivec supported clock : 606.00MHz revision: 0.3 (pvr 8001 0303) bogomips: 36.73 timebase: 18432000 platform: PowerMac machine : PowerBook6,3 motherboard : PowerBook6,3 MacRISC3 Power Macintosh detected as : 287 (iBook G4) pmac flags : 001b L2 cache: 256K unified pmac-generation : NewWorld % xrandr --version Server reports RandR version 1.2 % xrandr --properties Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1024 x 1024 LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 246mm x 184mm EDID_DATA: 00000610129c01010101 000c0103801912780a810595574a8a26 22505400080001010101010101010101 01010101010164190040410026301888 3600f6b8001800fe004c544e 31323158312d4c30320a00fe004c 544e31323158312d4c30320a00fc 00436f6c6f72204c43440a2020200093 scaler: full backlight: 255 (0x00ff) range: (0,255) 1024x768 60.0*+ 800x60060.3 640x48059.9 VGA-0 connected 1024x768+0+0 (normal left inverted right x axis y axis) 300mm x 225mm EDID_DATA: 00002c93c2061c8d052e 1c0701000d1f1700e800b2a057499b26 10484e008180 f82a00c05100244028b8 13002ce1101e 0037 load_detection: 0 (0x) range: (0,1) 1024x768 75.1*70.1 60.0 43.5 832x62474.6 800x60072.2 75.0 60.3 56.2 640x48075.0 72.8 66.7 60.0 59.9 720x40087.8 70.1 S-video disconnected (normal left inverted right x axis y axis) tv_standard: ntsc tv_vertical_position: 0 (0x) range: (-5,5) tv_horizontal_position: 0 (0x) range: (-5,5) tv_horizontal_size: 0 (0x) range: (-5,5) load_detection: 0 (0x) range: (0,1) Bye and much thanks to all for making this work, Jörg. -- [dpkg] We are the apt. Resistance is futile. You will be packaged. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: radeon driver updates for mac laptops
Hi Alex, I did confuse the config files in my last test. So, forget everything I said. Alex Deucher schrieb am Wed 03. Oct, 22:34 (-0400): > On 10/3/07, Jörg Sommer <[EMAIL PROTECTED]> wrote: > > Alex Deucher schrieb am Tue 02. Oct, 13:35 (-0400): > > > On 10/2/07, Jörg Sommer <[EMAIL PROTECTED]> wrote: > > > > Alex Deucher <[EMAIL PROTECTED]> wrote: > > > > > Those of you with radeon based mac laptops please test the latest code > > > > > in that ati git tree. I recently added connector table and quirk > > > > > information for mac laptops. You will need at least xserver 1.3 and a > > > > > recent version of xrandr (1.2.2 preferred) to test. > > > > > > > > I've an iBook G4 and have installed the ati driver from Debian > > > > experimental. (Nearly) All works fine. I didn't had to add the MacModel > > > > option to xorg.conf and only had to remove the HorizSync and VertRefresh > > > > entries from the device sections of the internal display. > > > > > > hmmm, so it worked out of the box without a ConnectorTable option or > > > MacModel option? No. I must add the MacModell ibook option. Otherwise the external connector didn't work. > Regarding the panel issue you mentioned, if you set option "MacModel" > "ibook" does turning off the panel work properly? No. To illustrate what I mean with “becomes destroyed” I made some images. http://www.minet.uni-jena.de/~joergs/ibook/ The “damage” happens also when starting and stopping the X server while the external monitor is plugged in. If it's unplugged, the screen stays black until the window manager comes up. I've put also my xorg.conf and Xorg.log there. Bye, Jörg. -- Die beste Tarnung ist die Wahrheit. Die glaubt einem keiner! (Max Frisch: ‚Biedermann und die Brandstifter‘) pgp6gjEHjfi7k.pgp Description: PGP signature
Re: radeon driver updates for mac laptops
Hi Alex, Alex Deucher schrieb am Thu 04. Oct, 14:13 (-0400): > On 10/4/07, Jörg Sommer <[EMAIL PROTECTED]> wrote: > > Alex Deucher schrieb am Wed 03. Oct, 22:34 (-0400): > > > Regarding the panel issue you mentioned, if you set option "MacModel" > > > "ibook" does turning off the panel work properly? > > > > No. To illustrate what I mean with "becomes destroyed" I made some > > images. http://www.minet.uni-jena.de/~joergs/ibook/ > > > > The "damage" happens also when starting and stopping the X server while > > the external monitor is plugged in. If it's unplugged, the screen stays > > black until the window manager comes up. > > Does dpms off (xset dpms --force off) work properly on LVDS or does it > do the same thing? It does the same thing. The screen gets bright (it looks like backlight level 100%) and then the colors fade away. The sam happens before suspend to ram. Bye, Jörg. -- > Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die > Vorteile gegenueber Linux und iptables? Der Fuchsschwanzeffekt ist größer. :-> Message-ID: <[EMAIL PROTECTED]> pgpjETNBXxpnJ.pgp Description: PGP signature
Suspend to RAM on iBook with 2.6.24 doesn't work
Hi, I've an iBook G4 800MHz. When suspending to RAM my iBook (with pbbuttons) the system switches to an empty console (coming from X) and stays. Noting happens. It looks like the suspend instruction doesn't work. The capslock key works, but others do not—I didn't check the numlock key. I can't switch back to the first console or X. Does anyone else can confirm this problem? Bye, Jörg. -- chinesiches Sprichwort: Wer fragt, ist ein Narr für fünf Minuten. Wer nicht fragt, ist ein Narr fürs ganze Leben. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Suspend to RAM on iBook with 2.6.24 doesn't work
Hallo, Elimar Riesebieter <[EMAIL PROTECTED]> wrote: > On Fri, 09 Nov 2007 the mental interface of > Jörg Sommer told: > >> I've an iBook G4 800MHz. When suspending to RAM my iBook (with pbbuttons) >> the system switches to an empty console (coming from X) and stays. Noting >> happens. It looks like the suspend instruction doesn't work. The capslock >> key works, but others do not???I didn't check the numlock key. I can't >> switch back to the first console or X. >> >> Does anyone else can confirm this problem? > > 2.6.24-rc2-git5: I use 2.6.24-rc3 and now suspend and resume works without unloading the modules before suspending. But I've a very high cpu load from hardware interrupts. % diff <(cat /proc/interrupts) <(sleep 2; cat /proc/interrupts) --- /proc/self/fd/112007-11-18 13:02:25.204839099 +0100 +++ /proc/self/fd/132007-11-18 13:02:25.228832847 +0100 @@ -1,16 +1,16 @@ CPU0 21: 1 MPIC 1Edge PMac Output 24: 68 MPIC 1Level ide1 - 25:1337463 MPIC 1Level VIA-PMU + 25:1337690 MPIC 1Level VIA-PMU 26:378 MPIC 1Level keywest i2c 29: 1 MPIC 1Level ohci_hcd:usb2 30: 1 MPIC 1Edge PMac Input 39: 249347 MPIC 1Level ide0 40: 3 MPIC 1Level ohci1394 41: 3454 MPIC 1Level eth0 - 42: 30782 MPIC 1Level keywest i2c - 47: 22021 MPIC 1Level GPIO1 ADB - 48: 23892 MPIC 1Level [EMAIL PROTECTED]::00:10.0 + 42: 30800 MPIC 1Level keywest i2c + 47: 22049 MPIC 1Level GPIO1 ADB + 48: 24014 MPIC 1Level [EMAIL PROTECTED]::00:10.0 61: 0 MPIC 1Edge Sound Headphone Detection 63: 94237 MPIC 1Level ehci_hcd:usb1, ohci_hcd:usb3, ohci_hcd:usb4 BAD: 0 > b43 works (wpa_supplicant, WPA2): I'll try this tomorrow, but I hope it works. BTW: Where can I report such bugs? Here: LINUX FOR POWERPC P: Paul Mackerras M: [EMAIL PROTECTED] W: http://www.penguinppc.org/ L: [EMAIL PROTECTED] T: git kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc.git S: Supported Bye, Jörg. -- “Perl—the only language that looks the same before and after RSA encryption.” (Keith Bostic) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: getting wireless and dvi out (clone mode) to work on iBook G4 - help needed, plz
Hello P, P Kapat <[EMAIL PROTECTED]> wrote: >> On Fri, Nov 23 2007, at 09:55 +0100, Michel Dänzer wrote: >> > Note that hotplugging a monitor per se isn't expected to have any direct >> > effect; something like >> > >> > xrandr --output DVI-0 --auto > > I don't actually need to do this, but if I do (note for my case: the > output is VGA-0 instead of DVI-0: "xrandr --output VGA-0 --auto"), I > get a higer resolution (1280x1024) external monitor display; where my > iBook's LCD is 1024x768 max. This projects the iBook's LCD screen to > the 1024x768 block on the upper-left corner of the 1280x1024 external > monitor - resulting in empty-but-accessable strips on the right and > bottoom edge of the external monitor. How do I get back to 1024x768 > resolution on the external display? xrandr --output VGA-0 --mode 1024x786 Have a nice day, Jörg. -- Erfahrung heißt gar nichts. Man kann seine Sache auch 35 Jahre schlecht machen. (Kurt Tucholsky) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Suspend to RAM on iBook with 2.6.24 doesn't work
Hallo Elimar, Elimar Riesebieter <[EMAIL PROTECTED]> wrote: > On Sun, 18 Nov 2007 the mental interface of > Jörg Sommer told: >> I use 2.6.24-rc3 and now suspend and resume works without unloading the >> modules before suspending. But I've a very high cpu load from hardware >> interrupts. > > Confirmed, Huu, up to 70 % but no fan runs at high speed? > $ cat /sys/devices/temperatures/sensor1_temperature > 41 > >> BTW: Where can I report such bugs? Here: >> >> LINUX FOR POWERPC >> P: Paul Mackerras >> M: [EMAIL PROTECTED] >> W: http://www.penguinppc.org/ >> L: [EMAIL PROTECTED] > > Of course yes;) Today, Tony Breeds posted a patch on this list and it solves the problem at me: diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c index 41e13f4..b9d8837 100644 --- a/arch/powerpc/kernel/process.c +++ b/arch/powerpc/kernel/process.c @@ -350,7 +350,7 @@ struct task_struct *__switch_to(struct task_struct *prev, local_irq_save(flags); account_system_vtime(current); - account_process_tick(current, 0); + account_process_vtime(current); calculate_steal_time(); last = _switch(old_thread, new_thread); Bye, Jörg. -- Wer einen Traum verwirklichen will, muss erst aufwachen. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Flash viewer for PPC Etch
Hello Roy, Roy Butler <[EMAIL PROTECTED]> wrote: > http://www.youtube.com/ > > Is there a different plugin which would work or do I potentially have > some settings wrong somewhere? Sorry, I can't answer your question, but maybe youtube-dl and clive help you. Bye, Jörg. -- Professor: ‚Gott‘, unverständliches und mythisches Wesen, das sich einmal pro Woche im Kreis der Sterblichen manifestiert um Weisheit auf Folien unter das Volk zu bringen.(Dschungelbuch 11, FSU Jena) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: Suspend to RAM on iBook with 2.6.24 doesn't work
Hallo Elimar, Elimar Riesebieter <[EMAIL PROTECTED]> wrote: > On Tue, 04 Dec 2007 the mental interface of > Jörg Sommer told: > >> Elimar Riesebieter <[EMAIL PROTECTED]> wrote: >> > On Sun, 18 Nov 2007 the mental interface of >> > Jörg Sommer told: >> >> I use 2.6.24-rc3 and now suspend and resume works without unloading the >> >> modules before suspending. But I've a very high cpu load from hardware >> >> interrupts. >> > >> > Confirmed, Huu, up to 70 % but no fan runs at high speed? >> > $ cat /sys/devices/temperatures/sensor1_temperature >> > 41 >> > >> >> BTW: Where can I report such bugs? Here: >> >> >> >> LINUX FOR POWERPC >> >> P: Paul Mackerras >> >> M: [EMAIL PROTECTED] >> >> W: http://www.penguinppc.org/ >> >> L: [EMAIL PROTECTED] >> > >> > Of course yes;) >> >> Today, Tony Breeds posted a patch on this list and it solves the problem >> at me: >> diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c >> index 41e13f4..b9d8837 100644 >> --- a/arch/powerpc/kernel/process.c >> +++ b/arch/powerpc/kernel/process.c >> @@ -350,7 +350,7 @@ struct task_struct *__switch_to(struct task_struct *prev, >> local_irq_save(flags); >> >> account_system_vtime(current); >> - account_process_tick(current, 0); >> + account_process_vtime(current); >> calculate_steal_time(); >> >> last = _switch(old_thread, new_thread); > > Why only the half of the patch [0] ? The rest of the patch is code beautifying. > [0] http://ozlabs.org/pipermail/linuxppc-dev/2007-December/047428.html Thanks for this link. Bye, Jörg. -- Two types have compatible type if their types are the same. [ANSI C, 6.2.7] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: command line wirelss config [was: How to speed up your Mac.]
Hello P, P Kapat <[EMAIL PROTECTED]> wrote: > ok, i need more help... has anyone successfully used ifup / ifdown / > wpa_supplicant method to access wireless network from the command > line?? Yes. I use ifup eth1 and some seconds later I get the interface up. > On 12/5/07, Bin Zhang <[EMAIL PROTECTED]> wrote: >> On Dec 5, 2007 4:18 PM, P Kapat <[EMAIL PROTECTED]> wrote: >> > i think it is better to start a new thread... >> > >> > On 12/1/07, Bin Zhang <[EMAIL PROTECTED]> wrote: >> > > On Dec 1, 2007 5:15 PM, P Kapat <[EMAIL PROTECTED]> wrote: >> > > > How about the wireless? Is there any command >> > > > line version for NetworkManger? In Gnome, KDE we have either nm-applet >> > > > or network-manager-kde I have been playing around with iwconfig >> > > > and iwlist but didn't meet with any success. >> > > >> > > You can configure it in /etc/network/interfaces and use >> > > # ifup "interface_name" >> > > and >> > > # ifdown "interface_name" >> > >> > noting that I need to access WPA encrypted wireless networks, do I >> > need the wpa_supplicant after this? Some more details on the whole >> > process will be very much appreciated... >> >> You can Install package wpasupplicant and read >> /usr/share/doc/wpasupplicant/README.modes.gz and >> /usr/share/doc/wpasupplicant/examples/ > > i currently have the following in /etc/network/interfaces > ## > auto lo > iface lo inet loopback > allow-hotplug eth1 eth2 > iface eth1 inet dhcp > > # my wirelss interface is eth2; and what is this wpa-driver??? > iface eth2 inet manual > wpa-driver wext wext is correct. > wpa-roam /etc/wpa_supplicant.conf > > iface default inet dhcp > > iface work inet dhcp > > > and the following in /etc/wpa_supplicant.conf > > ctrl_interface=/var/run/wpa_supplicant > network={ > ssid="workssid" > id_str="work" Your interfaces misses a rule for work. This is my wpa_supplicant.conf: ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=1 # fast_reauth=1 ### Associate with any open access point ### Scans/ESSID changes can be done with wpa_cli network={ ssid="802.1X" id_str="fsu_dhcp" # this is passed to ifup eth1=fsu_dhcp proto=WPA key_mgmt=WPA-EAP pairwise=CCMP TKIP group=TKIP eap=TTLS anonymous_identity="[EMAIL PROTECTED]" identity="" password="" ca_cert="/etc/ssl/certs/FSU.pem" phase2="auth=PAP" priority=4 } And this is my /etc/network/interfaces: iface eth1 inet manual wpa_roam /home/joerg/.etc/wpa_supplicant.conf wpa_driver wext iface fsu_dhcp inet dhcp down env interface=eth1 /etc/udhcpc/default.deconfig Bye, Jörg. -- Mancher Hahn meint, dass die Sonne seinetwegen aufgeht. (Theodor Fontane) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: yaboot grey screen on both OS X and Debian
Hi Steven, Steven DuBois <[EMAIL PROTECTED]> wrote: > I attempted to install Debian on my Dual G5 Power Mac and everything > appeared to go fine, except when i tried to booth Linux and OS X from > yaboot, both just left me a grey screen. Can you press Ctrl+Apple+v immediatly after the yaboot prompt is gone? This should give you the output what OS X is doing. Bye, Jörg. -- Es liegt in der Natur des Menschen, vernünftig zu denken und unlogisch zu handeln! Das Gesagte ist nicht das Gemeinte und das Gehörte nicht das Verstandene! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: SysRq key on iBook
Hello Thomas, Thomas Constans wrote: > Le mardi 10 février 2009 à 12:28 +, Rafal Czlonka a écrit : >> Hi, >> >> I've been doing some searching a while ago and didn't manage to find the >> solution to my problem. >> The system's running smoothly for a long time but if it freezes I'd like >> to use SysRq key on my iBook G4. >> >> Is there any way I can use SysRq key on my iBook without recompiling the >> kernel first? > > > If you are using a stock debian kernel, sysrq should be on. Check out > existence of file /proc/sys/kernel/sysrq and its content (should be 1) > > btw, i am still wondering how to enter sysrq sequences on my ibook g4 I would say this is the more interesting question. AFAIK, sysrq is not bound to a key or key combination on the iBook keyboard. Please, tell me I'm wrong. :) Bye, Jörg. -- Dummheit anprangern ist ungefährlich, weil sich niemand angegriffen fühlt. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: ibook G4 why wireless running slowly
Hello stephen, stephen sefick wrote: > My mac is on the wireless network and it is running much faster than > the debian linux power pc and both have the airport extreme cards > installed. I am upgrading to lenny as we speak. Does anyone have any > suggestions. Yes, try again after upgrade. The kernel in Lenny has a much improved driver for the wireless card. You should get much better results than before. Bye, Jörg. -- Stasi 2.0 – http://www.dataloo.de/stasi-20-525.html -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Does someone use grub?
Hi, does someone of you use grub on PowerPC? I thought about replacing yaboot by grub, but a deeper look showed I have to do stuff by hand, i.e. it misses a default configuration. Is it worth to do it? Is grub better than yaboot? Can grub boot OS X and from CD, i.e. that what enablecdboot in yaboot offers? I found this page containing some informations in the net: http://grub.enbug.org/TestingOnPowerPC Bye, Jörg. -- Stasi 2.0 – http://www.dataloo.de/stasi-20-525.html -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Bug#520763: hwclock: NVRAM flat battery sets date to 1904
Hi, Mark Purcell hat am Sat 16. May, 14:57 (+1000) geschrieben: > This is a common problem on powerpc ibook's once the NVRAM battery goes flat. > > Apparently this has been discussed with upstream: > https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/23426/comments/18 > > Mark > > > This patch is a quick hack, but you get the idea: > > --- hwclockfirst.sh.orig2009-05-16 14:26:54.0 +1000 > +++ hwclockfirst.sh 2009-05-16 14:23:11.0 +1000 > @@ -38,6 +38,12 @@ > . /lib/lsb/init-functions > verbose_log_action_msg() { [ "$VERBOSE" = no ] || log_action_msg "$@"; } > > +if `/sbin/hwclock | /bin/grep -q 1904`; then > + log_warning_msg "NVRAM Battery Clock flat (date 1904)" > + log_action_msg "Setting hwclock date to 2009-5-16" > + hwclock --set --date 2009-5-16 > +fi > + I would much more prefer to get prompted for the correct time, because with a wrong time fsck fail due to the last fsck is in the future. But I don't know how to do prompting in init scripts correctly. And to guess if the hardware clock is wrong I think we can look at the installation time of the module directory of the kernel. /boot/vmlinux-$(uname -r) is possible, too. I propose this patch: --- /etc/init.d/hwclockfirst.sh 2009-04-18 01:03:46.0 +0200 +++ hwclockfirst.sh 2009-05-16 17:52:48.675695938 +0200 @@ -73,7 +73,17 @@ NOADJ="" fi - if [ "$FIRST" != yes ]; then + if [ "$FIRST" = yes ]; then +date_of_mod_dir=$(stat --format=%X /lib/modules/"$(uname -a)") +date_of_hwclock=$(date --date="$(hwclock --show $GMT \ + $HWCLOCKPARS $BADYEAR)" +%s) +if [ "$date_of_hwclock" -lt "$date_of_mod_dir" ]; then +log_begin_msg 'Please provide the current time as "mmdd hhmm": ' +read time && \ + test -n "$time" && \ + hwclock --set --date="$time" $GMT $HWCLOCKPARS $NOADJ +fi +else # Uncomment the hwclock --adjust line below if you want # hwclock to try to correct systematic drift errors in the # Hardware Clock. Bye, Jörg. -- Manchmal denke ich, das sicherste Indiz dafür, daß anderswo im Universum intelligentes Leben existiert, ist, daß niemand versucht hat, mit uns Kontakt aufzunehmen. (Calvin und Hobbes) signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Re: Does someone use grub?
Hi, Jörg Sommer wrote: > does someone of you use grub on PowerPC? I thought about replacing yaboot > by grub, but a deeper look showed I have to do stuff by hand, i.e. it > misses a default configuration. Is it worth to do it? Is grub better than > yaboot? Yes, it has ext4 support. :) > Can grub boot OS X and from CD, i.e. that > what enablecdboot in yaboot offers? Maybe, but I found a better way. Installing grub isn't as difficult as I thought, if you know what to do. So I want to give a short explanation what I did. 1. install the package grub-ieee1275 2. if you don't get the file /boot/grub/grub, you have to build it with % grub-mkelfimage -o /boot/grub/grub -v \ $(cd /usr/lib/grub/powerpc-ieee1275/; echo *.mod |sed s/.mod//g) You can create a smaller grub image if necessary by only using the modules you really needed for accessing /boot/grub, i.e. not the modules for foreign filesystems. 3. install grub on the boot partition by % hmount /dev/hda2 % hcopy /boot/grub/grub : % humount or if your kernel supports hfs mount the filesystem directly and copy the file there. 4. a) If you only want to use grub, nothing else, you can try to boot grub from OpenFirmware. Reboot the machine and press Option + Command + o + f. At the OpenFirmware prompt enter 0> boot hd:2,grub prefix=(hd,4)/boot/grub while 2 is the partition number of the filesystem where you placed grub on and 4 is the partition number of your root filesystem resp. the filesystem that contains /boot/grub/grub.cfg. If grub starts and you can boot Linux, you can make this the default setting. # nvsetenv boot-device "hd:2,grub prefix=(hd,4)/boot/grub" b) If you want to boot OS X or have a nice menu where you can select to boot from cd, you can use the OpenFirmware boot file below and boot hd:2,\:tbxi. It's the boot file of yaboot a little bit modified. With this you can still use yaboot, if you want. Place the file on the boot partition. It assumes OS X is installed on hda3. % hmount /dev/hda2 % hcopy ofboot.b : % humount If you used yaboot until now, you have nothing to do, otherwise you should set the boot device to # nvsetenv boot-device 'hd:2,\:tbxi' The grub version 1.96+20090603-2 has a bug which causes grub doesn't find the root filesystem. #533898 I've worked around this bug with this patch for /etc/grub.d/10_linux. It removes the (re‐)setting of the variable root. diff --git a/grub.d/10_linux b/grub.d/10_linux index c642b77..a4098b0 100755 --- a/grub.d/10_linux +++ b/grub.d/10_linux @@ -93,7 +93,7 @@ linux_entry () cat << EOF menuentry "$1" { EOF - prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" +# prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" cat << EOF linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro $2 EOF This way I've got grub running on my iBook G4 (PowerBook6,3). Bye, Jörg. The file ofboot.b: MacRISC MacRISC3 MacRISC4 PowerPC GNU/Linux First Stage Bootstrap : .printf fb8-write drop ; : bootgrub " Loading grub..." .printf 100 ms load-base release-load-area " /p...@f400/at...@d/d...@0:2,\\grub prefix=(hd,4)/boot/grub" $boot ; : bootyaboot " Loading yaboot..." .printf 100 ms load-base release-load-area " /p...@f400/at...@d/d...@0:2,\\yaboot" $boot ; : bootmacosx " Booting MacOSX..." .printf 100 ms load-base release-load-area " /p...@f400/at...@d/d...@0:3,\\:tbxi" $boot ; : bootcd " Booting CDROM..." .printf 100 ms load-base release-load-area " cd:,\\:tbxi" $boot ; : bootof " Booting OpenFirmware..." .printf 100 ms quit ; " screen" output variable interactive 1 interactive ! 0 interactive @ = if bootgrub then dev screen " "(00aa00aaaaaa005500aa)" drop 0 7 set-colors " "(55ff55ffffff55ff55ff)" drop 8 15 set-colors device-end f to foreground-color 0 to background-color " "(0C)" .printf " First Stage GNU/Linux Bootstrap"(0d 0a)" .printf " "(0d 0a)" .printf " Press l for GNU/Linux with grub,"(0d 0a)" .printf " y for GNU/Linux with yaboot,"(0d 0a)" .printf " x for MacOSX,"(0d 0a)" .printf " c for CDROM,"(0d 0a)" .printf " o for OpenFirmware."(0d 0a)" .printf " "(0d 0a)" .printf " Stage 1 Boot: " .printf get-msecs d# 3 3E8 * + begin key? if key case ascii l of " l "(0d 0a)" .printf bootgrub endof ascii y of " y "(0d 0a)" .printf bootyaboot endof ascii x of "
Re: Regarding GRUB 2
Hello Rogério, Rogério Brito wrote: > On Feb 21 2009, Michel Dänzer wrote: >> The HFS filesystem module fails to read some files, in particular files with >> an underscore in the filename. This makes GRUB2 unable to load _linux.mod >> from an HFS filesystem, making it hard for PowerPC Mac users to migrate from >> yaboot to GRUB2. > (...) > > What are your experiences with grub-ieee1275? Since I've figured out how to get it running [1], it works like a charm. … eemm, not fully, after an kernel update, you have to run update-grub manually, but that's it. [1] http://lists.debian.org/debian-powerpc/2009/06/msg00064.html > I'm still keeping an installation of MacOS X 10.4 on my iBook G3 and I > would like to keep it. It's possible, pretty much the same like on yaboot. Or you can use os-prober, but I didn't and doesn't know if it works. Bye, Jörg. -- “UNIX was not designed to stop people from doing stupid things, because that would also stop them from doing clever things.” (Doug Gwyn) -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Regarding GRUB 2
Hello Michel, Michel Dänzer wrote: > On Sun, 2009-09-06 at 09:49 +0000, Jörg Sommer wrote: >> >> Rogério Brito wrote: >> > On Feb 21 2009, Michel Dänzer wrote: >> >> The HFS filesystem module fails to read some files, in particular files >> >> with >> >> an underscore in the filename. This makes GRUB2 unable to load _linux.mod >> >> from an HFS filesystem, making it hard for PowerPC Mac users to migrate >> >> from >> >> yaboot to GRUB2. >> > (...) >> > >> > What are your experiences with grub-ieee1275? >> >> Since I've figured out how to get it running [1], it works like a charm. … >> eemm, not fully, after an kernel update, you have to run update-grub >> manually, but that's it. > > I have > > postinst_hook = update-grub2 > postrm_hook = update-grub2 > > in /etc/kernel-img.conf for that. I'm using scripts underneath /etc/kernel/ and I think the grub package should provide such scripts. > So the search commands in the generated grub.cfg aren't causing problems > for you? No, they cause problems: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533898 But I use this patch: diff --git a/grub.d/10_linux b/grub.d/10_linux index c642b77..a4098b0 100755 --- a/grub.d/10_linux +++ b/grub.d/10_linux @@ -93,7 +93,7 @@ linux_entry () cat << EOF menuentry "$1" { EOF - prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" +# prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" cat << EOF linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro $2 EOF Bye, Jörg. -- > Definiere ‚Demokratie‘ … … eine Mehrheit beweist einer Minderheit, dass Widerstand zwecklos ist. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Regarding GRUB 2
Hallo Michel, Michel Dänzer wrote: > On Thu, 2009-09-10 at 09:38 +0000, Jörg Sommer wrote: >> >> Michel Dänzer wrote: >> > >> > So the search commands in the generated grub.cfg aren't causing problems >> > for you? >> >> No, they cause problems: >> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533898 > > Not sure that's the same/only problem - the grub commands in your report > produce hd without trailing 0 here, even though the ofpathname output is > identical. But the generated search commands still don't work nor seem > necessary at boot time. > > (Bug report BCC'd) > > >> But I use this patch: >> >> diff --git a/grub.d/10_linux b/grub.d/10_linux >> index c642b77..a4098b0 100755 >> --- a/grub.d/10_linux >> +++ b/grub.d/10_linux >> @@ -93,7 +93,7 @@ linux_entry () >>cat << EOF >> menuentry "$1" { >> EOF >> - prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" >> +# prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/\t/" >>cat << EOF >> linux ${rel_dirname}/${basename} >> root=${linux_root_device_thisversion} ro $2 >> EOF > > Ah right, I think I tried this before, but the > > set root=(hd,5) > > commands generated by the same line turned out to be necessary here. I might unconsciously work around this problem by passing a prefix option to grub nvsetenv boot-device "hd:2,grub prefix=(hd,4)/boot/grub" This might make the root unnecessary. Bye, 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 debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Re: Partition and Boot loader for Squeeze on G4
Hello Frédéric, Frédéric Massot wrote: > 4 years ago, I installed Debian with a software RAID 1 on a G4 for an > LDAP server. In the end, I did not use the G4 and it remained in a > closet. I would again make use of this G4 server with a software RAID 1 > and LVM, I use the Squeeze installer. > > - Is it always to be given at the beginning of the hard drives the two > partitions "Apple_partition_map" and "Apple_Bootstrap"? > > - Is that still uses Yaboot or Squeeze uses grub2 ? I recommend grub2, but I'm not sure if the Squeeze installer supports grub2. Bye, Jörg. -- $ cat /dev/random #!/usr/bin/perl -WT print "hello world\n"; -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrnhtb1fo.1h5.jo...@alea.gnuu.de
Re: Kernel 2.6.35-rc1
Hello Elimar, Elimar Riesebieter wrote: > did one try 2.6.35-rc1.? Yes, me. > I compiled one with make oldconfig (working 2.6.34's) and after booting > fron yaboot there is only a black screen. After a while the dong gives > me signal that the machine is rebooting. At me, it dies with a backtrace and “attempt to kill init.” > Thanks for hints. Maybe you try the new ramoops. That's what I plan to do to investigate my kernel panic. Bye, Jörg. -- Damit das Mögliche entsteht, muß immer wieder das Unmögliche versucht werden. (Hermann Hesse) -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrni0hibs.24b.jo...@alea.gnuu.de
Re: Kernel 2.6.35-rc1
Hallo Elimar, Elimar Riesebieter wrote: > * Jörg Sommer [100604 09:38 +] >> Elimar Riesebieter wrote: >> > did one try 2.6.35-rc1.? >> >> Yes, me. For the record, 2.6.35-rc2 still fails to boot. Has anyone an idea how to invetigate these ugly kernel crashes on boot up. Netconsole doesn't work, because the NIC isn't up and ready at the time of the crash. My iBook lacks a serial port and USB isn't up and ready, too. >> > I compiled one with make oldconfig (working 2.6.34's) and after booting >> > fron yaboot there is only a black screen. After a while the dong gives >> > me signal that the machine is rebooting. >> >> At me, it dies with a backtrace and ???attempt to kill init.??? >> >> > Thanks for hints. >> >> Maybe you try the new ramoops. That's what I plan to do to investigate my >> kernel panic. > > How can the RAM be readed after saving an oops/panic to it? There should be a tool, but you can read it from /dev/mem, too. But as far as I read about this new feature on the net, it is only for special devices they preserve somehow the memory content. General purpose machines don't have this feature. I suspect these devices have a kind of nvram where the oops log is saved. Bye, Jörg. -- Das Recht, seine Meinung zu wechseln, ist eines der wichtigsten menschlichen Privilegien. (Robert Peel) -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrni15du0.hil.jo...@alea.gnuu.de
Is Open Firmware prompt slower than 9600? (Bug#586953)
Hi, Vladimir 'φ-coder/phcoder' Serbinenko hat am Tue 20. Jul, 14:56 (+0200) geschrieben: > On 07/11/2010 09:58 PM, Jörg Sommer wrote: > > grub2 (1.98+20100705-1) unstable; urgency=medium > >> . > >>* New Bazaar snapshot. > >> - Bidi and diacritics support. > >>+ Use terminfo for ieee1275 terminals (closes: #586953). > >> > > I'm sorry, but this doesn't fix my problem. I've installed and run this > > new release, but I still have the problem that the commandline or editing > > mode is left, when I hold down an arrow key. > > > > > I think that for some reason your ieee1275 is slower than the nominal > 9600. Does someone else experienced that the Open Firmware prompt is very slow? Is it possible to adjust this? From the bug report: > when switch to the editing mode or the commandline mode from the menu and > hold down an arrow key, e.g. right arrow to move to the end of line, the > editing mode quits and I'm back to the menu. > > To me it looks like the arrow keys send multi‐character sequences > starting with an escape character. The escape character is used to leave > the editing mode, hence the escape is misinterpreted when the key is held > down. Regads, Jörg. -- Was der Bauer nicht kennt, das frisst er nicht. Würde der Städter kennen, was er frisst, er würde umgehend Bauer werden. Oliver Hassencamp signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Re: O: mol
Hello Gaudenz, Gaudenz Steinlin hat am Fri 06. Aug, 22:01 (-0400) geschrieben: > As I no longer use Mac-on-Linux for myself and I no longer regularly use > my powerpc machine I'm orphaning mol. Me too. > Formally mol is team maintained by the MOL Packaging Team, but beside > very few one time contributions no one other than me ever did any > packaging work since the team was created. > > If noone steps up to take over the maintenance of MOL in the next week, > I will send removal requests to ftpmaster for mol and the related > driver packages. A big problem is that MOL does require a patched kernel, i.e. the module can't be built without patching the kernel itself. There was some work upstream to get MOL into the mainline kernel, but it seems to have died. Maybe Greg Kroah-Hartman would help, but I think the interest in MOL is near zero. Hence, I second the request to orphan MOL and remove it from Debian. Bye, Jörg. -- [dpkg] We are the apt. Resistance is futile. You will be packaged. signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
Re: Is Open Firmware prompt slower than 9600? (Bug#586953)
Hi Vladimir, Vladimir 'φ-coder/phcoder' Serbinenko hat am Sat 04. Sep, 17:59 (+0200) geschrieben: > On 07/27/2010 06:42 PM, Jörg Sommer wrote: > > Hi, > > > > Vladimir 'φ-coder/phcoder' Serbinenko hat am Tue 20. Jul, 14:56 (+0200) > > geschrieben: > > > >> On 07/11/2010 09:58 PM, Jörg Sommer wrote: > >> > >>> grub2 (1.98+20100705-1) unstable; urgency=medium > >>> > >>>> . > >>>>* New Bazaar snapshot. > >>>> - Bidi and diacritics support. > >>>>+ Use terminfo for ieee1275 terminals (closes: #586953). > >>>> > >>>> > >>> I'm sorry, but this doesn't fix my problem. I've installed and run this > >>> new release, but I still have the problem that the commandline or editing > >>> mode is left, when I hold down an arrow key. > >>> > >>> > >>> > >> I think that for some reason your ieee1275 is slower than the nominal > >> 9600. > >> > > Does someone else experienced that the Open Firmware prompt is very > > slow? Is it possible to adjust this? > > > > > Have you tried the patch I supplied last time? Did it make any difference? I've tried the patch you've supplied in <4c459d1a.5030...@gmail.com>, but it didn't change anything. The problem persists. Schöne Grüße, Jörg. -- < Mr X.> jo: contact an admin to mount it for you < jo> The admin is not, well how should I say it, he isn't very familiar with the system. What should I tell my admin, what he should do? < Mr X.> taking a sun solaris administration course. signature.asc Description: Digital signature http://en.wikipedia.org/wiki/OpenPGP
PATA front LED patch
Elimar Riesebieter wrote: > * Rogério Brito [110424 04:39 -0300]: >> Hi, Elimar and others. >> >> On 04/21/11 05:30, Elimar Riesebieter wrote: >> > I am running 2.6.39-rc4. For the backlight control this kernel >> > uses /sys/class/backlight/radeon_bl on my PB. >> >> Would you care to share your configuration for 2.6.39-rc*? Up to >> -rc3, I was getting some problems (probably, problems with udev, >> but I don't quite know for sure). > > 2.6.39 works fine here. There is one issue: nfs spluttered when > playing audio or video over nfs (2.6.38 does not). > > The main points of my config: > > I am running pata drivers for hd in conjunction with a pmu-led patch > which lets the front led works as a hd status led. Is there any chance to get this patch merged upstream? I've asked Joseph Jezak, the author, if he plans to do so, but I didn't get an answer. Is someone else skilled to review the patch and push it upstream? I'm using it since 2.6.37 and had no problems. [1] http://dev.gentoo.org/~josejx/ata.patch [2] https://forums.gentoo.org/viewtopic-p-6570595.html?sid=54b97b3b23df8ec0030382512e4f2611#6547892 Regards, Jörg. -- Prof: Ist etwas an der Tafel nicht zu lesen? Sie schauen so komisch. Studentin: Nein, es ist alles in Ordnung. Prof: Aber ihr Gesicht sieht überhaupt nicht in Ordnung aus. -- To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/slrnisauij.ti2.jo...@alea.gnuu.de