Re: Choosing filesystems for exchanging data among operating system

2005-07-01 Thread Rogério Brito
On Jul 01 2005, sascha brossmann wrote:
> on 7/1/05 5:13 PM, Rogério Brito wrote:
> > I use the hfsplus module in Linux to get access to HFS+ formatted
> > filesystems and it works much better than FAT has ever worked (no little
> > limitations of file size etc).
> 
> glad to hear that. while i knew that some progress had been made, i
> didn't want to recommend something which i haven't recently & reliably
> used myself, though. maybe i should have mentioned that my experience
> with hfsplus on linux is slightly dated by now.

Yes, there were some improvements in the last few years. In particular, the
output of df isn't confusing anymore, for instance.

> @albert: concerning UFS, all i ever heard was recommendations against
> using it unless being absolutely forced to because of some legacy
> software, so i never considered.

Not to mention that there doesn't seem to be just one UFS layoung around
and that Linux didn't have good support for UFS the last time I checked
(but, again, the Linux driver may have the feature to write on such
filesystems not marked "dangerous" anymore).


Hope this helps, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


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



Re: Choosing filesystems for exchanging data among operating system (was: Re: Fs)

2005-07-01 Thread Rogério Brito
On Jul 01 2005, Aaron Macks wrote:
> you also might want to look into
> http://sourceforge.net/projects/ext2fsx/
> I don't know much about it, but it would allow you to have total 
> filesystem compatibility, linux<->osx .

But some Mac applications didn't seem to work with an ext2 fs the last time
I tried. And, for those using Tiger, the kernel extension doesn't seem to
work anymore.


Hope this helps, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


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



Re: PISMO G4 UPGRADE - Does it make sense with linux?

2005-07-01 Thread Rogério Brito
On Jul 01 2005, Rainer Gutkas wrote:
> Thanks a lot Ben, this is a big point. Do you know if Gnome also would 
> profit from altivec, because the Gnome display is what is really slowing 
> things down

I sincerely don't know if gnome would benefit from altivec and I would
guess that it doesn't.

Gnome and other desktop environments have been accumulating fat over the
years and it seems that some guys at Novell have decided some months ago to
focus their attention on limiting the memory necessary for such programs.

This is especially important for those who cannot for one reason or
another, have huge libraries due to restrictions of RAM size, which, I
would think, would be the first thing to impact a laptop with a slow
harddisk (where swap is done).

Let's hope that they take that task seriously.


Hope this helps, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


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



Re: PISMO G4 UPGRADE - Does it make sense with linux?

2005-07-01 Thread Benjamin Herrenschmidt
On Fri, 2005-07-01 at 18:59 +0200, Rainer Gutkas wrote:


> Thanks a lot Ben, this is a big point. Do you know if Gnome also would 
> profit from altivec, because the Gnome display is what is really slowing 
> things down

I doubt it. Do you have r128 acceleration enabled in your X server ?

Ben.



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



Re: Unable to boot OSX

2005-07-01 Thread Brian Sammon
> /dev/hda
> #type name  length   base
> ( size )  system
> /dev/hda1 Apple_partition_map Apple 63 @ 1
> ( 31.5k)  Partition map
> /dev/hda2 Apple_Bootstrap bootstrap   1600 @ 64
> (800.0k)  NewWorld bootblock
> /dev/hda3  Apple_Free Extra 260544 @ 1664
> (127.2M)  Free space
> /dev/hda4   Apple_HFS Apple_HFS_Untitled_2  30210224 @
> 262208( 14.4G)  HFS
> /dev/hda5 Apple_UNIX_SVR2 swap 2097152 @
> 30472432  (  1.0G)  Linux swap
> /dev/hda6 Apple_UNIX_SVR2 linux  123731888 @
> 32569584  ( 59.0G)  Linux native
> /dev/hda7  Apple_Free Extra 16 @
> 156301472 (  8.0k)  Free space
> 
> What should the 'macosx=' line in my yaboot.conf read? I'm sure it's
> wrong.

