Re: Keyboard locked to uppercase

2004-12-16 Thread Michel Dänzer
On Thu, 2004-12-16 at 19:28 +0100, Wolfgang Pfeiffer wrote:
> 
> Anyone knowing a trick how to reset a keyboard with some keystroke, or
> whatever, to its default values after it crashed?
> 
> The keyboard here became unusable while running an X/FVWM/GTK+
> session: All keys suddenly became uppercase values when typing. I
> started this X session from a console with 
> startx -- -dpi 82 > /tmp/xlog-`date +%y-%m-%d-%H:%M` 2>&1
> 
> Links I clicked in Firefox with the left mouse-button suddenly openend
> in a new browser window instead of opening the new page in the current
> one. 
> 
> Pressing Caps Lock, ^D, whatever: nothing helped until I logged out
> from X and got back to the console from where I started the previous
> X: But even there everything I typed became uppercase: In this
> situatian it's even impossible to shut down the machine from the
> command line.
>
> What helped in the end, I believe, was pressing something like
> -Shift to get back to a usable keyboard.
> 
> Anyone knowing how to change such a situation back to normal, without
> trial-and-error?

I'm afraid there's none. Sometimes, a key gets 'stuck', I don't know if
this is a hardware or software issue. The trick is to find the key and
press it again. Sounds like in your case it may have been fn-Shift (i.e.
right Shift), which would be particularly tricky.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: ibook 2.2 doesn't use whole battery

2004-12-16 Thread ncrfgs
On Thu, Dec 16, 2004 at 10:15:58PM +0100, Mich Lanners wrote:
> By the way, the voltage line is what indicates the shutdown point: the
> batteries actually have a lowest permissible discharge voltage. Once
> that is reached, the battery's internal controller will shut the battery
> output off. But that point can lie way beyond 0% charge level.

Sorry but I didn't get the point about voltage.
Do you think these valure are coherent?

:~$ cat /proc/apm /proc/pmu/battery_0

  0.5 1.1 0x00 0x00 0x01 0x02 28% 30 min
  
  flags  : 0011
  charge : 648
  max_charge : 2290
  current: -1244
  voltage: 14950
  time rem.  : 1875



Thanks in advance.

Best regards.




P.S.

> ---
> " Read Philosophy.  Study Art.
>   Ask Questions.  Make Mistakes.
> 
> 
>Learn Always. "

Great signature. :D 
-- 
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


pgpOb0h1FLn2C.pgp
Description: PGP signature


Python error causes reboot

2004-12-16 Thread Brendan Simon
I'm writing a Python application using the wxWidgets binding and calling 
the net-snmp command line utils via popen.


Often when I make a simple mistake in the python code, something goes 
horribly wrong and the machine (PowerMac running testing and 
kernel-2.6.8.1) reboots.  I'm running is user space so why does the 
whole machine die 


Regards,
Brendan Simon.




Re: building a multiarch gcc

2004-12-16 Thread Andreas Jochens
On 04-Dec-16 16:20, Rafael Esp?ndola wrote:
> On Thu, 16 Dec 2004 01:35:08 +1100, Anton Blanchard <[EMAIL PROTECTED]> wrote:
> > Yep, Alan Modra fixed binutils at some stage so it could create multiple
> > TOCs and -mminimal-toc isnt required.
> > 
> > With older binutils the gcc -mminimal-toc option is the way to go.
> In what version of binutils is the support present? I had problems
> with binutils 2.15.91 (the one present in gentoo).

I tried the current CVS version of binutils and I still got the error.
The error message was not exactly the same but it still said something 
about TOC overflow.

Regards
Andreas Jochens



Re: Java debs anyone?

2004-12-16 Thread Colin Leroy
On 16 Dec 2004 at 12h12, Eric Gaumer wrote:

Hi, 

> Mono is free and Java is not.

