keyboard layout under X11

2005-03-03 Thread Jochen Voss
Hello, since yesterday I am proud owner of a shiny new Apple powerbook G4. My attempts to run Debian on it are summarised at http://seehuhn.de/comp/powerbook/ My question for now is: is there a simple way to get the keyboard working correctly under X11? I have a British keyboard and thus I

xterm problem on my powerbook

2005-03-03 Thread Jochen Voss
Hello, the weirdest problem of my new Linux installation on a powerbook is the following: "xterm" does not work! It opens a window but then dies immediately with the following error message. xterm: fatal pty error 23 (errno=22) on tty /dev/pts/1 Does anybody else see this problem? Is there

Re: xterm problem on my powerbook

2005-03-07 Thread Jochen Voss
Hello Vincent, On Sat, Mar 05, 2005 at 09:43:35AM +0100, Vincent Lefevre wrote: > > On 2005-03-03 20:13:09 +, Jochen Voss wrote: > > the weirdest problem of my new Linux installation on a powerbook is > > the following: "xterm" does not work! It opens a window b

Re: /sys/devices/temperatures and suspend to disk

2005-03-08 Thread Jochen Voss
Hello Moritz, On Mon, Mar 07, 2005 at 08:00:06PM +0100, Moritz Armingeon wrote: > On 19:35 Mon 07 Mar , Matthias Schulz wrote: > > Hi, > > > > when i am booting the 2.6.11 kernel, i am missing the > > /sys/devices/temperature > > entry. Does anybody know, whether the feature is missing in 2

Re: xterm problem on my powerbook

2005-03-08 Thread Jochen Voss
Hello, On Thu, Mar 03, 2005 at 08:13:09PM +, Jochen Voss wrote: > the weirdest problem of my new Linux installation on a powerbook is > the following: "xterm" does not work! It opens a window but then dies > immediately with the following error message. > >

Re: /sys/devices/temperatures and suspend to disk

2005-03-08 Thread Jochen Voss
Hello Colin, On Tue, Mar 08, 2005 at 06:27:35PM +0100, Colin Leroy wrote: > On 08 Mar 2005 at 11h03, Jochen Voss wrote: > > Am I in danger of destroying my hardware in this situation? > > Not really, there's a hardware cut-off threshold anyway, but it's quite > high

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-09 Thread Jochen Voss
Hello Sven, On Tue, Mar 08, 2005 at 07:49:38PM +0100, Sven Luther wrote: > I am in the process of uploading a pre-release 2.6.11 debian/powerpc > kernel to > > http://people.debian.org/~luther/powerpc/2.6.11-0.1 > > And altough it is not yet fully ready to be uploaded (mostly because > kernel

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-10 Thread Jochen Voss
Hello Gabriel, On Thu, Mar 10, 2005 at 12:29:33AM +0100, Gabriel Paubert wrote: > On Wed, Mar 09, 2005 at 06:18:46PM +0000, Jochen Voss wrote: > > 3) the "fn" key emits no scan code > > > > I tried "showkey -s" on the console. Pressing "fn&quo

Re: Powerbook5,6 longer list of what does not work...