I'd try /dev/hda4 first.  If that doesn't work, try replacing 'macosx=' with 
'brokenosx='





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



RS6000 / 43P Install Failing

2005-07-01 Thread Mark Van Leeuwen

I am attempting to install linux on an RS6000 43P-140 and am not having
too much luck. Is there anyone who can help me. 


VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER

RAMDISK: Compressed image found at block 0
 RAMDISK: Loading compressed image into ram disk... | done.
 VFS: Mounted root (ext2 filesystem) readonly.
 Freeing unused kernel memory: 160k init 32k pmac 8k chrp 4k
openfirmware Setting up filesystem, please wait ...
mount: Kernel panic: Attempted to kill init!
 Mounting none on  /dev failed: No<0>Rebooting in 180 seconds.. such
device




Mark S. Van LeeuwenVan Leeuwen
Enterprises
3457 Patcon Way   MCSE, MCSE-W2K, CCNA,
A+
Hilliard, OH 43026-3863
(V) (614) 219-2484
(M) (614) 746-5708
http://www.vanleeuwen.org/markvl   (E)
[EMAIL PROTECTED]




BEGIN:VCARD
VERSION:2.1
N:Van Leeuwen;Mark
FN:[EMAIL PROTECTED]
ORG:Van Leeuwen Enterprises Inc
TITLE:CEO
TEL;WORK;VOICE:(706) 614-1073
TEL;HOME;VOICE:(706-548-4133
ADR;WORK:;;3457 PATCON WAY;HILLIARD;OH;43026-3863;United States of America
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:3457 PATCON WAY=0D=0AHILLIARD, OH 43026-3863=0D=0AUnited States of America
ADR;HOME:;;3457 PATCON WAY;HILLIARD;OH;43026-3863;United States of America
LABEL;HOME;ENCODING=QUOTED-PRINTABLE:3457 PATCON WAY=0D=0AHILLIARD, OH 43026-3863=0D=0AUnited States of America
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20050416T200044Z
END:VCARD


Re: Choosing filesystems for exchanging data among operating system

2005-07-01 Thread Mike S

sascha brossmann wrote:


on 7/1/05 7:48 PM, Albert Cahalan wrote:
 


Some old Mac apps might have a little trouble, but
hopefully that won't be too serious for $HOME usage.
   



what about resource forks and other peculiarities which are still to be
dealt with on the mac os side, even now (in spite of metadata being
quite a good thing, if it only was more cross-platform)? iirc, there
were some troubles with ufs. at least some time ago, i remember several
mac applications not working on ufs partitions. anybody with more recent
experience?

apart from that, thinking about having crus...^h^h^h^h fat invading my ~
gives me the creeps, anyway  just external use under
unfortunate circumstances. and even then no admittance past the front
gate. ;)

a small dedicated server on a local network is propably a better
solution in many cases, anyway (as long as data transfer rates are not
mission critical). plus the benefit of making that abandoned old
hardware of yours feel proud and useful again... ;-)

best,

sascha


 

OK, I am a little late in the game on this one, but I have had some 
experience with these file systems, and let me tell ya, before I used 
the latter kernels, it was hell.  building the hfsplus modules into the 
kernel has always worked for me, I have read all the sob stories about 
it, and read the precautions, but still forged ahead and used it 
anyways.  I have never had a problem with using the hfsplus partitions 
with linux, (Debian and Ubuntu) but it's not always like I transfer 
hundreds of megabytes between the two either.


About UFS, a friend of mine just wiped out his computer and reinstalled 
it about a month ago, and there were still enough programs that didn't 
work on his ufs formatted OSX, so many that he opted to rewipe and 
install on hfs+ instead.  Whether that is also OS specific I don't know, 
as we are both still using Jaguar


As for resource forks, I have found that in what I do, I don't run into 
problems too often, but for the chance that I might, I just fire up MOL 
and binhex the file to be transferred


Although more often than not I would think that the external file server 
would be better in the longrun, and most likely less hassle.


