Re: External video on a Powerbook G4.

2006-12-16 Thread Guido Guenther
On Fri, Dec 15, 2006 at 07:34:01PM -0500, Matthew Gracie wrote:
> Does anyone know if it's possible to get external video from a 12"
> Powerbook G4/867 with an nVidia Geforce-to-go chipset? I don't need
> multihead, but I need to be able to do mirroring.
For mirroring I use this xorg.conf:

Section "Device"
Identifier  "NVIDIA Corporation NV17 [GeForce4 440 Go 64M]"
Driver  "nv"
Option  "CrtcNumber""0"
Option  "FlatPanel" "0"
EndSection

I then suspend to disk, attach the cable and resume. No need for a
full reboot.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: External video on a Powerbook G4.

2006-12-17 Thread Guido Guenther
On Sun, Dec 17, 2006 at 02:35:52PM +0100, Filippo Giunchedi wrote:
> On Sat, Dec 16, 2006 at 02:40:11PM +0100, Guido Guenther wrote:
> > On Fri, Dec 15, 2006 at 07:34:01PM -0500, Matthew Gracie wrote:
> > > Does anyone know if it's possible to get external video from a 12"
> > > Powerbook G4/867 with an nVidia Geforce-to-go chipset? I don't need
> > > multihead, but I need to be able to do mirroring.
> > For mirroring I use this xorg.conf:
> > 
> > Section "Device"
> > Identifier  "NVIDIA Corporation NV17 [GeForce4 440 Go 64M]"
> > Driver  "nv"
> > Option  "CrtcNumber""0"
> > Option  "FlatPanel" "0"
> > EndSection
> > 
> > I then suspend to disk, attach the cable and resume. No need for a
> > full reboot.
> 
> with the above configuration you are able to mirror screens? that is, having
> both functional? Last time I tried only the external output worked, with the 
> LCD
> showing garbage. (I have a GeForce FX Go5200 on a PB 6,2 though)
Nope, only the external screen is working then. Fixing this up shouldn't
is on my todo list since ages.
 -- Guido


signature.asc
Description: Digital signature


Re: Bug #400919: Bug affecting Kino (and Cinelerra) on PowerPC, any ideas?

2007-01-07 Thread Guido Guenther
Hi,
On Sun, Jan 07, 2007 at 03:47:56PM +0100, Michael Schmitz wrote:
> So we need to convince the kino maintainer to use it - and ask Guido for
> details. Please keep in mind that we need the altivec optimized ffmpeg
> code ...
The ffmpeg and mplayer packages I provided were based on the packages
from Christian Marillat (debian-multimedia.org). I sent all the
necessary modifications back to him. I no longer build the packages
myself - Christian autobuilds these now like on the other architectures.

The ffmpeg binaries and libavcodec libs on debian-multimedia.org are (or
at least were the last time I looked at) altivec optimized [1]. Building
kino against it should give reasonable performance. Holger, could you
try that as a first step? Once we have that we need two versions of
ffmeg (altivec optimized and not and select the correct one during
runtime) - probably using glibc capabilities like openssl does for i386.
Cheers,
 -- Guido

[1] we have a not altivec optimized ffmpeg in the mplayer-powerpc
package, the mplayer-g4 package uses the altivec optmized shared lib.


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



Re: Bug #400919: Bug affecting Kino (and Cinelerra) on PowerPC, any ideas?

2007-01-07 Thread Guido Guenther
On Sun, Jan 07, 2007 at 06:04:12PM +0100, Holger Levsen wrote:
> Hi,
> 
> On Sunday 07 January 2007 16:59, Guido Guenther wrote:
> > The ffmpeg and mplayer packages I provided were based on the packages
> > from Christian Marillat (debian-multimedia.org). I sent all the
> > necessary modifications back to him. I no longer build the packages
> > myself - Christian autobuilds these now like on the other architectures.
> >
> > The ffmpeg binaries and libavcodec libs on debian-multimedia.org are (or
> > at least were the last time I looked at) altivec optimized [1]. Building
> > kino against it should give reasonable performance. Holger, could you
> > try that as a first step? Once we have that we need two versions of
> > ffmeg (altivec optimized and not and select the correct one during
> > runtime) - probably using glibc capabilities like openssl does for i386.
> 
> actually it's about kino and ffmpeg in debian-main which should not have 
> altivec optimations, because if it does, it doesnt run on all ppc-hardware, 
> like my imac g3.
Correct. This is why I asked you to test kino with the altivec optimized
ffmpeg _first_. Once this works we can look into getting this into
Debian (selecting the altivec optmitzed ffmpeg during runtime on G4s).

> Unfortunatly I dont have time to build and test now, as I will leave tomorrow 
> and be away from my imac the next weeks :(
Would be nice to know if this works in a few weeks anyways ;)
Cheers,
 -- Guido


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



Re: can?t adjust bright

2003-08-20 Thread Guido Guenther
On Sun, Aug 17, 2003 at 04:02:44PM +0200, Manu wrote:
> I have Debian unstable on a Powerbook G4 12", and have installed
> pbbuttons (apt) and it works, because i can change the volume. But i
> can?t change the screen bright. 
Same here. When invoking PMU_IOC_SET_BACKLIGHT ioctl I get ENODEV
although CONFIG_PMAC_BACKLIGHT=y and dmesg says:
 PMU driver 2 initialized for Core99, firmware: 0c
Any ideas before I dive into via-pmu.c?
Regards,
 -- Guido


pgpNyhmv745op.pgp
Description: PGP signature


dma_sound problems on 12" pbook

2003-08-22 Thread Guido Guenther
Hi,
While it usually plays sound fine the first time I open the device I get
ENXIO or EBUSY back from /dev/dsp when trying to read or write from the
device afterwards. Kernel is 2.4.21-ben2. Any ideas?
Regards,
 -- Guido



Re: dma_sound problems on 12" pbook

2003-08-22 Thread Guido Guenther
On Fri, Aug 22, 2003 at 08:14:13PM +0200, Thomas Otto wrote:
> Thats a common Linux problem since the /dev/dsp (IIRC digital sound 
> port) device can only be opened once, e.g. xmms playing music and xine 
> playing a movie with sound at the same time won't work.
> When the old process is still arround try finding and killing it via
> 'fuser /dev/dsp'
No, that's not the problem. I double checked that, e.g.:
~$ fuser /dev/dsp
~$ cat /dev/dsp
cat: /dev/dsp: No such device or address
~$ cat .bashrc > /dev/dsp
-bash: /dev/dsp: Device or resource busy
~$ fuser /dev/dsp
Regards,
 -- Guido


pgp4BRxdQI8YB.pgp
Description: PGP signature


Re: dma_sound problems on 12" pbook

2003-08-27 Thread Guido Guenther
On Sat, Aug 23, 2003 at 02:51:23PM +0200, Michel Dänzer wrote:
> > Then why is there recording code for Pmac in dmasound?
> 
> Because it supports recording with older chips.
Hmm...o.k. that's what confused me when looking through the source.
 -- Guido



swap ctrl<->caps lock problem

2003-08-31 Thread Guido Guenther
Hi,
while trying to map caps lock as ctrl on my 12" powerbook I noticed that
the keypress and release events don't seem to work as expected. While
e.g. alt generates the "KeyPress-Event" when pushing down the key and
the KeyRelease-Event when letting it go "caps lock" seems to generate
the events differently:
 - it generates KeyPress+KeyRelease when pushing down the key and the LED was 
off
 - it generates KeyPress+KeyRelease when releasing the key and the LED was on
Using showkey on the console confirms this behaviour. This seems to
caused by
/*
 * adb kludge!! Imitate pc caps lock behaviour by
 * generating an up/down event for each time caps
 * is pressed/released. Also, makes sure that the
 * LED are handled.  [EMAIL PROTECTED]
 */
 case 0x39:
handle_scancode(0x39, 1);
handle_scancode(0x39, 0);
tasklet_schedule(&keyboard_tasklet);
return;
in mac_keyb.c. What exactly is the reason for not generating a keyup on
release and keydown on press?
Regards,
 -- Guido


pgpp21A2bBDdy.pgp
Description: PGP signature


Re: dma_sound problems on 12" pbook

2003-09-09 Thread Guido Guenther
Hi Michel,
On Sat, Aug 23, 2003 at 01:24:57AM +0200, Michel Dänzer wrote:
> Are you aware of the dmasound bug where opening the device for reading
> makes it unusable until the module is unloaded, for which I recently
> posted a patch?
Thanks for your patch! I applied it on top of 2.4.22-ben2 and didn't
notice any sound problems since then.
 -- Guido


pgpeGCtRFWAVl.pgp
Description: PGP signature


mplayer packages

2003-09-11 Thread Guido Guenther
Hi,
I've dumped mplayer packages based on Christian Marillat's excellent
packages to:
 http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/mplayer/
Feedback welcome, especially on the naming. Is mplayer-{powerpc,altivec}
o.k. or would it be better to call them -{ppc,g4}?
Regards,
 -- Guido


pgpDMtpH3TH4o.pgp
Description: PGP signature


Re: mplayer packages

2003-09-11 Thread Guido Guenther
On Thu, Sep 11, 2003 at 08:04:01PM +0200, Paul van Tilburg wrote:
> Thanks! I had trouble building mplayer 1.0pre1 with gcc-3.3 (got gcc internal
> error). You had no trouble with the AltiVec part of the build
> process?
I cheated, I hacked the Makefile of the libavcodec/ subdir to use a cvs
gcc and even that one ICEs if you pass '-g', so I had to disable that
too:
 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11983

> As I understand when reading http://developer.apple.com/hardware/ve/
> it's G4-only, so -g4 would be a better suffix IMO.
> Like Marillat's packages have a i386 (ppc/powerpc suffix here) version for
> ALL x86-based archs and i686,k7,k6 specific versions (g4 suffix) for CPU
> optimized mplayer/mencoder packages.
Well, I'm not very familiar with the PowerPC family of processors yet,
will the g5 have a different/improved altivec instruction set? Is it
still called altivec then? In this case -g4 would make more sense. I'm
also still unsure what will be the best -mcpu and -march flags for the
G4s (although I doubt it will make much of a difference).
 -- Guido


