Re: does sleep work with the patched 2.6.10 kernel?

2005-04-14 Thread Giuseppe Lavagetto
Il giorno 12/apr/05, alle 00:58, Mauro ha scritto: After installing the 2.6.10-5-powerpc ubuntu kernel my iBook now goes to sleep perfectly, it just doesn't wake up or does quickly followed by a kernel panic (black screen). I can confirm I have exactly the same problem, and that it's been there s

Popular software for download. License. Adobe, Microsoft, MacroMedia. For PC and Macintosh

2005-04-14 Thread Erotylid
www.szw6dzcyw3s9bva.ecolaflg.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

On the size of compiled kernels (was: Re: acquiring an interrupt for swim3 floppy driver)

2005-04-14 Thread Rogério Brito
On Apr 13 2005, Brad Boyer wrote: > Also, ppc code is on average bigger than x86 code. It's just a property > of the instruction set. The x86 uses variable sized opcodes, so some > stuff is only one or two bytes. The ppc instruction set uses exactly 4 > bytes for everything. Yes, that I knew (I t

iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Arne Caspari
Hi List, I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel 2.6.10 that comes with ubuntu. Still I encounter freezes sometimes when the computer awakes from sleep and cpufreqd tries to change the frequency afterwards. Is there anything I can do to debug? Thanks, /Arne -- T

debian image for PPC 82xx