Mike S


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



Unable to boot OSX

2005-07-01 Thread Erik Chakravarty
if this is my partition readout from fdisk:


/dev/hda
#type name  length   base
( size )  system
/dev/hda1 Apple_partition_map Apple 63 @ 1
( 31.5k)  Partition map
/dev/hda2 Apple_Bootstrap bootstrap   1600 @ 64
(800.0k)  NewWorld bootblock
/dev/hda3  Apple_Free Extra 260544 @ 1664
(127.2M)  Free space
/dev/hda4   Apple_HFS Apple_HFS_Untitled_2  30210224 @
262208( 14.4G)  HFS
/dev/hda5 Apple_UNIX_SVR2 swap 2097152 @
30472432  (  1.0G)  Linux swap
/dev/hda6 Apple_UNIX_SVR2 linux  123731888 @
32569584  ( 59.0G)  Linux native
/dev/hda7  Apple_Free Extra 16 @
156301472 (  8.0k)  Free space

What should the 'macosx=' line in my yaboot.conf read? I'm sure it's
wrong.



Erik


-- 




_
ERIK CHAKRAVARTY
mobile: (+44) 7720 850521
email: [EMAIL PROTECTED]


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



Re: Choosing filesystems for exchanging data among operating system

2005-07-01 Thread sascha brossmann
on 7/1/05 7:48 PM, Albert Cahalan wrote:
> Some old Mac apps might have a little trouble, but
> hopefully that won't be too serious for $HOME usage.

what about resource forks and other peculiarities which are still to be
dealt with on the mac os side, even now (in spite of metadata being
quite a good thing, if it only was more cross-platform)? iirc, there
were some troubles with ufs. at least some time ago, i remember several
mac applications not working on ufs partitions. anybody with more recent
experience?

apart from that, thinking about having crus...^h^h^h^h fat invading my ~
gives me the creeps, anyway  just external use under
unfortunate circumstances. and even then no admittance past the front
gate. ;)

a small dedicated server on a local network is propably a better
solution in many cases, anyway (as long as data transfer rates are not
mission critical). plus the benefit of making that abandoned old
hardware of yours feel proud and useful again... ;-)

best,

sascha


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



PBButtonsd Beta Version 0.7.0beta2 released - major bugfix

2005-07-01 Thread Matthias Grimm

Hi,

I released a beta version of the comming pbbuttonsd 0.7.0.

In this beta version trackpad and keyboard will only be configured on
PowerBooks that have an ADB Trackpad and/or keyboard. Furthermore the
NoTapTyping function changed: Trackpad tap will now be disabled with
first key stroke and enabled with first mouse move. This will reduce
ADB bus load significantly. This might not solve the freeze problem,
but makes it much more unlikely.

Please test this version extensivly and report all problems. With
enough feedback we should get the release within a week. 

The source package could be dowloaded from the pbbuttonsd download
area of http://pbbuttons.sourceforge.net.

 Best Regards
   Matthias


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



Re: Choosing filesystems for exchanging data among operating system

2005-07-01 Thread Albert Cahalan
On Fri, 2005-07-01 at 19:38 +0200, sascha brossmann wrote:

> @albert: concerning UFS, all i ever heard was recommendations against
> using it unless being absolutely forced to because of some legacy
> software, so i never considered.

If you'd even consider using FAT, then UFS will do.
UFS is just about identical to ext2 in terms of
feature set and on-disk structure. Ext2 was designed
as a UFS clone with the VAX-era cruft removed.

The only question of interest: has anybody set up the
Linux UFS driver to handle MacOS X yet? The driver
needs to know the byte order and needs to know if some
features (32-bit UID, file type codes, etc.) may
legitimately be used.

Some old Mac apps might have a little trouble, but
hopefully that won't be too serious for $HOME usage.
For example, you get case sensitivity.



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



Re: Choosing filesystems for exchanging data among operating system

2005-07-01 Thread sascha brossmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