Can we please stop this troll now, or at least take it to where it
belongs, which would be debian-legal. Thanks.
Any developer wanting to use some non-provided language would know where
to get it and how to install anyway, so this issue is moot and only a
convenience one.

> C# is geared at superseding Java

Who cares. People use whatever language they feel like  fits their needs
and it's certainly not Joe Random's task to decide whether Debian should
dump any software based on its technical merits  compared to some of its
rivals.

-- 
Colin
  Like any talented dog, it can do flips. 
  Like any talented cow, it can do precision bitmap alignment.  



Re: Java debs anyone?

2004-12-16 Thread Tommy Trussell
On Thu, 16 Dec 2004 12:31:02 -0800, Eric Gaumer
<[EMAIL PROTECTED]> wrote:
> I wish everyone would stop saying that mono is irrelevant. It is
> absolutely relevant to this entire topic. We are arguing over licensing
> issues. Mono is free and Java is not. C# is geared at superseding Java.

Since I know very little about programming in Java OR Mono, Google
turns up this:

http://www.go-mono.com/java.html

I gather that Java emulation is a goal of some Mono developers, but
it's not there yet, and given how hard it must be to support things
like browser plugins, it may be a long time before it becomes a
"drop-in" replacement.

In my opinion end-user pressure is the only currency IBM and SUN have
with their restrictive licenses... once there is a free solution
available their licenses will become irrelevant. But if that takes
another year or two that will seem a LONG time!



Re: ibook 2.2 doesn't use whole battery

2004-12-16 Thread Mich Lanners
On  16 Dec, this message from Colin Leroy echoed through cyberspace:
>> Do you think it's an hardware problem (bad battery) or a
>> configuration error?
> 
> I had this too and had to replace the battery. Before doing so you can
> try a few cycles - empty the battery completely (stop pmud or
> pbbuttonsd), charge it to full, etc.

You can also have a look at /proc/pmu/battery_0 and check the max_charge
line.

My old battery was down to values below 1000; the new one was at 4200
initially (now down to 3944 after only some 30 charge cycles).

Stopping pbbuttonsd and pmud, then letting it drain all the way, should
make that figure go up a bit.

By the way, the voltage line is what indicates the shutdown point: the
batteries actually have a lowest permissible discharge voltage. Once
that is reached, the battery's internal controller will shut the battery
output off. But that point can lie way beyond 0% charge level.

Also, running with little discharge current (backlight turned way down,
for instance) will make it run for a long time, whereas high current
drain might make an old battery go into shutdown almost immediately.

Cheers

Michel

-
Michel Lanners |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. "



Re: Java debs anyone?

2004-12-16 Thread Eric Gaumer
On Thu, 2004-12-16 at 13:36 -0500, Barry Hawkins wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Eric Gaumer wrote:
> [...]
> | If you feel so passionate about free software then lets boycott the use
> | of Java. Who is willing to go that far for their beliefs?
> |
> | Like I mentioned earlier, dump Java and start supporting mono. It's
> | fully open and could easily rival Java. C# already fixes all the
> | nuisances and problems Java has. It is what Java wanted to be.
> 
> Eric,
> ~Your claim that Mono "could easily rival Java" is rather general and
> quite unfounded.  If you want to start a thread on Mono advocacy, then
> feel free, but the issue at hand is appropriately respecting licenses.
> ~There are people on the Debian development teams who have gone to
> great lengths to ensure that order and propriety are maintained within
> the Debian packaging system, including observance of and adherence to
> licenses.  If you are going to flout adherence to licensing, please keep
> it to yourself and cease with this relativistic rhetoric.

Nobody is mocking the license, we're just trying clarify what exactly it
permits.

If you have a degree in IP law then please comment, if not then I'm not
interested in your ad hoc opinion of how to interpret the license or in
some lecture on moral ethics.

