Re: still no macromedia flash support?

2005-01-26 Thread Vincent Bernat
OoO  En cette matinée  ensoleillée du  vendredi  21 janvier 2005, vers
09:53, William Xuuu <[EMAIL PROTECTED]> disait:

> Firefox complains "Install Missing Plugins" now and then, though as
> directed, i installed it, but it still complains. Looking into 
> `~/.mozilla/plugins', i found that libflashplayer.so is built on Intel
> 80386, so there's still no support in linuxppc arch ?

Browse the Gentoo forums, they have a method involving qemu.
-- 
panic("huh?\n");
2.2.16 /usr/src/linux/arch/i386/kernel/smp.c


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



Re: powerbook g4 sleep

2005-01-29 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour  du samedi 29 janvier
2005, vers 23:44, Jack Malmostoso <[EMAIL PROTECTED]> disait:

> 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.

Benh will not be able to find out how to make it to sleep without some
specs. It is the same story with ATI based one: the sleep started
working when the specs have been submitted by ATI.
-- 
printk("Illegal format on cdrom.  Pester manufacturer.\n"); 
2.2.16 /usr/src/linux/fs/isofs/inode.c


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



Re: QEmu and Wine

2005-01-31 Thread Vincent Bernat
OoO En ce début d'après-midi ensoleillé du lundi 31 janvier 2005, vers
15:06, "Bas v.d. Wiel" <[EMAIL PROTECTED]> disait:

> There's no way to run Wine on anything other than an x86 platform. On a 
> PPC you have to emulate the complete CPU, which WINE doesn't do and thus 
> it only exists for x86. Your free alternatives for PPC under Linux are 
> Bochs and Qemu. They both emulate a complete x86 system under Linux on 
> your PPC. However, don't expect anything near the performance of WINE as 
> it is on an x86.

Qemu is also able to do CPU emulation at application level. This means
that  you  can  launch  Linux/x86  applications  from  Linux/PPC.  For
example, Macromedia Flash.  You should then be able  to launch Wine as
well.
-- 
Keep it right when you make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)


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



Re: QEmu and Wine

2005-01-31 Thread Vincent Bernat
OoO Vers la fin de l'après-midi  du lundi 31 janvier 2005, vers 16:20,
"Bas v.d. Wiel" <[EMAIL PROTECTED]> disait:

> That sounds interesting! Can you tell me more about the performance of 
> such a setup?

I did  not try myself, but  if you search through  Gentoo forums, they
describe a step-by-step setup to use Macromedia Flash through qemu, as
a plugin (with plugger).
-- 
PORK IS NOT A VERB
PORK IS NOT A VERB
PORK IS NOT A VERB
-+- Bart Simpson on chalkboard in episode AABF22


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



Re: QEmu and Wine

2005-01-31 Thread Vincent Bernat
OoO Vers la fin de l'après-midi  du lundi 31 janvier 2005, vers 16:24,
Carsten Friede <[EMAIL PROTECTED]> disait:

>> Qemu is also able to do CPU emulation at application level. This means
>> that  you  can  launch  Linux/x86  applications  from  Linux/PPC.  For
>> example, Macromedia Flash.  You should then be able  to launch Wine as
>> well.

> Cool! That is what I need, I think. Could you please tell me how to do 
> this? Thanks.

Look at this URL :
 http://forums.gentoo.org/viewtopic.php?t=117774&highlight=qemu+flash>
-- 
BOFH excuse #26:
first Saturday after first full moon in Winter


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



Re: albook g4 + external hard drive

2005-02-10 Thread Vincent Bernat
OoO Peu avant le début de  l'après-midi du jeudi 10 février 2005, vers
13:16, Tamas K Papp <[EMAIL PROTECTED]> disait:

> I about to buy an external hard drive (or an enclosure+hard drive),
> either USB or Firewire.

> I would like to ask how to check if this will be supported by Debian,
> is there something to watch out for, whether you would recommend USB
> 2.0 or Firewire.

> If you have specific models which are working with your linux, I would
> appreciate if  you shared  that.  I am  looking for  a cable-powered
> one.

Most USB  or Firewire  drives will  work fine. They  all use  the same
protocol, modulo some bugs.
-- 
Avoid unnecessary branches.
- The Elements of Programming Style (Kernighan & Plaugher)


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



Re: Sleep & 2.6.10

2005-02-24 Thread Vincent Bernat
OoO En  cette nuit nuageuse du  mercredi 23 février  2005, vers 01:01,
[EMAIL PROTECTED] disait:

> 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.

You should compile suspend to disk as a module, then you need to tweak
your initrd to properly set your swap partition before loading suspend
to disk module.
-- 
 /* Thanks to Rob `CmdrTaco' Malda for not influencing this code in any
  * way.
  */
2.4.3 linux/net/core/netfilter.c


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



Re: mouseemu replacement in pbbuttonsd

2005-03-01 Thread Vincent Bernat
OoO  En cette  fin de  matinée radieuse  du mardi  01 mars  2005, vers
11:57, Lee Braiden <[EMAIL PROTECTED]> disait:

> OS X, if I recall correctly, has an option to disable the touchpad when an 
> external mouse is plugged in.  Anyone know if/how Linux can do that?  
> Presumably some option/patch to the /dev/input/mice driver?

hotplug is a better place to disable/enable the touchpad when you plug
an external mouse.
-- 
 /*
  * Hash table gook..
  */
2.4.0-test2 /usr/src/linux/fs/buffer.c


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



Re: changing the harddisk of a 12" PowerBook 1.33GHz

2005-03-01 Thread Vincent Bernat
OoO  En cette  fin de  matinée radieuse  du mardi  01 mars  2005, vers
11:34, Basile STARYNKEVITCH <[EMAIL PROTECTED]> disait:

> Do you have hints or advice (eg good models or horror stories) for
> changing the hard disk?

Look at this : http://pbfixit.com/Guide/>
-- 
BOFH excuse #79:
Look, buddy:  Windows 3.1 IS A General Protection Fault.


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



Re: Sid

2005-04-05 Thread Vincent Bernat
OoO En  cette matinée  pluvieuse du mardi  05 avril 2005,  vers 10:28,
Michael <[EMAIL PROTECTED]> disait:

> in my /etc/apt/sources.list I changed testing to unstable and did a 
> dist-upgrade, that brought me to sid right?  The reason I ask is because 
> when I did a dist upgrade from woody my login changed from Debian 3.0 to 
> Debian 3.1, and it is still at Debian 3.1.

Unstable is also Debian 3.1 (unstable is a testbed for testing, in fact).

> The reason I did this is I am trying to install daenzer's sid xserver, 
> however I have been trying all day to apt-get update with deb 
> http://people.debian.org/~daenzer/dri-trunk-sid/ ./ in my sources.list 
> and have been unable to connect to that.

people.debian.org is  down for the moment.  Moreover, Michel's package
are working fine on testing (even if there is "sid" in the name).
-- 
Avoid temporary variables.
- The Elements of Programming Style (Kernighan & Plaugher)


pgpNYs6seneFM.pgp
Description: PGP signature


Re: Bug#227213: libnids1: libnids.so.1.18 is a non-PIC library

2004-01-19 Thread Vincent Bernat
OoO Lors de la soirée naissante du  lundi 12 janvier 2004, vers 17:57,
Steve Kemp <[EMAIL PROTECTED]> disait:

>> /usr/sbin/prelink: /usr/sbin/dsniff: Cannot prelink against non-PIC shared 
>> library /usr/lib/libnids.so.1.18
>> /usr/sbin/prelink: /usr/sbin/urlsnarf: Cannot prelink against non-PIC shared 
>> library /usr/lib/libnids.so.1.18
>> /usr/sbin/prelink: /usr/sbin/webspy: Cannot prelink against non-PIC shared 
>> library /usr/lib/libnids.so.1.18

>   How should this be fixed?  Just adding a  -fPIC on the compilation
>   command line?

>   Or  is there more to it?   I confess I do  not know anything about
>   prelinking...

The same   problem  makes   dsniff  unusable   on Power   PC.   I  put
debian-powerpc in copy of this mail, the  problem is known but I don't
remember the solution. :)
-- 
BOFH excuse  #204: Just  pick  up the  phone  and  give modem  connect
sounds. "Well you said we should get more lines so we don't have voice
lines."


pgpdHHMwb2lFA.pgp
Description: PGP signature


Re: Bug#227213: libnids1: libnids.so.1.18 is a non-PIC library

2004-01-21 Thread Vincent Bernat
reassign 227213 libnet0-dev
severity important
tags 227213 patch
thank

OoO   En cette nuit  striée d'éclairs  du mardi  20 janvier 2004, vers
02:10, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> >> /usr/sbin/prelink: /usr/sbin/dsniff: Cannot prelink against non-PIC 
>> >> shared library /usr/lib/libnids.so.1.18
>> >> /usr/sbin/prelink: /usr/sbin/urlsnarf: Cannot prelink against non-PIC 
>> >> shared library /usr/lib/libnids.so.1.18
>> >> /usr/sbin/prelink: /usr/sbin/webspy: Cannot prelink against non-PIC 
>> >> shared library /usr/lib/libnids.so.1.18
>> 
>> >   How should this be fixed?  Just adding a  -fPIC on the compilation
>> >   command line?

> Basically, yes. However, looking at

> http://buildd.debian.org/fetch.php?&pkg=libnids&ver=1.18-1&arch=powerpc&stamp=1073518192&file=log&as=raw

> this  seems to be done correctly  already;  the problem likely stems
> from libnet, which  seems to be  only available in  static form (and
> hence built without -fPIC).

Is there a drawback to build it with -fPIC. With this patch, all
programs based on libnids work fine now.

--- Makefile.in	2004-01-21 10:22:36.955295816 +0100
+++ Makefile.in~	2004-01-21 10:12:16.351641912 +0100
@@ -68,7 +68,7 @@
 		src/libnet_port_list.o 
 
 .c.o:
-	$(CC) $(CFLAGS) $(CPPFLAGS) $(DEFINES) -c $< -o $@
+	$(CC) -fPIC $(CFLAGS) $(CPPFLAGS) $(DEFINES) -c $< -o $@
 
 all: libnet
 supp: test example

I have set severity to important since it breaks other packages, and I
have   reassigned the bug to  libnet0-dev,  since the patch applies to
this package, however,  since libnet0-dev only gives  static versions,
there is nothing wrong with it (so, maybe set severity to wishlist ?).
-- 
Write clearly - don't be too clever.
- The Elements of Programming Style (Kernighan & Plaugher)


Re: iBook screen cloning.

2004-02-20 Thread Vincent Bernat
OoO La  nuit ayant déjà recouvert d'encre  ce jour du jeudi 19 février
2004, vers 23:40, Juan Pablo Mendoza <[EMAIL PROTECTED]> disait:

> So i have the screen cloning working in my ibook g3 800Mhz  with a
> hacked X to hardcode some values from the radeonfb sources and
> everything works nice.

Could you please give some details about this ?
-- 
prom_printf("Detected PenguinPages, getting out of here.\n");
2.0.38 /usr/src/linux/arch/sparc/mm/srmmu.c



Xfree86 from unstable

2004-02-20 Thread Vincent Bernat
Hello !

I have tried the XFree86  4.3.0-2 from unstable with  my iBook 700. It
works fine until   I tried  some dual head   setup.  First, it  clones
automagically the display, but the chosen frequency is very low and my
external LCD screen  displays a distorted  image.  The console is then
cloned  too, with the  same distortion.  If I try   to get dual  head,
either 1024x768 or 1280x1024 with my working setup,  I get a yellowish
image.

Michel, do  you know the  bits from your  X server that will make dual
head work ? Is it possible to push them in mainstream XFree (or in the
unstable branch of Debian) ?

Moreover, what  is  the position of  the dri-trunk  ?  It is versioned
4.3.99. Does this mean that it is more 4.4 than 4.3 ? Or the dri-trunk
branch is not really related to the mainstream branch ?
-- 
BOFH excuse #17:
fat electrons in the lines



Re: Xfree86 from unstable

2004-02-20 Thread Vincent Bernat
OoO Pendant le temps de midi du  vendredi 20 février 2004, vers 12:58,
Benjamin Herrenschmidt <[EMAIL PROTECTED]> disait:

>> I have tried the XFree86  4.3.0-2 from unstable with  my iBook 700. It
>> works fine until   I tried  some dual head   setup.  First, it  clones
>> automagically the display, but the chosen frequency is very low and my
>> external LCD screen  displays a distorted  image.  The console is then
>> cloned  too, with the  same distortion.  If I try   to get dual  head,
>> either 1024x768 or 1280x1024 with my working setup,  I get a yellowish
>> image.

> The yellow image is a known bug, Michel has a fix in his tree.

I was  not clear enough.  Everything  is  working fine  with  Michel's
tree. My main question is  "are the lines of  code that make X working
with   dri-trunk are identified  and will   be pushed into  mainstream
tree".
-- 
Don't over-comment.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Fwd: Re: Airport Extreme Linux support

2004-02-23 Thread Vincent Bernat
OoO Lors de la soirée naissante du lundi 23  février 2004, vers 17:49,
Sven Luther <[EMAIL PROTECTED]> disait:

>> On the same subject but on another front, the broadcom chipset used by apple 
>> for the airport extreme is also used in the Linksys WAP54G wifi access point 
>> ... which runs under linux. This of course means there is a kernel module 
>> that 
>> drives the chip, and thus that either Linksys or Broadcom have code some 
>> driver for it. It makes me angry to think they would have gone that far and 
>> stopped there without considering their customers who care about running 
>> linux 
>> on their apple hardware.

> If that is indeed true, it would be enough for someone to buy said
> Linksys wifi access point, and then ask for the full kernel sources you
> are legally entitled too by the GPL. 

Linksysalready gives   away   the   sourcesof  GPL-derived
software. However, binary modules are  not considered as derivation of
the kernel.
-- 
# Okay, what on Earth is this one supposed to be used for?
2.4.0 linux/drivers/char/cp437.uni



Re: Bug#234062 blender crashes xserver

2004-03-01 Thread Vincent Bernat
OoO Peu avant  le début de l'après-midi   du lundi 01  mars 2004, vers
13:00, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> > That doesn't matter; an X server crash is always an X server bug, simple
>> > as that.
>> 
>> I get easily reproductable crash of  your X server.  For example, if I
>> close gaim when  there is still some  tabs open, the  X server crashes
>> one time out of 5. I am now just careful to first close all tabs, then
>> quit gaim. It happens ont  both x86 and powerpc.

> Have you tried playing with the font renderer modules, in particular not
> loading the freetype module?

Yes, I don't use either freetype or xtt. I have installed xfs-tt and
use it exclusively. For the moment, I just avoid to close gaim "too
fast" and it works fine.
-- 
Use the "telephone test" for readability.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: can't play DVDs after enabling ide-scsi control of the device

2003-04-16 Thread Vincent Bernat
OoO En ce début d'après-midi ensoleillé du mercredi 16 avril 2003,
vers 15:38, Mark Barr <[EMAIL PROTECTED]> disait:

> However, now mplayer doesn't know where to look to use when playing dvds.
> Mplayer does allow the user to specify the device for dvd playback (it use
> to default to /dev/dvd, which in turn pointed to /dev/cdrom), but so far
> trying /dev/hdb doesn't work.

> On a similar note, pbbuttonsd now can't eject the cd tray. I have to boot up
> xcdroast or something similar that understands the scsi layer to
> eject it.

Points /dev/dvd or /dev/cdrom to /dev/scd0.
-- 
printk("What? oldfid != cii->c_fid. Call 911.\n");
2.4.3 linux/fs/coda/cnode.c



Re: Petition for a Flash plugin for Linux on PPC

2003-04-18 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du vendredi 18 avril 2003, vers
14:56, Alessandro Selli <[EMAIL PROTECTED]> disait:

>   Macromedia's licence does not allow people to produce their own flash
> players.  They can only develop software to produce flash files.

Which licenses ?
-- 
Make sure special cases are truly special.
- The Elements of Programming Style (Kernighan & Plaugher)



mplayer and rtc

2003-04-25 Thread Vincent Bernat
Hello !

Documentation of mplayer says to use the command
 echo 1024 > /proc/sys/dev/rtc/max-user-freq
to allow the use of RTC by mplayer. However, this doesn't work with
Apple RTC. Is there some way to achieve the same result ?
-- 
I WILL NOT FAKE SEIZURES
I WILL NOT FAKE SEIZURES
I WILL NOT FAKE SEIZURES
-+- Bart Simpson on chalkboard in episode 8F23



Re: iBook and different network configurations

2003-04-25 Thread Vincent Bernat
OoO En cette matinée ensoleillée du vendredi 25 avril 2003, vers
09:51, Jérôme Marant <[EMAIL PROTECTED]> disait:

> There are many network environment configuration tools in Debian
> and I don't know any of them except from "netenv".

I am using whereami which is doing some kind of detection of the
network.
-- 
panic("floppy: Port bolixed.");
2.2.16 /usr/src/linux/include/asm-sparc/floppy.h



Re: iBook and different network configurations

2003-04-26 Thread Vincent Bernat
OoO En ce début d'après-midi ensoleillé du samedi 26 avril 2003, vers
15:17, christophe barbe <[EMAIL PROTECTED]> disait:

> That's simple, in the first categogy they tried to detect when there is
> a link. So when you plug your laptop, ifup ethX is called automatically
> and ifdown when you unplug.

Do these ones work with an iBook ? The interface is put to sleep when
it is not used.
-- 
panic("mother...");
2.2.16 /usr/src/linux/drivers/block/cpqarray.c



Re: iBook with ALSA sound problem

2003-04-28 Thread Vincent Bernat
OoO En cette fin de nuit blanche du lundi 28 avril 2003, vers 06:23,
Ian Wienand <[EMAIL PROTECTED]> disait:

> I have a problem with my iBook 2 rev. 2 and ALSA -- when I first boot
> the volume is at a very low level, and can not be controlled by the
> mixer.  However, unloading the i2c-keywest module and re-installing it
> allows the mixer to once again work and everything is fine.

> On boot, I get 

> ALSA ../alsa-kernel/ppc/keywest.c:79: tumbler: cannot initialize the MCS

> I am running 2.4.20-ben10

> Does anyone else have ALSA working successfully on their iBook?

Same problem here. I have modified the initialisation script to do
this each time alsa is started. Moreover, since alsa seems to be
unable to sleep, I have done more modifications to unload alsa and to
be sure that it doesn't reload itself automagically (because of xmms
which is always querying the mixer).

However, the mixer is still no consistent : the volume is not keep
when plugging and unplugging the headphone.
-- 
Instrument your programs.  Measure before making "efficiency" changes.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: nVidia-PPC-Linux drivers

2003-05-03 Thread Vincent Bernat
OoO En cette matinée ensoleillée du samedi 03 mai 2003, vers 09:20,
Sven Luther <[EMAIL PROTECTED]> disait:

>> If we're going to get other GNU/Linux user lists involved, we should
>> be banding together to exert more pressure on nVidia to release specs
>> to Free Software developers.  A binary-only solution is a worse
>> solution than what we have now.

> No, this will never happen, do you really think that if we were not able
> to get docs for the DRI and such up to now, they will sudenly release
> them for a small bunch of people who should be running macos X even.

Doesn't ATI work like this ?
-- 
Take care to branch the right way on equality.
- The Elements of Programming Style (Kernighan & Plaugher)



swsusp and iBook/TiBook

2003-05-16 Thread Vincent Bernat
Hello !

Does someone has already used the patch swsusp on an ibook or a
tibook ? How did you interface cleanly the patch with the scripts in
/etc/power ? Is there some special issues to take care of ?
-- 
panic("Lucy in the sky");
2.2.16 /usr/src/linux/arch/sparc64/kernel/starfire.c



Re: ibook troubles after dist-upgrade

2003-06-04 Thread Vincent Bernat
OoO Pendant le temps de midi du mercredi 04 juin 2003, vers 12:31,
Thomas Winischhofer <[EMAIL PROTECTED]> disait:

> ALSA worked fine with 0.9.0beta10. Now I updated to 0.9.3 (or whatever
> is current in sid), and it does not work at all. In fact, it modprobes
> some i2c modules and presumably snd-powermac, but the machine freezes
> solid when restoring the volumes. I have to press the power button for
> over 10 seconds to make it reboot. All config files were produced by
> debconf, no manual changes.

I preload dmasound-pmac and unload it before ALSA to allow it to
initialize the mixer correctly.

> 3) Power management

> This one might be related to ALSA, but since I put an "exit 0" in
> init.d/alsa, perhaps not... However: snooze, which worked perfectly
> previously, now also freezes the machine. The display goes dark, and
> that's it. Hard lock. No syslog entries (and a horrible fsck on
> reboot, which I also have problems with because of a totally skrewed
> keymap during the phase of the fsck)

You need to unload ALSA before going to sleep (force-stop). BTW,
modify /etc/init.d/alsa to put "|| true" after each kill. Otherwise,
the script will stop and the modules will not be unloaded.
-- 
BOFH excuse #318:
Your EMAIL is now being delivered by the USPS.



ibook and war driving

2003-06-14 Thread Vincent Bernat
Hello !

The core drivers in -ben10 need to be patched to allow the use of the
monitor mode. Will these patches go mainstream or will they always be
left apart ?
-- 
 /* Identify the flock of penguins.  */