on 7/1/05 5:13 PM, Rogério Brito wrote:
> I use the hfsplus module in Linux to get access to HFS+ formatted
> filesystems and it works much better than FAT has ever worked (no little
> limitations of file size etc).

glad to hear that. while i knew that some progress had been made, i
didn't want to recommend something which i haven't recently & reliably
used myself, though. maybe i should have mentioned that my experience
with hfsplus on linux is slightly dated by now. i.e. when i needed it
around the turn of the year it seemed a little bit too rough (on sarge
beta), so i turned to ext2 for shared partitions. which worked rather
well w/ aforementioned extension -- until tiger.

@albert: concerning UFS, all i ever heard was recommendations against
using it unless being absolutely forced to because of some legacy
software, so i never considered.

best,

sascha
- --
:: [EMAIL PROTECTED] ::. :: .. :... .  .  . .   . . .
:: www.brsma.de :: ..: .:. . :.. ..:  .   .  .   .  .   .
:: icq #121790750 ::.: .:.  :.  ::. .. .   ..   . .   . .
:: public key id 0x2EA549A0 ::.. :: . .  .  . ....   .
-BEGIN PGP SIGNATURE-

iEYEARECAAYFAkLFf6UACgkQU/s4iC6lSaBpTQCfZ7LsfEAVysLSwzutAFrNjM3L
FM8AnRVy9kMiXkfnP7RE4D4cJXZvPXK1
=SmDY
-END PGP SIGNATURE-


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



Re: Choosing filesystems for exchanging data among operating system (was: Re: Fs)

2005-07-01 Thread Aaron Macks

you also might want to look into
http://sourceforge.net/projects/ext2fsx/
I don't know much about it, but it would allow you to have total 
filesystem compatibility, linux<->osx .  Unless you use XFS or JFS, 
in which case you'd have to create a new partition

aaron
--
-
Aaron Macks([EMAIL PROTECTED])
http://www.wiglaf.org/~aaronm/
My sheep has seven gall bladders, that makes me the King of the Universe!


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



Re: PISMO G4 UPGRADE - Does it make sense with linux?

2005-07-01 Thread Rainer Gutkas

Benjamin Herrenschmidt schrieb:


On Wed, 2005-06-29 at 16:09 -0500, vinai wrote:
 


On Wed, 29 Jun 2005, Rainer Gutkas wrote:

   


I'm thinking of upgrading my Powerbook Pismo (400Mhz) to a G4 (550Mhz)
and wanted to know if it maces sense under linux.
I run Gnome desktop and a CPU meter and it runs crazy when I open an
App, display flash movies, or try to look at dvd's
So probably the Altivec Engine could do a real good job?
But is it supported and will tis bring a good amount of speed, because
for a 150Mhz clockspeed increase this upgrade is too expensive for me!
Oh and by the way if anybody has experience with such an upgrade, i'm 
interested
 


Bottom line - if the software does not use Altivec optimizations, it's
not worth it.  I got one of these upgrades, and I posted some benchmarks
of before and after results (under Mac OS X) of the performance of this
upgrade.  If you look at the site: www.xlr8yourmac.com, and check under
the CPU upgrades database, my entry for the Powerbook 2000 upgrade is on
the 2nd or 3rd page of listings.

I ran benchmarks using generic UNIX-ish software (LaTeX and gcc) and Mac
OS X software.  The performance in the non OS X software (i.e. non G4
optimized software) scaled with clock speed, while OS X software which
used Altivec showed a larger performance gain.  If you plan to twiddle
and tweak software, and learn a little about vector programming, it may
be worth it for you.  If you just want to install and go, this upgrade
probably won't be worth the price,  unless the software you plan to use
has already been optimized for Altivec.
   



Which is the case of dvd playback ... (libmpeg2 is one of the first
thing that was optimized for altivec in linux)

Ben.




 

Thanks a lot Ben, this is a big point. Do you know if Gnome also would 
profit from altivec, because the Gnome display is what is really slowing 
things down