I wish everyone would stop saying that mono is irrelevant. It is
absolutely relevant to this entire topic. We are arguing over licensing
issues. Mono is free and Java is not. C# is geared at superseding Java.
I've written code in both and C# has improved upon many of Java's
features. I've studied high level languages but I don't feel this is the
place to discuss such topics. If you think Java can compete then that's
your opinion and I'm not going to waste my time trying to change that.
Eventually you will see things more clearly.

Java still does some things better but C#/mono is still in it's
infancy. 

-- 
Eric Gaumer <[EMAIL PROTECTED]>


signature.asc
Description: This is a digitally signed message part


Re: Java missing again?

2004-12-16 Thread Barry Hawkins

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Arnaud Vandyck wrote:
| Tue, 7 Dec 2004 08:51:40 -0500,
| Gregory Seidman <[EMAIL PROTECTED]> wrote:
|
|
|>Has anyone thought to port/extend java-package to work with the IBM PPC
|>JDK? I've used it with great success on Sun's JDK distributions on
x86. I'm
|>afraid I don't actually undestand it well enough to modify it, though.
|
|
| Hi Gregory, you'd better spend your energy in free runtimes ;-)
|
Arnaud,
~Many of us are eager for the free runtimes to catch up (and
beginning to get involved), but if you need to do many of the tasks a
typical Java developer would need, i.e. to run Eclipse to work on a J2EE
project, a full-blown 1.4 JDK is a necessity.  I had posted a question
similar to this about making a dummy package for PPC on the debian-java
list[0] on December 12th.
~With the recent flurry of posts about the need to use the IBM JDK,
wouldn't it make sense to enhance java-package to provide an option for
PPC folks, even it is a "bridge technology" of sorts while free java
catches up?

[0] - http://lists.debian.org/debian-java/2004/12/msg9.html

- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBwe3o7bZ6kUftWZwRAotaAJ9Dps3kMoZf91q6cTpuXBxtgnSdDQCdFqmZ
Cy5BxSpXBkONnhZxiZoYQQ4=
=phQC
-END PGP SIGNATURE-



Re: keyboard confusion

2004-12-16 Thread Elimar Riesebieter
On Thu, 16 Dec 2004 the mental interface of
Mich Lanners told:

> On  16 Dec, this message from Michael Schmitz echoed through cyberspace:
> >> > We'd need to see the adb devices: line from dmesg as well, that's
> >> > showing the default handler IDs IIRC. My keyboard is also detected
> >> > with 2 c4, and reported as ISO  / swapping keys. That's 2.6.9-rc4
> >> > FWIW.
> >>
> >> grl...
> >> $ dmesg | grep -i adb
> >>
> >> adb: starting probe task...
> >> adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
> >>
> >> So what to do now?
> > 
> > Hack the kernel to handle the c3 as ISO as well. Maybe add a kernel
> > option to swap keys on top of that.
> > 
> > It would be interesting to figure out what made your keyboard think
> > it's ANSI now. Maybe reset the OF parameters,
> 
> I think I remember that my TiBook detected it's keyboard once as ANSI as
> well. I think that was after I played around with the PMU hardware (had
> the box completely in pieces).
> 
> For an unknown reason, ir worked agan later. Don't know what I did, but
> doing a thorough OF reset (cmd-opt-P-R multiple times in a row) should
> be a first thing to try.

OF reset didn't help. The attached patch (2.6.20-rc3) did the job,
but its unsatisfiedly for me not to know why the hardware blobbed :(

Ciao

Elimar

-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)
--- a/drivers/macintosh/adbhid.c2004-12-16 19:40:55.492674906 +0100
+++ b/drivers/macintosh/adbhid.c2004-12-16 19:42:25.805362699 +0100
@@ -245,7 +245,7 @@
 
 /* Kind of keyboard, see Apple technote 1152  */
 #define ADB_KEYBOARD_UNKNOWN   0
-#define ADB_KEYBOARD_ANSI  0x0100
+#define ADB_KEYBOARD_ISO   0x0100
 #define ADB_KEYBOARD_ISO   0x0200
 #define ADB_KEYBOARD_JIS   0x0300
 