2005-04-14 Thread Goetz Bock
Dear list, first let me apologize for violating most of netiquett here :-( I'm realy sorry but this seams to be my last option. I'm triing to install Debian Sarge onto a buffalo TeraStation (http://www.buffalotech.com/products/product-detail.php?productid=97) It's a MPC8241LVR2660 (ppc 82xx) wi

Re: Compile Errors on 2.6.8 for Johannes' Trackpad Driver

2005-04-14 Thread Johannes Berg
Hi, > Read about your trackpad driver on debian-powerpc here: > http://lists.debian.org/debian-powerpc/2005/03/msg00984.html :) > I'm using a 2.6.8 kernel (the default one from debian > Sarge net install 2.6.8-12) and the trackpad driver didn't > compile so well. I suppose I'll try a 2.6.11 ke

Re: iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Benjamin Herrenschmidt
On Wed, 2005-04-13 at 17:44 +0200, Arne Caspari wrote: > Hi List, > > I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel > 2.6.10 that comes with ubuntu. > > Still I encounter freezes sometimes when the computer awakes from sleep > and cpufreqd tries to change the frequency

External Monitor from PowerBook5,6

2005-04-14 Thread Bernhard Reiter
On Fri, Apr 08, 2005 at 09:11:40AM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2005-04-07 at 17:07 +0200, Bernhard Reiter wrote: > > I am having a post Februaray Powerbook5,6 here with German keyboard > > > > Someone told me that xorg releases could do external SVGA mirroring > > for the previo

Re: iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Arne Caspari
Thanks, Ben! I will wait for 2.6.12 then. /Arne Benjamin Herrenschmidt wrote: On Wed, 2005-04-13 at 17:44 +0200, Arne Caspari wrote: Hi List, I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel 2.6.10 that comes with ubuntu. Still I encounter freezes sometimes when the comput

Re: External Monitor from PowerBook5,6

2005-04-14 Thread John Steele Scott
Bernhard Reiter <[EMAIL PROTECTED]> writes: > It seems that most options of Mirroring and the CRT2 in the radeon drivers > need to use MergeFB. However so far I can only see something if I > specify Option "UseFBDev" "true" and thus MergeFB gets disabled. > When MergeFB is in place, even without e

Re: External Monitor from PowerBook5,6

2005-04-14 Thread Bernhard Reiter
On Thu, Apr 14, 2005 at 07:46:02PM +0930, John Steele Scott wrote: > Bernhard Reiter <[EMAIL PROTECTED]> writes: > I have mirroring working on my iBook G4 with a Radeon 9200. Xorg 6.8.2 does > not include the necessary code for this, so there are two things you can try: > > 1) Try Xorg HEAD. As

internal modem

2005-04-14 Thread Dean Hamstead
machine is a dual usb ibook has an internal 56k modem, it seems to be at /dev/ttyS0 gtkterm seems happy enough to talk to the modem, but when i dial (ATDTx) it just spews garbage at me immediately no its not ppp, it just hammers in straight away with or without the phone line plugged in. could

Re: internal modem

2005-04-14 Thread Cedric Pradalier
According to Dean Hamstead, on Thu, 14 Apr 2005 21:23:33 +1000, >machine is a dual usb ibook > >has an internal 56k modem, it seems to be at /dev/ttyS0 >gtkterm seems happy enough to talk to the modem, but when >i dial (ATDTx) it just spews garbage at me immediately >no its not ppp, it just ha

Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Francois
Hi all, I don't know if this is the right place to ask this question, but I don't know of any others, so here it goes: One of the last critical things missing on my G5 to run Debian is fan control. To see if I could help understand how it works under Darwin, I tried to have a look at the correspo

Re: [PATCH] pmac: sound support for latest laptops

2005-04-14 Thread Johannes Berg
Hi, > This patch hacks the current Alsa snd-powermac driver to add support for > recent machine models with the tas3004 chip, that is basically new > laptop models. So this works, but is incompatible with gstreamer. I took it with a rhythmbox/gstreamer developer and he said that it's a driver iss

Re: [PATCH] pmac: sound support for latest laptops

2005-04-14 Thread Benjamin Herrenschmidt
On Thu, 2005-04-14 at 14:55 +0200, Johannes Berg wrote: > Hi, > > > This patch hacks the current Alsa snd-powermac driver to add support for > > recent machine models with the tas3004 chip, that is basically new > > laptop models. > > So this works, but is incompatible with gstreamer. I took it w

Re: [PATCH] pmac: sound support for latest laptops

2005-04-14 Thread Johannes Berg
On Thu, 2005-04-14 at 23:15 +1000, Benjamin Herrenschmidt wrote: > I don't know, this is definitely not a problem with the platform > specific part of the driver, which is what I've been dealin with lately. > You may find a better answer with the Alsa folks regarding the actual > PCM implementatio

Re: [Alsa-devel] [PATCH] ppc32: add sound support for Mac Mini

2005-04-14 Thread Takashi Iwai
At Thu, 14 Apr 2005 12:14:37 +1000, Benjamin Herrenschmidt wrote: > > Hi ! > > This patch applies on top of my previous g5 related sound patches and > adds support for the Mac Mini to the PowerMac Alsa driver. Thanks! Now applied all patches to ALSA tree. > However, I haven't found any kind of

Compile errors Patching 2.6.11.7 to 2.6.12-rc2

2005-04-14 Thread Brian W. Carver
Hi, I want to apply Ben's sound patch for new powerbooks. By looking at the patch I saw that it seemed to be applied against 2.6.12-rc2 so here's exactly what I did and the compilation error that resulted: download 2.6.11.7 from kernel.org and put it in /usr/src tar -jxf linux-2.6.11.7.tar.bz2

Re: Compile errors Patching 2.6.11.7 to 2.6.12-rc2

2005-04-14 Thread Johannes Berg
On Thu, 2005-04-14 at 06:09 -0700, Brian W. Carver wrote: > patch -p1 P.S. Ben's speed patch, Colin's temperature patch, and > Johannes' trackpad driver all barfed when I attempted to > add them after the 2.6.12-rc patch and Ben's sound patch > (which seemed to apply ok). I'd like to apply tho

Re: Compile errors Patching 2.6.11.7 to 2.6.12-rc2

2005-04-14 Thread vinai
On Thu, 14 Apr 2005, Brian W. Carver wrote: download 2.6.11.7 from kernel.org and put it in /usr/src tar -jxf linux-2.6.11.7.tar.bz2 rm /usr/src/linux ln -s linux-2.6.11.7 linux download patch-2.6.12-rc2.bz2 bunzip2 patch-2.6.12-rc2.bz2 mv patch-2.6.12-rc2 /usr/src/linux cd /usr/src/linux patch -p1

Re: debian image for PPC 82xx

2005-04-14 Thread Goetz Bock
On Thu, Apr 14 '05 at 10:33, Goetz Bock wrote: > I'm triing to install Debian Sarge onto a buffalo TeraStation > ... > It's a MPC8241LVR2660 (ppc 82xx) with 128MB of RAM and 4 HDDs. > ... > In the meantime I was wondering if anyone could debootstrap me sarge for > PPC ... Of cause I was unable to

Building packages and compiler flags

2005-04-14 Thread Carsten Friede
Hi. Is it possible to activate specific compiler flags, when building packages from source, eg. for the AltiVec, to improve performance? What I want to do, is to compile particular packages with flags according to my iBook G4. My thought is, to get my Debian more customized like Gentoo. What I n

memory checker?

2005-04-14 Thread Johannes Berg
Hi, Does anyone know of a tool to check memory like memcheck86 does? The reason I'm asking is that suddenly apt-cache once a while segfaults out of the blue and I am getting weird spike noises when I'm playing music. Maybe there's something else behind this, but I'd like to check the memory. joh

Re: External Monitor from PowerBook5,6

2005-04-14 Thread Michael Hunt
On Thu, 2005-04-14 at 19:46 +0930, John Steele Scott wrote: > I have mirroring working on my iBook G4 with a Radeon 9200. Xorg 6.8.2 does > not include the necessary code for this, so there are two things you can try: > > 1) Try Xorg HEAD. > > 2) See what patches Ubuntu uses in their Xorg packag

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread John Steele Scott
Francois <[EMAIL PROTECTED]> writes: > One of the last critical things missing on my G5 to run Debian is fan > control. To see if I could help understand how it works under Darwin, I > tried to have a look at the corresponding libraries (the whole thing is > called SMU, System Management Unit, a re

Re: External Monitor from PowerBook5,6

2005-04-14 Thread John Steele Scott
Michael Hunt <[EMAIL PROTECTED]> writes: > iBook G4 ??? 12 inch perhaps ??? > > I'm currently struggling to get this working on Ubuntu Hoary. Any chance > you could post me a copy of your xorg.conf file The relevant sections are reproduced below. My setup is slightly unusual, because my exter

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Francois Taiani
John, thanks for your tip. No Apple has not released the source for its low level thermal management drivers (AFAIK at least). It seems it's because the thermal management is a "sensitive" competitive feature [1]. The only things I could find so far are some high level notes of the SMU on Apple's

Re: External Monitor from PowerBook5,6

2005-04-14 Thread Bernhard Reiter
On Thu, Apr 14, 2005 at 12:51:12PM +0200, Bernhard Reiter wrote: > On Thu, Apr 14, 2005 at 07:46:02PM +0930, John Steele Scott wrote: > > Bernhard Reiter <[EMAIL PROTECTED]> writes: > > > I have mirroring working on my iBook G4 with a Radeon 9200. Xorg 6.8.2 does > > not include the necessary code

Re: Building packages and compiler flags

2005-04-14 Thread Charles Lepple
On 4/14/05, Carsten Friede <[EMAIL PROTECTED]> wrote: > Is it possible to activate specific compiler flags, when building > packages from source, eg. for the AltiVec, to improve performance? haven't tried it on ppc yet, but apt-build lets you do this on x86. http://packages.debian.org/apt-build

Re: iBook G4 sleep freezes with cpufreq

2005-04-14 Thread Mauro
On Wed, 2005-04-13 at 17:44 +0200, Arne Caspari wrote: > Hi List, > > I recently updated to Ubunto Hoary on my iBook G4 800. I use the kernel > 2.6.10 that comes with ubuntu. > > Still I encounter freezes sometimes when the computer awakes from sleep > and cpufreqd tries to change the frequency

Re: External Monitor from PowerBook5,6

2005-04-14 Thread Bernhard Reiter
On Thu, Apr 14, 2005 at 05:30:02PM +0200, Bernhard Reiter wrote: > So now I have a fresh CVS build of xorg. > > I still cannot get a pictures without using "UseFBDev". > There is also a > (WW) INVALID IO ALLOCATION b: 0xf400 e: 0xf4ff correcting > (EE) end of block range 0xef

Re: [PATCH] pmac: sound support for latest laptops

2005-04-14 Thread Takashi Iwai
At Thu, 14 Apr 2005 23:15:14 +1000, Benjamin Herrenschmidt wrote: > > On Thu, 2005-04-14 at 14:55 +0200, Johannes Berg wrote: > > Hi, > > > > > This patch hacks the current Alsa snd-powermac driver to add support for > > > recent machine models with the tas3004 chip, that is basically new > > > l

Recompile a driver, without recompiling the whole kernel

2005-04-14 Thread Wolfgang Pfeiffer
Hi All Often I see patches for kernel drivers here: Is there a more or less painless way to recompile a driver for some kernel/kernel sources, without the need to recompile the whole kernel? ... The solutions I googled so far don't look very promising ... All I want is compiling the new driver an

Re: External Monitor from PowerBook5,6

2005-04-14 Thread Michael Hunt
On Fri, 2005-04-15 at 00:17 +0930, John Steele Scott wrote: > Michael Hunt <[EMAIL PROTECTED]> writes: > > iBook G4 ??? 12 inch perhaps ??? > > > > I'm currently struggling to get this working on Ubuntu Hoary. Any chance > > you could post me a copy of your xorg.conf file > > The relevant s

Re: Building packages and compiler flags

2005-04-14 Thread Wolfgang Pfeiffer
On Thu, Apr 14, 2005 at 03:47:35PM +0200, Carsten Friede wrote: > Hi. > > Is it possible to activate specific compiler flags, when building > packages from source, eg. for the AltiVec, to improve performance? Not being sure whether you need to know the flags, or how to use them with the Debian p

Re: Recompile a driver, without recompiling the whole kernel

2005-04-14 Thread vinai
On Thu, 14 Apr 2005, Wolfgang Pfeiffer wrote: Hi All Often I see patches for kernel drivers here: Is there a more or less painless way to recompile a driver for some kernel/kernel sources, without the need to recompile the whole kernel? ... The solutions I googled so far don't look very promising .

Compile errors patching 2.6.11 to 2.6.12-rc2

2005-04-14 Thread Brian W. Carver
Hi all, OK, now I am trying to patch the plain vanilla 2.6.11 to 2.6.12-rc2 (and then adding 2.6.12-rc2-mm3 as well.) The kernel still doesn't compile. I did this: cd /usr/src wget http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2 tar -jxf linux-2.6.11.tar.bz2 rm linux ln -s linux-2.

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Brad Boyer
On Thu, Apr 14, 2005 at 01:48:29PM +0100, Francois wrote: > There are far more branching instructions than don't use jbsr, but I > don't know how to interpret them. For instance: > > --- > lwz r2,__ZN23SMU_Neo2_PlatformPluginC2EPK11OSMetaClass(r3) > lwz r12,0x368(r2) > mtspr ctr,r12 > bc

Re: Building packages and compiler flags

2005-04-14 Thread Wolfgang Pfeiffer
On Thu, Apr 14, 2005 at 07:15:45PM +0200, Wolfgang Pfeiffer wrote: > On Thu, Apr 14, 2005 at 03:47:35PM +0200, Carsten Friede wrote: > > Hi. > > > > Is it possible to activate specific compiler flags, when building > > packages from source, eg. for the AltiVec, to improve performance? > > Not be

Re: Building packages and compiler flags

2005-04-14 Thread Arnaud FONTAINE
Selon Wolfgang Pfeiffer <[EMAIL PROTECTED]>: > On Thu, Apr 14, 2005 at 07:15:45PM +0200, Wolfgang Pfeiffer wrote: > > On Thu, Apr 14, 2005 at 03:47:35PM +0200, Carsten Friede wrote: > > > Hi. > > > > > > Is it possible to activate specific compiler flags, when building > > > packages from source,

Re: Building packages and compiler flags

2005-04-14 Thread Charles Lepple
On 4/14/05, Arnaud FONTAINE <[EMAIL PROTECTED]> wrote: [ over 3 KB of context snipped, but thanks for top-quoting :-) ] > CFLAGS="-O3 -mpowerpc -mtune=G4 -mcpu=G4 -mabi=altivec -maltivec > -mpowerpc-gfxopt -mpowerpc-gpopt -mnew-mnemonics -mno-strict-align -pipe" > > If you get an error with mtune