Rainer
begin:vcard
fn:Rainer Gutkas
n:Gutkas;Rainer
adr;quoted-printable:;;Kleiststr. 36;St.P=C3=B6lten;;A-3100;Austria
email;internet:[EMAIL PROTECTED]
title:Bakk. techn. (B.Sc.)
version:2.1
end:vcard



Re: Fs

2005-07-01 Thread Albert Cahalan
On Fri, 2005-07-01 at 16:19 +0200, sascha brossmann wrote:

> iirc ext3 is (roughly put) ext2 + journalling, and thus ext3 partitions
> should be accessible with an ext2 driver. the ext2 driver for os x does
> currently *not* work properly with tiger though, as apple changed the
> kernel interface[1]. consequently, in order to share a hd partition
> between os x 10.4 and linux you currently have to use atavistic
> atrocities like FAT  instead or resort to networking. foreign
> file system support is one of the things in osx that always sucked. and
> apple seems inclined to keep it like that, unfortunately... :-(

Can't you use a UFS filesystem for this?




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



Choosing filesystems for exchanging data among operating system (was: Re: Fs)

2005-07-01 Thread Rogério Brito
On Jul 01 2005, sascha brossmann wrote:
> consequently, in order to share a hd partition between os x 10.4 and
> linux you currently have to use atavistic atrocities like FAT 
> instead or resort to networking.

I use the hfsplus module in Linux to get access to HFS+ formatted
filesystems and it works much better than FAT has ever worked (no little
limitations of file size etc).

I have not had any problems yet.


Hope this helps, Rogério.

-- 
Rogério Brito : [EMAIL PROTECTED] : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat:  http://freshmeat.net/projects/algorithms/


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



Re: Fs

2005-07-01 Thread sascha brossmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

on 6/28/05 9:51 PM, Kasper Jordaens wrote:
> I had the same problem.. eventually I reformatted my home-partition to
> ext3 wich works ok
> 
> check
> 
> http://sourceforge.net/projects/ext2fsx/
> 
> I just see that it is ext2 on the page but I believe I'm using ext3...
> I'll check later today (in OSX now)

iirc ext3 is (roughly put) ext2 + journalling, and thus ext3 partitions
should be accessible with an ext2 driver. the ext2 driver for os x does
currently *not* work properly with tiger though, as apple changed the
kernel interface[1]. consequently, in order to share a hd partition
between os x 10.4 and linux you currently have to use atavistic
atrocities like FAT  instead or resort to networking. foreign
file system support is one of the things in osx that always sucked. and
apple seems inclined to keep it like that, unfortunately... :-(

best,

sascha

[1] see http://sourceforge.net/forum/forum.php?forum_id=474630
- --
:: [EMAIL PROTECTED] ::. :: .. :... .  .  . .   . . .
:: www.brsma.de :: ..: .:. . :.. ..:  .   .  .   .  .   .
:: icq #121790750 ::.: .:.  :.  ::. .. .   ..   . .   . .
:: public key id 0x2EA549A0 ::.. :: . .  .  . ....   .
-BEGIN PGP SIGNATURE-

iEYEARECAAYFAkLFUPAACgkQU/s4iC6lSaB5SQCeMirXqfOaL8PZz5QvNn7eToX0
RmsAoK28QSlael4phCmmuWif5OOIcrmj
=VB+b
-END PGP SIGNATURE-


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



Unidentified subject!

2005-07-01 Thread James Buchanan

unsubscribe


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



Re: ATI Radeon 9200 for MAC

2005-07-01 Thread Andrea Lusuardi - UoVoBW
On Fri, 1 Jul 2005 13:23:54 +0200
Uli <[EMAIL PROTECTED]> wrote:

> i have a problem with this Graphic card , as the ATI Radeon driver
> says  , that it _s the wrong system architecture (PPC) . is there hope
> that a  driver will be released in the future ?( 800x 600 sucks..)
> 
> or can i use the mac driver ?
> 
> ( sorry for such questions, but i am a newbie in things depending on 
> debian)
> 
> nevertheless, greets
> 



you mean the ati proprietary linux dirvers?
that cannot work on linux since are compiled for ppc, which is a
different arch than i386.

You should use the built in kernel driver, simply selecting "ATI Radeon"
in the graphics adapter.
Make sure to select both drm and dri.

Bye



-- 
Andrea Lusuardi aka UoVoBW 
   Registered Linux User #364578
---
  We need no darn steenkin' firewall


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



ATI Radeon 9200 for MAC

2005-07-01 Thread Uli
i have a problem with this Graphic card , as the ATI Radeon driver says 
, that it ´s the wrong system architecture (PPC) . is there hope that a 
driver will be released in the future ?( 800x 600 sucks..)


or can i use the mac driver ?

( sorry for such questions, but i am a newbie in things depending on 
debian)


nevertheless, greets

Uli


Re: Still Deadlock problem with pbbuttonsd 0.6.10?

2005-07-01 Thread Michael Schmitz
> > > the trackpad programming sequence initiated from user space is not
> > > atomic.
> >
> > Neither is programming the PMU via pmud-utils' trackpad tool.
>
> Yes, I know. I got my code from the trackpad tool :-)

Guessed as much :-)