2.2.16 /usr/src/linux/arch/alpha/kernel/setup.c



Re: ALSA 0.9.4

2003-06-22 Thread Vincent Bernat
OoO En cette matinée pluvieuse du dimanche 22 juin 2003, vers 10:08,
Joss Winn <[EMAIL PROTECTED]> disait:

> I've just tried upgrading from ALSA 0.9.2 to 0.9.4 and make-kpkg
> fails after a minute or two or compiling.  

> Here's the error message:

> In file included from pnp.c:61:

dpkg-reconfigure alsa-source
Do not use PnP. I don't use it and it compiles fine.
-- 
panic("Lucy in the sky");
2.2.16 /usr/src/linux/arch/sparc64/kernel/starfire.c



Re: 2.4.20-ben2 believe it's ben1

2003-07-01 Thread Vincent Bernat
OoO En cette nuit striée d'éclairs du mardi 01 juillet 2003, vers
02:46, christophe barbe <[EMAIL PROTECTED]> disait:

> Hi ben,
> After a today rsync, I compiled 2.4.21-ben2.
> It compiles fine, boot fines but believe to be ben1 and because of that
> failed to load module.

> /usr/src/linux$ grep -n ben1 ./include/linux/version.h
> 1:#define UTS_RELEASE "2.4.21-ben1"
> /usr/src/linux$ grep -n ben2 Makefile
> 4:EXTRAVERSION = -ben2

You forgot make-kpkg clean.
-- 
panic("Attempted to kill the idle task!");
2.2.16 /usr/src/linux/kernel/exit.c



Re: ALSA ../alsa-kernel/ppc/keywest.c:84: tumbler: cannot initialize the MCS

2003-07-03 Thread Vincent Bernat
OoO En cette nuit nuageuse du mardi 01 juillet 2003, vers 01:49,
Grzesiek Sedek <[EMAIL PROTECTED]> disait:

> Just little more details:
> dmesg show this:

> ALSA ../alsa-kernel/ppc/keywest.c:84: tumbler: cannot initialize the MCS

> this is kernel 21-ben2 and alsa 9.4
> under kernel 20-ben10 and alsa 9.1 everything is fine.

Load dmasound_pmac before alsa (modprobe dmasound_pmac ;
modprobe -r dmasound_powermac). You can put this in modules.conf

I have this at then end of my /etc/modutils/alsa :

pre-install snd-powermac modprobe dmasound_pmac ; rmmod dmasound_pmac
dmasound_pcore

post-remove dmasound_pmac rmmod dmasound_pcore

If you unload ALSA before sleeping, you take the risk that it reloads
itself if you have some app which is using the sound card (xmms, even
stopped queries the mixer). I have changed snd-card-0 to snd-card-000
so alsa does not load automagically, juste when you use
/etc/init.d/alsa.
-- 
Choose a data representation that makes the program simple.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: sound

2003-07-03 Thread Vincent Bernat
OoO En ce début de soirée du mercredi 02 juillet 2003, vers 21:41,
Frank Murphy <[EMAIL PROTECTED]> disait:

> After that, I'm sure there's a Debian way to do it, but I don't know it. I 
> would just unzip/untar the files, apply patch the orig with the diff and 
> build it. Perhaps someone else here can share the easy way.

Use "dpkg-buildpackage" You still have to uncompress and patch by hand
(apt-get source does this for you).
-- 
BOFH excuse #349:
Stray Alpha Particles from memory packaging caused Hard Memory Error on Server.



Re: sound

2003-07-03 Thread Vincent Bernat
OoO En cette aube naissante du jeudi 03 juillet 2003, vers 07:04,
[EMAIL PROTECTED] disait:

> I tryed, but when i type dpkg-buildpackage it just tellme about unmet 
> dependencies, and of course i don't have that packages, they are for 
> libarts (not libarts1)

> what do i have to read to know how to modify and make a package?

> does anyone have xmmsarts twith libarts1?

Just try, I think this would work. Either use -d or directly "fakeroot
debian/rules binary".
-- 
Use debugging compilers.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: DVD playing -- NOT!

2003-07-10 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du jeudi 10 juillet
2003, vers 23:39, Michel Dänzer <[EMAIL PROTECTED]> disait:

> Unfortunately, it can cause hangs, so you need

>   Option "DMAForXv"

> to activate it in newer versions of XFree86.

Does this apply to radeon ?
-- 
#if 0
2.2.16 /usr/src/linux/fs/buffer.c



Re: [WIFI] airport card WEP configuration + router WRT54G

2003-07-23 Thread Vincent Bernat
OoO En ce début de soirée du mercredi 23 juillet 2003, vers 21:47,
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> disait:

> I'm posting here because I didn't find anything on google/linux...
[Problem with an airport card]

First what is the version of the firmware of your card ?
-- 
#define BB_STAT2_TMP_INTR0x10/* My Penguins are burning. 
Are you able to smell it? */
2.2.16 /usr/src/linux/include/asm-sparc/obio.h



Re: ibook2

2003-07-26 Thread Vincent Bernat
OoO Pendant le temps de midi du samedi 26 juillet 2003, vers 12:57,
Michel Dänzer <[EMAIL PROTECTED]> disait:

> Can you try xserver-xfree86-dri-trunk 2003.07.25-1 without Option
> "UseFBDev" and see how it goes?

I have not tried with an external screen, but without UseFBDev, I just
get a black screen for the LCD. iBook 2.2, 700 MHz, Radeon M6. I'll
try with an external screen tomorrow.

BTW, do I have to have a modeline without UseFBDev ? If yes, is it the
same than with USeFBDev ?
-- 
#ifdef STUPIDLY_TRUST_BROKEN_PCMD_ENA_BIT
2.4.0-test2 /usr/src/linux/drivers/ide/cmd640.c



Re: ibook2

2003-07-26 Thread Vincent Bernat
OoO Pendant le temps de midi du samedi 26 juillet 2003, vers 12:57,
Michel Dänzer <[EMAIL PROTECTED]> disait:

> Can you try xserver-xfree86-dri-trunk 2003.07.25-1 without Option
> "UseFBDev" and see how it goes?

I have another problem with this version of XFree86 : switching to
console then back to X kills the X server :

This should not happen!
An unresolved function was called!

And in the log, I have :

Symbol RADEONResetVideo from module
/usr/X11R6/lib/modules-dri-trunk/drivers/radeon_drv.o is unresolved!

I got :

(EE) RADEON(0): FBIOPAN_DISPLAY: Invalid argument

too. But I think this is not related.
-- 
# Okay, what on Earth is this one supposed to be used for?
2.4.0 linux/drivers/char/cp437.uni



Re: ibook2

2003-07-28 Thread Vincent Bernat
OoO Pendant le temps de midi du samedi 26 juillet 2003, vers 12:57,
Michel Dänzer <[EMAIL PROTECTED]> disait:

> Can you try xserver-xfree86-dri-trunk 2003.07.25-1 without Option
> "UseFBDev" and see how it goes?

Good news ! This almost works !  Well, I get a distorted screen (on
the external screen) and no image on the LCD. I have tried with and
without the modeline for my flat panel with no change. It looks like
the screen is interleaved but the horizontal lines are bigger (so it
looks like waves too).

How could I continue ? Do I have to build a specific mode line ?
-- 
panic("Oh boy, that early out of memory?");
2.2.16 /usr/src/linux/arch/mips/mm/init.c



Re: tibook+vga

2003-07-30 Thread Vincent Bernat
OoO Lors de la soirée naissante du mardi 29 juillet 2003, vers 17:50,
Michel Dänzer <[EMAIL PROTECTED]> disait:

> The radeonfb console acceleration can get confused when running X
> without Option "UseFBDev". I use

> for i in off on; do fbset -accel $i; done

For me, just fbset -accel yes works.
-- 
Keep it right when you make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: ibook2

2003-07-30 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du mardi 29 juillet 2003, vers
13:16, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> > Can you try xserver-xfree86-dri-trunk 2003.07.25-1 without Option
>> > "UseFBDev" and see how it goes?
>> 
>> Good news ! This almost works !  Well, I get a distorted screen (on
>> the external screen) and no image on the LCD. I have tried with and
>> without the modeline for my flat panel with no change. It looks like
>> the screen is interleaved but the horizontal lines are bigger (so it
>> looks like waves too).
>> 
>> How could I continue ? Do I have to build a specific mode line ?

> Can you post you config file and server log?

Here is my config file :

Section "ServerFlags"
Option   "BlankTime""3"
Option   "StandbyTime"  "7"
Option   "SuspendTime"  "10"
Option   "OffTime"  "15"
EndSection

Section "Files"
#   FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
#   Load"freetype"
Load"xtt"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Generic Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "Generic Video Card"
Driver  "ati"
Option  "AGPMode" "1"
#Option "UseFBDev" "true"
Option  "MonitorLayout" "CRT,CRT"
VendorName  "ATI"
BoardName   "Radeon Mobility M6 LY"
BusID   "PCI:0:16:0"
VideoRam16384   
EndSection

Section "Monitor"
Identifier  "Generic Monitor"
HorizSync   30-100
VertRefresh 50-160
Option  "DPMS"

Mode "1024x768"
   # D: 65.003 MHz, H: 48.365 kHz, V: 60.006 Hz
   DotClock 65.004
   HTimings 1024 1048 1184 1344
   VTimings 768 771 777 806
   Flags"-HSync" "-VSync"# Warning: XFree86 doesn't support accel
EndMode

EndSection

Section "Screen"
Identifier  "Default Screen"
Device  "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth24
SubSection "Display"
Depth   1
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   4
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   8
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   15
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   16
Modes   "1024x768"
EndSubSection
SubSection "Display"
Depth   24
Modes   "1024x768" "800x600" "640x480"
Virtual 1024 768
EndSubSection
EndSection

Section "ServerLayout"
Identifier  "Default Layout"
Screen  "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode0666
EndSection


And my logs :


XFree86 Version 4.3.0 (DRI trunk)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-ben8-xfs-lolat ppc [ELF] 
Build Date: 26 July 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest ver

Re: TerraTec 128i PCI sound card modules for PPC?

2003-07-30 Thread Vincent Bernat
OoO Pendant le temps de midi du mercredi 30 juillet 2003, vers 12:20,
Tim Froggatt <[EMAIL PROTECTED]> disait:

> I'm trying to get my TerraTec 128i PCI sound card up and running with
> ALSA. However, I can't seem to find any module files. In particular I
> need snd-es1938.o or atleast I think that's what I need.

> But I can't find the file in PowerPC format anywhere. I've found some
> Intel x86 files in ftp.debian.org/debian/pool/main/a/alsa-modules-i386