Re: memory checker?

2005-04-14 Thread Corrin Lakeland
On Fri, 15 Apr 2005 01:56, Johannes Berg wrote: > Hi, > > Does anyone know of a tool to check memory like memcheck86 does? I ran into this recently (same behaviour) and, unable to find a tool, took the memory out and tested it in an x86. It was faulty too... Corrin pgp5rq24CKEqy.pgp Descripti

Re: Compile errors patching 2.6.11 to 2.6.12-rc2

2005-04-14 Thread Wolfgang Pfeiffer
On Thu, Apr 14, 2005 at 10:29:39AM -0700, Brian W. Carver wrote: > Hi all, > > OK, now I am trying to patch the plain vanilla 2.6.11 to > 2.6.12-rc2 (and then adding 2.6.12-rc2-mm3 as well.) The > kernel still doesn't compile. I did this: > [ ... ] > > But then I get the follo

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Benjamin Herrenschmidt
On Thu, 2005-04-14 at 13:48 +0100, Francois wrote: > Hi all, > > I don't know if this is the right place to ask this question, but I > don't know of any others, so here it goes: > > One of the last critical things missing on my G5 to run Debian is fan > control. To see if I could help understand

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Benjamin Herrenschmidt
> Obviously, the return types on the functions and arguments and such are > purely for example. This code only has one input, and no obvious outputs. > I would guess (as did someone else) that this was originally objective-C > code, and this is a very optimised form of a method call on an object.

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Benjamin Herrenschmidt
On Thu, 2005-04-14 at 16:04 +0100, Francois Taiani wrote: > John, > > thanks for your tip. No Apple has not released the source for its low > level thermal management drivers (AFAIK at least). It seems it's because > the thermal management is a "sensitive" competitive feature [1]. The > only thing