@@ -716,8 +716,11 @@
case 0x01: case 0x02: case 0x03: case 0x06: case 0x08:
case 0x0C: case 0x10: case 0x18: case 0x1B: case 0x1C:
case 0xC0: case 0xC3: case 0xC6:
-   printk("ANSI.\n");
-   adbhid[id]->input.id.version = ADB_KEYBOARD_ANSI;
+   printk("ISO, swapping keys, hacked.\n");
+   adbhid[id]->input.id.version = ADB_KEYBOARD_ISO;
+   i = adbhid[id]->keycode[10];
+   adbhid[id]->keycode[10] = adbhid[id]->keycode[50];
+   adbhid[id]->keycode[50] = i;
break;
 
case 0x04: case 0x05: case 0x07: case 0x09: case 0x0D:


signature.asc
Description: Digital signature


Re: Java debs anyone?

2004-12-16 Thread Barry Hawkins

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eric Gaumer wrote:
[...]
| If you feel so passionate about free software then lets boycott the use
| of Java. Who is willing to go that far for their beliefs?
|
| Like I mentioned earlier, dump Java and start supporting mono. It's
| fully open and could easily rival Java. C# already fixes all the
| nuisances and problems Java has. It is what Java wanted to be.

Eric,
~Your claim that Mono "could easily rival Java" is rather general and
quite unfounded.  If you want to start a thread on Mono advocacy, then
feel free, but the issue at hand is appropriately respecting licenses.
~There are people on the Debian development teams who have gone to
great lengths to ensure that order and propriety are maintained within
the Debian packaging system, including observance of and adherence to
licenses.  If you are going to flout adherence to licensing, please keep
it to yourself and cease with this relativistic rhetoric.

Sincerely,
- --
Barry Hawkins
All Things Computed
site: www.alltc.com
weblog: www.yepthatsme.com

Registered Linux User #368650
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBwdWv7bZ6kUftWZwRArOiAKCIBhUkQviL/veACCXpNqKYo7zM9gCgwRWG
8p8dFc5hGSv8UQ1PM6BCLj4=
=H4Jb
-END PGP SIGNATURE-



Keyboard locked to uppercase

2004-12-16 Thread Wolfgang Pfeiffer
Hi all

Here:
Titanium IV
2.4.25-ben1
Debian/unstable

Anyone knowing a trick how to reset a keyboard with some keystroke, or
whatever, to its default values after it crashed?

The keyboard here became unusable while running an X/FVWM/GTK+
session: All keys suddenly became uppercase values when typing. I
started this X session from a console with 
startx -- -dpi 82 > /tmp/xlog-`date +%y-%m-%d-%H:%M` 2>&1

Links I clicked in Firefox with the left mouse-button suddenly openend
in a new browser window instead of opening the new page in the current
one. 

Pressing Caps Lock, ^D, whatever: nothing helped until I logged out
from X and got back to the console from where I started the previous
X: But even there everything I typed became uppercase: In this
situatian it's even impossible to shut down the machine from the
command line.
   
What helped in the end, I believe, was pressing something like
-Shift to get back to a usable keyboard.

Anyone knowing how to change such a situation back to normal, without
trial-and-error? The only idea I had so far was to write a command
like 'xmodmap .xmodmap' to a menu entry .. but I'm not sure whether
this could help ...

What can lead to such a crash?

The following must be some logs around the time the crash occured
(differently formatted for this mail):
/var/log/messages:


Dec 16 15:36:49 debby gconfd (shorty-1542): SIGHUP received, reloading
all databases

Dec 16 15:36:49 debby gconfd (shorty-1542): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only
configuration source at position 0

Dec 16 15:36:49 debby gconfd (shorty-1542): Resolved address
"xml:readwrite:/home/shorty/.gconf" to a writable configuration source
at position 1