> but I can't find any other versions. Does anyone know where I might
> find them?

You can compile them yourself by installing alsa-source package. You
may need the headers of your kernel (apt-cache search kernel headers)
and follow the instructions in /usr/share/doc/alsa-source.
-- 
Format a program to help the reader understand it.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: ibook2

2003-07-30 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du mercredi 30 juillet 2003,
vers 13:59, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> Section "Device"
>> Identifier   "Generic Video Card"
>> Driver   "ati"
>> Option   "AGPMode" "1"
>> #Option  "UseFBDev" "true"

> Have you tried with this as well?

Yes, there is no image at all, unless I use the "close the lid on
startup" trick (then, the image is ok, but only on the external screen
; six months ago, I got the image on both displays).

>> Option   "MonitorLayout" "CRT,CRT"

> I suppose

>   Option  "MonitorLayout" "LVDS,CRT"

> doesn't work better?

It works better. I got an image on the LCD _and_ on the external
screen, the image on the screen is ok (no waves). The LCD uses
1024x768 and the external screen 640x480. This becomes almost
usable. :)

>> VideoRam 16384   

> BTW, it's better not to specify this unless the driver misdetects the
> amount of video RAM, which is unlikely for the radeon driver. That's not
> the problem though.

OK, this works fine without it.

> This is an important part of the problem - the DDC code still doesn't
> work with the M6, so the driver has no way to determine the panel
> parameters it needs to drive it correctly.

Is there any way to hard code the params in XF86Config-4 ?

> The only chance I see for
> this to change is if someone who is prepared to build XFree86 CVS gets
> in touch with Hui Yu (provided he's willing to help with this).

I can do this but I have little experience in hardware programming.


>> (II) RADEON(0): Clone modes validation  
>> (WW) RADEON(0): Generic Monitor: Using default hsync range of 28.00-33.00kHz
>> (WW) RADEON(0): Generic Monitor: using default vrefresh range of 
>> 43.00-72.00Hz

> BTW, you could override this with

>   Option  "CloneHSync""30.0-100.0"
>   Option  "CloneVRefresh" "50.0-160.0"

Thanks, I can now get 1024x768 ! 

No Xvideo on the "second" head however. Any workaround for this ? :)
-- 
BOFH excuse #20:
divide-by-zero error



Re: ibook2

2003-07-30 Thread Vincent Bernat
OoO Vers la fin de l'après-midi du mercredi 30 juillet 2003, vers
16:21, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> > The only chance I see for this to change is if someone who is 
>> > prepared to build XFree86 CVS gets in touch with Hui Yu (provided 
>> > he's willing to help with this).
>> 
>> I can do this but I have little experience in hardware programming.

> No worries, he could do that. :)

If you think that fixing DDC on M6 is important enough to bother him,
could you contact him for me ?

>> No Xvideo on the "second" head however. Any workaround for this ? :)

> There's only one overlay, and you currently have to decide on X server
> startup which CRTC you want to use it on. Use

>   Option  "OverlayOnCRTC2"

> to put it on the external display.

Thanks, this is enough for me. :)

Two last questions and I stop bothering you :
 - does the radeon has only one overlay or is this a software limit
   from the driver ?
 - does the radeon can do a "true" clone mode (that would eventually
   be implemented in the future by the driver) ? From what I
   understand the current situation is that the cloning is done by X.

Many thanks again for your help, having a working clone mode and
without the need to reboot will be very useful !
-- 
I WILL NOT CUT CORNERS
"  ""   "   "   "
"  ""   "   "   "
-+- Bart Simpson on chalkboard in episode 7F11



Wiping out Mac OS X and Mac OS 9

2003-07-30 Thread Vincent Bernat
Hello !

Since cloning mode is now working on my iBook (thanks Michel !), I can
remove Mac OS X. Here is my partitioning scheme :

/dev/hda
#type name length   base ( size 
)  system
/dev/hda1 Apple_partition_map Apple63 @ 1( 
31.5k)  Partition map
/dev/hda2  Apple_Driver43 Macintosh56 @ 64   ( 
28.0k)  Driver 4.3
/dev/hda3  Apple_Driver43 Macintosh56 @ 120  ( 
28.0k)  Driver 4.3
/dev/hda4Apple_Driver_ATA Macintosh56 @ 176  ( 
28.0k)  Unknown
/dev/hda5Apple_Driver_ATA Macintosh56 @ 232  ( 
28.0k)  Unknown
/dev/hda6  Apple_FWDriver Macintosh   512 @ 288  
(256.0k)  Unknown
/dev/hda7  Apple_Driver_IOKit Macintosh   512 @ 800  
(256.0k)  Unknown
/dev/hda8   Apple_Patches Patch Partition 512 @ 1312 
(256.0k)  Unknown
/dev/hda9 Apple_Bootstrap bootstrap  1600 @ 1824 
(800.0k)  NewWorld bootblock
/dev/hda10Apple_UNIX_SVR2 swap1024000 @ 3424 
(500.0M)  Linux swap
/dev/hda11Apple_UNIX_SVR2 root   46951728 @ 1027424  ( 
22.4G)  Linux native
/dev/hda12 Apple_Free Extra   1258288 @ 47979152 
(614.4M)  Free space
/dev/hda13  Apple_HFS Mac OS X9367672 @ 49237440 (  
4.5G)  HFS
/dev/hda14 Apple_Free   8 @ 58605112 (  
4.0k)  Free space

I suppose I can delete hda13 but I would like to clean things a
bit. Do I still need "Apple_Driver" partition ? And Apple_Patches ?
-- 
BOFH excuse #384:
t's an ID-10-T error



Re: ibook2

2003-07-31 Thread Vincent Bernat
OoO En cette fin de nuit blanche du jeudi 31 juillet 2003, vers 05:43,
"David M. Cooke" <[EMAIL PROTECTED]> disait:

>> Many thanks again for your help, having a working clone mode and
>> without the need to reboot will be very useful !

> That was a long thread -- could you summarise your final solution? I got
> lost :-)

Sure.
 - Install XFree86 DRI Trunk "25 July 2003" release
 - Remove UseFBDev option
 - Add :
Option  "MonitorLayout" "LVDS,CRT" (maybe, only for M6)
Option  "CloneHSync""30.0-100.0"  (only for M6)
Option  "CloneVRefresh" "50.0-160.0" (only for M6)
Option  "OverlayOnCRTC2"
-- 
Use the "telephone test" for readability.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Wiping out Mac OS X and Mac OS 9

2003-07-31 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du mercredi 30
juillet 2003, vers 23:03, christophe barbe <[EMAIL PROTECTED]>
disait:

>> Since cloning mode is now working on my iBook (thanks Michel !), I can

> Ouch I have to wake up. Is it true for the radeon M7?

Just try ! ;-)
-- 
Make it right before you make it faster.
- The Elements of Programming Style (Kernighan & Plaugher)



java plugin not working any more ?

2003-08-01 Thread Vincent Bernat
Hello !

I have just tried to use a java applet from mozilla and the java
plugin seems to not work any more. I am using mozilla from unstable
and blackdown java. Any similar experience ?
-- 
Watch out for off-by-one errors.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Conexant modem on ibook

2003-08-05 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du mardi 05 août 2003, vers
13:37, Jérôme Marant <[EMAIL PROTECTED]> disait:

> I downloaded the linux driver for the conexant usb modem from the
> conexant site, but I didn't manage to make ppp work with it.

> Has anyone already started a ppp successful PPP connexion with
> those drivers?

No problem here. I still use the hack about tonality, though.
-- 
panic("Fod fight!");
2.2.16 /usr/src/linux/drivers/scsi/aha1542.c



Re: Some sound doesn't work yet

2003-08-05 Thread Vincent Bernat
OoO En ce début de soirée du mardi 05 août 2003, vers 21:16, Frank
Murphy <[EMAIL PROTECTED]> disait:

> Yeah, sound on Linux is too complicated. ALSA now supports audio stream 
> mixing, so hopefully the arts/esd stuff will fade away (except that some 
> people will still want network independant sound, but hopefully that can be 
> NAS or MAS or ...).

Do you have a link of a simple setup with alsa dmix ? All web pages I
found are really complicated.
-- 
Don't comment bad code - rewrite it.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: VGA output on ibook ?

2003-08-05 Thread Vincent Bernat
OoO En cette soirée bien amorcée du mardi 05 août 2003, vers 22:17,
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]> disait:

> Since I've bought my Ibook ( a [EMAIL PROTECTED], with radeon M6LY), last
> year, I hope to use the vga output a day, with a videoprojector, for
> example...

Check the archives, there is the way to do it, one week old.
-- 
printk("ufs_read_super: fucking Sun blows me\n");
2.0.38 /usr/src/linux/fs/ufs/ufs_super.c



Re: muted Ibook

2003-08-07 Thread Vincent Bernat
OoO En ce début de soirée du mercredi 06 août 2003, vers 21:58,
Bastien <[EMAIL PROTECTED]> disait:

> I compiled Alsa modules 0.9.4-1 on my ibook 2001 dual usb with powermac 
> tumbler 
> and kernel benH 2.4.21 on Debian testing. I can load the modules, but in 
> alsamixer both 
> headphones and speakers level stay at 0, I cannot increase them so I get no 
> sound. I can increase master or everything else. Sound applications work fine 
> like TerminatorX but no sound is coming out.

Try to unload alsa, load dmasound, then unload and reload alsa.
-- 
BOFH excuse #311:
transient bus protocol violation



Re: Long filenames on Joilet CDs

2003-08-08 Thread Vincent Bernat
OoO Lors de la soirée naissante du vendredi 08 août 2003, vers 17:30,
Tim Froggatt <[EMAIL PROTECTED]> disait:

> Hi... I recently upgraded to a 2.4.21 kernel from 2.4.19.

> But now, whenever I insert a Windows CD (i.e. one using the Joilet file 
> extensions) I only get the short 8.3 filenames. The long names used to work 
> on the 2.4.19 kernel. Is there an extra module that I need to add? I've tried 
> enabling the vfat module, but that didn't seem to help :-(

There is no link between vfat and long names on a CD. You just need
iso9660 support compiled with joliet. The most obvious cause is that
you forgot to compile Joliet in iso9660.
-- 
BOFH excuse #161:
monitor VLF leakage



Re: ALSA on PowerBook Pismo WAS: Re: Newbie (to ppc), but glad to be here.

2003-08-11 Thread Vincent Bernat
[Jesus, I send you this message too, this may be useful to add this
 tips for all those that want to switch to ALSA, I hope to find some
 time to send you the remaining tips]

OoO En ce début d'après-midi ensoleillé du lundi 11 août 2003, vers
15:59, Marshal Wong <[EMAIL PROTECTED]> disait:

[ALSA does not support sleep]

> Has anyone else experienced this?