> > Do you do anything different WRT PMU monitoring when on AC? Maybe it's a
> > race between trackpad programming and power monitoring. I'll try running
> > your 0.6.10 in pmud compat mode sometime to check that.
>
> I do nothing special. Pbbuttonsd program the trackpad in one sequence:
> Prg mod on, change trackpad mode, Prg mode off. There is no difference

And that's once only, not each time the user has been typing then stopped?

> between battery or AC I know off. Pbbuttonsd read the battery status through
> /proc/pmu instead of asking the PMU directly, so I don't see any relationship
> here.

That should not be a problem - the PMU driver only queries for battery
state on timer or environment interrupts. On my machine, on AC no timer
interrupts happen - see /proc/pmu/interrupts for this, maybe the
'problematic' machines are using a different interrupt?

How many PMU interrupts in a row do these machines ever see? I'm thinking
of a race between PMU commands and other ADB interrupts here, though I'm
not sure this can happen. If the kernel totally hangs (including
communication with the PMU), the PMU will shut down the machine after a
while.

In no way there should be a problem with user space reading /proc/pmu/.

Michael


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



Re: [PATCH] apm-emu displays time till battery is fully charged

2005-07-01 Thread Michael Schmitz
> > > Why not use /proc/pmu/ for this? Do the real apm has this facility? Maybe
> > > it is not implemented, because it couldn't be there.
> >
> > Most userland code is written for /proc/apm (hence the emulation hack). If
> > you can get the gnome-battery etc. authors convinced to try /proc/pmu/
> > before /proc/apm we would indeed not need apm-emu. /proc/pmu/ would even
> > know about multiple batteries, voltage, current, to name a few.
> >
>
> that's right, but pmu there's only on ppc... so read /proc/apm is more
> portable solution, by now, IMHO

:-) That's why it still gets used widely, even though it's only a hack on
powerpc.

A real portable solution would be something that exposes the full
feature set of each architecture's power handling framework via one
generic API. Stuff that powerpc has but might be missing on ix86 is
scheduled boot time, or automatic boot on powerup. Not sure this needs to
be handled in-kernel though. Otherwise, yet another user space process
could be talking to the kernel and translate for the rest of user space.

> thanx Soeren, for the patch, i don't know anyway to whom you should send
> it to make it defaulted on kernel, sorry maybe to ben herrenschmidt
> or repost to the list, as apparently he did't view this patch... (didn't
> answered)