pgpOXxNCfy9Y9.pgp
Description: PGP signature


Re: mplayer packages

2003-09-11 Thread Guido Guenther
On Thu, Sep 11, 2003 at 11:17:20PM +0200, Soeren Sonnenburg wrote:
> I used to use: -mcpu=7450 -mtune=7450 -maltivec -mabi=altivec but as
> already noted, gcc-3.3 segfaults on the libavcodec subdir
It seems that Apple's first G4s had 7400 CPUs so I'll use that for the
next -g4 build. I'll compare performance with the 7450 option which I
currently already use for my -custom builds.
Thanks,
 -- Guido


pgpaWgq8lTw1t.pgp
Description: PGP signature


Re: mplayer packages

2003-09-11 Thread Guido Guenther
On Fri, Sep 12, 2003 at 01:15:41AM +0300, Martin-Éric Racine wrote:
> Any particular reason to have G4 as minimum support level? Why not G3?
I was under the impression that the G3 doesn't have altivec.
Simdtech.org/altivec says:

$ Motorola has shipped two microprocessor generations with AltiVec inside.
$ Motorola calls these generations G4 and G4+. Apple uses processors with
$ the G4+ core, but Apple does not use the G4+ moniker. Mercury Computer
$ ...

So, are there G3s with altivec? If so could you list which ones?
 -- Guido


pgp2EAAG5VFzT.pgp
Description: PGP signature


Re: mplayer packages

2003-09-12 Thread Guido Guenther
On Fri, Sep 12, 2003 at 10:46:47AM +0300, Martin-Éric Racine wrote:
> Why CPUs with Altivec as a minimum support level?
Because there's a mplayer-powerpc package for CPUs without altivec.
 -- Guido


pgp4088qxlrXF.pgp
Description: PGP signature


Re: mplayer packages

2003-09-12 Thread Guido Guenther
On Fri, Sep 12, 2003 at 11:01:14AM +0300, Martin-Éric Racine wrote:
> 1) Pre-G3 (PPC601, etc.)
This is what -powerpc does.

> 2) G3
Could you check if using -march=740 -mtune=740 for mplayer gives any
measurable performance benefit over the "generic" -m{arch,tune}=powerpc
on a G3? Is there anything else we can optimize for the G3s? Adding a
-g3 package is easy enough but I don't want to bloat things for no gain.

> 3) G4 with Altivec  and the whole shebang
This is what -g4 (former -altivec) does.
 -- Guido


pgpYFDbCy9c7t.pgp
Description: PGP signature


Re: Auth problem while running X DRI trunk thru startx.

2003-09-12 Thread Guido Guenther
On Fri, Sep 12, 2003 at 11:38:01AM +0200, Mathieu Segaud wrote:
> is this related to XdmAuth missing and is there a hack like the one
> with xdm ?
Could this be related to:
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=196090
Cheers,
 -- Guido


pgpuh1PRaryX3.pgp
Description: PGP signature


[OT] usb-{irda,serial} adaptors

2003-09-12 Thread Guido Guenther
Hi,
can anyone recommend any specific usb<->irda and usb<->serial adaptors
that work reliably under ppc linux, preferably under 2.4.X?
Thanks,
 -- Guido


pgprUT3X8WjoY.pgp
Description: PGP signature


Re: mplayer packages

2003-09-12 Thread Guido Guenther
On Thu, Sep 11, 2003 at 04:38:57PM +0200, Guido Guenther wrote:
>  http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/mplayer/
The /etc/apt/sources.list line for this is:
 deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/
Cheers,
 -- Guido


pgph6FiGVQUQI.pgp
Description: PGP signature


Re: can?t adjust bright

2003-09-16 Thread Guido Guenther
On Wed, Aug 20, 2003 at 10:13:45AM +0200, Guido Guenther wrote:
> Any ideas before I dive into via-pmu.c?
Is it correct that the rivafb driver needs set_backlight_{enable,level}
functions to make adjusting the brighness work on the 12" PB?
If so, does anybody have the necessary docs to write this? It doesn't
look as if the xfree86 driver provides enough informatio, but most
likely I'm missing something obvious.
Regards,
 -- Guido


signature.asc
Description: Digital signature


Re: Kernel build, auto-off

2003-09-22 Thread Guido Guenther
On Sun, Sep 21, 2003 at 09:20:55PM -0400, David M. Cooke wrote:
> Are you also using pbbuttonsd? By default, it replaces pmud in handling
> power (I thought this was rather high-handed when I found out; why else
> would I be running pmud?!!). Check /etc/pbbuttonsd.conf (IIRC), and look
> for a something pmud option. (Don't have my laptop handy so I can't
> check.)
replace_pmud= [yes/no]
I wonder why this is on by default at all, is anybody here using this?
 -- Guido


signature.asc
Description: Digital signature


Re: kernel 2.4.22 fails to build completely

2003-09-23 Thread Guido Guenther
On Tue, Sep 23, 2003 at 03:29:23AM +0300, Martin-Éric Racine wrote:
> NOTE:  One buglet remains: during bootup, several daemons try to load
> char-major-6 (lp.o) which, for ovious reasons, is absent from this iMac.
echo "alias char-major-6 off" >> /etc/modutils/aliases && update-modules
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: Another sarge install problem - inn2

2003-09-24 Thread Guido Guenther
On Wed, Sep 24, 2003 at 10:27:00AM +0100, Paul Talacko wrote:
> /etc/news/inn.conf: cannot create /etc/news/inn.conf.new.1464: No such
> file or directly.
> 
> Those figures, i.e. 1464, are different for each install attempt.  I
> don't really understand what is happening.  There is probably a simple
> work around.  Can anyone help??
Does /etc/news exist? If not, just create it (and file a bugreport
against inn2).
 -- Guido


signature.asc
Description: Digital signature


mplayer updates

2003-10-07 Thread Guido Guenther
Hi,
the mplayer packagages at:
 deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/
are now built against an external libavcodec. Could someone who uses the
m{player,encoder}-powerpc versions on a non altivec system please let me
know if this causes any problems?
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: mplayer updates

2003-10-07 Thread Guido Guenther
On Tue, Oct 07, 2003 at 04:23:15PM +0200, Kristian Peters wrote:
> Can you give me some details of dependencies ? I mean, which things have you 
> enabled/disabled in mplayer's configure-script ?

  Enabled optional drivers:
Input: ftp network tv-v4l2 tv-v4l edl tv live.com matroska cdda dvdcss 
mpdvdkit2 vcd smb Codecs: flac(external) xvid libdv libavcodec.so real 
xanim faad2 libvorbis libmad liblzo gif 
Audio output: alsa9 esd oss sdl mpegpes(dvb) 
Video output: xvidix cvidix dxr3 sdl gif89a jpeg png mpegpes(dvb) fbdev aa 
ggi xmga mga opengl dga xv x11 xover tga tdfxfb 3dfx 
  Disabled optional drivers:
Input: tv-bsdbt848 dvdread 
Codecs: qtx opendivx dshow/dmo win32 libtheora 
Audio output: sgi sun arts dxr2 nas win32 macosx 
Video output: winvidix bl zr dxr2 directx vesa svga xvmc directfb tdfx_vid

Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: mplayer updates