Same here. But the ibook is crashing at sleep, not at wake up. And
when it is locked, it warms very fast, so it was really annoying when
you did not notice it.

> So what I gather needs to be done is to force uninstall the modules on
> sleep.  ALSA does support an option for this, but it only works with
> APMD, which is of no use to PMUD.  I tried hacking the PMUD scripts
> but obiviously, my shell-scripting sucks, otherwise, I would have been
> able to give a fix.

The big problem is that if you have a running application somewhere
(for example xmms) and that this application is just controlling the
mixer (not playing sound), if you unload ALSA (forcibly or not), the
access to the mixer will just reload ALSA and you will encounter a
fine lock.

Here is what I put in my /etc/alsa/modutils/0.9 to avoid this (do not
forget to erase the first line to avoid debconf backing out the
changes) :

alias snd-card-000 snd-powermac

So, instead of snd-card-0, I put snd-card-000. This fixes mysterious
hangs which happen when ALSA was reloaded because xmms has read the
current values of the mixer (I think). This change is also useful if
ALSA is not able to initialize correctly the mixer. You can add the
following lines at the end of the file :

pre-install snd-powermac modprobe dmasound_pmac ; rmmod dmasound_pmac 
dmasound_core
post-remove dmasound_pmac rmmod dmasound_pcore

Now, you can unload alsa using "/etc/init.d/alsa force-stop". I am not
using pmud any more (but pbbuttonsd instead), but this is a relatively
trivial change to your pwrctl-local file.

I have also modified /etc/init.d/alsa to put "|| true" after the two
"kill" lines :

printf "(terminating processes) "
kill $procs_using_sound || true
sleep 2
kill -9 $procs_using_sound || true

But, it was when I was searching how could I put this damn ibook to
sleep without crashing the whole system and I am not sure any more
this was useful. However, I don't want to try without them (in any
other script, I would say this is absolutely not useful, but this can
add some magic in this one ;-) ).

With these changes, my ibook successfully goes to sleep every
time. Sometimes, xmms is killed (when it was querying the mixer) and
sometimes not. But this is a light side effect.
-- 
panic ("No CPUs found.  System halted.\n");
2.4.3 linux/arch/parisc/kernel/setup.c



Re: Kernel2.4.20 & PowerbookG3 Lombard awakening hiccup

2003-08-12 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du mardi 12 août 2003, vers
14:20, Christian Jaeger <[EMAIL PROTECTED]> disait:

> BTW I would really like to be able to use the fn key setting ability
> as present in pbbuttonsd/powerprefs from scripts. It's tiresome to
> always have to start pbbuttonsd (and shut it down again afterwards
> because it somehow interferes with pmud)

pbbuttonsd can work with and without pmud. I don't run pmud anymore
since pbbuttonsd can replace it entirely.
-- 
MY SUSPENSION WAS NOT "MUTUAL"
MY SUSPENSION WAS NOT "MUTUAL"
MY SUSPENSION WAS NOT "MUTUAL"
-+- Bart Simpson on chalkboard in episode BABF10



Re: Newbie (to ppc), but glad to be here.

2003-08-13 Thread Vincent Bernat
OoO En cette fin de matinée radieuse du mercredi 13 août 2003, vers
11:43, Benjamin Herrenschmidt <[EMAIL PROTECTED]> disait:

>> Speaking of which, when can we start using the 2.6 kernel on an iMac? :)

> It should work already with the pmac defconfig

Will you start a 2.6 tree like you manage a "bleeding-edge" 2.4 tree ?
-- 
Take care to branch the right way on equality.
- The Elements of Programming Style (Kernighan & Plaugher)



"full featured" XF86Config-4 for ATI M6

2003-08-13 Thread Vincent Bernat
Hello !

Here is my current XF86Config-4. It features different layouts
allowing single head, dual head, cloning mode, etc. and you have to
choose one (by default, this is the first one).  To choose a layout,
just add '-layout "Dual"' (for example) to the X server (not to startx
if you use startx : "startx -- -layout ...").

For this to work on an iBook 2 with ATI M6 (not tested with M7), you
need this package :
 hi  xserver-xfree86-dri-trunk   2003.08.07-1The XFree86 X 
server [DRI trunk]

It is available with the following lines in your sources.list :

deb http://people.debian.org/~daenzer/dri-trunk-sid/ ./
deb-src http://people.debian.org/~daenzer/dri-trunk-sid/ ./

Here are the different layouts (from the simplier to the more complex
one) :

 - Single. This a single headed layout, just the more usual one. Only
   the internal flat panel is used. Since DDC is broken with a M6, you
   need to add a modeline (you can get it with fbset -x on a
   console). This layout uses the framebuffer device.
 - Cloning. This layout provides two heads in cloning mode. The
   overlay is on the external head (playing video on the flat panel is
   not possible using XVideo, it will only be displayed on the
   external screen). Since DDC is broken, MonitorLayout and following
   options are used to tell what kind of external screen is
   attached. The current options are suitable for any screen able to
   do 1024x768 (and so for a videoprojector). But the refresh rate is
   very low (60 Hz), so it is not very comfortable to work with. This
   mode is aimed at presentation with a videoprojector. The
   framebuffer is not used any more.
 - Dual. This layout provides true dual head mode. XVideo extension
   can be used on the internal panel _and_ on the external screen (not
   both at the same time). DRI is disabled on both display (don't know
   if there is a work around). Again, the refresh rate is low since I
   use this mode for presentation with a videoprojector too.
 - Dual 1280x1024. Same as above, except the second head uses
   1280x1024 mode. You have to provide a correct modeline (this one is
   for an Eizo Flexsan L685 in analog mode). See this URL to generate
   such a modeline :
  http://koala.ilog.fr/cgi-bin/nph-colas-modelines>
   You can use any resolution you want, even 1024x768 at higher rates
   than in the precedent setup (just name it 1024x768hi for example).

You may add more layouts. I am working on a snippet of code to allow
to select the wanted layout from GDM.

Make sure that the /etc/X11/XF86Config-4 is not
managed by debconf (removes the lines about debconf at the beginning),
otherwise, your changes will be wiped out at next upgrade.

And, thanks to Michel Daenzer and other XFree86 developers. :)

Section "ServerFlags"
Option   "BlankTime""3"
Option   "StandbyTime"  "7"
Option   "SuspendTime"  "10"
Option   "OffTime"  "15"
EndSection

Section "Files"
#   FontPath"unix/:7100"# local font server
# if the local font server has problems, we can fall back on these
FontPath"/usr/lib/X11/fonts/misc"
FontPath"/usr/lib/X11/fonts/cyrillic"
FontPath"/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath"/usr/lib/X11/fonts/Type1"
FontPath"/usr/lib/X11/fonts/Speedo"
FontPath"/usr/lib/X11/fonts/100dpi"
FontPath"/usr/lib/X11/fonts/75dpi"
FontPath"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
Load"GLcore"
Load"bitmap"
Load"dbe"
Load"ddc"
Load"dri"
Load"extmod"
#   Load"freetype"
Load"xtt"
Load"glx"
Load"int10"
Load"record"
Load"speedo"
Load"type1"
Load"vbe"
EndSection

Section "InputDevice"
Identifier  "Laptop Keyboard"
Driver  "keyboard"
Option  "CoreKeyboard"
Option  "XkbRules"  "xfree86"
Option  "XkbModel"  "macintosh"
Option  "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "true"
Option  "ZAxisMapping"  "4 5"
EndSection

Section "Device"
Identifier  "ATI M6 Alone"
Driver  "ati"
Option  "AGPMode" "1"
Option  "UseFBDev" "true"
VendorName  "ATI"
BoardName   "Radeon Mobility M6 LY"
BusID   "PCI:0:16:0"
EndSect

Re: "full featured" XF86Config-4 for ATI M6

2003-08-13 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du mercredi 13 août 2003, vers
14:56, Vincent Bernat <[EMAIL PROTECTED]> disait:

>  - Cloning. This layout provides two heads in cloning mode. The
[...]

As an exercise, this layout is false, correct it. :)

Hint: add a Screen section and correct the ServerLayout section.
-- 
A BELCH IS NOT AN ORAL REPORT
A BELCH IS NOT AN ORAL REPORT
A BELCH IS NOT AN ORAL REPORT
-+- Bart Simpson on chalkboard in episode BABF11



Re: gprs, bluetooth and t68i

2003-08-15 Thread Vincent Bernat
OoO En cette soirée bien amorcée du vendredi 15 août 2003, vers 22:48,
Jean-Christophe Michel <[EMAIL PROTECTED]> disait:

> I'm trying to connect using gprs (in France) with debian unstable,
> benh kernel last rsync vers + bluez + a t68i from SonyErikson phone.
> Unfortunately i cannot go further than seeing the phone and its
> services,
> and trying to connect to the phone via /dev/rfcomm0 linked to channel
> 1 (DUN) of the phone. I tried many ppp confs and i'm really unsure on
> how to do this.
> This phone works well on OSX (someone I know who uses the same phone
> company).

> When i do pon, i see the pppd process hanging just before ip
> negociation.Phone is 'COnnecting...' forever.

I am using it but via the serial cable. So if your problem is
bluetooth related, I cannot help you.
-- 
BOFH excuse #58:
high pressure system failure



Choosing the layout of server X in GDM

2003-08-16 Thread Vincent Bernat
Hello !

I have written a snippet of code which could be useful to some of
you. It aims at allowing to choose a server layout at GDM prompt. It
is useful if you want to be able to switch between a single headed
config and a dual headed one.

Your /etc/X11/XF86Config-4 needs to have layout sections like this :

,
| Section "ServerLayout"
| Identifier  "Single"
| Screen  "Screen Alone On DFP"
| InputDevice "Laptop Keyboard"
| InputDevice "Configured Mouse"
| EndSection
`

Then, your /etc/gdm/gdm.conf needs to contain one line like this one :

,
| command=/usr/X11R6/bin/X -layout "Single" -deferglyphs 16 -nolisten tcp
`

The parameter layout must be present and must be enclosed by quotes.

The script is here :
 http://www.crans.org/~bernat/layoutchooser.py>

It needs Python and python-gtk2.

The code is commented in French, sorry, mail me if you want some hints
on how it works. The paths are hard coded into the code, look at it
before using the script.

I have put the following lines in /etc/gdm/Init/:0 (which must be set
executable) :