2005-03-10 Thread Jochen Voss
Hello Jonathan, On Thu, Mar 10, 2005 at 02:54:44AM +0100, Chocron J. wrote: > ... So far, after about 3 weeks of fiddling with the > various machine's settings, I have kind of acertained that the following > hardware does not work (even with 2.6.11.2) : > - Soundcard : it is recognized, but I am

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-10 Thread Jochen Voss
Hello again, On Wed, Mar 09, 2005 at 06:18:46PM +, Jochen Voss wrote: > The dmesg output contains the following lines which look like error > messages: I mananged to overlook the one which might be most relevant: PCI: Enabling device 0001:10:1a.0 ( -> 0002) ohci_hcd 000

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-14 Thread Jochen Voss
Hello Sven, On Mon, Mar 14, 2005 at 11:43:47AM +0100, Sven Luther wrote: > On Wed, Mar 09, 2005 at 06:18:46PM +0000, Jochen Voss wrote: > > 1) the trackpad does not work :-( > > > > Using the trackpad has no visible effect, no input arrives at > > /dev/input/mice,

results of testing pre-release 2.6.11-0.2 kernel package

2005-03-14 Thread Jochen Voss
Hello Sven, I tried you new 2.6.11-0.2 kernel packages. Summary of the problems: no trackpad, no sound, no fn-key. Details about my configuration (dmesg output etc.) can be found at http://seehuhn.de/comp/powerbook/2.6.11-0.2/ In addition to the "real" problems below I noticed a small pack

sound in new powerbooks

2005-03-14 Thread Jochen Voss
Hello, I have one of these very new Apple powerbooks. One of the problems I encountered is, that sound is not working under Linux. Since Sven suggested in a recent email that this might be a configuration problem on my side I want to make sure: did anybody manage to get sound working on a post-F

Re: recommend a firewall

2005-03-14 Thread Jochen Voss
Hello Tamas, On Mon, Mar 14, 2005 at 09:48:42AM -0500, Tamas K Papp wrote: > Thanks, but maybe I was not clear enough. I know nothing about packet > filtering. If I use iptables, I am likely to set it up with a lot of > holes in it, even after reading the tutorials. I was looking for > something

Re: Newer laptops & CPU speed

2005-03-14 Thread Jochen Voss
Hi Ben, I seem to be suffering from this issue: [EMAIL PROTECTED] [~] cat /proc/cpuinfo processor : 0 cpu : 7447A, altivec supported clock : 1666MHz revision: 1.2 (pvr 8003 0102) bogomips: 829.44 machine : PowerBook5

Re: Newer laptops & CPU speed

2005-03-15 Thread Jochen Voss
Hello Ben, On Tue, Mar 15, 2005 at 10:01:04AM +1100, Benjamin Herrenschmidt wrote: > On Mon, 2005-03-14 at 16:01 +0000, Jochen Voss wrote: > > The last displayed messages are > > > > openpic: external > > openpic: spurious > > openpic: exit > >

Re: sound in new powerbooks

2005-03-15 Thread Jochen Voss
Hello Jonathan, On Tue, Mar 15, 2005 at 01:52:36PM +0100, Chocron J. wrote: > Nope, however, the card seems to be detected correctly, and the > /dev/ entries get created, my guess is this is an API thing, I think > we can't unmute it... yes, I suspect something similar. If I try to play a sound i

Re: sound in new powerbooks

2005-03-15 Thread Jochen Voss
Hello Martin, On Tue, Mar 15, 2005 at 02:44:55PM +, Martin Habets wrote: > If you have MAC OS installed, maybe you can unmute it there? > (and hopefully preserve that over a reboot...) Yes, I tried this, but it didn't work. I only hear the annoying boot-up sound, but sound does still not work

Re: sound in new powerbooks

2005-03-15 Thread Jochen Voss
Hello Wee-Jin, On Tue, Mar 15, 2005 at 02:32:08PM +, Wee-Jin Goh wrote: > Have you tried taking a look at alsamixer? With my Powerbook 12", I had > to use alsamixer to unmute some things (can't remember off the top of my > head) ... Yes, I tried alsamixer, but unmuting everything and turning u

Re: glibc

2005-03-16 Thread Jochen Voss
Hello Mike, On Wed, Mar 16, 2005 at 12:45:37AM -0800, Michael wrote: > This may be a dumb question, but is it possible currently to build and > install glibc and binutils and such on debian? Sure, every Debian system comes with them pre-installed. > My passion is towards emulation, and was total

Re: source code for library calls

2005-03-16 Thread Jochen Voss
Hello Linjay, On Wed, Mar 16, 2005 at 11:30:33AM -, linay long wrote: > Could you please provide link to the source code for user level > calls like socket,bind ... which calls kernel functions sys_socket > and sys_bind etc. The good thing about free software is, that it comes with the source,

Re: Bug#299442: osdsh: does not start on powerpc

2005-03-18 Thread Jochen Voss
On Fri, Mar 18, 2005 at 10:05:43AM -0500, Michel Dänzer wrote: > On Fri, 2005-03-18 at 15:19 +0100, Wolfram Quester wrote: > > > > On Fri, Mar 18, 2005 at 02:56:38PM +0100, Lo???c Le Guyader wrote: > > > Le 18 March 2005, Wolfram Quester, ? bout, prit son clavier pour > > > taper sur son ?cran: >

Re: Bug#299442: osdsh: does not start on powerpc

2005-03-18 Thread Jochen Voss
Hello Michael, On Fri, Mar 18, 2005 at 10:50:02AM -0500, Michel Dänzer wrote: > Why would you assign the return value of a function that returns an int > to a char, be it signed or unsigned? Why do you think I would? I guess the program's author probably did this because the return value is a cha

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hi Ben, On Mon, Mar 14, 2005 at 01:33:42PM +1100, Benjamin Herrenschmidt wrote: > + /* Look for voltage GPIO */ > volt_gpio_np = of_find_node_by_name(NULL, "cpu-vcore-select"); > + reg = (u32 *)get_property(volt_gpio_np, "reg", NULL); > + voltage_gpio = *reg; > if (!volt_gp

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hello Ben, On Tue, Mar 15, 2005 at 10:45:12AM +, Jochen Voss wrote: > Can I do something else to help tracking this down? I am currently in the process of figuring out how your patch crashes my machine. Since I know of no better strategy I am applying the patch piecemeal and boot with e

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hello again, Ben! you suggested the following change: On Mon, Mar 14, 2005 at 01:33:42PM +1100, Benjamin Herrenschmidt wrote: > - /* Check for 7447A based iBook G4 or PowerBook */ > - if (machine_is_compatible("PowerBook6,5") || > - machine_is_compatible("PowerBook6,4") || > -

Re: Newer laptops & CPU speed

2005-03-18 Thread Jochen Voss
Hello again, On Fri, Mar 18, 2005 at 06:22:30PM +, Jochen Voss wrote: > The part I disabled is really simple, now. The commands are > for switching to high speed: > > pmac_call_feature(PMAC_FTR_WRITE_GPIO, NULL, voltage_gpio, 0x05); > msleep(1); > low_

call for help: CPU clock speed on PowerBook5,6

2005-03-19 Thread Jochen Voss
Hello, as indicated by my previous postings I am trying to find out why Ben's cpuspeed patch [1] crashes my powerbook. An updated description about my machine can be found at [2]. [1] http://lists.debian.org/debian-powerpc/2005/03/msg00554.html [2] http://seehuhn.de/comp/powerbook/ The pro

Re: Newer laptops & CPU speed

2005-03-19 Thread Jochen Voss
Hello Joerg, On Sat, Mar 19, 2005 at 10:29:28PM +, Joerg Sommer wrote: > Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > > On Mon, 2005-03-14 at 16:01 +0000, Jochen Voss wrote: > > > >> From other people's posts I conclude that bogomips should approxi

Re: call for help: CPU clock speed on PowerBook5,6

2005-03-20 Thread Jochen Voss
Hello John, thank you for your answer. On Sun, Mar 20, 2005 at 03:45:53PM +1030, John Steele Scott wrote: > There is not really any proper documentation about this stuff, but > the source code for Darwin is available on the Apple developer web > site, so you can see exactly what they do. The pac

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-21 Thread Jochen Voss
Hello, On Mon, Mar 21, 2005 at 01:18:17PM +0100, Sven Luther wrote: > Well, it still is a kernel/X/whatever bug, not a hardware one, right ? Just for the record: i see this to, maybe once every 25 times I boot Linux. And never under MacOS X. It happens early during boot: the yaboot prompt is st

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-03-21 Thread Jochen Voss
Hello Sven, On Mon, Mar 21, 2005 at 02:47:48PM +0100, Sven Luther wrote: > Ok, i am uploading 2.6.11-1 today or tomorrow, once it hits the archive, it > would be nice to have all of those issues filled correctly as a bug report > against kernel-source-2.6.11 with a [powerpc] tag in the subject. Ok

Re: "virtual terminal"

2005-03-22 Thread Jochen Voss
Hello Michael, On Mon, Mar 21, 2005 at 09:11:29PM -0800, Michael wrote: > I did change my /var/apt/sources.list file, or /etc, I forget whether it > was in /etc or /var, ... It is in /etc. All the configuration files you ever want to edit should be in /etc. > .., and being the fan of wiping and

Re: call for help: CPU clock speed on PowerBook5,6

2005-03-22 Thread Jochen Voss
Hi John, On Mon, Mar 21, 2005 at 07:50:31AM +1030, John Steele Scott wrote: > It doesn't show up in Linux, but if you boot into OpenFirmware you might find > it. In OpenFirmware, try "dev /cpus/PowerPC,[EMAIL PROTECTED]" to change to > the CPU node, > and then "words" to show you what commands ar

Re: list of PowerMac sound hardware TO-DO (help welcome)

2005-03-22 Thread Jochen Voss
On Tue, Mar 22, 2005 at 04:13:15PM +0200, Martin-Éric Racine wrote: > On Tue, 22 Mar 2005, Benjamin Herrenschmidt wrote: > > > On Mon, 2005-03-21 at 15:19 +0200, Martin-Éric Racine wrote: > > > Regarding overall pmac ALSA support, is there a table that shows what > > > works and what is broken for

Re: list of PowerMac sound hardware TO-DO (help welcome)

2005-03-28 Thread Jochen Voss
Hello Bejamin, On Mon, Mar 28, 2005 at 04:08:21PM +1000, Benjamin Herrenschmidt wrote: > > Another entry could be: > > > > awacs PowerBook G4no no > > (post Feb 2005) > > No, this is definitely not an awacs chipset. It's some form of i2s based > chi

Re: CPU Frequency -- min save value?

2005-03-28 Thread Jochen Voss
Hi, On Mon, Mar 28, 2005 at 12:40:27PM +0930, John Steele Scott wrote: > cpufreq drivers for ppc only support two speeds at the moment. So if you ask > for 200MHz, it will still give you 750MHz. I think that this is a hardware property of the CPU and not a property of the driver (at least for the

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Jochen Voss
Hi Ben, On Mon, Mar 28, 2005 at 06:28:05PM +1000, Benjamin Herrenschmidt wrote: > Hrm... Indeed, the code looks bogus. Try replacing: > > reg = (u32 *)get_property(volt_gpio_np, "reg", NULL); > voltage_gpio = *reg; > > With > > if (volt_gpio_np) > voltage_gpio =

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-28 Thread Jochen Voss
Hi Ben, On Tue, Mar 29, 2005 at 08:45:20AM +1000, Benjamin Herrenschmidt wrote: > Have you actually tried the patch ? The previous was just using "reg" > property for the gpio offset, which is wrong, it should add 0x50 to it, > which is what read_gpio() does... Sorry, I probably suffered from hall

Re: cpu on post feb. 2005 Powerbook: patch does not work

2005-03-29 Thread Jochen Voss
Hello Johannes, On Tue, Mar 29, 2005 at 07:30:12AM +0200, Johannes Berg wrote: > Jochen: You might want to add to your page that so far we don't know how > the acceleration sensor can be queried, it is reportedly I2C but I know > nothing else. Yes, now the the machine runs at full speed I may add

Re: pbbuttonsd patch for eject button on pb5,6

2005-04-02 Thread Jochen Voss
Hello Matthew, On Sat, Apr 02, 2005 at 09:25:46AM +, Matthew Denner wrote: > I don't know whether anyone would find this useful but I took Johannes > patch and have started to provide the 'fn' key within the hid code so > that it acts as a modifier, rather than maps to right control. I see tha

Re: Yaboot and mac os x "verbose"

2005-04-02 Thread Jochen Voss
Hello Marco, On Sat, Apr 02, 2005 at 07:25:14PM +0200, Marco Vignati wrote: > does anyone knows if there is a way to configure yaboot > to boot mac os x verbosely? > (wath is in mac os x is done with the command > /usr/sbin/nvram boot-args="-v"). I did not try this, but the nvsetenv utility from t

Re: Sound drivers for newer machines: need help

2005-04-21 Thread Jochen Voss
Hi, sorry about the delay. The following is for an March 2005 Powerbook5,6 with 15 inch screen. On Sat, Apr 09, 2005 at 10:31:14AM +1000, Benjamin Herrenschmidt wrote: > If you have a newer machine, that is a machine released on or after > 2002, can you please send me the output of: > > echo `c

Re: pre-release 2.6.11-0.1 debian/powerpc kernel.

2005-05-02 Thread Jochen Voss
Hi Sven, On Mon, Mar 21, 2005 at 02:47:48PM +0100, Sven Luther wrote: > Ok, i am uploading 2.6.11-1 today or tomorrow, once it hits the archive, it > would be nice to have all of those issues filled correctly as a bug report > against kernel-source-2.6.11 with a [powerpc] tag in the subject. here

Re: Sleep on powerbook5,6

2005-05-22 Thread Jochen Voss
Hi Johannes, On Mon, May 16, 2005 at 09:20:33PM +0200, Johannes H. Jensen wrote: > Btw, my numlock button works perfectly with Jochen Voss' XKB keymap. I am happy to hear this ;-) All the best, Jochen -- http://seehuhn.de/ signature.asc Description: Digital signature

Re: rethinking the FN key

2005-05-22 Thread Jochen Voss
Hi Johannes, On Fri, May 20, 2005 at 04:29:03PM +0200, Johannes Berg wrote: > I've been thinking about the fn key a bit more -- I mapped it to > control_r which is just a hack and I wanted to change that. Yes, this feels like a hack. > So I decided to map it to KEY_FN instead, which almost works.

Re: rethinking the FN key

2005-05-22 Thread Jochen Voss
Hello Johannes, On Sun, May 22, 2005 at 06:33:45PM +0200, Johannes Berg wrote: > Hi, > > On Sun, 2005-05-22 at 12:31 +0100, Jochen Voss wrote: > > > So I decided to map it to KEY_FN instead, which almost works. I have a > > > patch for pbbuttonsd to accept fn as ano

Re: rethinking the FN key

2005-05-22 Thread Jochen Voss
Hello, On Sun, May 22, 2005 at 08:43:08PM +0200, marco wrote: > Kernel includes, maybe. > include/linux/input.h: > #define KEY_FN 0x1d0 > > There is also a drivers/macintosh/adbhid.c: > #define ADB_KEY_FN 0x3f > > this is the only context I recall for the KEY_FN definiti

Re: rethinking the FN key

2005-05-24 Thread Jochen Voss
Hello Johannes, On Mon, May 23, 2005 at 02:32:53PM +0200, Johannes Berg wrote: > Heh, possibly. What about X then? I don't get any x event when I push > that button. No idea about X. I noticed that keycodes in X are different from the one on the console, so there must be some magic going on. Bu

Re: multible partitions?

2005-06-04 Thread Jochen Voss
Hi Wolf, On Sat, Jun 04, 2005 at 01:18:03PM +0200, Wolf Drechsel wrote: > "." meant more output, as a > mount /dev/sda1 -t hfsplus /hfs >& /tmp/hfsmountoutput > didnt make a reasonable file (how do I do that > correctly?), I had to copy all from the screen > and left out the less important l

need help with bug#89693: superformat on powerpc

2002-06-30 Thread Jochen Voss
Hello, there is a bug report for superformat from the fdutils package, which is specific to the powerpc port. As I do not have access to powerpc hardware I need some help here. It would be nice, if someone with access to floppy hardware on a powerpc machine could help me out. The original bug r

Re: need help with bug#89693: superformat on powerpc

2002-07-07 Thread Jochen Voss
Hello Tom, thank you for your answer. On Sun, Jun 30, 2002 at 09:08:13AM -0700, Tom Rini wrote: > # getfdprm > DS HD sect=18 > # setfdprm -p /dev/fd0 7 > Usage: setfdprm [-c] [-p] [-y] [-n] drive [geometry] > Type setfdprm --help to get a more complete help > # floppycontrol -P > disk_writabl