$B!Z(B $B"#(BFIVE$B!!(BSTAR$B!!FCJL4k2h"#(B $B![(B

2004-12-02 Thread [EMAIL PROTECTED]
$B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B

$B!!$*A&$a%5%$%H$N$40FFb!*(B

$B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B

 http://www.zl8.jp/~banana/

$B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B
$B"#"#"#!y!y!y!y"#"#"#!y!y!y!y!y!y"#"#"#!y!y!y"#"#"#!y!y!y!y"#"#"#"#!y!y"#"#"#(B
$B"#"#!y!y!y!y!y!y"#"#!y!y!y!y!y!y"#"#!y!y!y!y!y"#"#!y!y!y!y!y"#"#"#!y!y"#"#"#(B
$B"#"#!y!y"#"#"#!y"#"#"#"#!y!y"#"#"#"#!y!y"#!y!y"#"#!y!y"#"#!y!y"#"#!y!y"#"#"#(B
$B"#"#!y!y!y"#"#"#"#"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#!y!y"#"#!y!y"#"#!y!y"#"#"#(B
$B"#"#"#!y!y!y!y!y"#"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#!y!y"#"#!y!y"#"#!y!y"#"#"#(B
$B"#"#"#"#"#!y!y!y!y"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#!y!y!y!y!y"#"#"#!y!y"#"#"#(B
$B"#"#"#"#"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y!y!y!y!y!y"#!y!y!y!y!y"#"#"#"#"#"#"#"#(B
$B"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#!y!y"#"#!y!y"#"#"#"#"#"#"#(B
$B"#"#!y!y!y!y!y!y!y"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#!y!y"#"#!y!y"#"#!y!y"#"#"#(B
$B"#"#"#!y!y!y!y!y"#"#"#"#!y!y"#"#"#!y!y"#"#"#!y!y"#!y!y"#"#"#!y!y"#!y!y"#"#"#(B
$B"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#"#(B
$B!N(BFIVE$B!!(BSTAR$B!O(BMAIL MAGAZINE $B(Bstar 
$B!y!!(Bexpress
$B(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(B

$B!y!y!y!y!y!!%i%s%-%s%0%H%C%W$N%5%$%H$P$+$j$r=8$a$^$7$?(B $B!y!y!y!y!y(B

$B!&!E!D!D(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,!D!D!E!&(B
$B!!(BFIVE$B!!(BSTAR   N E W S
$B!&!E!D!D(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,!D!D!E!&(B

$B!!$=$&!"$3$3$O!"[EMAIL PROTECTED](B

__

$B!y!y(B $B$3$s$J$N$"$j!*!)(B 
$B!y!y(B

$B!!$3$l$J$iG<[EMAIL 
PROTECTED]"%H%C%W$K$J$k$K$O!"$d$C$Q$jM}M3$,$"$k$s$G$9$M!*!*(B

$B!!(Bhttp://www.eyc.jp/~gazou/?id=ZGViaWFuLXBvd2VycGNAbGlzdHMuZGViaWFuLm9yZw==



$B!!!~$3$s$J7G<(HD$,M_$7$+$C$?!*!*!!!~(B

$B!!(B
$B!!"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~(B
$B!!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
$B!!"!!~"!!~(B
$B!!!~"!40A4!!!*!*L5NA!*!*!!!~"!(B
$B!!"!!~"!!~(B
$B!!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
$B!!"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~(B


$B!Z!!%(%C%A$J?M!"8BDj!*!*![(B
$B!!(B

$B!!!v!v!v!!$=$l$b!"$+$J$j%([EMAIL PROTECTED](B


$B!!!y!!$"$J$?$O!"$+$J$j!!%(%C%A!)$7$+$b!"2q$$$?$$!)!!(B


$B#Y#E#S!!"M(Bhttp://www.zl8.jp/~banana/

$B#N#O"M!!$I$3$+C5$7$F$M(B^^;


$B!!40A4L5NA!*!!"M"M"M"M"M;H$$J|Bj!*!!=q$-9~$_J|Bj!*!!FI$_J|Bj!*!!8+J|Bj!*(B
$B!!(B
[EMAIL PROTECTED]"$*6b$O$+$+$j$^$;$s!*!*(B


$B!!!J9-9pHq$G1?1D$5$l$F$$$k$+$i!"[EMAIL 
PROTECTED],MW$"$j$^$;$s!K(B

$B"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!!~"!(B
___

$B"#EPO?FbMF$NJQ99!&:o=|!'2<5-%a!<%k%"%I%l%9$+$i2r=|$G$-$^$9!#(B

$B([EMAIL PROTECTED]

$B(B $B(B- $B7G:\5-;v$NE>:\$O$41sN82<$5$$(B -
$B!E!E!&!&!&!D!D(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,!D!D!E!E!&!&!&(B
 $B!!(B FIVE STAR
$B!E!E!&!&!&!D!D(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,(,!D!D!E!E!&!&!&(B




Re: Hard Drive light

2004-12-02 Thread Rogério Brito
On Dec 03 2004, Benjamin Herrenschmidt wrote:
> On Thu, 2004-12-02 at 08:04 +0100, Jens Schmalzing wrote:
> > It is disabled in the official kernel.  You can roll your own kernel
> > of course, which in Debian is very easy thanks to kernel-package, and
> > include the feature.
> 
> Any reason why it's disabled ?

When I first saw that feature, I thought it was great. But after 5 minutes
of use, I thought that I was going to have an epileptic attack. :-)


(In)sanely yours, Rogério Brito.

-- 
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm



Re: OpenOffice.org

2004-12-02 Thread Rogério Brito
On Dec 03 2004, Jose A. Ortega Ruiz wrote:
> OO is included in debian sid, but since the last update (several days
> ago), one of its component packages is missing and, thus, it cannot be
> upgraded/installed due to unsatisfied dependencies (hopefully this
> will be fixed in the near futures, but i'm just guessing). maybe
> that's the problem the OP has?

As far as I can see, the version in testing on i386 seems to be working
(but I don't use it frequently, since most of my texts I use LaTeX).

So, my advice would be to stick with testing and, perhaps, do some
apt-pinning, if necessary.


Hope this helps, Rogério Brito.

-- 
Learn to quote e-mails decently at:
http://pub.tsn.dk/how-to-quote.php
http://learn.to/quote
http://www.xs4all.nl/~sbpoley/toppost.htm



Re: OpenOffice.org

2004-12-02 Thread Wolfgang Pfeiffer
On Thu, Dec 02, 2004 at 03:07:00PM -0800, Michael Valdes wrote:
> Argh!!! I've been trying to install OpenOffice.org
> with no success. Let me tell you what I've tried:
> 
> I've tried to download it from YDL's FTP site but the
> setup gude doesn't correspond to the contents of what
> the installer files should have. It's says to compile
> it from a ./setup shell script but it really has a
> ./configure script. I executed to script as the root
> in Terminal and I entered into grep. It then asked me
> to give a directory to intall it into. I guessed and
> created a folder in /usr/lib and called the folder
> Ooo. I tried getting grep to install the files into
> the folder I created but It's not accepting it. That
> was Strike One.

[ ... ]


 No need for all that hassle: 

You're on Debian/stable, right?

If you're on Debian/unstable:

apt-get update
apt-get --simulate install openoffice.org
And currently an install does not work ..  dependency problems ... Normally
the necessary packages are uploaded in a few days. I'd just wait a
bit, and you might have openoffice within a short time. If everything
goes well (It does, usually ... :)

If you need a sources list for unstable please let me know: I'll post
it here ...

BTW:

If you have to care that your installs are processing smoothly:
Do you have installed apt-listbugs? Before installing something on
Debian, this tool will tell you about the known bugs for the software
you're about to install. Extremely useful little bastard, this tool.
apt-cache show apt-listbugs
I'd have a look at the version numbers apt-listbugs is reporting
about: If I recall correctly there might be times when the package
versions apt-listbugs knows about is higher than the one available for
powerpc ... If my Swiss cheese memory serves me well ... :)

Good luck, and welcome to Debian ... :)

Bye

-- 
Wolfgang Pfeiffergpg ID: 0AA7E825
Profile, Links: http://profiles.yahoo.com/wolfgangpfeiffer



Re: Hard Drive light

2004-12-02 Thread Benjamin Herrenschmidt
On Thu, 2004-12-02 at 08:04 +0100, Jens Schmalzing wrote:
> Hi,
> 
> Andrea Giusto writes:
> 
> > nice feature: the suspend light located on the display opening
> > button (I own a PB12'') acted as a Hard Drive light, just as on my
> > old 586! Do we have something like that in Debian kernels?
> 
> It is disabled in the official kernel.  You can roll your own kernel
> of course, which in Debian is very easy thanks to kernel-package, and
> include the feature.

Any reason why it's disabled ?

Ben.




Re: entering sleep mode quietly/non-verbose

2004-12-02 Thread Benjamin Herrenschmidt
On Thu, 2004-12-02 at 17:44 +0100, Timo Reimerdes wrote:
> >  Holger (who likes debug infos - but who also likes to turn them off -   
> > sometimes ;) 
> 
> Of course turning debug info on and off is a nice feature to have, but
> that might have to wait until it's officially in the kernel. And like
> bootsplash for yaboot or such its probably just graphical niceness.
> 
> But yes... opacity can look a lot more professional *g*

I don't plan to change that tho. We have good reasons to switch away
from X back to console as X tend to do bad things that I won't enumerate
here. Removing that would require some significantly reworked
interaction between X and the kernel and may not be suitable for all
suspend modes (some x86 junk do actually require the screen to go back
to BIOS-like text mode for suspend).

So I have no real incentive to change that, besides, it's not like sleep
was stable enough on all machines yet :)

Ben.




Re: bootsplash

2004-12-02 Thread David Rodriguez
Of course, not problem.
The main thing you must put in your yaboot.conf is to tell the kernel to
switch to a 1024x768 and 32 depth framebuffer and link that kernel with
the initrd you've created with the splash utils.

YABOOT CONFIG:

boot=/dev/hda4
device=/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]:
partition=6
root=/dev/hda6
timeout=100
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
enablecdboot
macosx=/dev/hda3
image=/boot/vmlinux-2.6.9
   label=Linux
   read-only
   initrd=/boot/initrd-bs  <--- This and next are bootsplash related
   append="root=/dev/hda6 video=radeonfb:1024x768-32 splash=silent"
END

As you see, most things are not related here, but I've put the full
yaboot.conf file.

And the themes you can find them in the bootsplash page:
http://www.bootsplash.de/

Downloads section:
http://www.bootsplash.de/files/

Actually I'm using this theme:
http://www.bootsplash.de/files/themes/Theme-DangerGirl.tar.bz2


-- 
David Rodriguez <[EMAIL PROTECTED]>



Re: xlock doesn't seem to work and outputs "read: Illegal seek"

2004-12-02 Thread ncrfgs
On Thu, Dec 02, 2004 at 02:54:12PM +0100, ncrfgs wrote:
> After some tests, it looks like the options that make it 
> to behave this strange way are --enable-multiple-user and 
> --enable-multiple-root.

I forgot to say that I tried it on an x86 and it seemed to 
work fine. Even with those options I saw no problems. I 
got those errors only on the ppc up to this moment.



Thanks in advance.

Best regards.
-- 
Value your freedom, or you will lose it, teaches history. 
``Don't bother us with politics,'' respond those who don't 
want to learn.

 -- Richard M. Stallman
http://www.gnu.org/philosophy/linux-gnu-freedom.html


pgpRgTBiTSQO1.pgp
Description: PGP signature


Re: OpenOffice.org

2004-12-02 Thread Jose A. Ortega Ruiz

OO is included in debian sid, but since the last update (several days
ago), one of its component packages is missing and, thus, it cannot be
upgraded/installed due to unsatisfied dependencies (hopefully this
will be fixed in the near futures, but i'm just guessing). maybe
that's the problem the OP has?

Timo Reimerdes <[EMAIL PROTECTED]> writes:

> actually I think OpenOffice is included in the common debian-release?
> All I did was 
> apt-get update
> apt-cache search openoffice
> apt-get install openoffice.org 
>  (some more packages that I considered usefull)
>
> from the same repository I used to install (I think it was
> uni-erlangen). But I am running ubuntu now. Here Ooo is definately
> included and can be installed either during default-install or via
> apt-get as described above.
>
> greetz
>
> Timo
>
>
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
>

-- 
"[...] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new
work." - J.R.R. Tolkien, Ainulindale (Silmarillion)



Re: OpenOffice.org

2004-12-02 Thread Timo Reimerdes
actually I think OpenOffice is included in the common debian-release?
All I did was 
apt-get update
apt-cache search openoffice
apt-get install openoffice.org 
 (some more packages that I considered usefull)

from the same repository I used to install (I think it was
uni-erlangen). But I am running ubuntu now. Here Ooo is definately
included and can be installed either during default-install or via
apt-get as described above.

greetz

Timo



Re: Some problems in the daily use of a Debian System

2004-12-02 Thread Timo Reimerdes
On Thu, 2004-12-02 at 23:04 +0100, Giuseppe Sacco wrote:
> Il giorno mer, 01-12-2004 alle 19:37 +0100, Pablo Gil ha scritto:
> > 2.6.8. I've been told that this a really bad kernel for cd writing as
> > well. Is it true?
> 
> I tried many times, but I never managed to burn a data cd using 2.6.8,
> while I made once a audio CD and it worked.
> 

I have used the nautilus-cd-burner plenty of times. No problems
whatsoever. running 2.6.9-(benh-sleep6) now.

greetz

Timo



OpenOffice.org

2004-12-02 Thread Michael Valdes
Argh!!! I've been trying to install OpenOffice.org
with no success. Let me tell you what I've tried:

I've tried to download it from YDL's FTP site but the
setup gude doesn't correspond to the contents of what
the installer files should have. It's says to compile
it from a ./setup shell script but it really has a
./configure script. I executed to script as the root
in Terminal and I entered into grep. It then asked me
to give a directory to intall it into. I guessed and
created a folder in /usr/lib and called the folder
Ooo. I tried getting grep to install the files into
the folder I created but It's not accepting it. That
was Strike One.

Strike Two:
I saw in Debian's Mailing Lists that some guy found a
website that contained workable installer files for
the PPC. He mentioned that it could be downloaded
manually or also done by adding the website into the
sources.list file. I did it with vi. The source list
is 

deb
http://ftp.kulnet.kuleuven.ac.be/pub/mirror/ftp.vpn-junkies.de/openoffice/testing
main contrib

Unfortunately this did'nt work either. apt-get said
this:

W: Couldn't stat source package list
http://ftp.kulnet.kuleuven.ac.be main/contrib Packages
(/var/lib/apt/lists/ftp.kulnet.kuleuven.ac.be_pub_mirror_ftp.vpn-junkies.de_openoffice_testing_dists_main_contrib_binary-powerpc_Packages)
- stat (2 No such file or directory)


I'm really frustrated but I guess that's how it is to
work with linux for the first time. I've got Debian
Sarge loaded into my Powerbook G3. I really need some
help. Thanks

-Michael




__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail



debian ppc64

2004-12-02 Thread Rafael Ávila de Espíndola
Hi, I have done some work on porting debian to the powerpc64. The original 
post:
http://lists.debian.org/debian-powerpc/2004/10/msg00193.html

I also made some bug reports to add support for the powerpc architecture. One 
missing is the one against dpkg 
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=263743). Who is the 
"powerpc64 port team"? What is the correct name of the architecture?

I see that you need a kernel. Maybe this helps: 
http://lists.debian.org/debian-powerpc/2004/07/msg00449.html

Good luck with the port. Is there a malling list?

Rafael



Re: Some problems in the daily use of a Debian System

2004-12-02 Thread Giuseppe Sacco
Il giorno mer, 01-12-2004 alle 19:37 +0100, Pablo Gil ha scritto:
> 2.6.8. I've been told that this a really bad kernel for cd writing as
> well. Is it true?

I tried many times, but I never managed to burn a data cd using 2.6.8,
while I made once a audio CD and it worked.

Bye,
Giuseppe



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Sven Luther
On Thu, Dec 02, 2004 at 04:58:03PM +0100, Philippe Guyot wrote:
> On Thursday 02 December 2004 14:45, Leigh Brown wrote:
> > Philippe Guyot said:
> > > On Thursday 02 December 2004 12:27, Leigh Brown wrote:
> > >> Philippe Guyot said:
> > >> > On Thursday 02 December 2004 12:01, Leigh Brown wrote:
> > >> >> Indeed.  Could you just tell me if it booted from CD automatically?
> > >>
> > >> [...]
> > >>
> > >> >> I guess I can raise a bug for these once I've confirmed that autoboot
> > >> >> from CD is working for you.
> > >> >
> > >> > Good news: It boots automatically
> > >>
> > >> Great!
> > >>
> > >> > Bad news : At end,the install said there was not stuff for booting
> > >> > automatically from HD this hardware and that I have to boot
> > >>
> > >> /boot/vmlinux
> > >>
> > >> > on /dev/sda1 whith argument root=/dev/sda1.
> > >>
> > >> Okay.  Did you create a PReP boot partition (type 0x41) during the
> > >> installation process, either manually, or with help from the installer?
> > >>
> > >> > I  tried from OF boot disk;:/boot/vmlinux root=/dev/sda1  with no
> > >>
> > >> success
> > >>
> > >> > (return to prompt after accessing HD a little)
> > >>
> > >> That's because OF doesn't understand ext2, ext3, and the like.
> > >>
> > >> > May I have to boot yaboot from cd ?  and after ??? I should read
> > >>
> > >> yaboot
> > >>
> > >> > man page, don't I  ?
> > >>
> > >> If you already have a PReP boot partition, as I mentioned above,
> > >> then you can boot the installer and drop into a shell to install
> > >> yaboot into it.  Otherwise, I'd repeat the installation, this time
> > >> making sure to create the PReP boot partition.  Also, make sure
> > >> yaboot is installed during the installation.  With luck, having the
> > >> correct boot partition and yaboot installed might trigger the installer
> > >> to do the right thing.  If not, drop back into a shell at the end of
> > >> the installer and manually setup and configure yaboot before rebooting.
> > >>
> > >> Reading through the yaboot docs before this may make things easier.
> > >
> > > Well, do you mean that the CHRP box boots like a PReP machine ?
> > > And if so, why not dropping in the PReP partition the vmlinux patched
> > > whith preptools as I did for my 43P-140 ?
> >
> > No.  CHRP and PReP share the same partition type to boot from, but
> > they boot different things.  CHRP machines boot ELF executables (like
> > yaboot or CHRP vmlinux images).  PReP machines boot PReP boot images.
> >
> > So, you will write the yaboot executable (stamped with the correct
> > note section) to the PReP boot partition on a CHRP machine.
> 
> 
> OK I understand that.
> 
> But I have a problem in partionning:
> 
> It's a new (for me) tool : partman and I can't find how to create a PReP boot 
> partition with it. (There's no choice for it nor an obvious way to force code 
> x41).

You can create the partition, and once it is written (while it is downloading
stuff, but before yaboot-installer is run), you go to console 2, and run
parted, and do a set  prep on (try print to find your ).

partman-prep has not yet been written, volunteers welcome to do it, look at
d-i webpage on how to gte the svn tree, and then look at partman-palo which is
quite similar to what we need.

> I tried whith a "do not use"  but this did not triggered the installer .
> 
> I'm thinking of creating a new iso image with an "old" cfdisk on it and 
> partitionning in the shell if possible. 

Should not be needed, see above.

Friendly,

Sven LUther



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Sven Luther
On Wed, Dec 01, 2004 at 01:25:46PM -, Leigh Brown wrote:
> Philippe Guyot said:
> > After searching the archives, I found from Sven Luther that
> >
> > 1) diskette is not supported now on chrp-rs6k boxes.
> > 2) shoul be ok whith cdrom from sarge-powerpc-netinst.iso
> >
> > So I made the cdrom and tried to boot via open firmware.
> >
> > I suppose I must launch yaboot then I typed
> >
> > boot cdrom;:\install\yaboot
> >
> > and after accessing the CD, the box booted AIX from the hd!
> >
> > should I try to boot directly vmlinux 
> >
> > thanks for a pointer in the right direction.
> >
> > BTW, I am able to boot AIX install CDrom from OF (boot
> > cdrom;:\ppc\chrp\bootfile.exe.)
> 
> You can't boot from the CD's because they haven't been built to
> work on AIX firmware.  To work on AIX firmware, they require
> the -U option to be specified in the mkisofs command.

Huh, and you tell us only now :)

Let's fix that, or will it break other subarches booting ?

Friendly,

Sven Luther



Re: entering sleep mode quietly/non-verbose

2004-12-02 Thread Timo Reimerdes

>  Holger (who likes debug infos - but who also likes to turn them off -   
> sometimes ;) 

Of course turning debug info on and off is a nice feature to have, but
that might have to wait until it's officially in the kernel. And like
bootsplash for yaboot or such its probably just graphical niceness.

But yes... opacity can look a lot more professional *g*

greetz

Timo



Re: Some problems in the daily use of a Debian System

2004-12-02 Thread Jesus Climent
On Thu, Dec 02, 2004 at 05:39:54PM +0100, Colin Leroy wrote:
> On 02 Dec 2004 at 17h12, Jesus Climent wrote:
> 
> Hi, 
> 
> > It'd be great if there was an option like "notaptypping" so that the
> > tapping would disabled while the user is typping keys.
> 
> that, mouseemu can take care of. (along with middle/right click and
> mouse wheel emulation). 
> 
> http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/mouseemu/
> 
> You just need uinput support in the kernel.

I have mouseemu. But is just one more app. If pbbuttonsd could take care...

:)

-- 
Jesus Climent  info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.4.27|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

Bates Motel... 12 rooms, 12 vacancies.
--Norman Bates (Psycho)



Re: Some problems in the daily use of a Debian System

2004-12-02 Thread Colin Leroy
On 02 Dec 2004 at 17h12, Jesus Climent wrote:

Hi, 

> It'd be great if there was an option like "notaptypping" so that the
> tapping would disabled while the user is typping keys.

that, mouseemu can take care of. (along with middle/right click and
mouse wheel emulation). 

http://honk.physik.uni-konstanz.de/~agx/linux-ppc/debian/mouseemu/

You just need uinput support in the kernel.
-- 
Colin



Re: Hard Drive light

2004-12-02 Thread Colin Leroy
On 02 Dec 2004 at 17h12, Jesus Climent wrote:

Hi, 

> > There have been several people asking for it when it was removed, or
> > asking for removal when it was included. I should be able to make
> > this kind of patch if needed.
> 
> That would be great, if such an interface existed... Sometimes is
> anoying to have the light blinking (dark rooms, for example).

Or dvd-watching session :)
-- 
Colin



Re: ppc iBook G4 cover and power control

2004-12-02 Thread Jesus Climent
[ posting to you too, since i dont know if you are subsccribed ]

On Thu, Dec 02, 2004 at 05:57:56AM -0500, Christopher Molnar wrote:
> 
> I use my iBoook G4 on Debian every day, both in and out of the office. I am
> running into a problem that is driving me nuts and I need to solve.
> 
> When I close the cover while on battery about 3-4 minutes later the machine
> turns itself off even though I have lot's of life left in the battery.
> 
> Can anyone point me in the right direction?

The nature of the problem is not known. However, search the archives 2-3 days
ago and you will find a link (test patch 5 or 6) for sleep mode. We are
testing a patch provided by super-benh which allows the white beast to go to
bed gracefully.

-- 
Jesus Climent  info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.4.27|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

A man can convince anyone he's somebody else, but never himself.
--Narrator (The usual suspects)



Re: Hard Drive light

2004-12-02 Thread Jesus Climent
On Thu, Dec 02, 2004 at 06:41:39PM +1100, Cedric Pradalier wrote:
> 
> There have been several people asking for it when it was removed, or asking
> for removal when it was included. I should be able to make this kind of
> patch if needed.

That would be great, if such an interface existed... Sometimes is anoying to
have the light blinking (dark rooms, for example).

-- 
Jesus Climent  info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.4.27|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

That's thirty minutes away. I'll be there in ten.
--Wolf (Pulp Fiction)



Re: Some problems in the daily use of a Debian System

2004-12-02 Thread Jesus Climent
On Wed, Dec 01, 2004 at 01:45:36PM -0600, Tommy Trussell wrote:
> On Wed, 1 Dec 2004 10:04:58 -0800, Dylan Beaudette <[EMAIL PROTECTED]> wrote:
> > as for the trackpad try this as root;
> > 
> > #trackpad notap
> > 
> > I put this in a init.d script that is run at boot time...
> 
> For those using pbbuttonsd, it can easily set notap using a line in
> /etc/pbbuttonsd.conf  -- the Debian packaged config file has it under
> a section called [MODULE PMAC]:
> 
> TPMode  = notap 

It'd be great if there was an option like "notaptypping" so that the tapping
would disabled while the user is typping keys.

J

-- 
Jesus Climent  info:www.pumuki.org
Unix SysAdm|Linux User #66350|Debian Developer|2.4.27|Helsinki Finland
GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69

If you think that there is a solution, you'll die here.
--Gibarian (Solaris)



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Philippe Guyot
On Thursday 02 December 2004 14:45, Leigh Brown wrote:
> Philippe Guyot said:
> > On Thursday 02 December 2004 12:27, Leigh Brown wrote:
> >> Philippe Guyot said:
> >> > On Thursday 02 December 2004 12:01, Leigh Brown wrote:
> >> >> Indeed.  Could you just tell me if it booted from CD automatically?
> >>
> >> [...]
> >>
> >> >> I guess I can raise a bug for these once I've confirmed that autoboot
> >> >> from CD is working for you.
> >> >
> >> > Good news: It boots automatically
> >>
> >> Great!
> >>
> >> > Bad news : At end,the install said there was not stuff for booting
> >> > automatically from HD this hardware and that I have to boot
> >>
> >> /boot/vmlinux
> >>
> >> > on /dev/sda1 whith argument root=/dev/sda1.
> >>
> >> Okay.  Did you create a PReP boot partition (type 0x41) during the
> >> installation process, either manually, or with help from the installer?
> >>
> >> > I  tried from OF boot disk;:/boot/vmlinux root=/dev/sda1  with no
> >>
> >> success
> >>
> >> > (return to prompt after accessing HD a little)
> >>
> >> That's because OF doesn't understand ext2, ext3, and the like.
> >>
> >> > May I have to boot yaboot from cd ?  and after ??? I should read
> >>
> >> yaboot
> >>
> >> > man page, don't I  ?
> >>
> >> If you already have a PReP boot partition, as I mentioned above,
> >> then you can boot the installer and drop into a shell to install
> >> yaboot into it.  Otherwise, I'd repeat the installation, this time
> >> making sure to create the PReP boot partition.  Also, make sure
> >> yaboot is installed during the installation.  With luck, having the
> >> correct boot partition and yaboot installed might trigger the installer
> >> to do the right thing.  If not, drop back into a shell at the end of
> >> the installer and manually setup and configure yaboot before rebooting.
> >>
> >> Reading through the yaboot docs before this may make things easier.
> >
> > Well, do you mean that the CHRP box boots like a PReP machine ?
> > And if so, why not dropping in the PReP partition the vmlinux patched
> > whith preptools as I did for my 43P-140 ?
>
> No.  CHRP and PReP share the same partition type to boot from, but
> they boot different things.  CHRP machines boot ELF executables (like
> yaboot or CHRP vmlinux images).  PReP machines boot PReP boot images.
>
> So, you will write the yaboot executable (stamped with the correct
> note section) to the PReP boot partition on a CHRP machine.


OK I understand that.

But I have a problem in partionning:

It's a new (for me) tool : partman and I can't find how to create a PReP boot 
partition with it. (There's no choice for it nor an obvious way to force code 
x41).

I tried whith a "do not use"  but this did not triggered the installer .

I'm thinking of creating a new iso image with an "old" cfdisk on it and 
partitionning in the shell if possible. 


>
> Cheers,
>
> Leigh.



sound problems in ibook G4

2004-12-02 Thread Jose A. Ortega Ruiz

hi. i'm having frequent troubles with sound drivers in my ibook G4
(kernel 2.6.9, sleep 6) and what seems to be their interaction with
pbbuttonsd. every now and then, sound simply stops working, and i get
kernel traces like this one:

Oops: kernel access of bad area, sig: 11 [#1]
PREEMPT 
NIP:  LR: D21CA8C0 SP: CB96FDB0 REGS: cb96fd00 TRAP: 0400Not tainted
MSR: 40009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = cfbb92d0[2350] 'gtkpbbuttons' THREAD: cb96e000Last syscall: 4 
GPR00:  CB96FDB0 CFBB92D0 D1022000 0BE7   D1068000 
GPR08: D1022000 D1068000 0001  0001 1002317C 100C 100A 
GPR16:  0F8C2480 4002   0200 CC41DCA0 C2E29880 
GPR24:  0BE8   CAACD6AC CAACD690 CAACD620 0200 
NIP [] 0x0
LR [d21ca8c0] rate_transfer+0x80/0x88 [snd_pcm_oss]
Call trace:
 [d21ca8c0] rate_transfer+0x80/0x88 [snd_pcm_oss]
 [d21c7798] snd_pcm_plug_write_transfer+0xd4/0x14c [snd_pcm_oss]
 [d21c2520] snd_pcm_oss_write2+0xb0/0x128 [snd_pcm_oss]
 [d21c2774] snd_pcm_oss_write1+0x1dc/0x20c [snd_pcm_oss]
 [d21c5180] snd_pcm_oss_write+0x64/0xb4 [snd_pcm_oss]
 [c0062394] vfs_write+0xdc/0x128
 [c00624c4] sys_write+0x50/0x94
 [c0007e00] ret_from_syscall+0x0/0x44

does this ring a bell to someone?

thanks again for your help,
jao
-- 
A man should never be ashamed to own he has been in the wrong, which is but
saying, in other words, that he is wiser today than he was yesterday.
-Alexander Pope, poet (1688-1744)



Re: Powerbook produces a lot more heat after kernel upgrade

2004-12-02 Thread José Manuel Pérez
El Jueves, 2 de Diciembre de 2004 13:59, Colin Leroy escribió:
> On 02 Dec 2004 at 13h12, José Manuel Pérez wrote:
>
> Hi,
>
> > I'm having same problem with my iBook G4. Now with kernel 2.6.9 fan is
> > almost always running. I've looked at cpu heat and is over 50, normal
> > 53-54 degrees. I'd like to know if it's posible to set cpu limit to 55
> > in order to fan stops.
>
> Yes, just
> echo 5 > /sys/devices/temperatures/limit_adjust

Thanks, I'll try it.

>
> (limit is 50 + limit_adjust). Verify the setting with
> cat /sys/devices/temperatures/cpu_limit
> which should be 55 after that.

Ok.

>
> > With OSX fan runs almost never doing same things
> > (mail, browser, editor, etc) as in Linux. I don't know if setting cpu
> > limit to a higher value would be a problem, I don't like to fry my
> > iBook.
>
> Just don't go to high (> 60 may be risky).

Don't mind, I don't want to fry my laptop.
-- 
--
José Manuel Pérez Fuente
Punto Neutro EuskoNIX - Red Académica I2BASK (UPV/EHU)
Parque Tecnológico de San Sebastián
Pº Mikeletegi, 69 - Torre Arbide Norte
20009 Donostia - San Sebastián
Tel.:  +34 943 018 703
Fax.:  +34 943 015 590
E-mail: [EMAIL PROTECTED]
http://www.euskonix.org
---



pgp7kDSkKylXI.pgp
Description: PGP signature


xlock doesn't seem to work and outputs "read: Illegal seek"

2004-12-02 Thread ncrfgs
Hi,

When I launch xlock it just outputs the following string.

  read: Illegal seek


If I run xglock and try to open in root I get an output 
that looks like this.

  13 eraseModes: random_lines random_squares venetian triple_wipe quad_wipe 
circle_wipe three_circle_wipe squaretate fizzle spiral slide_lines losira 
no_fade
  Visual info: screen 0, visual id 0x29, class TrueColor, depth 16
  X Error of failed request:  BadMatch (invalid parameter attributes)
Major opcode of failed request:  1 (X_CreateWindow)
Serial number of failed request:  87
Current serial number in output stream:  94


I compiled and installed it this way.

  ./configure --prefix=/usr --enable-vtlock --enable-syslog \
  --enable-multiple-user --enable-multiple-root \
  --disable-magick --without-motif --with-opengl \
  --with-esound
  make
  make prefix=$PKG/usr xapploaddir=$PKG/etc/X11/app-defaults install

After some tests, it looks like the options that make it 
to behave this strange way are --enable-multiple-user and 
--enable-multiple-root.

I'm running a GNU/Linux system on a ppc with X.org 6.7.0 
but, if I recollect well, I had problems with XFree86, too.
The version I'm using of the Linux kernel is the 2.6.8.1 
one. The version I'm using of xlockmore is the 5.14.1 one.


Could you please give me some pointer? Any suggestion is 
welcome.



Thanks in advance.

Best regards.
-- 
Value your freedom, or you will lose it, teaches history. 
``Don't bother us with politics,'' respond those who don't 
want to learn.

 -- Richard M. Stallman
http://www.gnu.org/philosophy/linux-gnu-freedom.html


pgpDGEPOQkkpe.pgp
Description: PGP signature


Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Leigh Brown
Philippe Guyot said:
> On Thursday 02 December 2004 12:27, Leigh Brown wrote:
>> Philippe Guyot said:
>> > On Thursday 02 December 2004 12:01, Leigh Brown wrote:
>> >> Indeed.  Could you just tell me if it booted from CD automatically?
>>
>> [...]
>>
>> >> I guess I can raise a bug for these once I've confirmed that autoboot
>> >> from CD is working for you.
>> >
>> > Good news: It boots automatically
>>
>> Great!
>>
>> > Bad news : At end,the install said there was not stuff for booting
>> > automatically from HD this hardware and that I have to boot
>> /boot/vmlinux
>> > on /dev/sda1 whith argument root=/dev/sda1.
>>
>> Okay.  Did you create a PReP boot partition (type 0x41) during the
>> installation process, either manually, or with help from the installer?
>>
>> > I  tried from OF boot disk;:/boot/vmlinux root=/dev/sda1  with no
>> success
>> > (return to prompt after accessing HD a little)
>>
>> That's because OF doesn't understand ext2, ext3, and the like.
>>
>> > May I have to boot yaboot from cd ?  and after ??? I should read
>> yaboot
>> > man page, don't I  ?
>>
>> If you already have a PReP boot partition, as I mentioned above,
>> then you can boot the installer and drop into a shell to install
>> yaboot into it.  Otherwise, I'd repeat the installation, this time
>> making sure to create the PReP boot partition.  Also, make sure
>> yaboot is installed during the installation.  With luck, having the
>> correct boot partition and yaboot installed might trigger the installer
>> to do the right thing.  If not, drop back into a shell at the end of
>> the installer and manually setup and configure yaboot before rebooting.
>>
>> Reading through the yaboot docs before this may make things easier.
>
> Well, do you mean that the CHRP box boots like a PReP machine ?
> And if so, why not dropping in the PReP partition the vmlinux patched
> whith preptools as I did for my 43P-140 ?

No.  CHRP and PReP share the same partition type to boot from, but
they boot different things.  CHRP machines boot ELF executables (like
yaboot or CHRP vmlinux images).  PReP machines boot PReP boot images.

So, you will write the yaboot executable (stamped with the correct
note section) to the PReP boot partition on a CHRP machine.

Cheers,

Leigh.



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Philippe Guyot
On Thursday 02 December 2004 12:27, Leigh Brown wrote:
> Philippe Guyot said:
> > On Thursday 02 December 2004 12:01, Leigh Brown wrote:
> >> Indeed.  Could you just tell me if it booted from CD automatically?
>
> [...]
>
> >> I guess I can raise a bug for these once I've confirmed that autoboot
> >> from CD is working for you.
> >
> > Good news: It boots automatically
>
> Great!
>
> > Bad news : At end,the install said there was not stuff for booting
> > automatically from HD this hardware and that I have to boot /boot/vmlinux
> > on /dev/sda1 whith argument root=/dev/sda1.
>
> Okay.  Did you create a PReP boot partition (type 0x41) during the
> installation process, either manually, or with help from the installer?
>
> > I  tried from OF boot disk;:/boot/vmlinux root=/dev/sda1  with no success
> > (return to prompt after accessing HD a little)
>
> That's because OF doesn't understand ext2, ext3, and the like.
>
> > May I have to boot yaboot from cd ?  and after ??? I should read yaboot
> > man page, don't I  ?
>
> If you already have a PReP boot partition, as I mentioned above,
> then you can boot the installer and drop into a shell to install
> yaboot into it.  Otherwise, I'd repeat the installation, this time
> making sure to create the PReP boot partition.  Also, make sure
> yaboot is installed during the installation.  With luck, having the
> correct boot partition and yaboot installed might trigger the installer
> to do the right thing.  If not, drop back into a shell at the end of
> the installer and manually setup and configure yaboot before rebooting.
>
> Reading through the yaboot docs before this may make things easier.


Well, do you mean that the CHRP box boots like a PReP machine ?
And if so, why not dropping in the PReP partition the vmlinux patched whith 
preptools as I did for my 43P-140 ?



Re: Powerbook produces a lot more heat after kernel upgrade

2004-12-02 Thread Colin Leroy
On 02 Dec 2004 at 13h12, José Manuel Pérez wrote:

Hi, 

> I'm having same problem with my iBook G4. Now with kernel 2.6.9 fan is 
> almost always running. I've looked at cpu heat and is over 50, normal 
> 53-54 degrees. I'd like to know if it's posible to set cpu limit to 55 
> in order to fan stops.

Yes, just 
echo 5 > /sys/devices/temperatures/limit_adjust

(limit is 50 + limit_adjust). Verify the setting with
cat /sys/devices/temperatures/cpu_limit 
which should be 55 after that.

> With OSX fan runs almost never doing same things 
> (mail, browser, editor, etc) as in Linux. I don't know if setting cpu 
> limit to a higher value would be a problem, I don't like to fry my 
> iBook.

Just don't go to high (> 60 may be risky).

-- 
Colin



Re: Powerbook produces a lot more heat after kernel upgrade

2004-12-02 Thread José Manuel Pérez

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


El 30 nov 2004, a las 16:43, Jaume Sabater escribió:


Rogério Brito wrote:

This is without running any frequency scaling at all (no powernod, 
cpydyn, or cpufreqd), and also without spinning down the hard drive.


I can't tell about powernod, but the author of cpudyn is a friend of 
mine and he did it because he didn't like cpufreqd. I am using cpudyn 
on my G3 800 MHz rev 2.2 and it works fine (with laptop-mode tools).




Hi all.

I'm having same problem with my iBook G4. Now with kernel 2.6.9 fan is 
almost always running. I've looked at cpu heat and is over 50, normal 
53-54 degrees. I'd like to know if it's posible to set cpu limit to 55 
in order to fan stops. With OSX fan runs almost never doing same things 
(mail, browser, editor, etc) as in Linux. I don't know if setting cpu 
limit to a higher value would be a problem, I don't like to fry my 
iBook.
I remember that with previous kernels it was different and fan only ran 
from time to time.


Anything about it?

PS: I've applied patch to get sleep mode working, and it works great.

Thanks,
- --
José Manuel Pérez Fuente
Punto Neutro EuskoNIX - Red Académica I2BASK (UPV/EHU)
Parque Tecnológico de San Sebastián
Pº Mikeletegi, 69 - Torre Arbide Norte
20009 Donostia - San Sebastián
Tel.:  +34 943 018 703
Fax.:  +34 943 015 590
E-mail: [EMAIL PROTECTED]
http://www.euskonix.org
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBrwpLRRyB6LZLkhsRAhcHAJ9SFBdhmYybfPtf7Y5GXV7w7Xtk7QCfUtNd
Ajh+GBN9CDymv1NgrESuL7I=
=vdot
-END PGP SIGNATURE-



Re: ppc iBook G4 cover and power control

2004-12-02 Thread Pim Snel
Op donderdag 02 december 2004 12:10, schreef Chris Howells:
>
> They are designed to do this to dissipate the heat. If you need the machine
> to run with the lid closed, you need a PowerBook.

I have a new PowerBook which behaves the same. Is there a way to deactivate 
this behaviour on Linux?

greets,
Pim

-- 
Lingewoud B.V.|   Tel. +31 418 663963
Maasdijk 4|   Fax. +31 418 663053
5328 BG Rossum| [EMAIL PROTECTED]
The Netherlands   | www.lingewoud.com



Re: ppc iBook G4 cover and power control

2004-12-02 Thread Timo Reimerdes
On Thu, 2004-12-02 at 06:17 -0500, Christopher Molnar wrote:
> On Thursday 02 December 2004 06:02 am, Colin Leroy wrote:
> 
> 
> >
> > Probably some sort of hardware protection in case the machine doesn't go to
> > sleep. Nothing seems to disable that, apart from Ben's sleep patch.
> 
> Sorry - I haven't been following the lists -- Ben's sleep patch? What and 
> where can I get?
> 
> Thanks,
> -Chris
> 
> 

http://gate.crashing.org/~benh/albook-ibookg4-sleep-6.diff


This is the latest one he posted. works nice. (its for the 2.6.9
sources)
this is my .config:
http://www.gtnw.de/~tr/config-2.6.9

greetz Timo



Re: ppc iBook G4 cover and power control

2004-12-02 Thread Christopher Molnar
On Thursday 02 December 2004 06:02 am, Colin Leroy wrote:


>
> Probably some sort of hardware protection in case the machine doesn't go to
> sleep. Nothing seems to disable that, apart from Ben's sleep patch.

Sorry - I haven't been following the lists -- Ben's sleep patch? What and 
where can I get?

Thanks,
-Chris



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Leigh Brown
Philippe Guyot said:
> On Thursday 02 December 2004 12:01, Leigh Brown wrote:
>> Indeed.  Could you just tell me if it booted from CD automatically?
[...]
>> I guess I can raise a bug for these once I've confirmed that autoboot
>> from CD is working for you.
>
> Good news: It boots automatically

Great!

> Bad news : At end,the install said there was not stuff for booting
> automatically from HD this hardware and that I have to boot /boot/vmlinux
> on /dev/sda1 whith argument root=/dev/sda1.

Okay.  Did you create a PReP boot partition (type 0x41) during the
installation process, either manually, or with help from the installer?

> I  tried from OF boot disk;:/boot/vmlinux root=/dev/sda1  with no success
> (return to prompt after accessing HD a little)

That's because OF doesn't understand ext2, ext3, and the like.

> May I have to boot yaboot from cd ?  and after ??? I should read yaboot
> man page, don't I  ?

If you already have a PReP boot partition, as I mentioned above,
then you can boot the installer and drop into a shell to install
yaboot into it.  Otherwise, I'd repeat the installation, this time
making sure to create the PReP boot partition.  Also, make sure
yaboot is installed during the installation.  With luck, having the
correct boot partition and yaboot installed might trigger the installer
to do the right thing.  If not, drop back into a shell at the end of
the installer and manually setup and configure yaboot before rebooting.

Reading through the yaboot docs before this may make things easier.



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Philippe Guyot
On Thursday 02 December 2004 12:01, Leigh Brown wrote:
> Philippe Guyot said:
> > On Wednesday 01 December 2004 17:30, Leigh Brown wrote:
>
> [...]
>
> >> Then, you can burn that image to a CD, and see if it works any better.
> >
> > Everything done, and...
> > All's fine! I am now in the install process!
> >
> > Thanks a lot.
> >
> > May be useful to report to Debian ? I don't know how.
>
> Indeed.  Could you just tell me if it booted from CD automatically?

> There are a couple of issues here:
>
> 1. CD images must be built with the -U option to work on RS6K firmware.
> 2. yaboot needs to be stamped (via ybin) with the note section.
> 3. The /ppc/bootinfo.txt needs to be created to use autoboot.
>
> I guess I can raise a bug for these once I've confirmed that autoboot
> from CD is working for you.


Good news: It boots automatically

Bad news : At end,the install said there was not stuff for booting 
automatically from HD this hardware and that I have to boot /boot/vmlinux on 
/dev/sda1 whith argument root=/dev/sda1.

I  tried from OF boot disk;:/boot/vmlinux root=/dev/sda1  with no success 
(return to prompt after accessing HD a little)

May I have to boot yaboot from cd ?  and after ??? I should read yaboot man 
page, don't I  ?

Cheers

Felipe





ppc iBook G4 cover and power control

2004-12-02 Thread Christopher Molnar
I use my iBoook G4 on Debian every day, both in and out of the office. I am 
running into a problem that is driving me nuts and I need to solve.

When I close the cover while on battery about 3-4 minutes later the machine 
turns itself off even though I have lot's of life left in the battery.

Can anyone point me in the right direction?

Thanks,
-Chris



Re: ppc iBook G4 cover and power control

2004-12-02 Thread Chris Howells
On Thursday 02 December 2004 10:57, Christopher Molnar wrote:
> I use my iBoook G4 on Debian every day, both in and out of the office. I am
> running into a problem that is driving me nuts and I need to solve.
>
> When I close the cover while on battery about 3-4 minutes later the machine
> turns itself off even though I have lot's of life left in the battery.

They are designed to do this to dissipate the heat. If you need the machine to 
run with the lid closed, you need a PowerBook.

I don't think it's wise trying to find a way around it, since you will 
probably fry the machine (particularly as it seems to run much hotter whilst 
running Linux than OS X).

-- 
Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED]
Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C
KDE/Qt/C++/PHP Developer: http://www.kde.org


pgpfu0yOhLaBR.pgp
Description: PGP signature


Re: ppc iBook G4 cover and power control

2004-12-02 Thread Colin Leroy
On 02 Dec 2004 at 05h12, Christopher Molnar wrote:

Hi, 

> I use my iBoook G4 on Debian every day, both in and out of the office. I am
> running into a problem that is driving me nuts and I need to solve.
> 
> When I close the cover while on battery about 3-4 minutes later the machine
> turns itself off even though I have lot's of life left in the battery.
> 
> Can anyone point me in the right direction?

Probably some sort of hardware protection in case the machine doesn't go to
sleep. Nothing seems to disable that, apart from Ben's sleep patch.
-- 
Colin



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Leigh Brown
Philippe Guyot said:
> On Wednesday 01 December 2004 17:30, Leigh Brown wrote:
[...]
>> Then, you can burn that image to a CD, and see if it works any better.
>
> Everything done, and...
> All's fine! I am now in the install process!
>
> Thanks a lot.
>
> May be useful to report to Debian ? I don't know how.

Indeed.  Could you just tell me if it booted from CD automatically?
There are a couple of issues here:

1. CD images must be built with the -U option to work on RS6K firmware.
2. yaboot needs to be stamped (via ybin) with the note section.
3. The /ppc/bootinfo.txt needs to be created to use autoboot.

I guess I can raise a bug for these once I've confirmed that autoboot
from CD is working for you.



ppc iBook G4 cover and power control

2004-12-02 Thread Christopher Molnar


I use my iBoook G4 on Debian every day, both in and out of the office. I am
running into a problem that is driving me nuts and I need to solve.

When I close the cover while on battery about 3-4 minutes later the machine
turns itself off even though I have lot's of life left in the battery.

Can anyone point me in the right direction?

Thanks,
-Chris



Re: firewire CD-ROM

2004-12-02 Thread Adam Done
On Thu, 2004-12-02 at 09:46 +0100, Sebastian Henschel wrote:
> hello Adam...
> 
> * Adam Done <[EMAIL PROTECTED]> [2004-12-02 09:24 +0100]:
> > I have a firewire drive working great on my system but now I have
> > installed a firewire Lacie external CD burner and I see that Linux
> > recognize it when I dmsg.
> > 
> > PCI: Enabling device 0001:11:03.0 (0004 -> 0005)
> > ieee1394: Initialized config rom entry `ip1394'
> > ohci1394: $Rev: 1223 $ Ben Collins <[EMAIL PROTECTED]>
> > PCI: Enabling device 0001:11:0a.0 (0010 -> 0012)
> > ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[63]
> > MMIO=[8008-800807ff]  Max Packet=[2048]
> > ieee1394: Node added: ID:BUS[0-00:1023]  GUID[00d04b01070340de]
> > ieee1394: Node added: ID:BUS[0-01:1023]  GUID[00d00101a2fd]
> > ieee1394: Host added: ID:BUS[0-03:1023]  GUID[000a27fffeda4b94]
> > SCSI subsystem initialized
> > sbp2: $Rev: 1219 $ Ben Collins <[EMAIL PROTECTED]>
> > scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
> > ieee1394: sbp2: Node 0-00:1023: Using 36byte inquiry workaround
> > ieee1394: sbp2: Logged into SBP-2 device
> > ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
> >   Vendor: LACIE Model: CDBP-241040A  Rev: 6.34
> >   Type:   CD-ROM ANSI SCSI revision:
> > 02
> > scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
> 
> > sr0: scsi3-mmc drive: 16x/40x writer cd/rw xa/form2 cdda tray
>   ^^^
> here it is.
> 
> > Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> > ieee1394: sbp2: Logged into SBP-2 device
> > ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048]
> >   Vendor: FireWire  Model:  1394 Disk Drive  Rev: 
> >   Type:   Direct-Access  ANSI SCSI revision:
> > 02
> > SCSI device sda: 11733120 512-byte hdwr sectors (6007 MB)
> > sda: cache data unavailable
> > sda: assuming drive cache: write through
> >  sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9
> > Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
> > PHY ID: 406212, addr: 0
> > 
> > 
> > 
> > I also looked at /proc/scsi/scsi:
> > 
> > Attached devices:
> > Host: scsi0 Channel: 00 Id: 00 Lun: 00
> >   Vendor: LACIEModel: CDBP-241040A Rev: 6.34
> >   Type:   CD-ROM   ANSI SCSI revision:
> > 02
> > Host: scsi1 Channel: 00 Id: 00 Lun: 00
> >   Vendor: FireWire Model:  1394 Disk Drive Rev: 
> >   Type:   Direct-AccessANSI SCSI revision:
> > 02
> > 
> > 
> > 
> > What I can't figure out is what sd device the cdrw is located at.  Dmesg
> > tells me it is there.  Has anyone else have any light on this subject.
> > Thanks in advance.
> 
> have you tried /dev/sr0 for accessing the device?


I  had to chuckle to my self, I was looking for sd(x) for the device and
totally over looked the sr0.  

I got the drive to read cdroms but under gnome nautilus it does not
reconize the device to write.  The dmesg says:

scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray

/dev shows

l cdrom*
lrwxrwxrwx  1 root root 3 Nov 28 21:31 cdrom -> hdc
lrwxrwxrwx  1 root root 3 Dec  2 02:09 cdrom1 -> sr0
lrwxrwxrwx  1 root root 3 Dec  2 02:11 cdrom2 -> hdc



-adam



Re: installing debian on IBM 43P-150 (CHRP)

2004-12-02 Thread Philippe Guyot
On Wednesday 01 December 2004 17:30, Leigh Brown wrote:

Hello !


> Well, firstly you need to mount the CDROM image, like this:
>
> # mount -o loop,ro -t iso9660 debian-powerpc-bc-lbb.iso /mnt
>
> Then, copy that directory tree somewhere:
>
> # mkdir /tmp/sarge-cd
> # cd /mnt
> # rsync -a . /tmp/sarge-cd/
> # cd /
> # umount /mnt
>
> Then, make the directories readable:
>
> # cd /tmp/sarge-cd
> # find . -type d -exec chmod u+w {} \;
>
> You now have a CD tree ready for burning in /tmp/sarge-cd.
> Next, you need to get a decent version of yaboot.  You could
> try this known-working version:
>
> http://www.solinno.co.uk/leigh/yaboot
>
> Drop this on top of /tmp/sarge-cd/ppc/chrp/yaboot
>
> Then, you can create a new ISO image, like this:
>
> # cd /tmp/sarge-cd
> # mkisofs -chrp-boot -U -r -hide-rr-moved -o ../sarge.iso .
>
> You can then test it looks okay, by mounting it again
>
> # cd /tmp
> # mount -o loop,ro -t iso9660 sarge.iso /mnt
> # cd /mnt
>
> ...browse the tree
>
> # cd /
> # umount /mnt
>
> Then, you can burn that image to a CD, and see if it works any better.
>


Everything done, and...
All's fine! I am now in the install process!

Thanks a lot.

May be useful to report to Debian ? I don't know how.

Cheers.

Felipe


> Cheers,
>
> Leigh.



entering sleep mode quietly/non-verbose

2004-12-02 Thread Holger Levsen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

each time my ibook g3 enters sleep mode, the displays switches from graphics 
to text console and displays some kernel stufff, which is pretty useful for 
debugging etc.

But this doesn't look really pretty in everyday operations - especially for 
people who are not interesting in kernel debugging every day ;-)

So I wonder if there is this option somewhere in the kernel or in which BTS I 
should submit this wishlist bug ;-)


regards,
 Holger (who likes debug infos - but who also likes to turn them off -   
sometimes ;) 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBrtkFUHLQNqxYNSARArGgAJ9RX4SrL7Pb0/DhSLRkby3YXrE+OgCeJa+R
irZDEWAUuSwlX0QmnFIv3Ls=
=nh4T
-END PGP SIGNATURE-



Re: firewire CD-ROM

2004-12-02 Thread Sebastian Henschel
hello Adam...

* Adam Done <[EMAIL PROTECTED]> [2004-12-02 09:24 +0100]:
> I have a firewire drive working great on my system but now I have
> installed a firewire Lacie external CD burner and I see that Linux
> recognize it when I dmsg.
> 
> PCI: Enabling device 0001:11:03.0 (0004 -> 0005)
> ieee1394: Initialized config rom entry `ip1394'
> ohci1394: $Rev: 1223 $ Ben Collins <[EMAIL PROTECTED]>
> PCI: Enabling device 0001:11:0a.0 (0010 -> 0012)
> ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[63]
> MMIO=[8008-800807ff]  Max Packet=[2048]
> ieee1394: Node added: ID:BUS[0-00:1023]  GUID[00d04b01070340de]
> ieee1394: Node added: ID:BUS[0-01:1023]  GUID[00d00101a2fd]
> ieee1394: Host added: ID:BUS[0-03:1023]  GUID[000a27fffeda4b94]
> SCSI subsystem initialized
> sbp2: $Rev: 1219 $ Ben Collins <[EMAIL PROTECTED]>
> scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
> ieee1394: sbp2: Node 0-00:1023: Using 36byte inquiry workaround
> ieee1394: sbp2: Logged into SBP-2 device
> ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
>   Vendor: LACIE Model: CDBP-241040A  Rev: 6.34
>   Type:   CD-ROM ANSI SCSI revision:
> 02
> scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices

> sr0: scsi3-mmc drive: 16x/40x writer cd/rw xa/form2 cdda tray
  ^^^
here it is.

> Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
> ieee1394: sbp2: Logged into SBP-2 device
> ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048]
>   Vendor: FireWire  Model:  1394 Disk Drive  Rev: 
>   Type:   Direct-Access  ANSI SCSI revision:
> 02
> SCSI device sda: 11733120 512-byte hdwr sectors (6007 MB)
> sda: cache data unavailable
> sda: assuming drive cache: write through
>  sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9
> Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
> PHY ID: 406212, addr: 0
> 
> 
> 
> I also looked at /proc/scsi/scsi:
> 
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: LACIEModel: CDBP-241040A Rev: 6.34
>   Type:   CD-ROM   ANSI SCSI revision:
> 02
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>   Vendor: FireWire Model:  1394 Disk Drive Rev: 
>   Type:   Direct-AccessANSI SCSI revision:
> 02
> 
> 
> 
> What I can't figure out is what sd device the cdrw is located at.  Dmesg
> tells me it is there.  Has anyone else have any light on this subject.
> Thanks in advance.

have you tried /dev/sr0 for accessing the device?

hth,
 Sebastian
-- 
::: .O.
::: ..O
::: OOO
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import


signature.asc
Description: Digital signature


Re: Hard Drive light

2004-12-02 Thread Cedric Pradalier
According to Jens Schmalzing, on 02 Dec 2004 08:04:48 +0100, 
>Hi,
>
>Andrea Giusto writes:
>
>> nice feature: the suspend light located on the display opening
>> button (I own a PB12'') acted as a Hard Drive light, just as on my
>> old 586! Do we have something like that in Debian kernels?
>
>It is disabled in the official kernel.  You can roll your own kernel
>of course, which in Debian is very easy thanks to kernel-package, and
>include the feature.
>
>Regards, Jens.
>

I'm just wondering if it could be made activable with a sysctl or through a 
/sys entry ? 
There have been several people asking for it when it was removed, or asking for 
removal
when it was included. I should be able to make this kind of patch if needed.

Regards

-- 
Cedric Pradalier



Re: agp and sleep patch

2004-12-02 Thread Jose A. Ortega Ruiz
Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:

> On Wed, 2004-12-01 at 19:01 +0100, Jose A. Ortega Ruiz wrote:
>> hi. i've noticed that enabling agp in kernel 2.9.3 breaks sleep (in
>> the sense that, when the agp-related are loaded, my ibook G4 does not
>> awake from sleep): is that a known issue? (i'm using patch 6).
>
> Make sure your X has Option "AGPMode" "4" in the "Device" section
>

thanks. of course, that was it.

jao
-- 
That man who dares to waste one hour of time, has not discovered
the value of life. -- Charles Darwin



Re: Some problems in the daily use of a Debian System

2004-12-02 Thread Colin Leroy
On 01 Dec 2004 at 19h12, Johannes Mockenhaupt wrote:

Hi, 

> > Kernel bug, what version does he use?
> 
> Kernel bug? Don't think so :-)

Oh, it was once :) but rather on 2.6.5 or something.

> The line
> 
>  mixerchannels   = "volume, speaker"
>  
> in /etc/pbbuttonsd.conf tells pbuttonsd to adjust the volume of the main
> channel and the speaker volume as well. When increasing/decreasing the
> volume the speaker get reactivated. Removing the "speaker" entry from the
> line solves this problem.

Nice to know, thanks.
-- 
Colin



Re: Hard Drive light

2004-12-02 Thread Jens Schmalzing
Hi,

Andrea Giusto writes:

> nice feature: the suspend light located on the display opening
> button (I own a PB12'') acted as a Hard Drive light, just as on my
> old 586! Do we have something like that in Debian kernels?

It is disabled in the official kernel.  You can roll your own kernel
of course, which in Debian is very easy thanks to kernel-package, and
include the feature.

Regards, Jens.

-- 
J'qbpbe, le m'en fquz pe j'qbpbe!
Le veux aimeb et mqubib panz je pézqbpbe je djuz tqtaj!



firewire CD-ROM

2004-12-02 Thread Adam Done
I have a firewire drive working great on my system but now I have
installed a firewire Lacie external CD burner and I see that Linux
recognize it when I dmsg.

PCI: Enabling device 0001:11:03.0 (0004 -> 0005)
ieee1394: Initialized config rom entry `ip1394'
ohci1394: $Rev: 1223 $ Ben Collins <[EMAIL PROTECTED]>
PCI: Enabling device 0001:11:0a.0 (0010 -> 0012)
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[63]
MMIO=[8008-800807ff]  Max Packet=[2048]
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[00d04b01070340de]
ieee1394: Node added: ID:BUS[0-01:1023]  GUID[00d00101a2fd]
ieee1394: Host added: ID:BUS[0-03:1023]  GUID[000a27fffeda4b94]
SCSI subsystem initialized
sbp2: $Rev: 1219 $ Ben Collins <[EMAIL PROTECTED]>
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Node 0-00:1023: Using 36byte inquiry workaround
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-00:1023: Max speed [S400] - Max payload [2048]
  Vendor: LACIE Model: CDBP-241040A  Rev: 6.34
  Type:   CD-ROM ANSI SCSI revision:
02
scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
sr0: scsi3-mmc drive: 16x/40x writer cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048]
  Vendor: FireWire  Model:  1394 Disk Drive  Rev: 
  Type:   Direct-Access  ANSI SCSI revision:
02
SCSI device sda: 11733120 512-byte hdwr sectors (6007 MB)
sda: cache data unavailable
sda: assuming drive cache: write through
 sda: [mac] sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9
Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
PHY ID: 406212, addr: 0



I also looked at /proc/scsi/scsi:

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: LACIEModel: CDBP-241040A Rev: 6.34
  Type:   CD-ROM   ANSI SCSI revision:
02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: FireWire Model:  1394 Disk Drive Rev: 
  Type:   Direct-AccessANSI SCSI revision:
02



What I can't figure out is what sd device the cdrw is located at.  Dmesg
tells me it is there.  Has anyone else have any light on this subject.
Thanks in advance.

-Adam