,
| #! /bin/sh  
|  
| xautolock -cornerdelay 1 -cornerredelay 3599 -secure -time 3599 \
|   -locker "/etc/gdm/layoutchooser.py" -cornersize 10 \
|   -corners  &
| 
| exec /etc/gdm/Init/Default $*
`

The script is then launched when you leave the mouse for one second
into one of the corners.

Please, save your /etc/gdm/gdm.conf before testing (the script saves
it but, in doubt...). Oh, and the script is licensed under artistic
license, if such a tiny script can be licensed.
-- 
I WILL NOT BRIBE PRINCIPAL SKINNER
I WILL NOT BRIBE PRINCIPAL SKINNER
I WILL NOT BRIBE PRINCIPAL SKINNER
-+- Bart Simpson on chalkboard in episode 8F03



Re: Choosing the layout of server X in GDM

2003-08-16 Thread Vincent Bernat
OoO Pendant le repas du samedi 16 août 2003, vers 19:26, Xavier
Maillard <[EMAIL PROTECTED]> disait:

> Let me explain why I don't considerate it as the *ideal* solution. I
> honestly think the layout of the X server should be chosen before I
> launch my X session that is to say one have to install a program that
> is aware of the current situation and choose according to it what to do
> with my X session.

I don't know how a program could be aware of what you would like to
do. You may want a cloned display for a presentation or a dual headed
display for work and I don't know if any USB mind reader is compatible
with Linux ! ;-)

> So I think, having to restart my GDM just to switch my X layout is
> painfull and make my productivity going down ;)

Personally, my laptop is never shut down, so I have to restart X
whatever I do when I change the configuration.

> To your program, I 'd rather use dedicated program that just deals well
> with laptop. I want to talk of the laptop-net software and friends.

I admit that this is a better tool if you restart your laptop
(for example, if it does not support sleep mode) between two
changes. Another solution would be some kind of display manager which
runs in text mode and then allows to choose an X server configuration
before starting X.
-- 
DODGEBALL STOPS AT THE GYM DOOR
DODGEBALL STOPS AT THE GYM DOOR
DODGEBALL STOPS AT THE GYM DOOR
-+- Bart Simpson on chalkboard in episode BABF12



Re: Choosing the layout of server X in GDM

2003-08-17 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du dimanche 17 août 2003, vers
13:29, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> I have written a snippet of code which could be useful to some of
>> you. It aims at allowing to choose a server layout at GDM prompt.

> Nice; you could also have gdm start several servers, one for each
> layout, and VT switch to the one you want to use?

I suppose this works too, but with more than two layouts, it could eat
too much memory ? (even if most of it is shared).
-- 
Terminate input by end-of-file or marker, not by count.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: dma_sound problems on 12" pbook

2003-08-22 Thread Vincent Bernat
OoO Pendant le journal télévisé du vendredi 22 août 2003, vers 20:14,
Thomas Otto <[EMAIL PROTECTED]> disait:

> I have a better soundcard (or drivers? emu10k1 fyi) on my x86 which
> provides multiple dsp's so xine and xmms simultaneously does work.

Better soundcard : it allows multiple PCM streams.

> I don't know if this will ever work (alsa?), KDE provides some
> abstraction with their arts deamon, yet this only allows multiple KDE
> Apps to playback sound.

ALSA already provides generic mixing facilities for ALSA-aware
applications, but you need to do some tweaks by hand (search for dmix
and asoundrc).
-- 
 /* Am I fucking pedantic or what? */
2.2.16 /usr/src/linux/drivers/scsi/qlogicpti.h



Re: dma_sound problems on 12" pbook

2003-08-23 Thread Vincent Bernat
OoO Lors de la soirée naissante du samedi 23 août 2003, vers 18:55,
"J. Javier Maestro" <[EMAIL PROTECTED]> disait:

> BTW, speaking of ALSA... google just told me that the crashes I was
> having when putting the laptop to sleep are because I am running ALSA!
> :-(  Any fixes? Any cool scripts to put ALSA down and then up? :-) I
> might try this last one, but hey... it is a real bother, coz sometimes,
> I might try toput the laptop to sleep when something is accessing the
> soundcard, and then, alsa wont dit "nicely" unless I kill it, etc...

Search the archives, I have posted about this less than one month ago.
-- 
Make your program read from top to bottom.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: dma_sound problems on 12" pbook

2003-08-23 Thread Vincent Bernat
OoO En cette nuit nuageuse du dimanche 24 août 2003, vers 00:34,
"J. Javier Maestro" <[EMAIL PROTECTED]> disait:

> I am into Firewire now, for my iPod... and I also want to run the modem,
> perhaps to send faxes and stuff. Or as a telephone... I have been
> searching around for linux programs to do that... any idea? :-)

http://www.linuxant.com>
-- 
BOFH excuse #95:
Pentium FDIV bug



Re: The Apple's license is now a true free license, is it good for us?

2003-08-27 Thread Vincent Bernat
OoO En cette fin de matinée radieuse du mercredi 27 août 2003, vers
11:58, Carlos Perelló Marín <[EMAIL PROTECTED]> disait:

> Hi people. The new Apple License (APSL 2.0) is a true free software
> license. Could we see now their Darwin source code to develop Linux
> drivers? I'm not talking about copy & paste their code, that's not
> possible because APSL is a noncompatible GPL license but try to document
> Apple hardware from their drivers so we could use that documentation to
> develop our own drivers.

Most interesting drivers are closed source.
-- 
printk("Illegal format on cdrom.  Pester manufacturer.\n"); 
2.2.16 /usr/src/linux/fs/isofs/inode.c



Re: The Apple's license is now a true free license, is it good for us?

2003-08-27 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du mercredi 27 août 2003, vers
13:09, Carlos Perelló Marín <[EMAIL PROTECTED]> disait:

>> Most interesting drivers are closed source.

> Ok, but is that true with new powerbook and imac flatpanel's energy
> management?

Not sure, but for example, it was the case for the radeon code (which
is in the "closed-source pack" of Darwin). IMO, the fact that the APSL
was not free did not disallow to look at the code to know how things
work.
-- 
I WILL NOT CUT CORNERS
"  ""   "   "   "
"  ""   "   "   "
-+- Bart Simpson on chalkboard in episode 7F11



Re: VGA out (mirror) on PowerBook IV (radeon 9000 M9)

2003-08-28 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du jeudi 28 août 2003, vers
14:07, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> Your old 4.2 configuration file should work with the new server without 
>> problems, [...]

> Well, xserver-xfree86-dri-trunk was a 4.3 server before already. :)

BTW, will you support transparency on cursors ?
-- 
BOFH excuse #332:
suboptimal routing experience



Re: powerbook freeeze on awakening

2003-08-29 Thread Vincent Bernat
OoO Pendant le temps de midi du vendredi 29 août 2003, vers 12:07,
Michel Dänzer <[EMAIL PROTECTED]> disait:

> /etc/init.d/alsa force-stop is actually supposed to kill all processes
> using sound...

However, it may miss them (if they were not using the sound at the
moment the list is built). The timeframe is large since the script may
sleep 2 seconds without rechecking if someone was using the sound.
-- 
Choose variable names that won't be confused.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Superdrive firmware update

2003-08-30 Thread Vincent Bernat
OoO En cette fin de nuit blanche du samedi 30 août 2003, vers 06:55,
"J. Javier Maestro" <[EMAIL PROTECTED]> disait:

> BTW, anyone knows any flash updater for Linux? Or knows how to make one?
> Because, I emailed cynical and the guy answer me extremely fast with a
> nice solution (BootXCD, a nice free soft that makes a bootable image of
> your MacOSX, so if the image works, you can keep it in a CD/DVD and boot
> from it to update firmwares released by Apple while keeping you laptop
> linux-only! :-), but I would still love to have a "reboot-free" laptop
> ;-)

Well, this "BootXCD" is a great solution for us not having Mac OS X
any more on the hard drive. I wanted to update my Airport card and
found no solution (well, in fact, a Mac OS X DVD updates it even
without installing it). I have googled but have not found anything
about it. Where can I find this software (for Linux ? for Mac OS X ?).

Is it for Linux or Mac OS X ?
-- 
panic ("Splunge!");
2.2.16 /usr/src/linux/drivers/scsi/psi240i.c



Re: [Q]IBM's Java 1.4.1 with IBM's JIT

2003-09-02 Thread Vincent Bernat
OoO En ce début d'après-midi nuageux du mardi 02 septembre 2003, vers
14:27, "Kevin B. Hendricks" <[EMAIL PROTECTED]> disait:

> Of course there is the Balckdown JDK 1.3.1 for PPC Linux that does work (I 
> use 
> it to build OOo with)

Where did you get it ? The one I have is compiled with gcc 2.95, is
there a 3.2 version ?
-- 
Don't just echo the code with comments - make every comment count.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: [Fwd: [branden@debian.org: Re: XFree4.3.99-10 packages for Debian PowerPC are made available by me]]

2003-09-10 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du mercredi 10
septembre 2003, vers 23:39, Michel Dänzer <[EMAIL PROTECTED]> disait:

> Thought this might be of interest here as well.

When will your DRI tree be a 4.3.99 ? :)
BTW, the EDID seems to start to work now on M6. I have not
investigated but the first effect is it belives that I have a 10
meters screen ! ;-)
-- 
panic("aha1740.c"); /* Goodbye */
2.2.16 /usr/src/linux/drivers/scsi/aha1740.c



Re: [Fwd: [branden@debian.org: Re: XFree4.3.99-10 packages for Debian PowerPC are made available by me]]

2003-09-14 Thread Vincent Bernat
OoO En ce doux début de matinée du jeudi 11 septembre 2003, vers
08:43, Benjamin Herrenschmidt <[EMAIL PROTECTED]> disait:

> Can you send Michel and I a copy of the XFree log ?

Well, I need to find a video projector since without one, I don't get
the same results.
-- 
Test input for validity and plausibility.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: [Fwd: [branden@debian.org: Re: XFree4.3.99-10 packages for Debian PowerPC are made available by me]]

2003-09-22 Thread Vincent Bernat
OoO En ce doux début de matinée du jeudi 11 septembre 2003, vers
08:43, Benjamin Herrenschmidt <[EMAIL PROTECTED]> disait:

>> When will your DRI tree be a 4.3.99 ? :)
>> BTW, the EDID seems to start to work now on M6. I have not
>> investigated but the first effect is it belives that I have a 10
>> meters screen ! ;-)

> Can you send Michel and I a copy of the XFree log ?

Finally, here is one :

XFree86 Version 4.3.0 (DRI trunk)
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20-ben8-xfs-lolat ppc [ELF] 
Build Date: 07 August 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
 (++) from command line, (!!) notice, (II) informational,
 (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sat Sep 20 22:52:32 2003
(==) Using config file: "/etc/X11/XF86Config-4"
(++) ServerLayout "Single"
(**) |-->Screen "Screen Alone On DFP" (0)
(**) |   |-->Monitor "IDFP"
(**) |   |-->Device "ATI M6 Alone"
(**) |-->Input Device "Laptop Keyboard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "macintosh"
(**) XKB: model: "macintosh"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Configured Mouse"
(WW) The directory "/usr/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(**) FontPath set to 
"/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/100dpi,/usr/lib/X11/fonts/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules-dri-trunk"
(**) Option "BlankTime" "3"
(**) Option "StandbyTime" "7"
(**) Option "SuspendTime" "10"
(**) Option "OffTime" "15"
(++) using VT number 7

(II) Open APM successful
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.2
XFree86 Video Driver: 0.6
XFree86 XInput driver : 0.4
XFree86 Server Extension : 0.2
XFree86 Font Renderer : 0.4
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules-dri-trunk/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.4
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules-dri-trunk/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.6
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0027 card , rev 00 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 1002,4c59 card 1002,4c59 rev 00 class 03,00,00 hdr 00
(II) PCI: 10:0b:0: chip 106b,0028 card , rev 00 class 06,00,00 hdr 00
(II) PCI: 10:17:0: chip 106b,0025 card , rev 00 class ff,00,00 hdr 00
(II) PCI: 10:18:0: chip 106b,0026 card , rev 00 class 0c,03,10 hdr 00
(II) PCI: 10:19:0: chip 106b,0026 card , rev 00 class 0c,03,10 hdr 00
(II) PCI: 20:0b:0: chip 106b,0029 card , rev 00 class 06,00,00 hdr 00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (0,0,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 16: bridge is at (16:11:0), (16,16,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 16 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 16 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 16 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Host-to-PCI bridge:
(II) Bus 32: bridge is at (32:11:0), (32,32,32), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 32 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 32 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 32 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(--) PCI:*(0:16:0) ATI Technologies Inc Radeon Mobility M6 LY rev 0, Mem @ 
0x9800/27, 0x9000/16, I/O @ 0x0400/8, BIOS @ 0x9002/17
(II) Addressable bus resource ranges are
[0] -1  0   0x - 0x (0x0) MX[B]
[1] -1  0   0x - 0x0

Re: [Fwd: [branden@debian.org: Re: XFree4.3.99-10 packages for Debian PowerPC are made available by me]]

2003-09-22 Thread Vincent Bernat
OoO Vers la fin de l'après-midi du lundi 22 septembre 2003, vers
16:29, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> (II) RADEON(0): Displays Detected: Monitor1--Type 1, Monitor2--Type 0

> It seems to misdetect the projector as the primary display instead of
> the internal panel. Does

>   Option  "MonitorLayout" "LVDS,CRT"

> make a difference?

It is difficult to make tests since I do not own a videoprojector. All
the other configs I use have this option (but don't have UseFBDev
true) and the problem does not appear with them. I keep you in touch
with the tests as soon as I find a videoprojector.
-- 
LOOSE TEETH DON'T NEED MY HELP
LOOSE TEETH DON'T NEED MY HELP
LOOSE TEETH DON'T NEED MY HELP
-+- Bart Simpson on chalkboard in episode AABF16



Re: Installing onto external FireWire drive.

2003-10-02 Thread Vincent Bernat
OoO Pendant le repas du mercredi 01 octobre 2003, vers 19:09, Nick
Lopez <[EMAIL PROTECTED]> disait:

> [0] Jiggle the wire: echo scsi add-single-device 0 0 0 0 > /proc/scsi/scsi
> and hope that's the right device, or try getting rescan-scsi-bus.sh to
> run.  mount by UUID instead of device would probably be a good
> idea too.

How do you do that ?
-- 
printk("Penguin %d is stuck in the bottle.\n", i);
2.0.38 /usr/src/linux/arch/sparc/kernel/smp.c



Re: CPU and Memory usage of XFree86

2003-10-02 Thread Vincent Bernat
OoO En cette nuit nuageuse du jeudi 02 octobre 2003, vers 01:43,
Nirmal Govind <[EMAIL PROTECTED]> disait:

>> X server memory consumption is a FAQ and has recently been discussed
>> here, but the X server should normally never hog the CPU (and it doesn't
>> here) unless there are clients flooding it with requests. If there are
>> no suspect clients, does the CPU hogging prevail over an X server
>> restart? Does it feel responsive?
>> 
> When I startx after a reboot for instance, XFree86 takes up around
> 3-4% of my 640MB memory.. and it's cpu usage varies from 0.7% to
> 15%... in addition, kdeinit seems to take around 3% of memory.. so
> yes, it does feel responsive but right after X is started, around
> 160MB of memory is already used up, w/ nothing but a shell terminal
> open... is this normal?

Don't look at memory usage of X, it is normal that top or ps report
very high amounts ; X does not really use this memory. Search google
for "XFree86 3dfx map memory", I think you will find the explanation.
-- 
Use the fundamental control flow constructs.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Memory problems

2003-10-02 Thread Vincent Bernat
OoO En cette fin de nuit blanche du jeudi 02 octobre 2003, vers 06:41,
Nirmal Govind <[EMAIL PROTECTED]> disait:

> Another related qn.. the memory usage statistic using top doesn't show
> memory freeing up after I close some heavy duty programs like
> Openoffice and mozilla that I had running.. so in effect, the memory
> usage grows till almost 100% of the memory is used up but it never
> comes back down.. so I shut down X and checked top again, a little bit
> was freed up but almost 80% of my 640MB RAM was used up though all I
> had running was a console login... I had to reboot to get the memory
> freed up... any idea why this happens? Any solution? I'm using KDE 3.1
> and a ben10 kernel on an ibook 2.2 ...

If you have bought 640 MB of RAM, I suppose you want them to be used,
this ies exactly what Linux does. Unused memory  is used for caching
purposes.
-- 
 /*
  * Hash table gook..
  */
2.4.0-test2 /usr/src/linux/fs/buffer.c



Re: CPU and Memory usage of XFree86

2003-10-02 Thread Vincent Bernat
OoO En cette matinée ensoleillée du jeudi 02 octobre 2003, vers 09:09,
Nirmal Govind <[EMAIL PROTECTED]> disait:

>> Don't look at memory usage of X, it is normal that top or ps report
>> very high amounts ; X does not really use this memory. Search google
>> for "XFree86 3dfx map memory", I think you will find the explanation.
>> 
> Great.. I'll do that.. thanks..

The answer is in /usr/share/doc/xfree86-common/FAQ.gz, in fact.
-- 
BOFH excuse #301:
appears to be a Slow/Narrow SCSI-0 Interface problem



Re: mplayer updates

2003-10-07 Thread Vincent Bernat
OoO En ce début d'après-midi ensoleillé du mardi 07 octobre 2003, vers
15:35, Guido Guenther <[EMAIL PROTECTED]> disait:

> 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?

No problems here.
-- 
# Basic IBM dingbats, some of which will never have a purpose clear
# to mankind
2.4.0 linux/drivers/char/cp437.uni



Re: french airport cards compatible to swiss ones or vice versa

2003-10-07 Thread Vincent Bernat
OoO En ce début de soirée du mardi 07 octobre 2003, vers 21:53,
Andreas Wüst <[EMAIL PROTECTED]> disait:

> My question is, do french airport cards also work in switzerland, or are
> are there small differencies concerning the frequencies used? Of course,
> the reverse is also possible, i.e. swiss card for france.

French airport cards are limited to channels 10 to 13.
-- 
panic("Lucy in the sky");
2.2.16 /usr/src/linux/arch/sparc64/kernel/starfire.c



Re: Firmware upgrades

2003-10-08 Thread Vincent Bernat
OoO Lors de la soirée naissante du mercredi 08 octobre 2003, vers
18:50, Lucas Moulin <[EMAIL PROTECTED]> disait:

> I was wondering if my iBook (900, revision 2.3) could benefit any of
> these firmware upgrades (like a better battery life, a more responsive
> computer or anything), because I run only Linux on my iBook and
> therefore don't have an up-to-date firmware... Should I install Mac On
> Linux or MacOS X on a little partition to get these upgrades or can I
> live without it ?

Mac On Linux won't allow you to do this upgrade. You can just try to
find a CD of the latest Mac OS X and boot on it, the upgrade will be
done without installing anything.
-- 
Use free-form input when possible.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: french airport cards compatible to swiss ones or vice versa

2003-10-08 Thread Vincent Bernat
OoO En ce début de soirée du mercredi 08 octobre 2003, vers 21:10,
Mich Lanners <[EMAIL PROTECTED]> disait:

>> Which leads to the question which channels swiss airport cards can use.
>> Or, if no one knows, how to find that out.

> IIRC all the other countries except Japan use 1-13.

USA use 1 to 11.
You can find a complete list here:
 http://docs.info.apple.com/article.html?artnum=58550>
-- 
Make sure every module hides something.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: Firmware upgrades

2003-10-09 Thread Vincent Bernat
OoO En cette nuit nuageuse du jeudi 09 octobre 2003, vers 00:58, Lucas
Moulin <[EMAIL PROTECTED]> disait:

>> Mac On Linux won't allow you to do this upgrade. You can just try to
>> find a CD of the latest Mac OS X and boot on it, the upgrade will be
>> done without installing anything.

> Well, you haven't told me if I would benefit anything from it :(

I don't know the answer.

> Anyway, where can I get such a CD ? From someone who's just bought an
> Apple computer ? :)

Yes.
-- 
BOFH excuse #251:
Processes running slowly due to weak power supply



Re: french airport cards compatible to swiss ones or vice versa

2003-10-09 Thread Vincent Bernat
OoO En cette nuit nuageuse du jeudi 09 octobre 2003, vers 00:27,
Andreas Wüst <[EMAIL PROTECTED]> disait:

> Which would mean, get a swiss card to use in france, but not a french
> card to use in switzerland!?

Which means "don't buy a french card" :) An European or Japan card is
nice since youc an use at least 1-13 and then use it anywhere.
-- 
MY BUTT DOES NOT DESERVE A WEBSITE
MY BUTT DOES NOT DESERVE A WEBSITE
MY BUTT DOES NOT DESERVE A WEBSITE
-+- Bart Simpson on chalkboard in episode 3G04



Re: Wine and WineX !!!

2003-10-10 Thread Vincent Bernat
OoO En ce doux début de matinée du vendredi 10 octobre 2003, vers
08:36, Colin Leroy <[EMAIL PROTECTED]> disait:

>> Any version of Wine and WineX for DebianPPC?

> Nope: "WINE Is Not an Emulator", it works with windows DLLs and does not
> translate x86 assembly to anything else - so it won't work. 

Or you need to use qemu86 as well.
-- 
I WILL ONLY DO THIS ONCE A YEAR
I WILL ONLY DO THIS ONCE A YEAR
I WILL ONLY DO THIS ONCE A YEAR
-+- Bart Simpson on chalkboard in episode 3F31



Re: mplayer updates

2003-10-10 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du mardi 07 octobre
2003, vers 23:28, Benjamin Herrenschmidt <[EMAIL PROTECTED]>
disait:

> 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)

I get the same but with fwrite. What should I reinstall ? libc ? I
don't remember to have prelinked anything.
-- 
 /*
  * Hash table gook..
  */
2.4.0-test2 /usr/src/linux/fs/buffer.c



Re: Firmware upgrades

2003-10-11 Thread Vincent Bernat
OoO Pendant le repas du vendredi 10 octobre 2003, vers 19:50,
Martin-Éric Racine <[EMAIL PROTECTED]> disait:

>> Mac On Linux won't allow you to do this upgrade. You can just try to
>> find a CD of the latest Mac OS X and boot on it, the upgrade will be
>> done without installing anything.

> Any link from apple.com, or some other authoritative source, that would tell 
> me
> more about this?  Thanks!

Just my experience : a CD from a Powerbook upgraded the airport card
of my iBook. I suppose that if the firmware has to be upgraded, it
would be upgraded the same way.
-- 
#define BB_STAT2_TMP_INTR0x10/* My Penguins are burning. 
Are you able to smell it? */
2.2.16 /usr/src/linux/include/asm-sparc/obio.h



Re: mplayer updates

2003-10-11 Thread Vincent Bernat
OoO En ce début d'après-midi ensoleillé du vendredi 10 octobre 2003,
vers 15:39, Guido Guenther <[EMAIL PROTECTED]> disait:

> 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.

This works. I have "unprelinked" some library but now the symbol not
found is siglongjmp and I don't konw in which lib it is. I have done
an oooprelink -u and all is working now.
-- 
BOFH excuse #362:
Plasma conduit breach



prelink does not work correctly on powerpc

2003-10-11 Thread Vincent Bernat
Package: prelink
Version: 0.0.20030902-5
Severity: important
Tags: sid

Hello,

On powerpc :

mplayer: error while loading shared libraries: /usr/lib/libavcodec.so.0.4.8:
R_PPC_REL24 relocation at 0x0fe3d560 for symbol fwrite' out of range

Undoing prelink on the incriminated library solves the problem (here libc6).

My mplayer comes from
deb http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/ mplayer/

-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux guybrush 2.4.21-ben2-guybrush.45 #1 mer jui 30 19:55:47 CEST 2003 
ppc
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages prelink depends on:
ii  libc6 2.3.2-8GNU C Library: Shared libraries an
ii  libelf1   0.84-4 Library to read from and write to 

-- no debconf information



Re: Modem on the iBook2

2003-10-22 Thread Vincent Bernat
OoO Lors de la soirée naissante du mercredi 22 octobre 2003, vers
17:35, David Friggens <[EMAIL PROTECTED]> disait:

> Since it's a software modem you need a driver for it. Luckily there is a
> binary driver for it - http://www.linuxant.com/drivers
> A word of warning though - it's not 100% stable. It's generally OK but
> it doesn't play well with sleep. Make sure you disconnect and run
> hcfusbstop before sleeping (I've got that in
> /etc/power/pwrctl-local).

Since you don't mention it, the driver is now non free (as in free
beer) and you have to pay 15$ for a fully functional driver. I suppose
that for this price, sleep is now working !
-- 
Write and test a big program in small pieces.
- The Elements of Programming Style (Kernighan & Plaugher)



mplayer and {x,c}vidix

2003-10-26 Thread Vincent Bernat
Hello !

Could some of you on the list try to use mplayer with "-vo xvidix"
option with X and "-vo cvidix" on a console. On my iBook (M6), I got a
curious horizontal interlacement in the first case and an image
displayed below the displayed characters in the second case (moreover,
I don't know how to get fullscreen in the second case, without
software scalers).
-- 
HARDFAIL("Not enough magic.");
2.4.0-test2 /usr/src/linux/drivers/block/nbd.c



Re: mplayer and {x,c}vidix

2003-10-27 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du dimanche 26
octobre 2003, vers 23:53, "Colin Leroy" <[EMAIL PROTECTED]> disait:

>> Could some of you on the list try to use mplayer with "-vo xvidix"
>> option with X and "-vo cvidix" on a console. On my iBook (M6), I got a
>> curious horizontal interlacement in the first case and an image
>> displayed below the displayed characters in the second case (moreover,
>> I don't know how to get fullscreen in the second case, without
>> software scalers).


> I'm not sure mplayer's radeon vidix driver has been checked for
> endianness. If you want to give a look at it, you can check the mach64
> driver, which has been fixed to work on mac, to see what has to be
> checked...

The mach64 source does not mention endian issue whereas the radeon one
seems to handle it. Maybe there is something wrong but I don't know
how to search. :)
-- 
BOFH excuse #152:
My pony-tail hit the on/off switch on the power strip.



Re: Powerbook G4 17"

2003-10-28 Thread Vincent Bernat
OoO En ce doux début de matinée du mardi 28 octobre 2003, vers 08:43,
Wolfgang Pfeiffer <[EMAIL PROTECTED]> disait:

> But at least the speech stuff will probably sooner or later be
> available for Linux, too (or is it already available?) ...

See, for example, KVoiceControl.
-- 
printk("What? oldfid != cii->c_fid. Call 911.\n");
2.4.3 linux/fs/coda/cnode.c



Re: mplayer and {x,c}vidix

2003-10-28 Thread Vincent Bernat
OoO En cette nuit nuageuse du mardi 28 octobre 2003, vers 00:15,
"Colin Leroy" <[EMAIL PROTECTED]> disait:

> Maybe your best guess is to ask on mplayer's ML whether the driver should
> work on BE, then you'll have a better idea of where to search.

I have tried on "user", I will try on -dev.

> Oh, perhaps it could depend on your X server's bpp. Mach64 driver works
> only at 16bpp. I never tried cvidix yet, only xvidix.

I use 24bpp and since with the console only 8bpp works, it is a good
idea to test.
-- 
Don't use conditional branches as a substitute for a logical expression.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: radeon graphic speed regression 2.4 -> 2.6 test7 benh

2003-10-29 Thread Vincent Bernat
OoO En ce doux début de matinée du mercredi 29 octobre 2003, vers
08:56, Michel Dänzer <[EMAIL PROTECTED]> disait:

> Weird. Maybe this (rather synthetic BTW - it doesn't feel slow doing
> 'real' work, does it?) test tickles very bad behaviour in something
> which has changed radically in the 2.6 kernel, the scheduler maybe?
> CONFIG_PREEMPT might make a difference, pity it causes crashes and all
> around weird behaviour about as soon as RAM is fully used.

I use CONFIG_PREEMPT and got random segfaults ont some apps, including
X. My RAM is not full (well, it is but most of it is cached
memory). Is it related ?
-- 
I WILL NOT CARVE GODS
I WILL NOT CARVE GODS
I WILL NOT CARVE GODS
-+- Bart Simpson on chalkboard in episode 8F11



Re: radeon graphic speed regression 2.4 -> 2.6 test7 benh

2003-10-29 Thread Vincent Bernat
OoO Peu avant le début de l'après-midi du mercredi 29 octobre 2003,
vers 13:46, Michel Dänzer <[EMAIL PROTECTED]> disait:

>> > CONFIG_PREEMPT might make a difference, pity it causes crashes and all
>> > around weird behaviour about as soon as RAM is fully used.
>> 
>> I use CONFIG_PREEMPT and got random segfaults ont some apps, including
>> X. My RAM is not full (well, it is but most of it is cached
>> memory). 

> That's what I mean by 'fully used'.

>> Is it related ?

> Probably.

Is there a way to dynamically disable preempt (a sysctl key ?).
-- 
BOFH excuse #241:
_Rosin_ core solder? But...



Re: microphone in ibook

2003-11-01 Thread Vincent Bernat
OoO Pendant le temps de midi du samedi 01 novembre 2003, vers 12:26,
"J. Volkmann" <[EMAIL PROTECTED]> disait:

> I am currently running an alsa which works quite fine (it even works
> with my suspend)

What do you mean by your suspend ?
-- 
I WILL NOT SQUEAK CHALK
I WILL NOT SQUEAK CHALK
I WILL NOT SQUEAK CHALK
-+- Bart Simpson on chalkboard in episode 8F04



Re: microphone in ibook

2003-11-01 Thread Vincent Bernat
OoO Pendant le repas du samedi 01 novembre 2003, vers 19:09,
"J. Volkmann" <[EMAIL PROTECTED]> disait:

> Former alsa versions made the ibook break completely when going to
> suspend mode. There was no other way than reset the machine :-/

Which kernel are you now using ?

> But I couldn't find any information on the mic in the ibook :-(

Sorry, no clue on this.
-- 
Make input easy to proofread.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: radeon graphic speed regression 2.4 -> 2.6 test7 benh

2003-11-04 Thread Vincent Bernat
OoO La nuit ayant déjà recouvert d'encre ce jour du mardi 28 octobre
2003, vers 23:03, Soeren Sonnenburg <[EMAIL PROTECTED]> disait:

> As I am now on 2.6.0-test7 using the new radeon driver I realized that
> the scrolling speed in a multi-gnome-terminal is approx. 8 times slower
> than with 2.4.

At first, I have the same impression with mplayer. I am not able
anymore to read some video at full speed and I notice that "rendering"
can take up to 15% of the proc (compared to Vidix). ATI M6, -test9.
-- 
Use variable names that mean something.
- The Elements of Programming Style (Kernighan & Plaugher)



Re: mplayer and {x,c}vidix

2003-11-04 Thread Vincent Bernat
OoO En cette nuit nuageuse du mardi 28 octobre 2003, vers 00:15,
"Colin Leroy" <[EMAIL PROTECTED]> disait:

> Maybe your best guess is to ask on mplayer's ML whether the driver should
> work on BE, then you'll have a better idea of where to search.

No answer :(

> Oh, perhaps it could depend on your X server's bpp. Mach64 driver works
> only at 16bpp. I never tried cvidix yet, only xvidix.

My X server does not display anything at 16bpp...
-- 
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
I WILL NOT XEROX MY BUTT
-+- Bart Simpson on chalkboard in episode 7F01



TiBook and Dual Head

2003-11-04 Thread Vincent Bernat
Hello !

I am trying to use dual head on a tibook but it does not seem to
work. I have tried to adapt my XF86Config-4 (from my iBook) with no
success. I have tried some config files on the web, no success (the
second head is put to sleep, but there is a signal).

Here is the revelant part of lspci :

00:10.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [Radeon 
Mobility 9000 M9] (rev 01)

I use latest Michel's X server. Anyone has a working confil file for
the same config (even just cloning) ?
-- 
 /*
  *   Should be panic but... (Why are BSD people panic obsessed ??)
  */
2.0.38 /usr/src/linux/net/ipv4/ip_fw.c



  1   2   3   >