I concur - the patch is nice and works with no problem here (AlBook 17").
IIRC Ben said the patch needs more testing before integration. How much
more testing, Ben?

Michael


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



Re: Porting ppc Linux to Xbox 360?

2005-07-01 Thread Lee Braiden
On Friday 01 Jul 2005 10:56, Paul TT wrote:
> right. and if new xbox will be like it seems it will, be (good
> hardware-cheap $), and linux will run on it, then that does in addition
> please the consumer :-

Only in the short term.  It never benefits society to deal with people who 
disrespect the fundamental rules of that society.

-- 
Lee Braiden
http://www.DigitalUnleashed.com


pgpa05Cz7Xa1k.pgp
Description: PGP signature


Re: Porting ppc Linux to Xbox 360?

2005-07-01 Thread Paul TT
On Sun, 19 Jun 2005 09:41:19 +1000
Erik de Castro Lopo <[EMAIL PROTECTED]> wrote:

> Lee Braiden wrote:
> 
> > I for one hope this never happens.  Every X-Box bought is another sale for 
> > Microsoft.  That sale will not only help them to dominate the software 
> > market, but the hardware and entertainment markets too.
> 
> With the current Xbox, m$ takes a loss on every machine sold and
> makes it up in games sales.
> 
> If people buy an xbox and only run Linux on it, then that does
> hurt m$.

right. and if new xbox will be like it seems it will, be (good hardware-cheap 
$), and linux will run on it, then that does in addition please the consumer 
:-

up ppc!


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



Re: [PATCH] apm-emu displays time till battery is fully charged

2005-07-01 Thread Paul TT
On Wed, 22 Jun 2005 09:58:11 +0200 (CEST)
Michael Schmitz <[EMAIL PROTECTED]> wrote:

> > > It is nice having the gnome-battery applet display the time until the
> > > battery is fully charged - isn't it ?
> >
> > Why not use /proc/pmu/ for this? Do the real apm has this facility? Maybe
> > it is not implemented, because it couldn't be there.
> 
> Most userland code is written for /proc/apm (hence the emulation hack). If
> you can get the gnome-battery etc. authors convinced to try /proc/pmu/
> before /proc/apm we would indeed not need apm-emu. /proc/pmu/ would even
> know about multiple batteries, voltage, current, to name a few.
> 

that's right, but pmu there's only on ppc... so read /proc/apm is more portable 
solution, by now, IMHO


thanx Soeren, for the patch, i don't know anyway to whom you should send it to 
make it defaulted on kernel, sorry
maybe to ben herrenschmidt or repost to the list, as apparently he did't view 
this patch... (didn't answered)


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



Re: New Powerbook configuration

2005-07-01 Thread Paul TT
On Mon, 27 Jun 2005 09:50:46 +0200
Corsac <[EMAIL PROTECTED]> wrote:

> Paul TT wrote:
> > On Sat, 25 Jun 2005 02:21:45 -0500
> > Simon Glez <[EMAIL PROTECTED]> wrote:
> > 
> > 
> >>I'm a new user in linux, I've already instal debian 3.1 en my  
> >>Powerbook G4 17" 1.67 Ghz but the almost all of the confuguration are  
> >>not good enought. The monitor (1440x900px) don't work as should it  
> >>does. Trackpad don't work at all, the keybord, the sound, .. The  
> >>same.
> >>
> > 
> > 
> > here's my xf86config for my 15'' pb.
> > you should change the lines with 1024x854 resolutions with 1440x900 and you 
> > /should/ be fine
> > 
> 
> Are you fine with your keymap ? I have a new powerbook, I use 2.6.12
> kernel with fn key and fr keymap frome linux-france.org and I have some
> issues with it ( and @/# are inverted, the function key doesnt work
> very well...). Does pc105 work for a powerbook 15" ?
> 

mhhh, as you can see in config file, i have it keyboard and use pc102 as 
XkbModel, which works perfect for me, fn stuff and varius characters
i think it could be a prob with fr keymap only
for me it's ok with every kernel i use up to now, 2.6.12 included (it map, 
obviously) with a new pb


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



Re: wlan sniffer under ppc

2005-07-01 Thread Paul TT
On Mon, 27 Jun 2005 11:03:26 +0200
Peter Plessas <[EMAIL PROTECTED]> wrote:

> Hi List,
> 
> just as i come across more and more information, that wlan sniffing on 
> powerpc with old airport cards seems really hard to do (seems like one 
> has to patch the card drivers), i wonder if anyone had success in doing 
> it any way?

go here (my site)

http://www.paultt.org/downloads/index.html

towards the end of the page you can found patches to enable monitor mode for 
airport, plus a patch that enables led blinking when receiving packets so you 
can see wlan activity just viewing it... :-)