2003-10-07 Thread Guido Guenther
On Tue, Oct 07, 2003 at 11:28:01PM +0200, Benjamin Herrenschmidt wrote:
> mplayer: error while loading shared libraries:
> /usr/lib/libavcodec.so.0.4.8: R_PPC_REL24 relocation at 0x0ff47ccc for
> symbol `vorbis_analysis_wrote' out of range(Current debian sid)
Interesting. Works here. Is the error independent of the movie? Are you
using prelink?
 -- Guido


signature.asc
Description: Digital signature


Re: mplayer updates

2003-10-08 Thread Guido Guenther
Hi Benjamin,
On Wed, Oct 08, 2003 at 09:40:31AM +0200, Benjamin Herrenschmidt wrote:
> Ok, I re-installed libvorbis from pool (same version) and it works now,
> could have been a prelink issue
Great. It might be worthwhile to prelink again and see if it breaks.
There don't seem to be any ppc specific bugs open against prelink.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: DVD to DivX!!!

2003-10-10 Thread Guido Guenther
On Thu, Oct 09, 2003 at 11:50:53PM +0200, CK wrote:
> > Any DVD to DivX software for LinuxPPC?
> 
> http://www.bunkus.org/dvdripping4linux/single/
> mencode and transcode work like a charm, dvd::rip works 
> and makes the job very easy (though you have to build the
> latter two from source, but it's painless)
Or use acidrip from the URL below:
 deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: mplayer updates

2003-10-10 Thread Guido Guenther
On Fri, Oct 10, 2003 at 03:02:42PM +0200, Vincent Bernat wrote:
> I get the same but with fwrite. What should I reinstall ? libc ? I
> don't remember to have prelinked anything.
Does "prelink -u /lib/libc.so.6" help? If so please file a bug against
prelink.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: DVD to DivX!!!

2003-10-13 Thread Guido Guenther
On Sat, Oct 11, 2003 at 02:49:40PM +0200, Lucas Moulin wrote:
> How comes this is a gtk1.2 program when
> http://acidrip.thirtythreeandathird.net/ says it's in gtk2 ?
Because the version packaged is a bit outdated. I think Christian will
happily accept patches to change this.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: HDD failing? :'(

2003-10-13 Thread Guido Guenther
On Mon, Oct 13, 2003 at 09:40:44PM +1000, J. Javier Maestro wrote:
> and after a while,, the login timed out (I didn't type password, since I
> was copying the error message by hand) and this came out:
Try "apt-get install smartmontools" and run an offline as well as an
extended self test (smartctl -t {offline,long} /dev/), after
that have a look at "smartctl -a /dev/".
 -- Guido


signature.asc
Description: Digital signature


Re: prelink does not work correctly on powerpc

2003-10-14 Thread Guido Guenther
On Sat, Oct 11, 2003 at 11:45:32PM +0200, Michel Dänzer wrote:
> On Sat, 2003-10-11 at 23:13, Andrés Roldán wrote:
> > 
> > R_PPC_REL24 relocation can show only in non-pic shared libraries on PPC,
> > which is a bad idea on all platforms (some don't allow it at all even).
> 
> Indeed. This was my first suspicion, but I got confused in the meantime.
> Guido, please make sure all code which ends up in
> /usr/lib/libavcodec.so.0.4.8 is compiled with -fPIC.
I recompiled with -DPIC -fPIC now. I'd be glad to hear if this solves
the problem. Updated packages are at:
 deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/
Cheers,
 -- Guido


signature.asc
Description: Digital signature


[ballen@gravity.phys.uwm.edu: Re: Re: HDD failing? :'( (fwd)]

2003-10-14 Thread Guido Guenther
-- Forwarded message --
> I am also sending the smartclt -a /dev/hda4 results, in case someone
> wiser than me knows how to read more stuff than I do in them! :)

use the -v 9,seconds option to smartctl.

> 5 Reallocated_Sector_Ct   0x0033   080   080   024Pre-fail  Always
>-   497

Your drive has reallocated 497 bad sectors, but still has a lot left...

> 9 Power_On_Hours  0x0032   068   068   000Old_age   Always
>

- End forwarded message -



Re: [ballen@gravity.phys.uwm.edu: Re: Re: HDD failing? :'( (fwd)]

2003-10-14 Thread Guido Guenther
On Tue, Oct 14, 2003 at 09:23:30PM +1000, J. Javier Maestro wrote:
> SMART Self-test log structure revision number 1
> No self-tests have been logged
Could you run "smartctl -t long " and see if anything changes here?
 -- Guido


signature.asc
Description: Digital signature


Re: [ballen@gravity.phys.uwm.edu: Re: Re: HDD failing? :'( (fwd)]

2003-10-14 Thread Guido Guenther
On Tue, Oct 14, 2003 at 10:54:43PM +1000, J. Javier Maestro wrote:
>   Self-test execution status:  ( 105) The previous self-test 
> completed having
>   the servo (and/or seek) element of the 
>   test failed.
This doesn't look good. I'd go for a replacement.
 -- Guido


signature.asc
Description: Digital signature


Re: prelink does not work correctly on powerpc

2003-10-14 Thread Guido Guenther
On Tue, Oct 14, 2003 at 03:31:51PM +0200, Michel Dänzer wrote:
> objdump -R /usr/lib/libavcodec-0.4.8.so|grep R_PPC_REL24
Can you point me to a current copy of Linux PPC ELF ABI so I can check
these things myself in the future?

> shows, it's fine now, thanks. BTW, this isn't a PPC specific problem,
> there's a reason why Debian policy mandates that shared libraries
> consist entirely of -fPIC code: they break otherwise on pretty much
> anything but i386.
Sure we're having pretty much the same issues on mips. PPC seems to be
different as it "allows" non pic code to work to a certain extent at
least.
 -- Guido


signature.asc
Description: Digital signature


Re: PINE for ppc?

2003-10-14 Thread Guido Guenther
On Tue, Oct 14, 2003 at 10:06:06AM -0400, Adam Bell wrote:
> So, I'm in the process of building a new main server using Debian-ppc, 
> but I ran into an unexpected snafu.  Due to the other people who use 
> the box and their nostalgia / preferences PINE is a make-or-break 
> package for me.  I need it.  I also have no desire at all to recompile 
> it.
apt-cache show pine-tracker
 -- Guido


signature.asc
Description: Digital signature


Re: cross-compiling on ppc to i686

2003-10-15 Thread Guido Guenther
On Wed, Oct 15, 2003 at 04:02:39PM +0200, Antoine Terrienne wrote:
> ../../gcc-3.4-20031008/gcc/config/i386/linux.h:220:20: signal.h: No such file 
> or
> directory
> ../../gcc-3.4-20031008/gcc/config/i386/linux.h:221:26: sys/ucontext.h: No such
> file or directory
You need the glibc+headers if you don't bootstrap with --newlib.
 -- Guido


signature.asc
Description: Digital signature


Re: cross-compiling on ppc to i686

2003-10-15 Thread Guido Guenther
On Wed, Oct 15, 2003 at 04:52:44PM +0200, Guido Guenther wrote:
> You need the glibc+headers if you don't bootstrap with --newlib.
Aeeh...--with-newlib that is. I usually use:
 ../gcc-${GCC}/configure --enable-languages=c --disable-shared --with-newlib 
--disable-threads ...
to bootstrap cross gcc.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: cross-compiling on ppc to i686

2003-10-17 Thread Guido Guenther
On Thu, Oct 16, 2003 at 09:00:07PM +0200, Antoine Terrienne wrote:
> Yes you're right ! seems logic we need the target lib/headers to get
> the cross compiler up. But unfortunately I get exacly the same result
> with the --with-newlib option :
Some architecture need the glibc headers to bootstrap, i386 is among
them. You can just use the headers from the i386 libc6-dev package,
extract it with dpkg-deb -x libc6-dev*_i386.deb and move the usr/include
into your $(prefix)/i386-linux/include. You can then bootstrap gcc.
 -- Guido


signature.asc
Description: Digital signature


Re: Proposed patch: ppcdetect -> archdetect

2003-10-21 Thread Guido Guenther
Hi Sven,
On Mon, Oct 20, 2003 at 08:03:37PM +0200, Sven Luther wrote:
> Install the kernel-image-2.4.22-powerpc-chrp-rs6k package, and you
> should get the zImage.chrp-rs6k which is called
> /boot/vmlinuz-2.4.22-powerpc.
is there a special reason why you encode the -powerpc- in all of the
subarchitectures? The arch should be obvious from the "Architecture:"
field anyway or am I missing something.
Thanks a lot for taking care of all the different subarches,
 -- Guido


signature.asc
Description: Digital signature


Re: Proposed patch: ppcdetect -> archdetect

2003-10-21 Thread Guido Guenther
On Tue, Oct 21, 2003 at 12:53:35PM +0200, Sven Luther wrote:
> Well, as opposed to -powerpc-smp. They come from the name of the two
> config i build (powerpc and powerpc-smp), but also is a limitation of
> kernel-package, who cannot dissociate the version of the kernel from the
> name of the resulting package.
I'm using:
 make-kpkg --subarch $$i --append-to-version=-$$i kernel_image 
in the kernel-patch-*-mips package. where $i would be s.th. like
 chrp-rs6k or r4k-ip22 in the mips case.
The resulting kernel image is then called vmlinux-r4k-ip22 so that you
can easily install cpu optimized as well as 32/64 bit versions in
parallel: vmlinux-r{4,5}k-ip22{,-64}. Naming all the images the same
wouldn't allow for this.
 -- Guido


signature.asc
Description: Digital signature


Re: Proposed patch: ppcdetect -> archdetect

2003-10-21 Thread Guido Guenther
On Tue, Oct 21, 2003 at 04:03:52PM +0200, Sven Luther wrote:
> The pmac/chrp/chrp-rs6k/prep variants are not different configuration
> files, but different image formats built from the same configuration. In
> fact they share the same modules (kernel-modules-2.4.22-powerpc and
> -powerpc-smp) as well as udebs.
Aah...I see now. Thanks for the clarification.
 -- Guido


signature.asc
Description: Digital signature


Re: HOWTO install Debian from another distribution?

2003-10-24 Thread Guido Guenther
On Fri, Oct 24, 2003 at 12:51:43PM +0200, Arnaud Vandyck wrote:
> I  did  build debootstrap  from  another  powerpc  and launched  it.  It
> installed  some packages but  I do  not have  'ar'! nor  a 'functionnal'
> Debian system! :(
If you installed woody you can run 'base-config' which will guide you
through the rest of the installation process.
 -- Guido


signature.asc
Description: Digital signature


[patch] turn off backlight on 12" pbook

2003-10-28 Thread Guido Guenther
Hi,
the attached patch allows to toggle the backlight via "fblevel on/off"
on a 12" pbook on and off. It registers a full backlight control
although it can't handle brightness at the moment. Patch is against
2.4.22-ben2.
Many thanks to Mark Vojkovich for providing the necessary information.
Regards,
 -- Guido
--- drivers/video/riva/fbdev.c.orig 2003-09-25 14:22:24.0 +0200
+++ drivers/video/riva/fbdev.c  2003-10-28 15:50:08.0 +0100
@@ -56,6 +56,10 @@
 #error This driver requires PCI support.
 #endif
 
+#ifdef CONFIG_PMAC_BACKLIGHT
+#include 
+#endif
+
 #include 
 #include 
 #include 
@@ -123,7 +127,14 @@
 extern void riva_setup_accel(struct rivafb_info *rinfo);
 extern inline void wait_for_idle(struct rivafb_info *rinfo);
 
-
+#ifdef CONFIG_PMAC_BACKLIGHT
+static int riva_set_backlight_enable(int on, int level, void *data);
+static int riva_set_backlight_level(int level, void *data);
+static struct backlight_controller riva_backlight_controller = {
+   riva_set_backlight_enable,
+   riva_set_backlight_level
+};
+#endif /* CONFIG_PMAC_BACKLIGHT */
 
 /* - *
  *
@@ -1999,6 +2010,14 @@
SEQout(rinfo, 0x01, tmp);
CRTCout(rinfo, 0x1a, vesa);
 
+#ifdef CONFIG_PMAC_BACKLIGHT
+   if ( rinfo->got_dfpinfo && _machine == _MACH_Pmac) {
+   set_backlight_enable(!blank);
+   return;
+   }
+#endif
+
+
DPRINTK("EXIT\n");
 }
 
@@ -2244,6 +2263,26 @@
 }
 
 
+#ifdef CONFIG_PMAC_BACKLIGHT
+static int riva_set_backlight_enable(int on, int level, void *data)
+{
+   struct rivafb_info *rinfo = (struct rivafb_info *)data;
+   unsigned int tmp;
+
+   tmp = rinfo->riva.PMC[0x10F0/4] & 0x7FFF;
+   rinfo->riva.PMC[0x10F0/4] = tmp;
+   tmp = rinfo->riva.PCRTC0[0x081C/4] & 0xFFFC;
+   if(on)
+   tmp |= 0x1;
+   rinfo->riva.PCRTC0[0x081C/4] = tmp;
+   return 0;
+}
+
+static int riva_set_backlight_level(int level, void *data)
+{
+   return riva_set_backlight_enable(1, level, data);
+}
+#endif /* CONFIG_PMAC_BACKLIGHT */
 
 /* - *
  *
@@ -2400,6 +2439,12 @@
rinfo->ram_amount / (1024 * 1024),
rinfo->fb_base_phys);
 
+#ifdef CONFIG_PMAC_BACKLIGHT
+   if (rinfo->got_dfpinfo && _machine == _MACH_Pmac)
+   register_backlight_controller(&riva_backlight_controller,
+   rinfo, "mnca");
+#endif
+
return 0;
 
 err_out_load_state:


signature.asc
Description: Digital signature


Re: [patch] turn off backlight on 12" pbook

2003-10-28 Thread Guido Guenther
On Tue, Oct 28, 2003 at 03:59:11PM +0100, Guido Guenther wrote:
> although it can't handle brightness at the moment. Patch is against
> 2.4.22-ben2.
A slightly updated version (that additionally turns off the backlight at
level == 0) can be found at:
 http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/rivafb-blank.diff
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: [patch] turn off backlight on 12" pbook

2003-10-30 Thread Guido Guenther
On Thu, Oct 30, 2003 at 02:46:12PM +1100, Benjamin Herrenschmidt wrote:
> If any of you has a MacOS 9 capable machine with flat panel, I want to
> see if we can get the actual finer backlight control to work. With MacOS
That'd be pretty cool. NVidia currently doesn't provide any information
on brightness control and I don't have MacOS 9.
With the patch at
  
http://honk.physik.uni-konstanz.de/~agx/linux-ppc/xfree86/patches/experimental/xfree86-nv-backlight-2003-10-30.diff
the backlight is turned off on DPMS {standby,suspend,off} events under
XFree86.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: Playing a .mov file with mplayer

2003-11-03 Thread Guido Guenther
On Sun, Nov 02, 2003 at 08:46:39AM +0100, Soeren Sonnenburg wrote:
> Try mplayer-cvs ...
This is linux-ppc? Libfaad2 rc1 as well as mplayer CVS doen't seem to
support this codec.
 -- Guido


signature.asc
Description: Digital signature


Re: Playing a .mov file with mplayer

2003-11-03 Thread Guido Guenther
On Mon, Nov 03, 2003 at 06:12:53PM +0100, Guido Guenther wrote:
> On Sun, Nov 02, 2003 at 08:46:39AM +0100, Soeren Sonnenburg wrote:
> > Try mplayer-cvs ...
> This is linux-ppc? Libfaad2 rc1 as well as mplayer CVS doen't seem to
> support this codec.
codecs.conf says:

audiocodec qdmc
  info "Quicktime QDMC/QDM2 audio decoders"
  status working
  format 0x324D4451 ; "QDM2"
  format 0x434D4451 ; "QDMC"
  driver qtaudio
  dll "QuickTime.qts"

...which we don't have on ppc, so we're out of luck, I think.
 -- Guido


signature.asc
Description: Digital signature


Re: Playing a .mov file with mplayer

2003-11-04 Thread Guido Guenther
On Tue, Nov 04, 2003 at 03:07:09AM +0100, Paul TT wrote:
> which we have on ppc :-)
> fourcc are "a4pm" or mp4a, if you like...
> or better, in the trailer i downloaded, it's that way! ;-)
So maybe we're running different trailers. Can I find yours somewhere?
Mine has md5 36320671963e70b62de6348fadfccda1.
 -- Guido


signature.asc
Description: Digital signature


Re: Playing a .mov file with mplayer

2003-11-04 Thread Guido Guenther
On Tue, Nov 04, 2003 at 12:37:47AM +0100, Soeren Sonnenburg wrote:
> sure,
>  powerbook g4 15" + linux...
The trailers you are watching uses a different audio codec (which we
found out in private mail, thanks Soeren). However the current mplayer
packages can't handle that one either, I've put updated packages built
against an updated libfaad (+ the source package of libfaad 2 rc1) at:
 http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/mplayer/test/
You'll need both, an updated libfaad and an mplayer.
 -- Guido


signature.asc
Description: Digital signature


Re: full-screen presentation

2003-11-10 Thread Guido Guenther
On Mon, Nov 10, 2003 at 12:00:51PM -0500, Nirmal Govind wrote:
> options I have are gv, kghostview and xpdf, and I don't see any 
> full-screen option in any of these.. please let me know if there's a way 
$ xpdf -fullscreen bla.pdf
$ xpdf -v
xpdf version 2.03
Copyright 1996-2003 Glyph & Cog, LLC
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: X performance

2003-11-11 Thread Guido Guenther
On Tue, Nov 11, 2003 at 12:00:45AM -0800, Vincent Bernat wrote:
> DivX is 640x480. The problem is : why X is taking 40% of proc (and
> mplayer 50%) ? With xvidix, X only takes 5% (I suppose it is not
> sollicited) and mplayer takes 55%.
Are you using -vo xv? X eats up much more CPU time if you use -vo x11.
 -- Guido


signature.asc
Description: Digital signature


[patch] g4 ibook radeonfb

2003-11-11 Thread Guido Guenther
Hi,
I need the following patch to get the radeonfb to work on a new g4 ibook
(PCIId 5c63). The display is slightly flickering until X is started but
at least this lets CVS X work with the "UseFBDev" Option.
Cheers,
 -- Guido
--- include/linux/pci_ids.h.orig2003-11-11 14:12:49.0 +0100
+++ include/linux/pci_ids.h 2003-11-11 13:56:21.0 +0100
@@ -313,6 +313,7 @@
 #define PCI_DEVICE_ID_ATI_RADEON_Le0x4c65
 #define PCI_DEVICE_ID_ATI_RADEON_Lf0x4c66
 #define PCI_DEVICE_ID_ATI_RADEON_Lg0x4c67
+#define PCI_DEVICE_ID_ATI_RADEON_Lh0x5C63
 /* RadeonIGP */
 #define PCI_DEVICE_ID_ATI_RADEON_IGP   0xCAB0
 
--- drivers/video/radeonfb.c.orig   2003-11-11 14:13:35.0 +0100
+++ drivers/video/radeonfb.c2003-11-11 13:55:41.0 +0100
@@ -206,6 +206,7 @@
RADEON_Le,
RADEON_Lf,
RADEON_Lg,
+   RADEON_Lh,
RADEON_ND,
RADEON_NE,
RADEON_NF,
@@ -265,6 +266,7 @@
{ "M9 Le", RADEON_M9 },
{ "M9 Lf", RADEON_M9 },
{ "M9 Lg", RADEON_M9 },
+   { "M9 Lh", RADEON_M9 },
{ "9700 ND", RADEON_R300 },
{ "9700 NE", RADEON_R300 },
{ "9700 NF", RADEON_R350 },
@@ -317,6 +319,7 @@
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Le, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_Le},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Lf, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_Lf},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Lg, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_Lg},
+   { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_Lh, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_Lh},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_ND, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_ND},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_NE, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_NE},
{ PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_RADEON_NF, PCI_ANY_ID, 
PCI_ANY_ID, 0, 0, RADEON_NF},


signature.asc
Description: Digital signature


Re: [patch] g4 ibook radeonfb

2003-11-11 Thread Guido Guenther
On Tue, Nov 11, 2003 at 09:55:49PM +0100, Michel Dänzer wrote:
> abandoned for the newer chips though, the relevant line in the XFree86
> radeon_probe.c:
> 
>{ PCI_CHIP_RV280_5C63, "ATI Radeon Mobility 9200 (M9+) 5C63 (AGP)" },
> 
> as opposed to:
> 
>{ PCI_CHIP_RV250_Lf, "ATI Radeon Mobility 9000 (M9) Lf (AGP)" },
O.k. thanks a lot. I'll update the patch. Will be some time until
I'll have access to this machine again. I can hopefully debug the
flickering a bit then. 
 -- Guido


signature.asc
Description: Digital signature


Re: CFP (Call for Participation) Debian PPC64

2003-11-11 Thread Guido Guenther
On Tue, Nov 11, 2003 at 02:36:48PM -0500, Kevin B.Hendricks wrote:
> Using that as an example:
> 
> - kernel is 64 bit supporting both 32 but and 64 bit syscalls
> - /lib and /lib64 both exist
> - tool chain defaults to 64 bit but with addition of -m32 wll generate 
> 32 bit
> - gdb32 and gdb available
> - almost all packages are compiled 64 bit src rpms, with just a few key 
> libraries done in 32 bit
I think the amd64 guys are trying to find a solution where you can
install 32 and 64 bit libraries in parallel for maximum choice. I'm not
sure how they intend to handle the -dev packages though. Our packaging
system isn't up to handle this yet but with more and more architectures
aiming to support bot 32 and 64 bit (at least sparc, amd64, ppc and
mips, the later one will have to support even 3 ABIS) we'll have to
tackle this sooner or later. Do you know about any more details?
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: Question about framebuffer...

2003-11-18 Thread Guido Guenther
On Sat, Nov 15, 2003 at 09:40:26AM +0100, Michael Schmitz wrote:
> > > Yes it does, I've posted a patch to fix 2.6.0-test7 rivafb here a while
> > > ago.
> > Could you post a link or repost it please. The question turns up far
> > again and again and having the patch more than once in the archive won't
> > hurt.
> 
> I have no link - it should be in the archive around Oct. 15. Anyway, here
> goes again  ...
Thanks. Unfortunately rivafb only gives coloured stripes when the
penguin logo should appear on my 12" pbook (OF works fine). Will be some
time I can have a closer look. X, alsa and networking seem to work well
after a short test.
Thanks!
 -- Guido


signature.asc
Description: Digital signature


Re: 12" G4 iBook

2003-11-20 Thread Guido Guenther
On Thu, Nov 20, 2003 at 12:27:38PM +0100, Michael Schmitz wrote:
> Meaning your kernel doesn't support sleep. From the fact that pmud dies
> I'd assume other PMU functions aren't supported, either. Please look at
> the syslog for further clues.
The new G4 ibooks aren't marked as having sleep support in
pbook_features.c.
 -- Guido


signature.asc
Description: Digital signature


Re: 12" G4 iBook

2003-11-20 Thread Guido Guenther
On Wed, Nov 19, 2003 at 10:04:17PM +0100, Matthias Kirschner wrote:
> >  - XFree86 acceleration for the Radeon 9200
> you need the patch g4-ibook-ati-m9.diff from Guido Günther
> (www.difficulties.de/ibook/)  
IIRC you also need CVS XFree86 since 4.3 doesn't know about the PCI IDs.
You'll also need UseFBDev in XF86Config-4. Adding this to your page
would be great.
Cheers,
 -- Guido



Re: 12" G4 iBook

2003-11-20 Thread Guido Guenther
On Thu, Nov 20, 2003 at 02:58:08PM +0100, Michel Dänzer wrote:
> On Thu, 2003-11-20 at 14:26, Guido Guenther wrote:
> > On Wed, Nov 19, 2003 at 10:04:17PM +0100, Matthias Kirschner wrote:
> > > >  - XFree86 acceleration for the Radeon 9200
> > > you need the patch g4-ibook-ati-m9.diff from Guido Günther
> > > (www.difficulties.de/ibook/)  
> > IIRC you also need CVS XFree86 since 4.3 doesn't know about the PCI IDs.
> 
> Overriding to a supported 9000 or similar chip should work though?
Think so. XF86 handels it like a M9+. I'm just updating your
030b_radeon_rv280_support.diff, so we can support this in sarge.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: rivafb in 2.4 / 2.6 benh kernel.

2003-11-27 Thread Guido Guenther
On Wed, Nov 26, 2003 at 09:12:12AM +0100, Michael Schmitz wrote:
> If that's not it: happy hacking. I can send you BenH's lsprop source to
> list the OF device tree in human readable format if you need that.
Please post that to the list.
Thanks,
 -- Guido


signature.asc
Description: Digital signature


Re: rivafb in 2.4 / 2.6 benh kernel.

2003-11-27 Thread Guido Guenther
On Thu, Nov 27, 2003 at 02:23:54PM +0100, Michael Schmitz wrote:
> BTW, it's not BenH's but Paulus' tool. My bad.
I googled Paulus one but since you mentioned BenH's I thought it'd be
different.
Thanks,
 -- Guido


signature.asc
Description: Digital signature


Re: Yet another G4 iBook newbie

2003-12-01 Thread Guido Guenther
On Sun, Nov 30, 2003 at 04:01:51PM +, Diana Galletly wrote:
> Since applying the patch I have nasty flickering in console
> mode which I didn't have before.  X (as before) fails to
This is because you're using radenfb and not of anymore. The flickering
goes away once X started up.

> All in all I'm feeling pretty despondent -- I've been trying
> to get this beastie installed for a week now (not the best
> week to pick, I admit!) and I feel like I'm getting nowhere
> fast, so all help gratefully received ...
As a workaround I've put an Xserver that is known to work on the G4
ibook at:
  http://honk.physik.uni-konstanz.de/~agx/linux-ppc/xfree86/
it's built against testing though, so you need at least libfreetype6 and
libc6 from testing.  Copy it to /usr/local/bin and adjust the /etc/X11/X
symlink. I have a patch for the debian X packages here but need a chance
to test it on Matthias's machine...
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: Yet another G4 iBook newbie

2003-12-02 Thread Guido Guenther
On Mon, Dec 01, 2003 at 09:48:32PM +, Diana Galletly wrote:
> On Mon, 1 Dec 2003, Guido Guenther wrote:
> 
> > This is because you're using radenfb and not of anymore. The flickering
> > goes away once X started up.
> 
> Well, yes, but perhaps only because I can't get to my VTs any more :-)
> of==OpenFirmware or something else? -- because I don't think I was still
> using OpenFirmware in booting!
Install pbbuttonsd and set "kbdmode = fkeysfirst" in
/etc/pbbutonsd.conf, after that switching to the console should work.
 -- Guido


signature.asc
Description: Digital signature


Re: apt-get/aptitude: "public key is not available"

2005-09-27 Thread Guido Guenther
On Sat, Sep 24, 2005 at 12:41:33PM +0200, Wolfram Quester wrote:
> Guido stores the archive key for his repository at 
> http://www.sigxcpu.org/misc/sigxcpu-archive-key-2005-2.asc
> www.sigxcpu.org is an alias for honk.physik.uni-konstanz.de.
> To incorporate this key you can do a
> 
> wget http://www.sigxcpu.org/misc/sigxcpu-archive-key-2005-2.asc
> sudo apt-key add sigxcpu-archive-key-2005-2.asc

Thanks for the update Wolfi! I moved things slightly to make everything
consistent. The URL is:

http://honk.sigxcpu.org/linux-ppc/debian/mplayer/

which gives:

deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/
deb-src http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/

and the key is here:

http://honk.sigxcpu.org/misc/sigxcpu-archive-key.gpg

The old URLs should still work as expected, although apt-get might
complain about the signature.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


pbbuttonsd vs. mouseemu

2005-10-28 Thread Guido Guenther
Hi,
during bootup mouseemu starts before pbbuttonsd. After that pbbuttonsd
doesn't care about _any_ keyboard events. Brightness/Volume control,
etc. doesn't work.
Restarting pbbuttonsd "fixes" this. Restarting mouseemu breaks it again.
Anybody else seen this? This is fairly old (USB 1.1) 12" PB.
Cheers,
 -- Guido


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



Re: 2.6.14-rc5 uploaded to experimental available at http://people.debian.org/~luther/2.6.14-rc5

2005-11-01 Thread Guido Guenther
On Mon, Oct 31, 2005 at 01:52:04PM +0100, Sven Luther wrote:
> On Mon, Oct 31, 2005 at 01:39:21PM +0100, Leonardo Lanzi wrote:
> > Surely I'm doing some stupid error, but on a PBG4 12" Al, it stops as 
> > follow (I installed the image from a working 2.6.13-2 compiled from 
> > vanilla):
> 
> Known problem, nvidiafb seems broken, benh has patches, and said he would send
> them to me, in the meantime use offb (video=ofonly ?).
rivafb should work too.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: mplayer debs no GPG available

2005-11-01 Thread Guido Guenther
On Mon, Oct 31, 2005 at 06:42:54PM +0100, Peter Plessas wrote:
> this might have been discussed before, but as i update the apt cache, i 
> get an error/warning:
> 
> W: GPG error honk.physik.uni-konstanz.de /mplayer Release The following 
> signatures could not be verified because the public key is not 
> available: NO_PUBKEY BDCE3370C88CEDF6
Key is here:
 http://honk.sigxcpu.org/misc/sigxcpu-archive-key.gpg
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: pbbuttonsd vs. mouseemu

2005-11-01 Thread Guido Guenther
On Mon, Oct 31, 2005 at 11:18:08AM +0100, Michael Schmitz wrote:
> > > during bootup mouseemu starts before pbbuttonsd. After that pbbuttonsd
> > > doesn't care about _any_ keyboard events. Brightness/Volume control,
> > > etc. doesn't work.
> > > Restarting pbbuttonsd "fixes" this. Restarting mouseemu breaks it again.
> > > Anybody else seen this? This is fairly old (USB 1.1) 12" PB.
> >
> > This is probably Bug #304734. Sorry, but as my PowerBook got stolen, I'm
> > currently unable to work on this. I just ordered a new one and will
> > hopefully find some time to work on mouseemu when it arrives. In the
> > meantime feel free to fix and NMU. The problem is to find a solution,
> > that does not break mouseemu (as does not reintroduce to passthrough of
> > the mouse button hotkeys).
> 
> I thought this was strictly event device availability - we need to make
> both mouseemu and pbbuttonsd report details about the device scan. I have
> mouseemu starting before pbbuttonsd with no ill effects. I recall I added
> event devices up to event11 to work around this.
> 
> Waiting for Guido to report back on this before I try any further hacks
I've attached the contents of /proc/input/devices. Adding more devices
doesn't help (as only 6 are being used). I'm using udev on 2.6.14.
pbbuttonsd is 0.7.2-1 and mouseemu 0.15-2.
Cheers,
 -- Guido
I: Bus=0017 Vendor=0001 Product=0001 Version=0100
N: Name="Macintosh mouse button emulation"
P: Phys=
H: Handlers=mouse0 event0 
B: EV=7 
B: KEY=7 0 0 0 0 0 0 0 0 
B: REL=3 

I: Bus=0017 Vendor=0001 Product=22c4 Version=0200
N: Name="ADB keyboard"
P: Phys=adb2:2.c4/input
H: Handlers=kbd event1 
B: EV=120003 
B: KEY=feb0ffdf 3cf  fffe 
B: LED=7 

I: Bus=0017 Vendor=0001 Product=771f Version=0100
N: Name="ADB Powerbook buttons"
P: Phys=adb7:7.1f/input
H: Handlers=kbd event2 
B: EV=13 
B: KEY=7b 0 2 0 e 0 0 0 

I: Bus=0017 Vendor=0001 Product=3301 Version=0100
N: Name="ADB mouse"
P: Phys=adb3:3.01/input
H: Handlers=mouse1 event3 
B: EV=7 
B: KEY=7 0 0 0 0 0 0 0 0 
B: REL=3 

I: Bus= Vendor=001f Product=001f Version=
N: Name="Mouseemu virtual keyboard"
P: Phys=
H: Handlers=kbd event5 
B: EV=13 
B: KEY=1        

I: Bus= Vendor=001f Product=001e Version=
N: Name="Mouseemu virtual mouse"
P: Phys=
H: Handlers=mouse2 event6 
B: EV=7 
B: KEY=7 0 0 0 0 0 0 0 0 
B: REL=103 

I: Bus=0017 Vendor=001f Product=0001 Version=0100
N: Name="PowerMac Beep"
P: Phys=powermac/beep
H: Handlers=kbd event4 
B: EV=40001 
B: SND=6 



Re: pbbuttonsd vs. mouseemu

2005-11-03 Thread Guido Guenther
On Wed, Nov 02, 2005 at 09:58:16AM +0100, Michael Schmitz wrote:
> > > I thought this was strictly event device availability - we need to make
> > > both mouseemu and pbbuttonsd report details about the device scan. I have
> > > mouseemu starting before pbbuttonsd with no ill effects. I recall I added
> > > event devices up to event11 to work around this.
> > >
> > > Waiting for Guido to report back on this before I try any further hacks
> > I've attached the contents of /proc/input/devices. Adding more devices
> > doesn't help (as only 6 are being used). I'm using udev on 2.6.14.
> > pbbuttonsd is 0.7.2-1 and mouseemu 0.15-2.
> 
> Are you using autorescan? These same versions work for me just fine (no
> udev; see Matthias' remark about udev being slow to set up the devices).
> Need to try 2.6.14 yet, though.
Autorescan "fixes" the problem.
Thanks,
 -- Guido


signature.asc
Description: Digital signature


[patch] PowerBook 6,1: headphone not detected after suspend

2005-11-14 Thread Guido Guenther
Hi,
ever since suspend to disk works I had the problem that headphone
(un)plugging doesn't get detected properly anymore after the first
resume.
Reloading the module worked around this ever since, however the real
cause of the problem was that after a resume the driver only got
interrupts on "unplug" not on "plug". Reactivating the headphone status
interrupt in tumbler_resume fixes this. This shouldn't cause
any trouble with software suspend, but it would be nice if somebody
could confirm this:

--- orig/linux-2.6.14/sound/ppc/tumbler.c   2005-10-28 02:02:08.0 
+0200
+++ linux-2.6.14/sound/ppc/tumbler.c2005-11-14 12:01:13.0 +0100
@@ -1194,8 +1195,14 @@
tumbler_set_master_volume(mix);
if (chip->update_automute)
chip->update_automute(chip, 0);
-   if (mix->headphone_irq >= 0)
+   if (mix->headphone_irq >= 0) {
+   unsigned char val;
+
enable_irq(mix->headphone_irq);
+   /* activate headphone status interrupts */
+   val = do_gpio_read(&mix->hp_detect);
+   do_gpio_write(&mix->hp_detect, val | 0x80);
+   }
if (mix->lineout_irq >= 0)
enable_irq(mix->lineout_irq);
 }

Signed-off-by: Guido Guenther <[EMAIL PROTECTED]>

Cheers,
 -- Guido


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



Re: MythTV PPC

2005-11-28 Thread Guido Guenther
On Mon, Nov 28, 2005 at 09:23:41AM +1100, Dean Hamstead wrote:
> the main attraction might be that intel(amd etc) hardware is
> generally cheaper. the ffmpeg codec also seems to perform better
> on x86.
Ffmpeg does quiet well with altivec optimations, without that it's
rather slow, but same is true for i386 without SSE or similar.
Cheers,
 -- Guido


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



Re: Looking for ALSA specialist willing to support pbbuttonsd

2005-12-05 Thread Guido Guenther
On Fri, Dec 02, 2005 at 12:25:19PM +0100, Kasper Jordaens wrote:
> This seems a very good solution for the current problem. One thing I
> would add would be software suspend support. Alsa seems to have
> trouble resuming if the state is different from when it was
> suspended-to-disk, headphone detection seems to be wrong, volumes
> mixed up etc.
Could you check if:
http://honk.sigxcpu.org/linux-ppc/kernel/fix-dead-headphone-after-suspend-2.6.14.diff
fixes the headphone detection after suspend to ram? This at least fixes
it for suspend to disk, which is the same code patch.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: powerbook 12 freezes on "MMU:EXIT, setup"

2006-01-02 Thread Guido Guenther
On Mon, Jan 02, 2006 at 04:26:18PM +0100, Triverio M. wrote:
> Hello everybody,
> I'm Marco, this is the first time I write on this mailing list.
> Hope not to seem too stupid, I'm just a new user to Debian.
> I've been given the last Debian Etch Testing for PowerPC but when my  
> PowerBook 12 (G4 1.5Ghz) boots the first cd it just freezes on:
> 
> MMU: mapin
> MMU: setio
> MMU: exit
> setup_
> 
> Kernel should be 2.6.12.
Do you have nvidiafb enabled? It's broken in 2.6.12, try rivafb. I think
BenH fixed parts of nvidiafb recently, I haven't tried it though.
Cheers,
 -- Guido



Re: powerbook 12 freezes on "MMU:EXIT, setup"

2006-01-02 Thread Guido Guenther
On Mon, Jan 02, 2006 at 09:51:18PM +0100, Triverio M. wrote:
> Thank you everybody.
> Unfortunately it is not fixed in 2.6.14: do you know wheter 2.6.15 is  
> included in Debian Testing (etch) at the present time?
> 
> What will I "lose" disabling nvidiafb?
Brightness control, colorful fullscreen mol,  You can try rivafb
instead (video=rivafb).

> Do I have to recompile the kernel to disable it? (hope this does not  
> sound too stupid)
try passing video=offb on the kernel command line - this will use the
openfirmware framebuffer which should work in any case.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: How to disable 'rivafb_pan_display START' at boot ?

2006-01-09 Thread Guido Guenther
On Sun, Jan 08, 2006 at 09:42:02AM +1300, Adam Felix Bogacki wrote:
> [xxx.xx] rivafb_pan_display START   [xxx.xx] rivafb_pan_display START
> [xxx.xx] rivafb_pan_display END [xxx.xx] rivafb_pan_display END
> [xxx.xx] rivafb_pan_display START   [xxx.xx] rivafb_pan_display START
> [xxx.xx] rivafb_pan_display END [xxx.xx] rivafb_pan_display END
> [xxx.xx] rivafb_pan_display START   [xxx.xx] rivafb_pan_display START
> [xxx.xx] rivafb_pan_display END [xxx.xx] rivafb_pan_display END
> [xxx.xx] rivafb_pan_display START   [xxx.xx] rivafb_pan_display START
> [xxx.xx] rivafb_pan_display END [xxx.xx] rivafb_pan_display END
Disable CONFIG_RIVAFB_DEBUG in you kernel configuration and rebuild.
 -- Guido


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



Re: iMac/nvidia & sleep

2006-02-10 Thread Guido Guenther
On Fri, Feb 10, 2006 at 01:02:40PM +0100, Michael Schmitz wrote:
> The rivafb kernel support varies somewhat. Depending on the precise model,
> stuff like backlight control may work, or may break. Guido Guenther used
> to keep rivafb patches on the net, so you may want to google around. Sleep
> support with rivafb I doubt somewhat. Suspend to disk might work though.
Rivafb is working quiet on NV17, NV3X although it's been mostly replaced
by nvidiafb these days. Brightness Control should work with both
drivers (only used rivafb so far though) and suspend to disks works out
of the box with recent 2.6. kernels - suspend is a no go, as you said.
What does lspci tell about the card, I can't seem to find a MX 400 in
the kernel's current pci_ids.
Cheers,
 -- Guido


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



Re: iMac/nvidia & sleep

2006-02-11 Thread Guido Guenther
On Fri, Feb 10, 2006 at 12:06:03PM -0800, Michael M. wrote:
> Guido Guenther wrote:
> >On Fri, Feb 10, 2006 at 01:02:40PM +0100, Michael Schmitz wrote:
> >
> >>The rivafb kernel support varies somewhat. Depending on the precise model,
> >>stuff like backlight control may work, or may break. Guido Guenther used
> >>to keep rivafb patches on the net, so you may want to google around. Sleep
> >>support with rivafb I doubt somewhat. Suspend to disk might work though.
> >
> >Rivafb is working quiet on NV17, NV3X although it's been mostly replaced
> >by nvidiafb these days. Brightness Control should work with both
> >drivers (only used rivafb so far though) and suspend to disks works out
> >of the box with recent 2.6. kernels - suspend is a no go, as you said.
> >What does lspci tell about the card, I can't seem to find a MX 400 in
> >the kernel's current pci_ids.
> 
> lspci -
> :00:10:00 vga compatible controller: nVidia Corporation NV11 
> [GeForce2 MX/MX 400] (revb2)
> 
> 00:10:00?  I thought it was PCI:00:16:00 when I reconfigured either xorg 
> or XF86.
This is basically the "bus Id", you can get the pci id of the device
with "lspci -n".
> 
> Is 2.6.8 a recent enough kernel?
The last rivafb fixes went into 2.6.11.
Cheers,
 -- Guido


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



Re: MythTV PPC

2006-02-12 Thread Guido Guenther
On Wed, Dec 07, 2005 at 06:56:55AM +0100, Inge Eidem wrote:
> Hi everyone
> 
> I have talk to alioth, and they have approved another project. So  
> here it is!
> 
> Ill talk to the project admins about including a PPC build.
> 
> http://alioth.debian.org/projects/pkg-mythtv
Sorry for being late on this but Christian Marillat already packaged
this and I took about two lines of changes in debian/rules to get it to
compile for ppc and sparc [1]. You can dowload it from the usual
location [2].
Cheers,
 -- Guido

[1] his packages would provide a very good base to get this into the
main archive

[2] deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/


signature.asc
Description: Digital signature


ppc mplayer debian packages archive key

2006-03-05 Thread Guido Guenther
Hi,
I've just updated the gpg key used to sign the mplayer ppc packages's
release file at:
 deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/

The new key (key-id 0x3F041553506A0744) is available from:
 https://honk.sigxcpu.org/misc/sigxcpu-archive-key.gpg

Please update your keyring via apt-key.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: mozilla-mplayer does not show video

2006-03-06 Thread Guido Guenther
On Sun, Mar 05, 2006 at 12:47:27PM -0500, Tamas K Papp wrote:
[..snip..]
> Another issue: I have PowerBook5,4 which is supposed to have altivec.
> However, mplayer-g4 has problems (strange blocks in videos, etc) while
> mplayer-powerpc works fine.  I am just curious why this happens...
Which mplayer packages are you using? Which versions? Does lavdopts:idct=2 help?
 -- Guido


signature.asc
Description: Digital signature


Re: ppc mplayer debian packages archive key

2006-03-08 Thread Guido Guenther
On Tue, Mar 07, 2006 at 09:27:06AM +0100, Bin Zhang wrote:
> There is a patch wmv3-support-via-vc1.diff.gz in
> http://blog.linux.org.tw/~jserv/archives/001545.html for adding wmv3
> support.
> I have just tested it (rebuild packages from mplayer-g4 source) and it works.
> But I don't understand well the license in this patch.  Can somebody
> tell me if I can use it ?
Any reason why this shouldn't be applied to mplayer upstream? Could you
ask on mplayer-dev?
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: ppc mplayer debian packages archive key

2006-03-08 Thread Guido Guenther
On Wed, Mar 08, 2006 at 09:58:48AM +0100, Bin Zhang wrote:
> On 3/8/06, Guido Guenther <[EMAIL PROTECTED]> wrote:
> > On Tue, Mar 07, 2006 at 09:27:06AM +0100, Bin Zhang wrote:
> > > There is a patch wmv3-support-via-vc1.diff.gz in
> > > http://blog.linux.org.tw/~jserv/archives/001545.html for adding wmv3
> > > support.
> > > I have just tested it (rebuild packages from mplayer-g4 source) and it 
> > > works.
> > > But I don't understand well the license in this patch.  Can somebody
> > > tell me if I can use it ?
> > Any reason why this shouldn't be applied to mplayer upstream? Could you
> > ask on mplayer-dev?
> 
> On his web site, the author said "the patch may have problem for
> upstream (and he will discuss this later)".
> [quote] patch 要進官方或許可能有問題 (稍後再談) [/quote]
> 
> My English is not good for well understanding the license of libvc1
> (used in the patch).  I would like to be sure that it is legal for
> using this patch.
I doubt that it can go into mplayer CVS with the current license but
that's probably something the mplayer developers should discuss with the
author of the patch, could you contact them?
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: bcm43xx 2.6.17-rc5 problems

2006-05-27 Thread Guido Guenther
On Sat, May 27, 2006 at 02:20:59PM +0200, Bernhard Reiter wrote:
> Now that 2.6.17-rc5 is out I gave it a test run.
> Unfortunately the wireless driver bcm43xx does not work,
> it not been working with -rc3 either.
> 
> Using the patches (softmac and all this) against 2.6.15.4 
> I got it to work a few times, and now I hoped that the integration into 
> the kernel would have made stuff better, but it didn't.
> 
> Any hints appreciated.
What worked for me is "associating with the access point manually",
i.e., ifconfig the interface, do dhcp (you won't get an address)
then:
- iwlist scan
- iwconfig  ap 
- rerun dhcp 
It seems there's something broken with the ap selection code, but I
didn't get around to figure out what exactly.
Cheers,
 -- Guido


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



Re: xorg nv options

2006-07-19 Thread Guido Guenther
On Sun, Jul 16, 2006 at 06:03:10PM +0200, Filippo Giunchedi wrote:
> On Sat, Jul 15, 2006 at 06:19:33PM -0400, Benjamin Herrenschmidt wrote:
> > > I haven't been able to use an external monitor/beamer with this laptop
> > > and xorg. Is it possible now (I have not tried it for a while).
> > 
> > The "nv" driver doesn't support dual head. I think it's possible however
> > to coerce it into using the external output instead of the internal flat
> > panel but I don't know the details. Others on the list might.
> 
> I can successfully use the external vga out, however the laptop LCD is not
> usable meanwhile. Note that you have to boot with the external vga adaptor
> plugged in.
Actually suspending to disk is enough. This (at least in my case) is a
lot faster then the complete reboot.
Cheers,
 -- Guido


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



Re: xorg nv options

2006-07-19 Thread Guido Guenther
On Wed, Jul 19, 2006 at 09:07:02AM -0400, Guy Yasko wrote:
> On 19 Jul 2006, Guido Guenther said:
> 
> On Sun, Jul 16, 2006 at 06:03:10PM +0200, Filippo Giunchedi wrote: >
> On Sat, Jul 15, 2006 at 06:19:33PM -0400, Benjamin Herrenschmidt
> wrote: 
> 
> > > I can successfully use the external vga out, however the laptop
> > > LCD is not usable meanwhile. Note that you have to boot with the
> > > external vga adaptor plugged in.
> > Actually suspending to disk is enough. This (at least in my case) is a
> > lot faster then the complete reboot.  
> 
> That makes sense.  However, I can only suspend-to-disk and wake up
> once.  My G4 12" (it's the 2005.2 version, i.e., PB 6,8) will hang on
> the second wake up call.
I have seen the same with 2.6.17 with my  PB 6,1. The machine hangs on
the second resume - didn't have any time to look into this yet, so I'm
still running .16.
Cheers,
 -- Guido


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



Re: xorg nv options

2006-07-19 Thread Guido Guenther
On Wed, Jul 19, 2006 at 10:21:13AM +0200, Filippo Giunchedi wrote:
> Hi Guido!
> 
> On Wed, Jul 19, 2006 at 09:20:24AM +0200, Guido Guenther wrote:
> > > I can successfully use the external vga out, however the laptop LCD is not
> > > usable meanwhile. Note that you have to boot with the external vga adaptor
> > > plugged in.
> > Actually suspending to disk is enough. This (at least in my case) is a
> > lot faster then the complete reboot.
> 
> good to know! I didn't tried because I had some weird problems with swsusp, 
> the
> last with swsusp working for me was 2.6.13 and now again 2.6.17! joy!
What powerbook is this exactly?
 -- Guido


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



Re: xorg nv options

2006-07-22 Thread Guido Guenther
On Wed, Jul 19, 2006 at 10:11:21PM +0200, Filippo Giunchedi wrote:
> I can't confirm that _every_ version between .13 and .17 didn't work, however
> for .1{5,6} I'm sure, but still it works now so I'm happy :)
I just switched back from nvidiafb to rivafb and fixed it up to work
with 2.6.18-rc2 (patch attached), now suspend and resume works fine
again. Will have check what breaks nvidiafb on the second resume
somewhen.
Cheers,
 -- Guido
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 9f2066f..eae291e 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1303,20 +1303,19 @@ #endif  /* CONFIG_MTRR */
 
nvidia_save_vga(par, &par->SavedReg);
 
+   pci_set_drvdata(pd, info);
+   nvidia_bl_init(par);
if (register_framebuffer(info) < 0) {
printk(KERN_ERR PFX "error registering nVidia framebuffer\n");
goto err_out_iounmap_fb;
}
 
-   pci_set_drvdata(pd, info);
 
printk(KERN_INFO PFX
   "PCI nVidia %s framebuffer (%dMB @ 0x%lX)\n",
   info->fix.id,
   par->FbMapSize / (1024 * 1024), info->fix.smem_start);
 
-   nvidia_bl_init(par);
-
NVTRACE_LEAVE();
return 0;
 
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index 33dddba..43aa8be 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -2132,6 +2132,9 @@ #endif /* CONFIG_MTRR */
 
fb_destroy_modedb(info->monspecs.modedb);
info->monspecs.modedb = NULL;
+
+   pci_set_drvdata(pd, info);
+   riva_bl_init(info->par);
ret = register_framebuffer(info);
if (ret < 0) {
printk(KERN_ERR PFX
@@ -2139,8 +2142,6 @@ #endif /* CONFIG_MTRR */
goto err_iounmap_screen_base;
}
 
-   pci_set_drvdata(pd, info);
-
printk(KERN_INFO PFX
"PCI nVidia %s framebuffer ver %s (%dMB @ 0x%lX)\n",
info->fix.id,
@@ -2148,8 +2149,6 @@ #endif /* CONFIG_MTRR */
info->fix.smem_len / (1024 * 1024),
info->fix.smem_start);
 
-   riva_bl_init(info->par);
-
NVTRACE_LEAVE();
return 0;
 


Re: Help needed with tibook 550 / Radeon mobility card / Pcmcia

2002-03-22 Thread Guido Guenther
Hi Mallum,
On Fri, Mar 22, 2002 at 09:33:50AM +, mallum wrote:
> All working now :))
> 
> X was fixed by upgrading to X 4.2 . I had to build from source ( just
> with a default 'make World' ) and then rather ickerly installed over
> the existing X debs - it may be safer to install under /usr/local .
> I then switched the driver in XF86Config to 'radeon' and everything
> was fine - 1152x768 at 24bit color and all lined up correctly.
You can mostly avoid scattering self build XFree86 files over your
filesystem by building a static server, just add:
"#define DoLoadableServer NO" in xc/config/cf/host.def. All you have
to do is to copy xc/programs/Xserver/XFree86 to an appropriate
location then.
I needed a few small patches to work around endianess problems(e.g.
swapped colors in Xv,...). These can be found at:
 http://honk.physik.uni-konstanz.de/~agx/linux-ppc/xfree86/
Cheers,
 -- Guido



Re: powerbook g4 sleep

2005-01-31 Thread Guido Guenther
On Sat, Jan 29, 2005 at 11:44:57PM +0100, Jack Malmostoso wrote:
> Ciao Christopher Molnar, nel tuo messaggio dicevi:
> 
> > Has anyone figured out how to put a powerbook g4 to sleep when closing
> > the cover so you do not have to reboot anytime you close the cover for
> > more than a minute or two?
> 
> Since the PBG4 has a nVidia graphic chip it will not sleep (AFAIK)... at
> least until BenH gets one and goes one step forward in becoming a saint.
You can suspend to disk if that helps.
 -- Guido


signature.asc
Description: Digital signature


Re: Sleep & 2.6.10

2005-02-23 Thread Guido Guenther
On Wed, Feb 23, 2005 at 11:54:20AM +1100, Benjamin Herrenschmidt wrote:
> > I also gather that suspend-to-disk is available - 
> > http://article.gmane.org/gmane.linux.debian.ports.powerpc/25379
> 
> I don't think suspend to disk is very reliable tho ...
Works here without problems for several days now, patch is at
 http://honk.physik.uni-konstanz.de/~agx/linux-ppc/kernel/2.6.11-rc4-agx0.diff
Cheers,
 -- Guido
> 
> > However, according to "Documentation/power/swsusp.txt", I must "append 
> > resume=/dev/your_swap_partition to kernel command
> > line" - but my swap partition is on an LVM2 logical volume 
> > (/dev/mapper/ruk-bip) - so I suspect this won't work.
> > 
> > Any suggestions for suspending, given this configuration? Must I wait 
> > patiently for sleep support with 2.6.10?
> > 
> > Has Ben's patch been integrated into any kernel repositories or 
> > packages? Speaking for myself, the patch is currently far better than 
> > no sleep support at all - is it on its way into mainstream? : )
> > 
> > Thanks again!
> > 
> > Jack
> -- 
> Benjamin Herrenschmidt <[EMAIL PROTECTED]>
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


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



Re: backlight control and debian kernel 2.6.10

2005-03-01 Thread Guido Guenther
Hi Djoume,
On Tue, Mar 01, 2005 at 09:28:50AM +0100, Djoume SALVETTI wrote:
> I've notice that despite kernel image 2.6.10 include and activate
> (CONFIG_PMAC_BACKLIGHT=y) Guido Guenther backlight control patch, I'm
> not able to control it while using this kernel (I've
> append="video=rivafb:[EMAIL PROTECTED]" in my yaboot.conf).
Could you use 'strace fblevel ' to see what error code the kernel
actually returns?

> Could this be due to CONFIG_FB_RIVA=m and CONFIG_FB_OF=y?
Possible.
 -- Guido


signature.asc
Description: Digital signature


Re: backlight control and debian kernel 2.6.10

2005-03-01 Thread Guido Guenther
On Tue, Mar 01, 2005 at 11:22:55AM +0100, Djoume SALVETTI wrote:
> Le mardi 03/01/05 Guido Guenther <[EMAIL PROTECTED]> a écrit :
> > Hi Djoume,
> > On Tue, Mar 01, 2005 at 09:28:50AM +0100, Djoume SALVETTI wrote:
> > > I've notice that despite kernel image 2.6.10 include and activate
> > > (CONFIG_PMAC_BACKLIGHT=y) Guido Guenther backlight control patch, I'm
> > > not able to control it while using this kernel (I've
> > > append="video=rivafb:[EMAIL PROTECTED]" in my yaboot.conf).
> > Could you use 'strace fblevel ' to see what error code the kernel
> > actually returns?
> 
> sure : 
> 
> gotan:/home/djoume# fblevel 10
> ioctl PMU_IOC_SET_BACKLIGHT: No such device
O.k. you're using offb instead of rivafb then. "fbset -i" will tell you
for sure. I assume passing "video=rivafb" doesn't help, since rivafb
can't take over from offb, right? Compiling in both definitely works.
Could you check how radeonfb is being handled in the debian kernels?
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: backlight control and debian kernel 2.6.10

2005-03-01 Thread Guido Guenther
On Tue, Mar 01, 2005 at 05:06:31PM +0100, Djoume SALVETTI wrote:
> I don't know why but I've try the following :
> 
> video=offb:off
> video=rivafb video=offb:off
> video=offb:off, video=rivafb
> 
> when I disable offb I don't have any framebuffer at all and when
> offb is enable rivafb is just ignored.
> 
> > Can you or Guido fill a proper bug report about this ? 
Once offb has control why should it handover things to rivafb, this is
expected behaviour I think. In the other case with offb:off, when
there's no fb at all I think rivafb should be able to "take over".

> I'm trying to recompile kernel-image-2.6.10 with CONFIG_RIVAFB=y and if it 
> works
> I will filed a bug.
Yes this should work, I'm using the very same setup.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: backlight control and debian kernel 2.6.10

2005-03-01 Thread Guido Guenther
On Tue, Mar 01, 2005 at 05:33:49PM +0100, Djoume SALVETTI wrote:
> Le mardi 03/01/05 Sven Luther <[EMAIL PROTECTED]> a écrit :
> > I suppose this means i need to rebuild 2.6.8-11 with rivafb builtin ? 
> 
> I dont think everything is included in 2.6.8 for backlight control,
> Guido patch for 2.6.10 doesn't apply cleanly on it and I don't have the
> skill to port it.
Well, backlight support is in rivafb since quiet some time but only
2.6.10 has everything to get rivafb to work at all on newer powerbooks
(NV30 based). The backport would basically be to use the
drivers/video/rivafb/ directory from 2.6.10, everything else make little
sense. This in fact shouldn't be very painfull...
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: backlight control and debian kernel 2.6.10

2005-03-02 Thread Guido Guenther
On Tue, Mar 01, 2005 at 05:51:15PM +0100, Sven Luther wrote:
> On Tue, Mar 01, 2005 at 05:56:44PM +0100, Guido Guenther wrote:
> > On Tue, Mar 01, 2005 at 05:33:49PM +0100, Djoume SALVETTI wrote:
> > > Le mardi 03/01/05 Sven Luther <[EMAIL PROTECTED]> a écrit :
> > > > I suppose this means i need to rebuild 2.6.8-11 with rivafb builtin ? 
> > > 
> > > I dont think everything is included in 2.6.8 for backlight control,
> > > Guido patch for 2.6.10 doesn't apply cleanly on it and I don't have the
> > > skill to port it.
> > Well, backlight support is in rivafb since quiet some time but only
> > 2.6.10 has everything to get rivafb to work at all on newer powerbooks
> > (NV30 based). The backport would basically be to use the
> > drivers/video/rivafb/ directory from 2.6.10, everything else make little
> > sense. This in fact shouldn't be very painfull...
> > Cheers,
> 
> I would be happy to apply that patch if you do and test it for me.
I'd be happy to do so, but I don't have any NV30 hardware and am very
short on time at the moment, sorry.
Cheers,
 -- Guido


signature.asc
Description: Digital signature


Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Guido Guenther
On Wed, Mar 02, 2005 at 11:02:08PM +0100, Moritz Armingeon wrote:
> On 20:58 Wed 02 Mar , Matthew T. Atkinson wrote:
> > I have always had similar problems playing video, with all video
> > players.  The audio is choppy and video goes out of sync with it after a
> > pause/resume.  Also, it seems to take up a lot of CPU time to simply
> > play vidoes, which I am surprised about.
> In my .mplayer/config:
> vo=sdl
> #ao=oss
> lavdopts:idct=2
  ^^^ not needed since we build ffmpeg with gcc-3.4 now.
   -- Guido


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



Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Guido Guenther
On Wed, Mar 02, 2005 at 08:58:43PM +, Matthew T. Atkinson wrote:
> [EMAIL PROTECTED]:~$ mplayer
> mplayer: error while loading shared
> libraries: /usr/lib/libavcodec-cvs.so: R_PPC_REL24 relocation at
> 0x0fe9d7fc for symbol `fprintf' out of range
> [EMAIL PROTECTED]:~$
Unprelink and turn prelink off.
Cheers,
 -- Guido


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