Re: internal modem

2005-04-14 Thread Benjamin Herrenschmidt
On Thu, 2005-04-14 at 21:59 +1000, Cedric Pradalier wrote: > According to Dean Hamstead, on Thu, 14 Apr 2005 21:23:33 +1000, > >machine is a dual usb ibook > > > >has an internal 56k modem, it seems to be at /dev/ttyS0 > >gtkterm seems happy enough to talk to the modem, but when > >i dial (ATDTxxx

Re: memory checker?

2005-04-14 Thread Graham Wilson
On Thu, Apr 14, 2005 at 03:56:05PM +0200, Johannes Berg wrote: > Does anyone know of a tool to check memory like memcheck86 does? If you have an Apple machine you might want to try the test CD that came with it. I believe that runs some memory tests, though I don't know if they are as extensive as

Re: memory checker?

2005-04-14 Thread Mauro
On Thu, 2005-04-14 at 21:26 -0500, Graham Wilson wrote: > On Thu, Apr 14, 2005 at 03:56:05PM +0200, Johannes Berg wrote: > > Does anyone know of a tool to check memory like memcheck86 does? > > If you have an Apple machine you might want to try the test CD that came > with it. I believe that runs

Re: memory checker?

2005-04-14 Thread Mauro
On Thu, 2005-04-14 at 21:01 -0600, Mauro wrote: > On Thu, 2005-04-14 at 21:26 -0500, Graham Wilson wrote: > > On Thu, Apr 14, 2005 at 03:56:05PM +0200, Johannes Berg wrote: > > > Does anyone know of a tool to check memory like memcheck86 does? > > > > If you have an Apple machine you might want to

Re: Reverse engeneering the SMU (iMac G5, newer single-pro G5)

2005-04-14 Thread Colin Leroy
On Fri, 15 Apr 2005 10:02:51 +1000 Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote: > Most of the sensor chips are standard off-the-shelves parts though, > they doc can be downloaded. At the time I wrote the ADT746x driver, they were even really easy to find. "ADT7467" "I'm feeling lucky" on go