the card works then with kismet/wellenreiter, nothing simpler ;-

the only thing you should care of, it's that you should rmmod airport+modprobe 
airport if you switch from monitor mode to an address inet mode again.

PaulTT


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



Re: display problems, sleep and freeze on PB5,6 2.6.12-rc6

2005-07-01 Thread Paul TT
On Tue, 28 Jun 2005 11:49:36 +1000
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:

> On Mon, 2005-06-27 at 18:45 +0200, Johannes Berg wrote:
> > On Mon, 2005-06-27 at 18:36 +0200, Bernhard Reiter wrote:
> > 
> > > I think the dizzling was there sometimes before pbbuttonsd was started
> > > and also sometimes switching to X or from X and back did not solve it.
> > 
> > If I do it twice, it does, but your's may be slightly different I
> > suppose.
> 
> You can also try turning backlight all the way down (off) and then back
> up several times until the display syncs again.

i wrote same thing, but after you, i didn' read this mail sorry:(
 
> You may want to try playing around with the timings in radeonfb_unblank
> when it manipulates the LVDS_* registers and see if you can get it to
> work more reliably...

where someone should have to look to 'play' whith these values? just to look 
directly in the right source w/out grepping around
maybe you know immediatly, thanx


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



Re: display problems, sleep and freeze on PB5,6 2.6.12-rc6

2005-07-01 Thread Paul TT
On Mon, 27 Jun 2005 17:55:43 +0200
Bernhard Reiter <[EMAIL PROTECTED]> wrote:

> Powerbook 5,6   15" with Radeon 9600 M10 
> linux 2.6.12-rc6
> 
> Two oddities:
>   a) sometimes I get a dizzling screen from the console startup,
>   this is the time when the radeon framebuffer is initialised
>   I assume. Putting the machine to sleep and wake it up again
>   seems to help. I think I remember Ben muttering something about
>   the difficulties with the initialisation code.
>   I also observed this somethimes after a wakeup. Another sleep
>   wakeup usually solved the problem.

sometimes i get the same behaviour, the solution without sleep-wakeup cycle for 
me it's simply to powerdown the light of the display, then lite it on again 
(whit pbbuttonsd or fblevel), then the dizzling goes away.


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



Re: X keymap for Powerbook5,6 problem

2005-07-01 Thread Matthew Denner
Matthew Denner wrote:
> When I apply the X keymapping using 'xkbcomp gb.xkb :0' I find that
> alt+any arrow key does the 'named' keys (home, end, page up, page down)
> but fn+any arrow key doesn't.  Is this what is expected?  Do you think
> this is something to do with the combination of stuff I have running?

Ah, actually, it does work, but I have to hold the fn+arrow key
combination for about 2 seconds before it suddenly kicks in.  Any idea
why this might be?

Matt


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



X keymap for Powerbook5,6 problem

2005-07-01 Thread Matthew Denner
Hi,

This is mainly a question for Jochen Voss about your X keymap for the
Powerbook 5,6, but I figure someone else might have experienced the same
things I am.

First off the system info:

UK Powerbook 5,6
Kernel 2.6.12 (gentoo) + fn key patch + all patches for Powerbook 5,6
XOrg 6.8.2-r1
Enlightenment e17

When I apply the X keymapping using 'xkbcomp gb.xkb :0' I find that
alt+any arrow key does the 'named' keys (home, end, page up, page down)
but fn+any arrow key doesn't.  Is this what is expected?  Do you think
this is something to do with the combination of stuff I have running?

Matt


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