Dec 16 15:36:49 debby gconfd (shorty-1542): Resolved address
"xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only
configuration source at position 2

Dec 16 15:36:59 debby kernel: keyboard: unknown scancode e0 4c
Dec 16 15:37:13 debby last message repeated 3 times
Dec 16 15:37:49 debby last message repeated 2 times
--

The "keyboard: unknown scancode e0 4c" line probably was written when
I tried to get back to normal on console, after the crash ...

Thanks in anticipation
Best Regards

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



Re: building a multiarch gcc

2004-12-16 Thread Rafael Espíndola
On Thu, 16 Dec 2004 01:35:08 +1100, Anton Blanchard <[EMAIL PROTECTED]> wrote:
> 
> Hi,
> 
> Yep, Alan Modra fixed binutils at some stage so it could create multiple
> TOCs and -mminimal-toc isnt required.
> 
> With older binutils the gcc -mminimal-toc option is the way to go.
In what version of binutils is the support present? I had problems
with binutils 2.15.91 (the one present in gentoo).

> Anton
> 
Thanks,
Rafael



Microphone input (iBook G3)

2004-12-16 Thread James Tappin
While audio output is working fine on my G3 iBook 
(late 2001/early 2002 vintage) (Debian Sarge, Debian
2.6.8 kernel) I can't get any thing sensible by way of recording from
the built-in microphone. One or two old messages seem to sugest that
this should be fixed after about ALSA 0.91 (currently we are at 1.0.6).
The results of trying to record and the more obvious relevant information 
follow:

[EMAIL PROTECTED]:~$ arecord -f cd tmp.wav
ALSA lib pcm_hw.c:1155:(snd_pcm_hw_open) open /dev/snd/pcmC0D0c failed:
No such device
arecord: main:508: audio open error: No such device

[EMAIL PROTECTED]:~$ ls -l /dev/snd/pcmC0D0c
crw-rw  1 root audio 116, 24 2004-06-30 11:41 /dev/snd/pcmC0D0c

[EMAIL PROTECTED]:~$ groups
james dialout cdrom floppy audio video

[EMAIL PROTECTED]:~$ lsmod | grep snd
snd_mixer_oss  23264  0
snd_powermac   44304  2
snd_pcm   119800  1 snd_powermac
snd_page_alloc 13480  1 snd_pcm
snd_timer  29348  1 snd_pcm
snd67800  8 snd_mixer_oss,snd_powermac,snd_pcm,snd_timer
soundcore  11812  1 snd

Does anyone have any ideas whether there is some other module needed, 
whether the whole thing is a non-starter or what???

TIA
James