Re: Problems Playing Videos (audio track is choppy) (PB5,4)

2005-03-03 Thread Guido Guenther
On Wed, Mar 02, 2005 at 08:58:43PM +, Matthew T. Atkinson wrote:
> [EMAIL PROTECTED]:~$ mplayer
> mplayer: error while loading shared
> libraries: /usr/lib/libavcodec-cvs.so: R_PPC_REL24 relocation at
> 0x0fe9d7fc for symbol `fprintf' out of range
> [EMAIL PROTECTED]:~$
Could you try the latest libavcodec/mplayer, even with prelink enabled?
We pass -fPIC explicitly now which should help.
 -- Guido


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



Re: Powerbook 12" and vga-out

2005-03-03 Thread Guido Guenther
On Thu, Mar 03, 2005 at 01:07:35PM +, Wee-Jin Goh wrote:
> On Thu, 2005-03-03 at 12:53 +0100, Guido Guenther wrote:
> > On Thu, Mar 03, 2005 at 10:55:33AM +, Wee-Jin Goh wrote:
> > > Is there anyway to get the nv driver to work with the vga-out on my
> > > Powerbook 12" with a fx5200? I've tried playing around with the
> > > CrtcNumber option but it doesn't seem to do anything and instead, I get
> > > a blank screen on both monitor and LCD.
> > Did you try:
> >  
> > http://honk.physik.uni-konstanz.de/~agx/linux-ppc/xfree86/external-monitor-on-12%22-pbook.txt
> > Cheers,
> >  -- Guido
> 
> Thanks, that sort of works. I get a display the CRT, but now my LCD goes
> completely bonkers and displays some weird output.
There's little you can do about that.
 -- Guido


signature.asc
Description: Digital signature


  1   2   3   4   >