-- 
++---+-+
| James Tappin   | School of Physics & Astronomy |  O__|
| [EMAIL PROTECTED] | University of Birmingham  | --  \/` |
| Ph: 0121-414-6462. Fax: 0121-414-3722  | |
++-+



Re: Powerbooks in Firewire mode

2004-12-16 Thread Graham Wilson
On Thu, Dec 16, 2004 at 10:08:18PM +1100, Cedric Pradalier wrote:
> The funny thing is that the firewire mode is one of the last thing
> that standed when my ibook broke its motherboard (second time)... And
> it was stable enough to backup ~10Go.

I've always wondered whether or not the FireWire target mode would work
when the logic board went out. It's happened to me twice before, and
Apple no longer makes any guarantees about saving your data. Anyhow,
good to have some confirmation that the target mode could be used for a
last minute backup.

-- 
gram



unsubscribe

2004-12-16 Thread Sebastian Außenhofer



unsubscribe

2004-12-16 Thread artemisio.palagotti





Regala e regalati Libero ADSL: 3 mesi gratis, navighi veloce e scarichi a 1.2 
Mega. 
Abbonati subito senza costi di attivazione su http://www.libero.it





Re: ibook 2.2 doesn't use whole battery

2004-12-16 Thread Colin Leroy
On 16 Dec 2004 at 12h12, Luca Bigliardi - shammash wrote:

Hi, 

> Do you think it's an hardware problem (bad battery) or a configuration
> error?

I had this too and had to replace the battery. Before doing so you can
try a few cycles - empty the battery completely (stop pmud or
pbbuttonsd), charge it to full, etc.

-- 
Colin



Re: ibook 2.2 doesn't use whole battery

2004-12-16 Thread Michael Schmitz
> In battery mode every time the charge percentage reaches
> 35-38 % the level falls to 0% (and pbbuttonsd suspend the machine).
> I've seen the same behaviour in the battery leds (they pass from 2 leds
> to 1 when you check).
>
> Do you think it's an hardware problem (bad battery) or a configuration
> error?

Hardware problem - google for hints on 'recalibrating' the battery. I'd
start with disabling pbbuttonsd (or at least its power management
functionality) and let the battery run down all the way (with filesystems
remounted read-only, preferably). If it's anything like my old battery
it'll run happily for half an hour on 0% before shutting down. Next
startup the battery should show a more correct capacity.

A PMU reset might be another thing to try.

Michael



Re: ibook 2.2 doesn't use whole battery

2004-12-16 Thread Domingo Fiesta Segura
On Thu, 16 Dec 2004 12:57:58 +0100
Luca Bigliardi - shammash wrote:

> Do you think it's an hardware problem (bad battery) or a configuration
> error?

Your battery is near death now. How old is it? I got exacly the same
behaviour with my older iBook 2.2 (wich now is owned by another member of
this list) and its battery had to be replaced.

Once you buy a new one, try to avoid having it full and using AC power. You
can keep de old one to place it instead, when you're home and planning to
be plugged to AC for a long time (if you want your iBook in balance, the
battery weight is quite useful ;-)

BTW, mine started to behave like that after a year and a half. Now I'm much
more careful with the chargin cycles.

Cheers.



Re: building a multiarch gcc

2004-12-16 Thread Rafael Espíndola
On Tue, 14 Dec 2004 16:32:12 -0200, Rafael Espíndola
<[EMAIL PROTECTED]> wrote:
> once more the problem was that the compile system was assuming that
> "gcc -print-multi-directory" would print 64 if the resulting library
> should be 64 bits.
I had a brief talk with Alexandre Oliva and he suggested that a more
robust test would be to compile a dummy .c and run file on it. A
updated patch the implements his idea is attached.
Rafael


gcc.patch.gz
Description: application/gzip


ibook 2.2 doesn't use whole battery

2004-12-16 Thread Luca Bigliardi - shammash
hi all,
i've a problem with the battery of my ibook 2.2 :

In battery mode every time the charge percentage reaches
35-38 % the level falls to 0% (and pbbuttonsd suspend the machine).
I've seen the same behaviour in the battery leds (they pass from 2 leds
to 1 when you check).

Do you think it's an hardware problem (bad battery) or a configuration
error?


TIA
Luca

-- 
BOFH excuse #372:
Forced to support NT servers; sysadmins quit.

Linux Registered User # 286841



Re: Powerbooks in Firewire mode

2004-12-16 Thread Cedric Pradalier
According to Michael Schmitz, on Thu, 16 Dec 2004 11:30:01 +0100 (CET), 
>> >>   a) If I connect two macs, can I just read from the second scsi
>> >>   device from the first mac and write to the second scsi device
>> >>   from the second mac?
>> >
>> >That's the plan. You won't be able to do a raw copy (image copy of the
>> >whole disk or single partitions) that way, just acces the filesystem as
>> >normally. I'm pretty sure 'filesystem' is limited to what OF knows about,
>> >so no Linux ext2/ext3 copying.
>> >
>>
>> Actually, I used the firewire mode for a last minute backup and my ibook was 
>> exactly
>seen> as any firewire disk. I could access all the partition (hfs, ufs or 
>ext2/3) and
>mount> them. In this mode, the ibook is a kind of big USB key ;)
>
>Good to hear from someone who's actually used this. I stand corrected.
>
>Is there a 'raw whole disk' way of access as well (should be if it's
>really a big USB storage device)?

If I remember well, I used a fdisk /dev/sda to retrieve the partitions list, 
and then a
mount /dev/sda. I've just followed exactly the "HowTo" of sbp2 
devices and it
worked. So I think the answer to your question is yes.

The funny thing is that the firewire mode is one of the last thing that standed 
when my
ibook broke its motherboard (second time)... And it was stable enough to backup 
~10Go.

-- 
Cedric Pradalier



Re: Powerbooks in Firewire mode

2004-12-16 Thread Michael Schmitz
> >>a) If I connect two macs, can I just read from the second scsi
> >>device from the first mac and write to the second scsi device
> >>from the second mac?
> >
> >That's the plan. You won't be able to do a raw copy (image copy of the
> >whole disk or single partitions) that way, just acces the filesystem as
> >normally. I'm pretty sure 'filesystem' is limited to what OF knows about,
> >so no Linux ext2/ext3 copying.
> >
>
> Actually, I used the firewire mode for a last minute backup and my ibook was 
> exactly seen
> as any firewire disk. I could access all the partition (hfs, ufs or ext2/3) 
> and mount
> them. In this mode, the ibook is a kind of big USB key ;)

Good to hear from someone who's actually used this. I stand corrected.

Is there a 'raw whole disk' way of access as well (should be if it's
really a big USB storage device)?

Michael



Re: keyboard confusion

2004-12-16 Thread Mich Lanners
On  16 Dec, this message from Michael Schmitz echoed through cyberspace:
>> > We'd need to see the adb devices: line from dmesg as well, that's
>> > showing the default handler IDs IIRC. My keyboard is also detected
>> > with 2 c4, and reported as ISO  / swapping keys. That's 2.6.9-rc4
>> > FWIW.
>>
>> grl...
>> $ dmesg | grep -i adb
>>
>> adb: starting probe task...
>> adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
>>
>> So what to do now?
> 
> Hack the kernel to handle the c3 as ISO as well. Maybe add a kernel
> option to swap keys on top of that.
> 
> It would be interesting to figure out what made your keyboard think
> it's ANSI now. Maybe reset the OF parameters,

I think I remember that my TiBook detected it's keyboard once as ANSI as
well. I think that was after I played around with the PMU hardware (had
the box completely in pieces).

For an unknown reason, ir worked agan later. Don't know what I did, but
doing a thorough OF reset (cmd-opt-P-R multiple times in a row) should
be a first thing to try.

Cheers

Michel

-
Michel Lanners |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes|Ask Questions.  Make Mistakes.
L-1710 Luxembourg  |
email   [EMAIL PROTECTED]|
http://www.cpu.lu/~mlan| Learn Always. "



Re: keyboard confusion

2004-12-16 Thread Michael Schmitz
> > We'd need to see the adb devices: line from dmesg as well, that's showing
> > the default handler IDs IIRC. My keyboard is also detected with 2 c4, and
> > reported as ISO  / swapping keys. That's 2.6.9-rc4 FWIW.
>
> grl...
> $ dmesg | grep -i adb
>
> adb: starting probe task...
> adb devices: [2]: 2 c3 [3]: 3 1 [7]: 7 1f
>
> So what to do now?

Hack the kernel to handle the c3 as ISO as well. Maybe add a kernel option
to swap keys on top of that.

It would be interesting to figure out what made your keyboard think it's
ANSI now. Maybe reset the OF parameters, or do some voodoo in MacOS, or
search the Apple Tech Library. From my POV, ADB is a bit magic and Apple
wasn't too thorough documenting all the bits. Whoever wrote the kernel ADB
device detection might know more about it.

Michael