Re: Airport Extreme works on linux!

2005-09-02 Thread Joerg Sommer
Hello Matteo,

Matteo Bigoi - Bigo! <[EMAIL PROTECTED]> wrote:
> See http://forums.gentoo.org/viewtopic-t-365647.html
>
> You have to run mol and use a tunl net device.
>
> Tomorrow I will try this "strange" method to use a wireless card and I
> will post my results!

Since when mol has access on the wlan interface? I know of a discussion
make this work, but never heared this was done.

Regards, Jörg.
-- 
Ein Optimist ist in der Regel ein Zeitgenosse, der ungenuegend informiert ist.
   (John B. Priestley)


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



Re: Airport Extreme works on linux!

2005-09-02 Thread Joerg Sommer
Hello Otavio,

Otavio Salvador <[EMAIL PROTECTED]> wrote:
> Joerg Sommer <[EMAIL PROTECTED]> writes:
>
>> Hello Matteo,
>>
>> Matteo Bigoi - Bigo! <[EMAIL PROTECTED]> wrote:
>>> See http://forums.gentoo.org/viewtopic-t-365647.html
>>>
>>> You have to run mol and use a tunl net device.
>>>
>>> Tomorrow I will try this "strange" method to use a wireless card and I
>>> will post my results!
>>
>> Since when mol has access on the wlan interface? I know of a discussion
>> make this work, but never heared this was done.
>
> The development branch has support to access PCI irqs and others nice
> stuff.

Wow. So lets see what the time and the next release brings. Maybe we can
use the airport extreme card with this technology.

Regards, Jörg.
-- 
Es gibt nichts schöneres als dem Schweigen eines Dummkopfes zuzuhören.
(Helmut Quatlinger)


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



3rd sensor not shown (adt746x)

2005-09-25 Thread Joerg Sommer
Hi,

I've installed TemperatureMonitor.dmg.gz on OS X and it showed me three
sonsors. I've took a look on the dmesg output and found this:

adt746x: version 1 (supported)
adt746x: Thermostat bus: 1, address: 0x2e, limit_adjust: 0, fan_speed: -1
sensor 0: PWR/MEMORY BOTTOMSIDE
sensor 1: CPU BOTTOMSIDE
sensor 2: GPU ON DIE

But in /sys/devices/temperatures/ is nothing to see from the first sensor:

$ ls /sys/devices/temperatures/
bus   power  sensor1_location sensor2_location
devspec   sensor1_fan_speed  sensor1_temperature  sensor2_temperature
limit_adjust  sensor1_limit  sensor2_limitspecified_fan_speed

Where is it? And for what is this sensor?

TemperatureMonitor showed me also a sensor in the battery. Is it
accessable from linux? I noticed often while charging the battery gets
very hot.

Bye, Joerg.
-- 
Alles Gute wächst im Dunklen, bis es stark genug ist,
ans Tageslicht zu kommen.


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



Re: 3rd sensor not shown (adt746x)

2005-09-26 Thread Joerg Sommer
Hello Johannes,

Johannes Berg <[EMAIL PROTECTED]> wrote:
>
> On Sun, 2005-09-25 at 19:59 +, Joerg Sommer wrote:
>
>> Where is it? And for what is this sensor?
>
> The 'where' is answered by a printk in the module. And it isn't there
> because it doesn't control a fan.

Does "GPU ON DIE" control a fan? And why ommit this information, only
why it has no fan? How else can I get this information?

Regards, Jörg.
-- 
"...anytime you install something new on the Windows platform, you risk
spending the next five or six hours trying to figure out what happened"
 -- Robert Roblin, Adobe


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



Re: 3rd sensor not shown (adt746x)

2005-09-28 Thread Joerg Sommer
Hello Michael,

Michael Schmitz <[EMAIL PROTECTED]> wrote:
>> >> Where is it? And for what is this sensor?
>> >
>> > The 'where' is answered by a printk in the module. And it isn't there
>> > because it doesn't control a fan.
>>
>> Does "GPU ON DIE" control a fan? And why ommit this information, only
>
> Look at your OF device tree, it lists both the sensors and the fan
> locations.

I can't interpret what that means:
#v+
$ cat /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/hwsensor-location 
PWR/MEMORY BOTTOMSIDECPU BOTTOMSIDEGPU ON DIECPU COREREAR MAIN ENCLOSURE
#v-

The sensor is located at bottom side?

>> why it has no fan? How else can I get this information?
>
> By adding some code to the thermostat module (the current code explicity
> skips sensor #0. precisely because there's no fan present that could be
> used to directly influence the respective temperature. The sensors are
> read primarily as input into the fan control algorithm. Printing them to
> sysfs is just an added benefit).
>
> That's what I did to read out the adt7640 'local temperature' sensor - I
> found the output not very helpful, and disabled that code again.

Was this so much code, that is would take an extra effort to maintain it?

Regards, Jörg.
-- 
> Ich kenn mich mit OpenBSD kaum aus, was sind denn da so die
> Vorteile gegenueber Linux und iptables?
Der Fuchsschwanzeffekt ist größer. :->
Message-ID: <[EMAIL PROTECTED]>


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



ioreg for linux

2005-09-28 Thread Joerg Sommer
Hi,

OS X has a tool /usr/sbin/ioreg. Is there an equivalent in linux? ioreg
shows some more informations about the battery. I would like to get this
informations on linux, too. Exists a document how to sniff a program in
OS X?

Bye, Jörg.
-- 
Der Hase läuft schneller als der Fuchs,
denn der Hase läuft um sein Leben.


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



Re: ioreg for linux

2005-09-30 Thread Joerg Sommer
Hello Benjamin,

Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-09-29 at 16:15 +0200, Michael Schmitz wrote:
>> > In linux, however, you can get battery infos in /proc/pmu
>> 
>> Which doesn't show the battery temperature - do you know if that info
>> hides in some unused bits in the smart battery request, or what we'd need
>> to tickle the PMU with ?
>
> I don't know the proper PMU command unfortunately. We'd have to
> disassemble through the Darwin PMU driver to figure it out I suppose,
> unless it's somewhere in OF too...

Do you have a paper that explains how to do this?

Bye, Jörg.
-- 
Nicht was du bist, ist es was dich ehrt, wie du bist bestimmt den Wert.
Wünsche hat man oft und viel, nur wer lernt erreicht sein Ziel.


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



Re: serial console

2005-10-04 Thread Joerg Sommer
Hello KokHow,

KokHow Teh <[EMAIL PROTECTED]> wrote:
> Hi;
>   I have debian linux running on my PQ2FADS-ZU with devfs and serial
> driver compiled in. I have read Documentation/serial-console.txt and I have
> tried both passing "console=" option as well as without passing that to the
> kernel and both don't give me the expected results.
>   When I pass "console=tts/0,115200n8" to the kernel, I don't get any

Try the old device name: ttyS0

And isn't it possible to use OpenFirmware to switch the console?

Bye, Jörg.
-- 
Manchmal denke ich, das sicherste Indiz dafür, daß anderswo im Universum
intelligentes Leben existiert, ist, daß niemand versucht hat, mit uns
Kontakt aufzunehmen.   (Calvin und Hobbes)


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



Re: arm-linux cross compiler

2005-11-17 Thread Joerg Sommer
Hello William,

William Xu <[EMAIL PROTECTED]> wrote:
> Hi guys, 
>
> I'm trying to set up a arm-linux cross compiler environment. Are there
> any precompiled debs? since i've met various problems trying to compile
> from source myself... 

I don't know of anyone. Bbut the gcc package /should/ offer the
possibility to build a cross-compiler. But this doesn't work with the
current gcc packages: http://bugs.debian.org/319624 Maybe someone is more
familiar with dpkg-cross or has time to step in.

Bye, Jörg.
-- 
Viele Leute glauben, daß sie denken, wenn sie lediglich
ihre Vorurteile neu ordnen.


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



temperature sensor powers off ibook?

2005-11-19 Thread Joerg Sommer
Hi,

since two weeks my iBook is often powered off after I went to outdoor
with it. This is the first winter since the kernel supports sleep mode
for my iBook G4. I don't have any other explanation for this phenomenon
than there is a temperature sensor in the iBook that shuts it down (while
it sleeps) when the temperature is to low. Is this true?

I have nothing changed in the kernel or the kernel itself before this
problems start and I see it only when I was outdoor. I carry my iBook
only in a second skin and a backpack. Did anyone have the same problems?

Have a nice weekend, Jörg.
-- 
Professor: "Gott", unverständliches und mythisches Wesen, das sich einmal
  pro Woche im Kreis der Sterblichen manifestiert um Weisheit auf Folien
  unter das Volk zu bringen.(Dschungelbuch 11, FSU Jena)


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



Re: temperature sensor powers off ibook?

2005-11-20 Thread Joerg Sommer
Hallo Benjamin,

Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> On Sat, 2005-11-19 at 12:56 +0000, Joerg Sommer wrote:
>> I have nothing changed in the kernel or the kernel itself before this
>> problems start and I see it only when I was outdoor. I carry my iBook
>> only in a second skin and a backpack. Did anyone have the same problems?
>
> Could be the movements causing a bad contact with the battery.

Maybe, but I wouldn't expect it. I took my ibook so often under the arm
and now this?!

> Either that or causing the book to wakeup (lid a bit loose ?) and thus
> causing it to empty it's battery or overhead in the backpack.

No. The second skin doesn't leave the space to open the lid.

Bye, Jörg.
-- 
Eine Blume geht über eine Wiese, sieht einen schönen Menschen und reißt
ihm den Kopf ab.


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



Re: pbbuttonsd and NoTapTyping option?

2005-11-20 Thread Joerg Sommer
Hello Matthias,

Matthias Grimm <[EMAIL PROTECTED]> wrote:
> On Sun, 20 Nov 2005 12:30:31 +0100 (CET)
> Michael Schmitz <[EMAIL PROTECTED]> wrote:
>
>> > does anybody use the NoTapTyping function of pbbuttonsd with success?
>> > How much would you pay to keep it? ;-)
>> 
>> I don't use that function - at least not in pbbuttonsd. moussemu takes
>> care of that for me.
>
> That's what I thought. So there is no real need for that function in
> pbbuttonsd anymore

No, I use it and I can not say if it works, but I have not the problem
like without and I do not have the problems like with mouseemu.

Bye, Jörg.
-- 
Wer einen Traum verwirklichen will, muss erst aufwachen.


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



Re: sudden power loss (WAS: sudden power loss on tibook)

2005-11-30 Thread Joerg Sommer
Hi Michael,

Michael Tautschnig <[EMAIL PROTECTED]> wrote:
> The last time it happend is a few weeks ago, but at least on my PowerBook6,8 
> it
> only happend when the fan had spinning at full speed for some time (due to 
> high
> CPU usage, so it was ok that the fan was spinning so fast). I considered this
> a feature of the firmware (?) that did some emergency stop once the fans 
> weren't
> able to do their job successfully anymore.

Yes, now as you say it, I can confirm this for an iBook G4. I had the
same problem with high CPU load. The fan starts spinning and increase
its speed until it runs very fast. Then it starts to pulse (increase
speed -> decrease speed -> inc...) and after a minute or so the iBook
powers off. I thought the firmware caused the shutdown due to a too
high temperature, but if I hear you, it makes me wonder. I think I
could reproduce this, but it happened some times ago. Since then I pay
attention on the CPU load and run programs like firefox with nice to
make cpufreqd do not speed up the CPU.

$ cat /proc/cpuinfo 
processor   : 0
cpu : 7455, altivec supported
clock   : 606MHz
revision: 0.3 (pvr 8001 0303)
bogomips: 610.30
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 256K unified
memory  : 640MB
pmac-generation : NewWorld

I've run pbbuttonsd and cpufreqd to scale the CPU.

Bye, Jörg.
-- 
MCSE = Minesweeper Consultant & Solitaire Expert


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



pbbuttonsd: call pbbcmd in power scripts

2006-01-15 Thread Joerg Sommer
Hi,

I want to increase or decrease the backlight level upon plug in and
unplug the power supply unit. I achieve this with a script in
/etc/power/event.d/. But it seams the script hangs in the call of pbbcmd.
Is this possible? If I enable the call I get a message "INFO: Script
'/etc/power/pmcs-pbbuttonsd resume ac ram' lauched but killed after 6
seconds". I tracked it down to the call of pbbcmd. So what might happen
there?

Bye, Jörg.
-- 
Der Pessimist ist jemand, der vorzeitig die Wahrheit erzählt.
(Cyrano de Bergerac)


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



Re: pbbuttonsd: call pbbcmd in power scripts

2006-01-16 Thread Joerg Sommer
Hi Matthias,

Matthias Grimm <[EMAIL PROTECTED]> wrote:
> On Sun, 15 Jan 2006 13:56:00 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>
>> I want to increase or decrease the backlight level upon plug in and
>> unplug the power supply unit. I achieve this with a script in
>> /etc/power/event.d/. But it seams the script hangs in the call of pbbcmd.
>> Is this possible? If I enable the call I get a message "INFO: Script
>> '/etc/power/pmcs-pbbuttonsd resume ac ram' lauched but killed after 6
>> seconds". I tracked it down to the call of pbbcmd. So what might happen
>> there?
>
> It's a classic deadlock situation. Pbbuttonsd started the script which
> started pbbcmd. pbbcmd sent a message to pbbuttonsd and waited for the
> result, which won't come because pbbuttonsd waits for the script to
> terminate.
>
> But there is a solution :-) Call pbbcmd with option '-i' and it will
> immedately return without waiting for a receipt or an error code.

This does not help:

+ ltrace -t -e msgget,msgsnd,msgrcv,msgctl pbbcmd -i query TAG_LCDBRIGHTNESS
16:46:21 msgget(0x50424253, 0, 6567, 4, 0xff13dd0) = 0x21
16:46:21 msgget(6567, 1938, 0x42000422, 4, 0xff4fecc) = 0x2a8002
16:46:21 msgsnd(0x21, 0x7fc64588, 24, 0, 0xff4fecc) = 0
16:46:21 msgrcv(0x2a8002, 0x7fc665b8, 200, 0, 2048) = -1
16:46:21 msgrcv(0x2a8002, 0x7fc665b8, 200, 0, 2048) = -1
16:46:21 msgrcv(0x2a8002, 0x7fc665b8, 200, 0, 2048) = -1
16:46:21 msgrcv(0x2a8002, 0x7fc665b8, 200, 0, 2048) = -1
... [35 times]
16:46:25 msgrcv(0x2a8002, 0x7fc665b8, 200, 0, 2048) = -1
16:46:25 msgsnd(0x21, 0x7fc64578, 8, 0, 0x7fc66500) = 0
16:46:25 msgctl(0x2a8002, 0, 0, 0x10002364, 0xff4fce0) = 0
Der Server antwortete nicht, Timeout.
16:46:25 +++ exited (status 1) +++

Regards, Jörg.
-- 
Die meisten Menschen wollen lieber durch Lob ruiniert
als durch Kritik gerettet werden.


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



Build the bcm43xx with own kernel

2006-01-27 Thread Joerg Sommer
Hi,

I tried to build the bcm43xx driver from the debian package with a
self-made kernel, but I failed.

Firstly I needed the header files for ieee80211softmac. After building
and installing the package I found the include files in
/usr/src/linux-headers-2.6.15.1. The bcm43xx make file searches for them
in my kernel tree /usr/src/linux-2.6.15.1/. How can I "merge" them except
copy the header files into the kernel directory?

But I did it (copy the header files into the kernel directory) and then
got this message:
#v+
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_main.o
/usr/src/modules/bcm43xx/bcm43xx_main.c:667: warning: 'bcm43xx_disassociate' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_main.c:696: warning: 'bcm43xx_associate' 
defined but not used
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_dma.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_debugfs.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_radio.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_phy.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_power.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_wx.o
/usr/src/modules/bcm43xx/bcm43xx_wx.c: In function 'bcm43xx_wx_set_channelfreq':
/usr/src/modules/bcm43xx/bcm43xx_wx.c:118: warning: unused variable 'softmac'
/usr/src/modules/bcm43xx/bcm43xx_wx.c: At top level:
/usr/src/modules/bcm43xx/bcm43xx_wx.c:227: warning: 
'bcm43xx_wx_set_sensitivity' defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:237: warning: 
'bcm43xx_wx_get_sensitivity' defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:525: warning: 'bcm43xx_wx_set_retry' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:535: warning: 'bcm43xx_wx_get_retry' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:575: warning: 'bcm43xx_wx_set_power' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:585: warning: 'bcm43xx_wx_get_power' 
defined but not used
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_pio.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_ilt.o
  LD [M]  /usr/src/modules/bcm43xx/bcm43xx.o
  Building modules, stage 2.
  MODPOST
*** Warning: "free_ieee80211softmac" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_stop" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_wx_set_genie" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_set_wap" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_essid" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_rate" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_wap" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_set_essid" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_start" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_wx_get_genie" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_scan_results" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_trigger_scan" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "alloc_ieee80211softmac" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_wx_set_rate" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
  CC  /usr/src/modules/bcm43xx/bcm43xx.mod.o
  LD [M]  /usr/src/modules/bcm43xx/bcm43xx.ko
#v-

The package build fine, but when I try to load the driver I get many
error messages from the kernel

ieee80211_crypt: unregistered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.7
ieee80211: Copyright (C) 2004-2005 Intel Corporation <[EMAIL PROTECTED]>
ieee80211softmac: Unknown symbol wireless_send_event
bcm43xx: Unknown symbol ieee80211softmac_wx_set_rate
bcm43xx: Unknown symbol alloc_ieee80211softmac
bcm43xx: Unknown symbol ieee80211softmac_wx_trigger_scan
bcm43xx: Unknown symbol ieee80211softmac_wx_get_scan_results
bcm43xx: Unknown symbol ieee80211softmac_wx_get_genie
bcm43xx: Unknown symbol ieee80211softmac_start
bcm43xx: Unknown symbol ieee80211softmac_wx_set_essid
bcm43xx: Unknown symbol ieee80211softmac_wx_get_wap
bcm43xx: Unknown symbol ieee80211softmac_wx_get_rate
bcm43xx: Unknown symbol ieee80211softmac_wx_get_essid
bcm43xx: Unknown symbol ieee80211softmac_wx_set_wap
bcm43xx: Unknown symbol ieee80211softmac_wx_set_genie
bcm43xx: Unknown symbol ieee80211softmac_stop
bcm43xx: Unknown symbol free_ieee80211softmac

Can someone give me a hint, what went wrong?

Have a nice weekend, Jörg.
-- 
Alle reden von sexueller Belästigung am Arbeitsplatz.. Wenn das nicht
bald losgeht, kündige ICH!


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



Re: Build the bcm43xx with own kernel

2006-01-28 Thread Joerg Sommer
Hello Rene,

Rene Engelhard <[EMAIL PROTECTED]> wrote:
> Joerg Sommer wrote:
>> Firstly I needed the header files for ieee80211softmac. After building
>> and installing the package I found the include files in
>> /usr/src/linux-headers-2.6.15.1. The bcm43xx make file searches for them
>> in my kernel tree /usr/src/linux-2.6.15.1/. How can I "merge" them except
>> copy the header files into the kernel directory?
>
> what did you point KSRC to? it should point to
> /usr/src/linux-headers-2.6.15.1. As the debian/rules expects that and 
> make-kpkg
> does that too.

I've build from the kernel source tree /usr/src/linux-2.6.15.1/ with
make-kpkg. I did not build a separate kernel headers package. Should I
do?

Kind regards, Jörg.
-- 
Fuchs' Paradoxon (http://www.bruhaha.de/laws.html):
Wer eine allgemeine Frage beliebigen Themas nach de.alt.arnooo postet und
eine ernsthafte Antwort erwartet, ist dort eigentlich ziemlich ontopic.


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



Re: Build the bcm43xx with own kernel

2006-01-28 Thread Joerg Sommer
Rene Engelhard <[EMAIL PROTECTED]> wrote:
> Rene Engelhard wrote:
>> > ieee80211_crypt: unregistered algorithm 'NULL'
>> > ieee80211_crypt: registered algorithm 'NULL'
>> > ieee80211: 802.11 data/management/control stack, git-1.1.7
>> > ieee80211: Copyright (C) 2004-2005 Intel Corporation <[EMAIL PROTECTED]>
>> > ieee80211softmac: Unknown symbol wireless_send_event
>> > bcm43xx: Unknown symbol ieee80211softmac_wx_set_rate
>> [...]
>> 
>> No idea yet. Just works here. Although I use 2.6.15-1-powerpc..
>
> Additional question: Everything built fine?

Yes.

> And installed fine?

Yes

> Do you have all the modules at the right place (and exspecially
> ieee802* diverted away and replaced by the ones from the
> ieee80211softmac-modules-2.6.15.1 package)?

Yes.

$ ls /lib/modules/2.6.15.1/kernel/net/ieee80211/
ieee80211_crypt_ccmp.koieee80211_crypt_wep.ko
ieee80211_crypt_ccmp.ko.linux  ieee80211_crypt_wep.ko.linux
ieee80211_crypt.ko ieee80211.ko
ieee80211_crypt.ko.linux   ieee80211.ko.linux
ieee80211_crypt_tkip.ko

-- 
Man(n) sollte nie einer Frau widersprechen!
Man(n) sollte immer warten, bis sie es selbst erledigt.


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



Re: Build the bcm43xx with own kernel

2006-01-30 Thread Joerg Sommer
Hello Rene,

Rene Engelhard <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Joerg Sommer wrote:
>> Rene Engelhard <[EMAIL PROTECTED]> wrote:
>> > Rene Engelhard wrote:
>> >> > ieee80211_crypt: unregistered algorithm 'NULL'
>> >> > ieee80211_crypt: registered algorithm 'NULL'
>> >> > ieee80211: 802.11 data/management/control stack, git-1.1.7
>> >> > ieee80211: Copyright (C) 2004-2005 Intel Corporation <[EMAIL PROTECTED]>
>> >> > ieee80211softmac: Unknown symbol wireless_send_event
>> >> > bcm43xx: Unknown symbol ieee80211softmac_wx_set_rate
>> >> [...]
>> >> 
>> >> No idea yet. Just works here. Although I use 2.6.15-1-powerpc..
>> >
>> > Additional question: Everything built fine?
>> 
>> Yes.
>
> OK.
>
>> 
>> > And installed fine?
>> 
>> Yes
>
> Did you install the ieee80211softmac-headers-2.6.15.1 package before
> building bcm43xx? As we see from the other part of the thread you
> apparently built against the wrong headers.

You should add these lines to debian/rules for the build process

#v+
ifeq "$(wildcard $(KSRC)/include/net/ieee80211softmac.h)" ""
$(MAKE) SOFTMAC_DIR=/usr/src/linux-headers-$(KVERS)/include 
KDIR=$(KSRC) KVER=$(KVERS)
else
$(MAKE) SOFTMAC_DIR=$(KSRC)/include KDIR=$(KSRC) KVER=$(KVERS)
endif   
#v-

BTW: Why did you write the variable _before_ the make command?

But the build raises this messages again:

#v+
/usr/bin/make SOFTMAC_DIR=/usr/src/linux-headers-2.6.15.1/include 
KDIR=/usr/src/linux-2.6.15.1 KVER=2.6.15.1
make[3]: Entering directory `/usr/src/modules/bcm43xx'
/usr/bin/make -C /usr/src/linux-2.6.15.1 M=/usr/src/modules/bcm43xx modules
make[4]: Entering directory `/usr/src/linux-2.6.15.1'
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_main.o
/usr/src/modules/bcm43xx/bcm43xx_main.c:667: warning: 'bcm43xx_disassociate' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_main.c:696: warning: 'bcm43xx_associate' 
defined but not used
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_dma.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_debugfs.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_radio.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_phy.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_power.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_wx.o
/usr/src/modules/bcm43xx/bcm43xx_wx.c: In function 'bcm43xx_wx_set_channelfreq':
/usr/src/modules/bcm43xx/bcm43xx_wx.c:118: warning: unused variable 'softmac'
/usr/src/modules/bcm43xx/bcm43xx_wx.c: At top level:
/usr/src/modules/bcm43xx/bcm43xx_wx.c:227: warning: 
'bcm43xx_wx_set_sensitivity' defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:237: warning: 
'bcm43xx_wx_get_sensitivity' defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:525: warning: 'bcm43xx_wx_set_retry' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:535: warning: 'bcm43xx_wx_get_retry' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:575: warning: 'bcm43xx_wx_set_power' 
defined but not used
/usr/src/modules/bcm43xx/bcm43xx_wx.c:585: warning: 'bcm43xx_wx_get_power' 
defined but not used
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_pio.o
  CC [M]  /usr/src/modules/bcm43xx/bcm43xx_ilt.o
  LD [M]  /usr/src/modules/bcm43xx/bcm43xx.o
  Building modules, stage 2.
  MODPOST
*** Warning: "free_ieee80211softmac" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_stop" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_wx_set_genie" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_set_wap" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_essid" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_rate" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_wap" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_set_essid" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_start" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_wx_get_genie" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_get_scan_results" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "ieee80211softmac_wx_trigger_scan" 
[/usr/src/modules/bcm43xx/bcm43xx.ko] undefined!
*** Warning: "alloc_ieee80211softmac" [/usr/src/modules/bcm43xx/bcm43xx.ko] 
undefined!
*** Warning: "ieee80211softmac_wx_set_rate" 
[/usr/src/modules/bcm

Re: Build the bcm43xx with own kernel

2006-01-31 Thread Joerg Sommer
Hi Johannes,

Johannes Berg <[EMAIL PROTECTED]> wrote:
>
> On Mon, 2006-01-30 at 17:49 +0100, Johannes Berg wrote:
>
>> That's pretty weird. Are you sure the kernel is compiled with
>> CONFIG_NET_WIRELESS?
>
> Sorry, CONFIG_NET_RADIO is the one I was after.

No, I thought this was a submenu only, not a config point with real code
behind. I will rebuild tomorrow.

Good night, Jörg.
-- 
Macht besitzen und nicht ausüben ist wahre Größe.
   (Friedl Beutelrock)


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



Re: Build the bcm43xx with own kernel

2006-01-31 Thread Joerg Sommer
Hello Johannes,

Johannes Berg <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2006-01-31 at 00:49 +, Joerg Sommer wrote:
>
>> No, I thought this was a submenu only, not a config point with real code
>> behind. I will rebuild tomorrow.
>
> There's one file that isn't linked in unless this is set, and it
> contains the code in question.

Your hint made it working. I've now a new kernel and the bcm43xx module
is loadable.

So, I would suggest the ieee80211softmac source should check for this
option.

Kind regards, Jörg.
-- 
Damit das Mögliche entsteht, muß immer wieder das Unmögliche versucht
werden.   (Hermann Hesse)


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



bcm43xx with WPA

2006-02-01 Thread Joerg Sommer
Hi,

I tried to use the bcm43xx driver with wpa, but it does not work. I've
applied the patch from
http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg00480.html
and loaded the new module, but wpa_supplicant reports "operation not
supported"

# iwconfig eth1
eth1  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
  Mode:Managed  Frequency=2.472 GHz  Access Point: Invalid   
  Bit Rate:54 Mb/s   Tx-Power=off   
  RTS thr:off   Fragment thr:off
  Encryption key:off
  
# wpa_supplicant -i eth1 -Dwext -c /etc/wpa_supplicant.conf 
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 7 value 0x1 - ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 -

I want to access this net:
http://www.uni-jena.de/Linux_Fedora_Core_3_mit_WPA_EAP_TTLS_PAP.html Is
it possible? Any hints?

Bye, Jörg.
-- 
"Unfortunately, the current generation of mail programs do not have
 checkers to see if the sender knows what he is talking about"
 -- Andrew S. Tanenbaum


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



Re: bcm43xx with WPA

2006-02-01 Thread Joerg Sommer
Hi Paul,

Paul TT <[EMAIL PROTECTED]> wrote:
> On Wed, 1 Feb 2006 15:26:37 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>> I tried to use the bcm43xx driver with wpa, but it does not work. I've
>> applied the patch from
>> http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg00480.html
>> and loaded the new module, but wpa_supplicant reports "operation not
>> supported"
>> 
>> # iwconfig eth1
>> eth1  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
>>   Mode:Managed  Frequency=2.472 GHz  Access Point: Invalid   
>>   Bit Rate:54 Mb/s   Tx-Power=off   
>>   RTS thr:off   Fragment thr:off
>>   Encryption key:off
>>   
>> # wpa_supplicant -i eth1 -Dwext -c /etc/wpa_supplicant.conf 
>> ioctl[SIOCSIWAUTH]: Operation not supported
>
> What version of wpa_supplicant are you using

$ dpkg -l wpasupplicant |grep ^i
ii  wpasupplicant  0.4.6-0.2  Client support for WPA and WPA2 (IEEE 802.11i)
<0>(joerg):~$ 

> i'm happy with wpa_supplicant v0.5.0 and bcm43xx and WPA or WEP or WPA2
> :-)))

Where did you get it? From experimental?

Bye, Jörg.
-- 
And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports
on it, you know they are just evil lies.
 -- Linus Torvalds


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



Re: bcm43xx with WPA

2006-02-01 Thread Joerg Sommer
Hello Johannes,

Johannes Berg <[EMAIL PROTECTED]> wrote:
>
> On Wed, 2006-02-01 at 15:26 +, Joerg Sommer wrote:
>
>> I tried to use the bcm43xx driver with wpa, but it does not work. I've
>> applied the patch from
>> http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg00480.html
>> and loaded the new module, but wpa_supplicant reports "operation not
>> supported"
>
> ??? That patch was already merged, please make sure you use recent code.

It's the code from the bcm43xx package. Really interesting.

Regards, Jörg.
-- 
Thema: Der FSR bringt die Evalusationshefte erst ein Semester nach der
Evaluation raus.
Prof: Was will man auch von Leuten erwarten, die für ihre Arbeit nicht
bezahlt werden.


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



Re: mplayer debian package

2006-02-02 Thread Joerg Sommer
Hello Michael,

Michael Schmitz <[EMAIL PROTECTED]> wrote:
>> > Regarding installation of mplayer-g4: you need to install first
>> > mplayer-powerpc then mplayer-g4 (dpkg craps out with a dependency loop
>> > otherwise).
>>
>> I did not have any such problems while installing mplayer-g4. So I am
>> not sure what you mean.
>
> Might be a bug in my dpkg version. I got a error message reading
> approximately like this;
>
> assert (depent <= 4) fails

Me too. I fixed it by unpacking the mplayer-skin-blue package,
manipulating the status file, configuring the package installing
mplayer-g4 and reinstalling mplayer-skin-blue.

Good night, Jörg.
-- 
Geld allein macht nicht glücklich, aber es ist besser in einem Taxi zu
weinen, als in der Straßenbahn.
(Marcel Reich-Ranicki)


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



Re: bcm43xx with WPA

2006-02-02 Thread Joerg Sommer
Hello Paul,

Paul TT <[EMAIL PROTECTED]> wrote:
> On Wed, 1 Feb 2006 15:26:37 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> 
>> I tried to use the bcm43xx driver with wpa, but it does not work. I've
>> applied the patch from
>> http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg00480.html
>> and loaded the new module, but wpa_supplicant reports "operation not
>> supported"
>> 
>> # iwconfig eth1
>> eth1  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
>>   Mode:Managed  Frequency=2.472 GHz  Access Point: Invalid   
>>   Bit Rate:54 Mb/s   Tx-Power=off   
>>   RTS thr:off   Fragment thr:off
>>   Encryption key:off
>>   
>> # wpa_supplicant -i eth1 -Dwext -c /etc/wpa_supplicant.conf 
>> ioctl[SIOCSIWAUTH]: Operation not supported
>
> What version of wpa_supplicant are you using
> i'm happy with wpa_supplicant v0.5.0 and bcm43xx and WPA or WEP or WPA2

I build a new package of v0.5.x[1], but it does not work (same message).
How do you bring your interface up? How do you call wpa_supplicant? Run
you other commands?

Bye, Jörg.

[1] http://www.minet.uni-jena.de/~joergs/debian/

-- 
"Science is the game we play with God to find out what His rules are."


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



Re: bcm43xx with WPA

2006-02-03 Thread Joerg Sommer
Hello Joerg,

Joerg Sommer <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tried to use the bcm43xx driver with wpa, but it does not work. I've
> applied the patch from
> http://www.mail-archive.com/bcm43xx-dev@lists.berlios.de/msg00480.html
> and loaded the new module, but wpa_supplicant reports "operation not
> supported"
>
> # iwconfig eth1
> eth1  IEEE 802.11b/g  ESSID:off/any  Nickname:"Broadcom 4306"
>   Mode:Managed  Frequency=2.472 GHz  Access Point: Invalid   
>   Bit Rate:54 Mb/s   Tx-Power=off   
>   RTS thr:off   Fragment thr:off
>   Encryption key:off
>   
> # wpa_supplicant -i eth1 -Dwext -c /etc/wpa_supplicant.conf 
> ioctl[SIOCSIWAUTH]: Operation not supported

I did not apply the patch correctly. After doing this, I get
wpa_supplicant working, but not really. The output is at
http://www.minet.uni-jena.de/~joergs/wpa.log and at
http://www.minet.uni-jena.de/~joergs/iwevent.log I put the output of
iwevent while running wpa_supplicant. Can someone tell me what goes wrong?

On IRC, I've got the to build with dscape, but the debian modules do only
provide softmac and the only stuff I found for dscape needs a new kernel
2.6.16-rc1.

Regards, Jörg.
-- 
"Computer games don't affect kids. If Pacman would have affected us as
children, we would now run around in darkened rooms, munching pills and
listening to repetetive music."


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



Re: Random hang when waking from sleep on ibook G4 + 2.6.14.3 kernel

2006-02-05 Thread Joerg Sommer
Benjamin Cama <[EMAIL PROTECTED]> wrote:
> I regularly use the sleep feature of my iBook, and it works quite well
> with a recent kernel, thanks to BenH patches. I used to have a
> ubuntu-built 2.6.12, but it oopsed when waking from sleep while an USB
> peripheral was plugged in (in my case, an USB mouse). I had to think to
> unplug it each time i put my ibook to sleep, which i didn't remember all
> the time... I found that this kernel had this problem, but that it was
> resolved in more recent ones.
> So i built a vanilla 2.6.14.3 kernel, and it worked well even when my
> mouse was plugged-in and that i put my ibook to sleep. But one day, it
> couldn't wake up, hanging on this screen :
> http://benoar.free.fr/ibook_hangs.jpg
> I tried to find the cause, but i couldn't reproduce this bug. I think it
> is still due to some USB-related problem (you can see on the top of the
> screen a previous wake-from-sleep that succeeded). It worked well for
> another period, but this bug reappeared after a while.
>
> It doesn't appear very often, and i can't reproduce this exactly, hence
> the "random" of the subject of this mail. I didn't try a more recent
> kernel (2.6.15 ?) but i could check, if someone thinks it comes from
> this particular version.

I can confirm this bug. I see it since the update from 2.6.13.1 to 15.1.

$ cat /proc/cpuinfo 
cpu : 7455, altivec supported
revision: 0.3 (pvr 8001 0303)
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)

Bye, Jörg.
-- 
Ein Mensch sieht ein und das ist wichtig,
nichts ist ganz flach und nichts ganz richtig.
   (Eugen Roth)


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



Re: Random hang when waking from sleep on ibook G4 + 2.6.14.3 kernel

2006-02-06 Thread Joerg Sommer
Benjamin Cama <[EMAIL PROTECTED]> wrote:
> So this is basically the same, i think (mine is a 800MHz G4).
> The memory upgrade comes from a cheap brand, but i don't think it causes
> such crashes (i had about 2 strange crash in 2 years, on MacOS X, that
> may have been caused by bad RAM) as this problem occurs more often.
> Finally, my ibook had is hard drive replaced (after a HD crash), but i
> don't think i damaged anything...
>
> Some questions now :
> - Did the 2.6.13.1 solve the oops problem when an USB peripheral was
> plugged when sleeping ? (compared to my 2.6.12)

Yes. This was the reason I switched to the 2.6.13.1.

> - Did you activate PREEMPT in your 2.6.15.1 ?

No. I build all my kernels without PREEMPT.

Bye, Jörg.
-- 
Angenehme Worte sind nie wahr,
wahre Worte sind nie angenehm.


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



Problems setting up bcm43xx

2006-02-07 Thread Joerg Sommer
Hi,

next try, one level lower. I try to configure my airport extreme with the
following section in /etc/network/interfaces:
iface wlanhome inet static
address 192.168.0.5
netmask 255.255.255.255
pointopoint 192.168.0.8
wireless_essid home
wireless_channel 2
wireless_mode ad-hoc

After bringing up the interface with ifup I get the status no carrier.

# ip link list dev eth1
5: eth1:  mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:11:24:90:ca:3b brd ff:ff:ff:ff:ff:ff
# ifup eth1=wlanhome
# ip link list dev eth1
5: eth1:  mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:11:24:90:ca:3b brd ff:ff:ff:ff:ff:ff
# iwconfig eth1
eth1  IEEE 802.11b/g  ESSID:"home"  Nickname:"Broadcom 4306"
  Mode:Ad-Hoc  Frequency=2.417 GHz  Cell: Invalid   
  Bit Rate:54 Mb/s   Tx-Power=2346 dBm   
  RTS thr:off   Fragment thr:off
  Encryption key:off

What's wrong? I use the current version in Debian of the softmac and the
bcm43xx driver

$ dpkg -l ieee80211softmac-modules-2.6.15.1 bcm43xx-modules-2.6.15.1 |grep ^ii
ii  bcm43xx-modules-2.6.15.1  20060108-5+ibook.33 Broadcom 43xx 
Wireless LAN driver module for Linux 2.6.15.1
ii  ieee80211softmac-modules-2.6.15.1 20060114-4+ibook.32 IEEE 802.11 SoftMAC 
kernel module for Linux 2.6.15.1

What should I do?

Good night, Jörg.
-- 
Prof. in der Mathematikvorlesung zu einem vergessenen \phi in der
Gleichung: "Klein-\phi macht auch Mist."


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



Re: libdb1-compat vs. libc6

2006-02-14 Thread Joerg Sommer
Hello adrian,

adrian crisan <[EMAIL PROTECTED]> wrote:
> hi everybody, i'm trying to install xorg-6.8.99.15 on my beige g3/266
> ... however trying to install libdb1-compat "it depends on libc6" and
> (obvious) trying to install libc6 errors out because "depends on
> libdb1-compat"

You must install them in one transaction: dpkg -i libdb1-compat* libc6*

Regards, Jörg.
-- 
Geld allein macht nicht glücklich, aber es ist besser in einem Taxi zu
weinen, als in der Straßenbahn.
(Marcel Reich-Ranicki)


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



Sysrq for iBook

2006-02-18 Thread Joerg Sommer
Hi,

where is the SysRQ key on the ibook keyboard? What about this patch?
http://patchwork.ozlabs.org/linuxppc/patch?id=968 Should it be applied to
kernel.org?

Bye, Jörg.
-- 
"Science is the game we play with God to find out what His rules are."


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



Nasty bug in crm114 -- help needed

2006-03-18 Thread Joerg Sommer
Hi,

I've found a bug in crm114: #355721. The strange thing is, the sigseg
raises after the return statement and before the stack frame is closed.

Does anyone know how a sigseg could happen at this point? What might be
the reason?

Bye, Jörg.
-- 
Mathematiker beim Kuchenessen (aus dem wahren Leben):
J: Du überlegst wohl, wie du das Stück am optimalsten teilst?
K: Ja, ich wende gerade den Simplex-Algorithmus darauf an.
C: Schau mal, da hast du schon vier Ecken.


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



Re: Install Sarge on an embedded PowerPC

2006-03-26 Thread Joerg Sommer
Guennadi Liakhovetski <[EMAIL PROTECTED]> wrote:
> Hello all
>
> I've got myself an embedded powerpc platform (kurobox) and I'd like to 
> install Sarge on it. My problem is - the board doesn't boot from CD, the 
> bootloader is proprietary and I cannot load initrd... So, AFAIU, I cannot 
> use any of the standard installation methods. I did built a 
> cross-toolchain for it, compile a custom kernel 2.6.15.6, I can boot with 
> NFS-root, so, I just need an installation root, and then I could install 
> the rest over the internet. The problem is, all boot images I tried so 
> far, that come with various install CDs, etc., are compressed, so, I 
> cannot loopback-mount them. So, my question is - how can I install Sarge 
> on the board?

Is debootstrap an alternative?

Jörg.


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



Re: on apple battery life

2005-01-25 Thread Joerg Sommer
Luis Claudio R. Goncalves <[EMAIL PROTECTED]> wrote:
> Hi!
>
> IIRC all the new laptops have battery life cycle counted in "number of
> recharges". Some PCs have this limit set around 1000 recharges.
>
> Usually, if your laptop is AC plugged and your battery is full you will notice
> some recharge cycles (what means - your battery suffers a discharge and a
> recharge).

I couldn't confirm this. I heard from this problem from people with PC
laptops, but I see the battery load in the task bar of my window manager
and I noticed, it must fall under 95% before a new charge cycle begins.
With PC laptops a new cycle starts by 99% which leads to the effect
you've described.

> Anyway, those two things together sounds like "remove your battery if you
> are going to use your laptop with AC power for a long time" to me. And it
> seems to be true as I've just had to replace the  battery of my ibook.

At me my ibook wobbles if I remove the battery. You don't have this
problem? What version of ibook you have? G4?

Jörg.

-- 
MCSE = Minesweeper Consultant & Solitaire Expert


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



Questions about Open Firmware

2005-01-26 Thread Joerg Sommer
Hi,

some questions about Open Firmware.

Can Open Firmware read a msdos partition table?

Is it true, that OF can read ext2?
http://www.kernelthread.com/mac/osx/arch_boot.html (Section "Bootloader"
or search for ext2)

If so, why yaboot needs an extra partition?

Bye, Joerg.

-- 
Geld allein macht nicht glücklich, aber es ist besser in einem Taxi zu
weinen, als in der Straßenbahn.
(Marcel Reich-Ranicki)


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



d-i: CD/USB image

2005-01-27 Thread Joerg Sommer
Hi,

monday, I crashed my system and needed a rescure system to repair my
broken install. I've didn't found the file "boot.img.gz" as named in [1].

Because I didn't have mac-fdisk available I wrote the CD from [2] in
/dev/sda. Then I could boot it with 
"boot pci/usb0/[EMAIL PROTECTED]/[EMAIL PROTECTED]:2,\install\yaboot" from the 
Open Firmware
prompt. I've got the yaboot prompt, but there was the end, because the
bootloader thought it was booted from a cd and searches the kernel on the
not existing cd.

Was there a way out? Shouldn't this way named in the d-i manual? It is
really easy and what is more important: you can prepare the image on a
non-ppc system.

Jörg.

[1] http://d-i.alioth.debian.org/manual/en.powerpc/ch04s04.html#usb-copy-easy
[2] http://www.debian.org/devel/debian-installer/

-- 
Man soll Denken lehren, nicht Gedachtes.


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



Re: Sleep patch and kernel 2.6.10

2005-01-28 Thread Joerg Sommer
Colin Leroy <[EMAIL PROTECTED]> wrote:
> Hi everybody,
>
> Did someone try Ben's patches for sleep support with kernel 2.6.10?

I've tried to apply the patch by hand, but there where changed from .9 to
.10 which I can't interpret. In radeon_pm.c the radeon_pci_resume()
function changed in a way, that makes applying of the patch impossible. I
think only Ben can do so, because he knows what his patch should do.

Joerg.

-- 
"Hey, dad, you see how this man can twist his fingers? Amazing, isn't
it?" "No, son, not really. He's been using Emacs for ten years..."


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



PanelOff in X doesn't work

2005-02-02 Thread Joerg Sommer
Hi,

I compiled xserver-xfree86-dri-trunk with UseFWPLL and no I have a cloned
screen. But PanelOff doesn't work. For the external screen only I use the
following section:

Section "Device"
Identifier  "ATI External"
Driver  "radeon"
BusID   "PCI:0:16:0"
Option  "AGPMode"   "4"
Option  "APGFastWrite"
Option  "PanelOff"
Option  "MergedFB"
Option  "EnablePageFlip"
Option  "MonitorLayout" "CRT"
EndSection

But PanelOff doesn't turn off the panel. A white light cames up from the
bottom and let the screen glow. With pbbutton I can turn off the panel
(make the background light zero)

After X shutdown the panel gets enlighted, but pbbutton doesn't recognize
this, which cause strange effects upon backlight increase/decrease.

Does anyone use PanelOff?

Jörg.

-- 
Das Ganze ist mehr als die Summe seiner Teile. (Aristoteles)


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



performance of xine

2005-02-02 Thread Joerg Sommer
Hi,

IIRC the theme is not new, but was there a solution? I've played a dvd
with xine and cpu usage was 100%. With mplayer I get false colors, but it
needs nearly 50%. (this was with XV) With xshm my dvd jumps and it isn't
a usable quality.

BTW: Does xine support OpenGL output?

Joerg.

-- 
Computer Science is no more about Computers than astronomy is about 
telescopes.
 -- Edsger Wybe Dijkstra


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



Re: performance of xine

2005-02-02 Thread Joerg Sommer
Sebastian Henschel <[EMAIL PROTECTED]> wrote:
> hi there..
>
> * Joerg Sommer <[EMAIL PROTECTED]> [2005-02-02 13:06 +0100]:
>> 
>> IIRC the theme is not new, but was there a solution? I've played a dvd
>> with xine and cpu usage was 100%. With mplayer I get false colors, but it
>> needs nearly 50%. (this was with XV) With xshm my dvd jumps and it isn't
>> a usable quality.
>
> mplayer:
> are your false colors mostly green? does a new scene begin with normal
> colors and the more static the scene is, the faster pixels become green?

Yes.

> then you might try the following in your .mplayer/config:
>
> lavdopts:idct=2

Right, this helped. Thanks.

And maybe the problem of xine is not in libxine, but more in xine-ui with
uses xv for output. mplayer performes with xv output bad, too. Can xine
use x11 output?

Joerg.

-- 
A red sign on the door of a physics professor: 'If this sign is blue, 
you're going too fast.'


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



Re: performance of xine

2005-02-03 Thread Joerg Sommer
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> On Tue, 2005-02-01 at 16:04 +0000, Joerg Sommer wrote:
>> Hi,
>> 
>> IIRC the theme is not new, but was there a solution? I've played a dvd
>> with xine and cpu usage was 100%. With mplayer I get false colors, but it
>> needs nearly 50%. (this was with XV) With xshm my dvd jumps and it isn't
>> a usable quality.
>> 
>> BTW: Does xine support OpenGL output?
>
> I have no problem with xine and get rather good performances, are you
> sure it was using Xv ?

I've started xine with -V xv.

> There may also be some post-processing setting
> around (there is for divx, not sure about DVDs).

I tried an avi and I've got the same.

$ HOME=/tmp time xine -V xv --disable-post Tmp/Shrek.avi 
12.44user 0.56system 0:21.03elapsed 61%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+12582minor)pagefaults 0swaps

$ HOME=/tmp time mplayer -vo xv --lavdopts:idct=2 Tmp/Shrek.avi 
5.56user 0.15system 0:22.24elapsed 25%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+5131minor)pagefaults 0swaps

$ HOME=/tmp time mplayer -vo x11 --lavdopts:idct=2 Tmp/Shrek.avi 
6.49user 0.20system 0:21.22elapsed 31%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+5227minor)pagefaults 0swaps

Jörg.

-- 
"Science is the game we play with God to find out what His rules are."


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



Note: pbbuttons with IPC problems

2005-02-14 Thread Joerg Sommer
Hi,

I've had a very strange problem. gtkpbbuttons and pbbcmd report

$ LANG=C pbbcmd query SLEEPKEY
ERROR: Problems with IPC, maybe server is not running.
$ LANG=C gtkpbbuttons -a /dev/sound/dsp 
ERROR: Can't create message port for client.

The cause was, there were not enough IPC channels. A simple

echo 32 > /proc/sys/kernel/msgmni

helped. An entry in /etc/sysctl.conf is for permanence.

Hope this information helps someone sometime.

Jörg.

-- 
Computer Science is no more about Computers than astronomy is about 
telescopes.
 -- Edsger Wybe Dijkstra


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



Re: Help: Logging in to virtual terminal

2005-02-21 Thread Joerg Sommer
Ben Hill <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to set up Debian on my PowerBook G4, but can't log into a 
> virtual terminal. The X settings aren't correct, so I'd like to drop 
> into the console to edit XF86Config-4.
>
> I'm getting a virtual terminal login, but when I log in, it hangs 
> before giving me a prompt. How can I get the bash shell prompt?

I don't know why this happen, but you can try to boot into runlevel 1 by
adding "1" (without the quotation marks) to the yaboot prompt.

Joerg.

-- 
Prof: Ist etwas an der Tafel nicht zu lesen? Sie schauen so komisch.
Studentin: Nein, es ist alles in Ordnung.
Prof: Aber ihr Gesicht sieht aber überhaupt nicht in Ordnung aus.


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



disable sound in gtkpbbuttons

2005-02-21 Thread Joerg Sommer
Hi,

how to disable the sound in gtkpbbuttons? Version 0.6.5-1 want start if
/dev/dsp doesn't exist. I use "-a /dev/null", but this is a dirty hack.
How do it right?

Joerg.

-- 
Damit das Mögliche entsteht, muß immer wieder das Unmögliche versucht
werden.   (Hermann Hesse)


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



Re: Clock and Sound

2005-02-22 Thread Joerg Sommer
David Medina <[EMAIL PROTECTED]> wrote:
> Hello list,

Hello David,

> When i run "alsaconf" and after "alsamixer" i can hear sound perfectly
> but if i reboot the system i must run "alsaconf" ...
> I try with dpkg-reconfigure alsa-base and choose "save always" but don work.
> what happen?¿

Did you add snd-powermac to /etc/modules?

> And have a problem with the "internal clock" because if i configure
> the date with "date 022101052005" (for example) after reboot one or
> two or three session i must configure new ...

Do you use ntpdate or something? Try it! The hwclock init script should
save and reload the hardware clock on shutdown and boot. Are there any
messages about this while booting?

Joerg.
-- 
"...anytime you install something new on the Windows platform, you risk
spending the next five or six hours trying to figure out what happened"
 -- Robert Roblin, Adobe


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



Re: HELP!... cant boot and cant open CDROM...

2005-02-22 Thread Joerg Sommer
Hans Ekbrand <[EMAIL PROTECTED]> wrote:
> On Tue, Feb 22, 2005 at 12:00:04AM -0500, Charles Read wrote:
>> Hey everybody!
>> 
>> In a REAL crunch here!  Was playing around with adding a new firewire 
>> drive to my PowerMac linux system, wouldnt you know a power outage 
>> shows up... as a result I cant boot and I need to be able to get to my 
>> hard drive to edit the mess ups... but I cant eject the CD drive to 
>> throw in knoppix or anything else.  When I try to boot I ge tthe yaboot 
>> welcome and can choose to boot l for linux or c for cdrom... i need to 
>> be able to get a disc in that cdrom... PLEASE HELP!!!
>
> Try power on with the mouse button pressed.

Real? Where are such strange combinations documented?

Joerg.

-- 
Die am Lautesten reden, haben stets am wenigsten zu sagen.


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



Re: disable sound in gtkpbbuttons

2005-02-22 Thread Joerg Sommer
Jorge Bernal <[EMAIL PROTECTED]> wrote:
> On Monday 21 February 2005 14:20, Joerg Sommer wrote:
>> Hi,
>>
>> how to disable the sound in gtkpbbuttons? Version 0.6.5-1 want start if
>> /dev/dsp doesn't exist. I use "-a /dev/null", but this is a dirty hack.
>> How do it right?
>>
>
> Quick way: modify the Classic theme.desc and remove all the *.wav lines. If 
> the theme has no sound, I think gtkppbuttons won't try to initialize it

They are installed in /usr, where I have no write access.

> Another option: rebuild the package modifying debian/rules to pass 
> --disable-sound to configure.

Bad option.

Is it correct, there is no way to disable sound for a theme with sound?

Joerg.
-- 
Nicht was du bist, ist es was dich ehrt, wie du bist bestimmt den Wert.
Wünsche hat man oft und viel, nur wer lernt erreicht sein Ziel.


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



mouseemu replacement in pbbuttonsd

2005-02-28 Thread Joerg Sommer
Hi,

my problem with the touchpad is, while typing hitting on the touchpad and
this generates a click and my cursor jumps away. I know mouseemu exists.
But pbbuttonsd already watches for key events. Isn't it possible to make
it switch the mode of the touchpad, while typing?

Joerg.

-- 
"Politics is for the moment, equations are forever"
 -- Albert Einstein


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



Re: mouseemu replacement in pbbuttonsd

2005-03-01 Thread Joerg Sommer
Matthias Grimm <[EMAIL PROTECTED]> wrote:
> On Mon, 28 Feb 2005 13:52:44 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> 
>> my problem with the touchpad is, while typing hitting on the touchpad
>> and
>> this generates a click and my cursor jumps away. I know mouseemu
>> exists.
>> But pbbuttonsd already watches for key events. Isn't it possible to
>> make
>> it switch the mode of the touchpad, while typing?
>
> Yes it would be. Is this a feature request? :-)

Ehmm, yes, that's a good idea. :-)

Jörg.

-- 
Nutze die Talente, die du hast. Die Wälder wären sehr still,
wenn nur die begabtesten Vögel sängen.(Henry van Dyke)


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



pbbuttonsd: don't dim the display while watching video

2005-03-12 Thread Joerg Sommer
Hi,

how can I tell pbbuttons not to dim the backlight while watching video?
It's annoying!

Have a nice weekend, Joerg.

-- 
Viele Leute glauben, daß sie denken, wenn sie lediglich
ihre Vorurteile neu ordnen.


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



Re: pbbuttonsd: don't dim the display while watching video

2005-03-13 Thread Joerg Sommer
Matthias Grimm <[EMAIL PROTECTED]> wrote:
> On Sat, 12 Mar 2005 01:03:43 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>
>> how can I tell pbbuttons not to dim the backlight while watching video?
>> It's annoying!
>
>pbbcmd config onac_timedim 0
>pbbcmd config onbattery_timedim 0
>
> will disable display dimming until next reboot.
>  
>pbbcmd query onac_timedim

Good idea!

> PS: Don't forget to enable  'cpulock' to prevent pbbuttonsd from going to 
> sleep.

How to do this?

Thanks, Jörg.

-- 
Nur tote Fische schwimmen mit dem Strom.


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



hdparm on iBook G4

2005-03-13 Thread Joerg Sommer
Hi,

today I read a cd with only treble speed. I run hdparm and saw it runs on
mdma2. Is this more than udma2? I tried to set the later, but since this
all accesses to the cdrom hang and never returned.

# hdparm /dev/cdrom 

/dev/cdrom:
 IO_support   =  0 (default 16-bit)
 unmaskirq=  1 (on)
 using_dma=  1 (on)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 HDIO_GETGEO failed: Invalid argument
# hdparm -i /dev/cdrom 

/dev/cdrom:

 Model=MATSHITACD-RW CW-8123, FwRev=CA0T, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
 UDMA modes: udma0 udma1 udma2 
 AdvancedPM=no
 Drive conforms to: device does not report version: 

 * signifies the current active mode

Have anyone different configuration? How fast can you read cds?

The manpage of hdparm says about the switch -X: you'll need to prepare
the chipset for UltraDMA before setting dma mode. How to prepare the
chipset? Is this necessary?

Wheter or not I run hdparm -X udma2 /dev/cdrom, I see the above
configuration.

While we talk about hdparm: How to disable the write cache of the disk?
-W0 doesn't work.

Jörg.

-- 
Der Wille, und nicht die Gabe macht den Geber.


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



Re: Swap

2005-03-19 Thread Joerg Sommer
Michael <[EMAIL PROTECTED]> wrote:
> How crucial is a swap partition?  The only think I know of it  being 
> used for is virtual RAM memory, am I wrong?  Having 896 MB of RAM I 
> didn't think that I would need one, but I can either use the 512 MB 
> chunk I left free for that, or make another larger partition available, 
> if this list of people more knowledgeable in Linux than I, recommends it.

No, you don't need a separate partition. You have enough memory and if it
went to the end, you can always create a empty file run mkswan on it and
use it with swapon /file. But with 896MB RAM you may live a long time
without it.

Jörg.

-- 
Alles Gute wächst im Dunklen, bis es stark genug ist,
ans Tageslicht zu kommen.


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



Re: how to find out which program is using the harddrive

2005-03-19 Thread Joerg Sommer
Tamas K Papp <[EMAIL PROTECTED]> wrote:
> Even though I don't have sleep on my powerbook yet, I am OK with just
> closing the lid and letting the screen sleep.  However, something is
> using the hard disk about every 2 seconds...  How can I find out what
> it is?

echo 1 > /proc/sys/vm/block_dump; cat /proc/kmsg; echo 0 >
/proc/sys/vm/block_dump

> lsof, now nothing changes there.  What else could it be?  Does

Maybe you use an journaled file system? The kjournald write from time to
time on the disk. Don't know, what he's doing there.

Jörg.

-- 
Nicht was du bist, ist es was dich ehrt, wie du bist bestimmt den Wert.
Wünsche hat man oft und viel, nur wer lernt erreicht sein Ziel.


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



Re: Optimizing boot times

2005-03-19 Thread Joerg Sommer
Wee-Jin Goh <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've run out of things to tweak on my Powerbook, so I thought that I'd
> try to improve the boot times :-)
>
> Currently, on my 1.33 GHz 12", Debian takes about 2 minutes to boot.
> What are they steps I need to take to cut this down? What services can I
> safely disable (exim4?)?

Removing mail completely isn't a good idea. But on a host, where you only
send mail, not receive it via smtp, you can disable the mailer damon. It
is invoked by your mail client.

If you need a mailer damon, but not very often, you can start it with
inetd on demand. This saves time while booting.

Jörg.
-- 
Der Wunsch, klug zu erscheinen, verhindert oft, es zu werden.
  (Francois de la Rochefoucauld)


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



Re: Newer laptops & CPU speed

2005-03-19 Thread Joerg Sommer
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote:
>
>> From other people's posts I conclude that bogomips should approximately
>> equal clock?
>
> It depends on the CPU, but on a 7447A, yes.

Do you know why it is for i386 nearly the double of cpu clock? Or reverse,
why is it only equal the clock on ppc?

Jörg.

-- 
"Unfortunately, the current generation of mail programs do not have
 checkers to see if the sender knows what he is talking about"
 -- Andrew S. Tanenbaum


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



Re: Newer laptops & CPU speed

2005-03-20 Thread Joerg Sommer
Jochen Voss <[EMAIL PROTECTED]> wrote:
> On Sat, Mar 19, 2005 at 10:29:28PM +0000, Joerg Sommer wrote:
>> Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>> > On Mon, 2005-03-14 at 16:01 +, Jochen Voss wrote:
>> >
>> >> From other people's posts I conclude that bogomips should approximately
>> >> equal clock?
>> >
>> > It depends on the CPU, but on a 7447A, yes.
>>=20
>> Do you know why it is for i386 nearly the double of cpu clock? Or reverse,
>> why is it only equal the clock on ppc?
>
> I am no expert on this, but the delay loop in question is
>
> _GLOBAL(__delay)
>   cmpwi   0,r3,0
>   mtctr   r3
>   beqlr
> 1:  bdnz1b
>   blr
>
> in file "arch/ppc/kernel/misc.S".  I do not yet speak powerpc
> assembler, but I read bdnz as decrease (register r3?) and branch
> backwards to label 1 if the result is not zero.  Probably a 7447A CPU

Yes, this is it.

> can do this within 1 CPU clock cycle?  I didn't check the loop for
> i386 but maybe it consists of two instructions or of one which takes
> two CPU clock cycles?

I found a statement to this in /usr/share/doc/HOWTO/en-txt/BogoMips.gz.

What did change in kernel version 2.2.14 is the CPU state setting just before
the BogoMips calculation. This affects the BogoMips rating for all Intel and
AMD Pentium variations, resulting in approximately 2*clock, where these were
not 2*clock.

But I found there a PPC should have the double too:
   PowerPC G4/500  992.87  K. Gustilo <[EMAIL PROTECTED]>  
   PowerPC G4/500  996.64  Heinz Nabielek <[EMAIL PROTECTED]>   
 
   PowerPC G4/500  999.42  Stephen D. Scotti <[EMAIL PROTECTED]>
   
   PowerPC G4/999 1992.29  Paula <[EMAIL PROTECTED]>
   

Are these wrong values or did something changed in the calculation?

Jörg.

-- 
Mathematiker beim Kuchenessen (aus dem wahren Leben):
J: Du überlegst wohl, wie du das Stück am optimalsten teilst?
K: Ja, ich wende gerade den Simplex-Algorithmus darauf an.
C: Schau mal, da hast du schon vier Ecken.


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



Re: pbbuttonsd 0.6.8beta1 has been released for testing

2005-03-25 Thread Joerg Sommer
Matthias Grimm <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> As consequence of the high number of critical bugs in the last release I
> publish a beta release first this time:
>
>   PBButtonsd 0.6.8beta1
>  available at: http://pbbuttons.sourceforge.net

I've build it and started it (not installed), but the touchpad suspend
doesn't work. I can type and use the touchpas. How to enable this new
feature?

Jörg.

-- 
Dadurch, daß man einen anderen ins Irrenhaus sperrt,
beweist man noch nicht seinen eigenen Verstand.


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



Re: changing hostname

2005-03-28 Thread Joerg Sommer
Johannes Berg <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2005-03-25 at 07:57 -0800, Paul J. Lucas wrote:
>>  But is there a better/canonical way to do this?
>
> echo blabla > /proc/sys/kernel/hostname

man sysctl.conf

-- 
"Any setuid root program that does an exec() somewhere is just a less
user friendly version of su."   
 -- Olaf Kirch on bugtraq 2000-08-07


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



Re: CPU Frequency -- min save value?

2005-03-28 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> "Matthew T. Atkinson" <[EMAIL PROTECTED]> writes:
>> Was just wondering, as I mostly use the machine for really simple text
>> editing when it's on battery power (taking notes in lectures), is it
>> safe to set the lower bound for CPU frequency much lower?  I imagine it
>> would be fine for what I want to use it for at as low as 200MHz.
>> Really, it ought to be capable of editing text at <100MHz.
>
> Matthew,
>
> You can set the lower bound as low as you like, but unfortuntely the kernel
> cpufreq drivers for ppc only support two speeds at the moment. So if you ask
> for 200MHz, it will still give you 750MHz.

Is this a kernel or a hardware problem? I saw Centrino CPU scaling down
to 200MHz. I would be very happy to do so with my G4 (/proc/cpuinfo:
cpu=7455).

Jörg.

-- 
Life can only be understood backwards, but it must be lived forwards. 
 (Soren Kierkegaard)


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



2.6.9: sound problem

2005-03-28 Thread Joerg Sommer
Hi,

a cat $foo > /dev/dsp brings me this oops:

Oops: kernel access of bad area, sig: 11 [#2]
NIP: 093C LR: D20E2604 SP: CA233DB0 REGS: ca233d00 TRAP: 0400Not tainted
MSR: 40009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = cf9498f0[4633] 'cat' THREAD: ca232000Last syscall: 4 
GPR00: 093F CA233DB0 CF9498F0 D2106000 0B02   D2114000 
GPR08: D2106000 D2114000 0001  0001 1001BF3C 0001  
GPR16:  1021E988  090E 093F 0200 CAA15940 CAA15880 
GPR24:  0B03   CECBD2CC CECBD2B0 CECBD240 0200 
NIP [093c] 0x93c
LR [d20e2604] rate_transfer+0x80/0x88 [snd_pcm_oss]
Call trace:
[d20e2604] rate_transfer+0x80/0x88 [snd_pcm_oss]
[d20df4dc] snd_pcm_plug_write_transfer+0xd4/0x14c [snd_pcm_oss]
[d20da520] snd_pcm_oss_write2+0xb0/0x128 [snd_pcm_oss]
[d20da774] snd_pcm_oss_write1+0x1dc/0x20c [snd_pcm_oss]
[d20dcf8c] snd_pcm_oss_write+0x64/0xb4 [snd_pcm_oss]
[c0057f08] vfs_write+0xdc/0x128
[c0058038] sys_write+0x50/0x94
[c0005fa0] ret_from_syscall+0x0/0x44

I don't know if it is fixed in later kernel versions, but I'd like to you
know this.

Jörg.

-- 
Der Klügere gibt so lange nach bis er der Dumme ist.


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



problems playing wav with xmms

2005-03-28 Thread Joerg Sommer
Hi,

when I play wavs or use the AudioCD Reader with xmms I get no sound. I
hear only a hum and scrape, but no sound. This is with oss and alsa
output plugin.

Does anyone have the same problem? Could you solve it?

xmms: 1.2.10-2
kernel: 2.6.9 (with sleep patch)
$ cat /proc/cpuinfo 
processor   : 0
cpu : 7455, altivec supported
clock   : 606MHz
revision: 3.3 (pvr 8001 0303)
bogomips: 610.30
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 256K unified
memory  : 256MB
pmac-generation : NewWorld

Jörg.

-- 
A red sign on the door of a physics professor: 'If this sign is blue, 
you're going too fast.'


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



cd support for iBook G4

2005-03-28 Thread Joerg Sommer
Hi,

I've an iBook G4 (combo drive):
$ cat /proc/cpuinfo 
processor   : 0
cpu : 7455, altivec supported
clock   : 606MHz
revision: 3.3 (pvr 8001 0303)
bogomips: 610.30
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 001b
L2 cache: 256K unified
memory  : 256MB
pmac-generation : NewWorld

I can't read cds with cdrdao. It reads 9 second, sometimes 19 of the cd
and then hangs. Some seconds later the kernel reports:

ide-pmac lost interrupt, dma status: 8480
hdc: lost interrupt
hdc: status timeout: status=0xd0 { Busy }
hdc: status timeout: error=0xd0LastFailedSense 0x0d 
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset timed-out, status=0x80
ide1: reset timed-out, status=0x80
hdc: status timeout: status=0x80 { Busy }
hdc: status timeout: error=0x80LastFailedSense 0x08 
hdc: drive not ready for command
hdc: ATAPI reset timed-out, status=0x80

After this, cdrdao eats up my cpu. But cdrdao doesn't come to an end. The
time counter stays, but the file size grows, but very slowly. To read the
cd would take more than two hours (estimated).

When I kill cdrdao and run cdda2wav after, the hole system hangs and I
must do a reset.

After the kernel has reported it disables dma, hdparm still reports dma
is enabled. Is hdparm only a simulation?

I've also problems with burning cds. The speed is seldom more than 8
times and at most 12 times, but I never reached 24 times, what the
hardware should support.

Has anyone better experiences with the cdrom in the g4 ibook?

Jörg.

-- 
"Science is the game we play with God to find out what His rules are."


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



Re: cd support for iBook G4

2005-03-28 Thread Joerg Sommer
Jack Malmostoso <[EMAIL PROTECTED]> wrote:
> Ciao Joerg Sommer, nel tuo messaggio dicevi:
>
>> Has anyone better experiences with the cdrom in the g4 ibook?
>
> I did rip audio cds and dvds with my iBook (with Grip and mencoder), and
> when I burn things the burning starts at 8x, but then the speed grows up
> to 24x (and this happens in OSX too, mind you) without problems.

Do you run hdparm? What options? Do you have a combo drive or a super
drive?

# hdparm -i /dev/cdrom 

/dev/cdrom:

 Model=MATSHITACD-RW CW-8123, FwRev=CA0T, SerialNo=
 Config={ Fixed Removeable DTR<=5Mbs DTR>10Mbs nonMagnetic }
 RawCHS=0/0/0, TrkSize=0, SectSize=0, ECCbytes=0
 BuffType=unknown, BuffSize=0kB, MaxMultSect=0
 (maybe): CurCHS=0/0/0, CurSects=0, LBA=yes, LBAsects=0
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2 
 UDMA modes: udma0 udma1 udma2 
 AdvancedPM=no
 Drive conforms to: device does not report version: 

 * signifies the current active mode


Jörg.

-- 
Geld allein macht nicht glücklich, aber es ist besser in einem Taxi zu
weinen, als in der Straßenbahn.
(Marcel Reich-Ranicki)


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



Re: CPU Frequency -- min save value?

2005-03-29 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> The Linux kernel driver does not implement this (instruction cache throttling)
> at all. Still, I get over four hours on battery on my 12" iBook G4 with 7447A

At which backlight level? I'd never reached four hours with my new ibook
(I had three and a half hour) and after a year and a few months I come up
to three, but never four. But I use 12 as backlight level and the level
can increase / decrease the time very heavy.

Jörg.

-- 
Kluge Rede, der nicht Tat folgt, wird dir ohne Früchte darben -
ist wie eine Wunderblume: ohne Duft, nur reich an Farben.
  (Gautama Buddha, Dhammapada)


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



Re: pbbuttonsd 0.6.8beta1 has been released for testing

2005-03-30 Thread Joerg Sommer
Matthias Grimm <[EMAIL PROTECTED]> wrote:
> On Fri, 25 Mar 2005 15:35:11 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>
>> Matthias Grimm <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi,
>> >
>> > As consequence of the high number of critical bugs in the last release I
>> > publish a beta release first this time:
>> >
>> >   PBButtonsd 0.6.8beta1
>> >  available at: http://pbbuttons.sourceforge.net
>> 
>> I've build it and started it (not installed), but the touchpad suspend
>> doesn't work. I can type and use the touchpas. How to enable this new
>> feature?
>
> In this beta realease the function is always enabled. To track if the trackpad
> tap is currently en- or disabled, you could compile with --enable-debug.
>
> The tapping is only disabled for 0.6 seconds and key repetition is not 
> covered.
> Only normal key strokes will disable trackpad tapping. To continously disable
> the tapping you need constant typing. Pressing one single key for a while is
> not the same. 

This was how I tested it. Now I hit a key many times and the trackpad
doesn't work. The feature works for at me. Now I will see if it work in
practice. I hat it to type a text and the cursor jumps away.

Jörg.

BTW: I use the pbbuttonsd from experimental -- no problems

-- 
Damit das Mögliche entsteht, muß immer wieder das Unmögliche versucht
werden.   (Hermann Hesse)


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



instruction cache throttling

2005-04-07 Thread Joerg Sommer
Hi,

inspired by John Steele (<[EMAIL PROTECTED]>,
) I searched a little bit with google
and found that the instruction cache throttling register is named in the
Kernel source (include/asm-ppc/reg.h). A todo note is made in
arch/ppc/kernel/temp.c.

I here next semester a lecture about kernel hacking. My idea is to
implements the instruction cache throttling register in this lecture. Are
there any plans to do this? Should there be a new node in
/sys/devices/system/cpu/cpu?/ to control the contents of the register? Is
there any similar at any other platform?

Jörg.

-- 
"Eine Mutter braucht zwanzig Jahre, um aus ihrem Jungen einen Mann zu
machen, und eine andere Frau braucht zwanzig Minuten, um aus ihm einen
Narren zu machen. "
(Robert Lee Frost)


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



Re: Mac mini (TV modeline)

2005-04-08 Thread Joerg Sommer
robin putters <[EMAIL PROTECTED]> wrote:
> On Apr 8, 2005 1:10 AM, Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>> > Only thing I can't get working is the video output to PAL/NTSC using
>> > the optional DVI->Composite/SVHS cable. Does anybody here have a
>> > solution for this (modeline for XF86Config or something?).
>> 
>> Nah, in general, we don't have proper TV out support, though I suspect
>> in this case, most of the work is done by the cable itself, so it
>> _might_ work just to have a proper TV modeline ...
>> 
>
> After experimenting a lot, I finally have some sort of visual.. The
> screen looks like it's encoded (black and white, horizontal refresh
> random for every line ...), but at least I have some sort of image
> now.. Any idea where I can get a PAL or NTSC modeline?

Try this:
http://www.google.de/search?hl=de&ie=UTF-8&oe=UTF-8&q=tv+modeline+pal+interlace+scart&btnG=Google+Suche&meta=

Jörg.

-- 
Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen,
deswegen bleibt es trozdem ein Schwein!


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



Re: instruction cache throttling

2005-04-10 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> --=-=-=
>
> Joerg Sommer <[EMAIL PROTECTED]> writes:
>> Hi,
>>
>> inspired by John Steele (<[EMAIL PROTECTED]>,
>> <news:[EMAIL PROTECTED]>) I searched a little bit with google
>> and found that the instruction cache throttling register is named in the
>> Kernel source (include/asm-ppc/reg.h). A todo note is made in
>> arch/ppc/kernel/temp.c.
>>
>> I here next semester a lecture about kernel hacking. My idea is to
>> implements the instruction cache throttling register in this lecture. Are
>> there any plans to do this? Should there be a new node in
>> /sys/devices/system/cpu/cpu?/ to control the contents of the register? Is
>> there any similar at any other platform?
>
> I don't think there should be a new node to control the register; it should be
> done through the cpufreq mechanism. You can get a start by reading the

Do you mean the powersave governor should controll this register too?

> I'm interested to discuss this more. I have been wanting this feature for a
> while; and even have written some code for it a couple of times, but I tend to
> get distracted too easily when it comes to hobby code.

Is your code anywher available?

Jörg.

-- 
Hügelschäfer's Law (http://www.bruhaha.de/laws.html):
Beiträge werden dort gepostet, wo sie den größten Widerstand hervorrufen.


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



Re: dvd hdparm?

2005-04-16 Thread Joerg Sommer
Björn Schöpe <[EMAIL PROTECTED]> wrote:
> Hi!
> I've got a problem when I try to watch dvd's under KDE. With 
> xine/Kaffeine sound works fine and I see the film too, only that it is 
> not so steady. I once experienced this phenomenon when dma-mode was off 

I have the same problem. I asked on xine-user.de, but nobody knows a
solution.

Jörg.

-- 
Macht besitzen und nicht ausüben ist wahre Größe.
   (Friedl Beutelrock)


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



Re: dvd hdparm?

2005-04-18 Thread Joerg Sommer
Michael Schmitz <[EMAIL PROTECTED]> wrote:
>> > I've got a problem when I try to watch dvd's under KDE. With
>> > xine/Kaffeine sound works fine and I see the film too, only that it is
>> > not so steady. I once experienced this phenomenon when dma-mode was off
>>
>> I have the same problem. I asked on xine-user.de, but nobody knows a
>> solution.
>
> Which one isn't steady - video or audio?

video

> With alsa, I get audio sync trouble. No such problem with dmasound_pmac.

xine eats up my whole cpu and I get many dropped frames. All what is
shown is synchronous.

Joerg.
-- 
Optimisten haben gar keine Ahnung von den freudigen Überraschungen, die
Pessimisten erleben.
(Peter Bramm)


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



Re: making mouse event with keys

2005-04-18 Thread Joerg Sommer
Tamas K Papp <[EMAIL PROTECTED]> wrote:
> Hi,
>
> In I11, I would like certain keys (F11, F12) to behave as if I pressed
> the mouse buttons 2 or 3.  Is it possible?

Yes. You need xkbset to switch on Pointer_Buttons for xmodmap.

xkbset m
xkbset exp =m

Afer this, you can do

xmodmap -e "keycode 113 = Pointer_Button2"
xmodmap -e "keycode 109 = Pointer_Button3"
xmodmap -e "keycode 117 = Pointer_Button3"

BTW: If the fn-Key would be visible in user space I could be used for
this.

Jörg.

-- 
Wer einen Traum verwirklichen will, muss erst aufwachen.


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



Re: dvd hdparm?

2005-04-20 Thread Joerg Sommer
Michael Schmitz <[EMAIL PROTECTED]> wrote:
>> > Which one isn't steady - video or audio?
>>
>> video
>>
>> > With alsa, I get audio sync trouble. No such problem with dmasound_pmac.
>>
>> xine eats up my whole cpu and I get many dropped frames. All what is
>> shown is synchronous.
>
> What's your CPU speed? Are you using Xv (video overlay) as output?

800Mhz, yes I use Xv.

Jörg.

-- 
The social dynamics of the net are a direct consequence of the fact 
that nobody has yet developed a Remote Strangulation Protocol.   
 -- Larry Wall


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



Mount Apple-CDs

2005-04-20 Thread Joerg Sommer
Hi,

how to mount Apple CDs? They are disks with a partition table

#v+
$ file -sL /dev/cdrom 
/dev/cdrom: Apple Partition data block size: 2048, first type:
Apple_partition_map, name: Apple, number of blocks: 63, second type:
Apple_Driver43, name: Macintosh, number of blocks: 56, third type:
Apple_Void, name: , number of blocks: 0, fourth type: Apple_Driver_ATAPI,
name: Macintosh, number of blocks: 56
$ fdisk -l /dev/cdrom 
/dev/cdrom
  #type namelength   base( size 
)  system
/dev/cdrom1 Apple_partition_map Apple   63 @ 1   ( 
31.5k)  Partition map
/dev/cdrom2  Apple_Driver43 Macintosh   56 @ 64  ( 
28.0k)  Driver 4.3
/dev/cdrom3   Apple_Driver43_CD Macintosh  140 @ 120 ( 
70.0k)  Unknown
/dev/cdrom4  Apple_Void  0 @ 0   (  
0.0k)  Unknown
/dev/cdrom5  Apple_Driver_ATAPI Macintosh   56 @ 260 ( 
28.0k)  Unknown
/dev/cdrom6  Apple_Driver_ATAPI Macintosh  140 @ 316 ( 
70.0k)  Unknown
/dev/cdrom7   Apple_Patches Patch Partition512 @ 456 
(256.0k)  Unknown
/dev/cdrom8  Apple_Void  0 @ 0   (  
0.0k)  Unknown
/dev/cdrom9   Apple_HFS Mac_OS_X   1324080 @ 968 
(646.5M)  HFS
/dev/cdrom10 Apple_Free  8 @ 1325048 (  
4.0k)  Free space

Block size=2048, Number of Blocks=331264
DeviceType=0x1, DeviceId=0x1
Drivers-
1: @ 16 for 5, type=0x1
2: @ 30 for 25, type=0x
3: @ 65 for 5, type=0x701
4: @ 79 for 31, type=0xf8ff
#v-

Creating cd1 with mknod cd1 b 22 1 doesn't help? How to make the kernel
parses the partition table?

Jörg.

-- 
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning."
(Rich Cook)


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



[OT] dwl-122 with WPA?

2005-04-20 Thread Joerg Sommer
Hi,

this isn't related to ppc, but on this list some people have the dlink
dwl-122 usb wlan adapter.

Did someone get it running with WPA? I found with google, it should be
possible, but not how.

Jörg.

-- 
Was man mühelos erreichen kann, ist gewöhnlich nicht der Mühe wert,
erreicht zu werden.


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



Re: dvd hdparm?

2005-04-21 Thread Joerg Sommer
Michael Schmitz <[EMAIL PROTECTED]> wrote:
>> >> xine eats up my whole cpu and I get many dropped frames. All what is
>> >> shown is synchronous.
>> >
>> > What's your CPU speed? Are you using Xv (video overlay) as output?
>>
>> 800Mhz, yes I use Xv.
>
> 800 MHz on a G3 might be too slow (definitely 400 MHz was too slow, it
> even killed xine). For a G4, it should work. I'll run a few tests again,
> though.

I've an iBook G4. And some time ago it worked. There was an update of
xine or a lib or the kernel -- I don't know. Since than it doesn't work.

Jörg.

-- 
Nutze die Talente, die du hast. Die Wälder wären sehr still,
wenn nur die begabtesten Vögel sängen.(Henry van Dyke)


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



Re: dvd hdparm?

2005-04-21 Thread Joerg Sommer
Mauro <[EMAIL PROTECTED]> wrote:
>  
>> 
>> I've only just picked up on this thread, but my experience with a
>> *600MHz* G3 iBook is that it can't keep up with playing DVDs and xine
>> eventually gives up with a message that the CPU is too slow. It is
>> however possible to play a DVD on OSX -- so presumably Apple have access
>> to some features of the graphics chip that ATI won't tell about.
>> 
>> James
>  
> same here,
> has anyone tried 
> dmesg | grep DVD

$ dmesg |grep -i dvd
hdc: MATSHITACD-RW CW-8123, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM CD-R/RW drive, 2048kB Cache, (U)DMA

> hdparm -d1 /dev/hdX

# hdparm -d /dev/cdrom 

/dev/cdrom:
 using_dma=  1 (on)

And mplayer plays them without this problems and without this cpu load.

Jörg.

-- 
And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports
on it, you know they are just evil lies.
 -- Linus Torvalds


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



iBook G4: Mouse pointer jumping

2005-04-23 Thread Joerg Sommer
Hi,

I would say, since my update from 2.6.9 to .11 my mouse pointer jumps
from time to time. Sometimes I can correct this with going to sleep and
wake up, but not every time. Because I have the problems in MOL too, I
think this problem liven in kernel.

Has everyone else ever seen this problem? You can't really control the
touchpad, the pointer jumps wild to and from and walk around when you
away from the touchpad. This is really crazy.

Jörg.

-- 
"UNIX was not designed to stop people from doing stupid things, because
 that would also stop them from doing clever things."
 -- Doug Gwyn


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



Re: Mount Apple-CDs

2005-04-23 Thread Joerg Sommer
Brad Boyer <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 22, 2005 at 03:48:25PM +0000, Joerg Sommer wrote:
>> # mount /mnt/cdrom
>> mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom0,
>>missing codepage or other error
>>In some cases useful info is found in syslog - try
>>dmesg | tail  or so
>> # mount -t hfsplus -r /dev/cdrom /mnt/cdrom/
>> # ls /mnt/cdrom/
>> Applications  Desktop DF  Library  private  tmp  Volumes
>> bin   dev mach sbin usr  Welcome to Mac OS X
>> Desktop DBetc mach_kernel  System   var
>> 
>> Why this?
>
> In the first case, it is going to try the filesystem type specified
> in /etc/fstab for that device. Check to see if you have the right
> type there. Mine has this:
>
> /dev/hda/media/cdrom0   iso9660 ro,user,noauto  0   0

Oh, yes, you are right. I set iso9660 in my fstab. I replaced it with
auto and it works. Thanks for this hint.

Jörg.

-- 
Computer Science is no more about Computers than astronomy is about 
telescopes.
 -- Edsger Wybe Dijkstra


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



Re: Mount Apple-CDs

2005-04-22 Thread Joerg Sommer
Brad Boyer <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 20, 2005 at 11:14:21AM +0200, Jan-Benedict Glaw wrote:
>> On Wed, 2005-04-20 07:39:07 +0000, Joerg Sommer <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> > 
>> > how to mount Apple CDs? They are disks with a partition table
>> 
>> AFAIK, partitioned CD-ROMs aren't supported by Linux right now. However,
>> there are several ways to work around that.
>
> The hfs module has directly supported CDs for ages, and the hfsplus
> module got that support added a while ago. If you have a recent 2.6
> kernel, you should be able to give the full CD device to mount and
> have the kernel automatically find the main data partition. Obviously

#v+
# mount /mnt/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/cdroms/cdrom0,
   missing codepage or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so
# cat /etc/filesystems 
ext3
ext2
vfat
minix
iso9660
hfsplus
*
#v-

But
#v+
# mount -t hfsplus -r /dev/cdrom /mnt/cdrom/
# ls /mnt/cdrom/
Applications  Desktop DF  Library  private  tmp  Volumes
bin   dev mach sbin usr  Welcome to Mac OS X
Desktop DBetc mach_kernel  System   var
#v-

Why this?

Jörg.

-- 
Im Leben lernt der Mensch als erstes das Gehen und Sprechen.
Später lernt er still zu sitzen und den Mund zu halten.


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



Re: iBook G4: Mouse pointer jumping

2005-04-25 Thread Joerg Sommer
Colin Leroy <[EMAIL PROTECTED]> wrote:
> On 24 Apr 2005 at 12h04, Benjamin Herrenschmidt wrote:
>
> Hi, 
>
>> > Has everyone else ever seen this problem? You can't really control
>> > the touchpad, the pointer jumps wild to and from and walk around
>> > when you away from the touchpad. This is really crazy.
>> 
>> There have been no change that I remember to the driver ... Tried
>> booting in OS X just in case ? Doing so may tweak the firmware of the
>> PMU who drives the trackpad...
>
> No problem here either. Joerg: do you have the same problem with an usb
> mouse?

I don't have an usb mouse. I use only the touchpad. But I can lend out
one.

Is it possible to reset the touchpad while running?

Jörg.

-- 
The UNIX Guru's View of Sex:
# unzip ; strip ; touch ; finger ; mount ; fsck ; more ; yes ; umount ; sleep


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



Re: instruction cache throttling

2005-05-13 Thread Joerg Sommer
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>
>> Do you mean the powersave governor should controll this register too?
>> 
>> > I'm interested to discuss this more. I have been wanting this feature for a
>> > while; and even have written some code for it a couple of times, but I 
>> > tend to
>> > get distracted too easily when it comes to hobby code.
>> 
>> Is your code anywher available?
>
> I would suggest you first write some kind of hack to control it via
> sysfs or /proc and do some measurements to see if there is any real
> benefit in throttling...

Here is the hack http://www.minet.uni-jena.de/~joergs/ictc/. I don't know
if its correct, but it doesn't make the kernel oops.

Jörg.

-- 
Professor: "Gott", unverständliches und mythisches Wesen, das sich einmal
  pro Woche im Kreis der Sterblichen manifestiert um Weisheit auf Folien
  unter das Volk zu bringen.(Dschungelbuch 11, FSU Jena)


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



Re: instruction cache throttling

2005-05-14 Thread Joerg Sommer
Joerg Sommer <[EMAIL PROTECTED]> wrote:
> Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>>
>>> Do you mean the powersave governor should controll this register too?
>>> 
>>> > I'm interested to discuss this more. I have been wanting this feature for 
>>> > a
>>> > while; and even have written some code for it a couple of times, but I 
>>> > tend to
>>> > get distracted too easily when it comes to hobby code.
>>> 
>>> Is your code anywher available?
>>
>> I would suggest you first write some kind of hack to control it via
>> sysfs or /proc and do some measurements to see if there is any real
>> benefit in throttling...
>
> Here is the hack http://www.minet.uni-jena.de/~joergs/ictc/. I don't know
> if its correct, but it doesn't make the kernel oops.

I used this module today and I don't see any difference to the life
without. I use 254 because 255 cause very high cpu load.

Jörg.
-- 
Wenn du nur einen Hammer hast, sieht jedes Problem aus wie ein Nagel.


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



Re: instruction cache throttling

2005-05-16 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> Benjamin Herrenschmidt <[EMAIL PROTECTED]> writes:
>> Did you see a significant difference in battery consumption with
>> different ictc values ?
>
> In my non-scientific messing around, which looked at temperature, not battery
> life, it seemed to me that using ICTC resulted in a hotter chip than not using
> it, for a load less than 100%.

Interesting. I would say my cpu doesn't get hot as normal. But I'm not
sure.

> My test load was just playing Ogg Vorbis files, IIRC if I used ICTC to
> make my iBook run with an effective execution rate of 133MHz, playing
> music took about 80% of CPU.

How do you set the ictc? With a value of 254 and 600MHz I play mp3s
with load nearly zero. Because this I think my module do not work.

Do you have any lines of code?

Jörg.
-- 
- StGB §§ 328 Absatz 2, Nr.3 : Mit Freiheitsstrafe bis zu
fünf Jahren oder mit Geldstrafe wird bestraft, wer eine
nukleare Explosion verursacht.


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



Re: instruction cache throttling

2005-05-16 Thread Joerg Sommer
Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
> On Sat, 2005-05-14 at 21:11 +0000, Joerg Sommer wrote:
>> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>> > Here is the hack http://www.minet.uni-jena.de/~joergs/ictc/. I don't know
>> > if its correct, but it doesn't make the kernel oops.
>> 
>> I used this module today and I don't see any difference to the life
>> without. I use 254 because 255 cause very high cpu load.
>
> Did you see a significant difference in battery consumption with
> different ictc values ?

No. I think it doesn't work.

Jörg.
-- 
Kluge Rede, der nicht Tat folgt, wird dir ohne Früchte darben -
ist wie eine Wunderblume: ohne Duft, nur reich an Farben.
  (Gautama Buddha, Dhammapada)


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



Re: instruction cache throttling

2005-05-17 Thread Joerg Sommer
Joerg Sommer <[EMAIL PROTECTED]> wrote:
> Benjamin Herrenschmidt <[EMAIL PROTECTED]> wrote:
>> On Sat, 2005-05-14 at 21:11 +, Joerg Sommer wrote:
>>> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>>> > Here is the hack http://www.minet.uni-jena.de/~joergs/ictc/. I don't know
>>> > if its correct, but it doesn't make the kernel oops.
>>> 
>>> I used this module today and I don't see any difference to the life
>>> without. I use 254 because 255 cause very high cpu load.
>>
>> Did you see a significant difference in battery consumption with
>> different ictc values ?
>
> No. I think it doesn't work.

I took the false values. It is not only putting the value into the
register. To enable ictc bit one of the register must be enabled.
Unfortunately I tried powers of two. :-( Now with 15 (divider = 10) it
works and the system behaves like a slower system. Playing a mp3 with
xmms consumes nearly 50 percent of cpu.

But I observed a higher power consumption. I don't know why.

Jörg.
-- 
Wer in einem gewissen Alter nicht merkt, dass er hauptsächlich von
Idioten umgeben ist, merkt es aus einem gewissen Grunde nicht.
(Curt Goetz)


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



Re: instruction cache throttling

2005-05-18 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> the ICTC. Try some small odd values like 3 or 7 and see what happens. The
> information on ICTC usage is from "MPC7450 RISC Microprocessor Family User's
> Manual", section 10.3.

I found this document:
http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/2EF555D341769CE787256E470077DD3D/$file/750gx_um_pub.pdf

> I also started a Wiki page about power consumption on the iBook G4, but
> currently it has no really new information.

Where?

In the IBM document I read you need to set HID0[DPM] = 1. I don't know,
if this is currently done.

Do you know how to read the ictc register in OSX?

Jörg.
-- 
Gienger's Law (http://www.bruhaha.de/laws.html):
Die Wichtigkeit eines Newspostings im Usenet ist reziprok zur Anzahl der
enthaltenenen, kumulierten Ausrufungszeichen.


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



Re: instruction cache throttling

2005-05-18 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> Joerg Sommer <[EMAIL PROTECTED]> writes:
>>
>> I took the false values. It is not only putting the value into the
>> register. To enable ictc bit one of the register must be enabled.
>> Unfortunately I tried powers of two. :-( Now with 15 (divider = 10) it
>> works and the system behaves like a slower system. Playing a mp3 with
>> xmms consumes nearly 50 percent of cpu.
>>
>> But I observed a higher power consumption. I don't know why.
>
> I think a higher consumption could be explained, but I haven't looked at it in

How? I think ICT is useful to reduce power consumption and increase time
working with battery.

> If the idle state uses less power than the running state, then it is probably
> better to run the instructions as quickly as possible, and then spend as much
> time as possible in the idle state. If this is the case (which could be
> verified by looking at kernel source code and the device datasheet), then ICTC
> is only going to reduce power consumption for loads which will be using 100%
> of CPU at high speed. But this application is not particularly useful for a
> desktop machine.

How do you measure the power consumption? I look at /proc/pmu/battery_0,
but unfortunately there are only values when running without power
connection (discharge battery).

Jörg.
-- 
Nur tote Fische schwimmen mit dem Strom.


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



Battery charge cycles

2005-05-18 Thread Joerg Sommer
Hi,

I saw OS X can show the count of charge cycles. Can we have this in Linux
too?

http://www-astro.phys.metro-u.ac.jp/users/masai/darwin-app.html

Jörg.
-- 
Der kommt den Göttern am nächsten, der auch dann schweigen kann,
wenn er im Recht ist. (Cato; 234-149 v. Chr.)


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



Re: instruction cache throttling

2005-05-18 Thread Joerg Sommer
John Steele Scott <[EMAIL PROTECTED]> wrote:
> Joerg Sommer <[EMAIL PROTECTED]> writes:
>> John Steele Scott <[EMAIL PROTECTED]> wrote:
>> I found this document:
>> http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/2EF555D341769CE787256E470077DD3D/$file/750gx_um_pub.pdf
>
> Ah, I didn't realise that the IBM chips had ICTC as well. My code checks the
> chip type in ict_init. Currently it will only run on the 7450 based CPUs. I
> referenced the Motorola datasheet because I have a G4; I had not looked at the
> IBM one before.
>
> What CPU are you using?

I have a G4 too, but I found the document before with google.

How system clock calibration is done after switching the frequency in
pmac_cpufreq? We need to adjust the clock after changing ICTC too. My
clock drifts away.

Jörg.
-- 
"...anytime you install something new on the Windows platform, you risk
spending the next five or six hours trying to figure out what happened"
 -- Robert Roblin, Adobe


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



Re: Battery charge cycles

2005-05-19 Thread Joerg Sommer
Matthias Grimm <[EMAIL PROTECTED]> wrote:
> On Wed, 18 May 2005 13:50:53 + (UTC)
> Joerg Sommer <[EMAIL PROTECTED]> wrote:
>
>> Hi,
>> 
>> I saw OS X can show the count of charge cycles. Can we have this in Linux
>> too?
>
> Pbbuttond does this if enabled. See option batlog.

I thought pbbuttonsd counts the cycles itself. Can pbbuttons tell me the
count of charging cycles now after a year?

Jörg.
-- 
Diskutiere nie mit einem Idioten:
Sie ziehen Dich auf ihr Niveau herab und schlagen Dich dann mit
Erfahrung.


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



Re: mount a new partition on /home

2005-05-19 Thread Joerg Sommer
Moritz Lutz <[EMAIL PROTECTED]> wrote:
> Yes thats true.
> You have to login as root unmount your drive!
>
> umount /home

Better: Let /home mounted and mount /dev/root to /mnt. Move then
/mnt/home/* to /home and unmount /mnt.

Jörg.
-- 
Je planmäßiger ein Mensch vorgeht,
desto stärker mag ihn der Zufall treffen.
Erich Krunau "Die Physiker"


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



clock drift

2005-05-25 Thread Joerg Sommer
Hi,

I've an iBook G4 and I observe a clock drift. I don't know if it is new
or there for longer time.

#v+
$ ntpdate -q server; sleep 5; !ntp
ntpdate -q server; sleep 5; ntpdate -q server
server 192.168.0.1, stratum 2, offset 1.169256, delay 0.02589
25 May 13:26:31 ntpdate[31805]: step time server 192.168.0.1 offset 1.169256 sec
server 192.168.0.1, stratum 2, offset 1.170198, delay 0.02589
25 May 13:26:36 ntpdate[31811]: step time server 192.168.0.1 offset 1.170198 sec
#v-

I update my clock with ntpdate -B everytime the interface comes up. This
means after every sleep ntpdate is run. Because this I didn't see every a
big clock drift like some minutes, but the drift above means 16 seconds
per day, which is really heavy.

Does anyone know where this drift comes from? Is it caused by the time
while waking up or going sleep.

Jörg.
-- 
Nur tote Fische schwimmen mit dem Strom.


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



Re: following addresses had permanent fatal errors

2005-05-28 Thread Joerg Sommer
Mauro <[EMAIL PROTECTED]> wrote:
> Can someone plese take the following target off the mailing list?  
> <[EMAIL PROTECTED]>
> 
> I keep on getting:
> <[EMAIL PROTECTED]>
> mailed back to me for some time now.
>
> It's obviously related to this debian mailing list as the headers show:
> List-Post: 

Has this list an admin who can disable delivery to this account?

Jörg.
-- 
Je planmäßiger ein Mensch vorgeht,
desto stärker mag ihn der Zufall treffen.
Erich Krunau "Die Physiker"


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



Re: iBookG4 pseudo-sleep / 2.6.3 problems

2004-06-08 Thread Joerg Sommer
begin  Sébastien FRANÇOIS <[EMAIL PROTECTED]> wrote:
> Hello, 
> I have met a problem when leaving my laptop using the new 2.6.3 kernel, it 
> sometimes sleep, but no in a manner I'd want, it simply shutdown, without 
> saving anything ... I have not found out yet how long it takes for it to 
> stop, I will keep you informed

I experienced the same problem at me with a 2.6.6 kernel. If the lid is
closed a unknown period the ibook powers off. The G4 doesn't support
sleep-mode currently so the backgroud light is only switched off. But
maybe there is a piece hardware which powers off the iBook if the lid is
close too long. I have also the presumption that this only happens if it
runs with battery, but I'm not sure.

Does anyone else experienced this? Is there a solution?

Joerg.
end.
-- 
»Perl - the only language that looks the same
 before and after RSA encryption.«   -- Keith Bostic



Re: iBookG4 pseudo-sleep / 2.6.3 problems

2004-07-14 Thread Joerg Sommer
begin  Sam George <[EMAIL PROTECTED]> wrote:
> On Sat, 10 Jul 2004 13:57:44 +0200
> Helge Kreutzmann <[EMAIL PROTECTED]> wrote:
>
>> On Tue, Jun 08, 2004 at 09:33:01PM +, Joerg Sommer wrote:
>> > I experienced the same problem at me with a 2.6.6 kernel. If the lid is
>> > closed a unknown period the ibook powers off. The G4 doesn't support
>> > sleep-mode currently so the backgroud light is only switched off. But
>> > maybe there is a piece hardware which powers off the iBook if the lid is
>> > close too long. I have also the presumption that this only happens if it
>> > runs with battery, but I'm not sure.
>> > 
>> > Does anyone else experienced this? Is there a solution?
>> 
>> Yes, I had that once too. Shortly closing the lid does no harm, but
>> a few minutes shut it down. Recent iBook G4 (1 Mhz), Bens 2.4.25,
>> PowerBook6,5. I have not experimented further on this. And yes, this
>> was on battery.
>> 
>> Greetings
>> 
>>  Helge
>
> This problem also exists with 2.4.25-powerpc on a pismo.  It maybe
> something to do with pbbuttonsd and seems to only happen when you set

I wouldn't say its caused by pbbuttonsd, because I suppose pbbuttonsd
shutdown the system cleanly and not call halt -f. I don't think it is a
problem the system is shut down, but is should happen cleanly (unmounting
all filesystems).

Jörg.
end.
-- 
Thema: Der FSR bringt die Evalusationshefte erst ein Semester nach der
Evaluation raus.
Prof: Was will man auch von Leuten erwarten, die für ihre Arbeit nicht
bezahlt werden.



current power consumption

2004-07-14 Thread Joerg Sommer
Hi,

is it possible to get the current power consumtion from
/proc/pmu/battery_0?

$ cat /proc/pmu/battery_0 

flags  : 0013
charge : 3789
max_charge : 3930
current: 195
voltage: 12650
time rem.  : 2603

I've measured a power consumption of 24 Watt, but I don't know where to
find this in values above. What are the units of the values above? Is
charge and max_charge in Ah (Ampere hours) and voltage in mV? Why current
is 0 if the battery is full? The laptop still consumes power.

Bye, Jörg.

PS: I have a iBook G4
$ cat /proc/cpuinfo 
processor   : 0
cpu : 7455, altivec supported
clock   : 606MHz
revision: 3.3 (pvr 8001 0303)
bogomips: 610.30
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags  : 000a
L2 cache: 256K unified
memory  : 256MB
pmac-generation : NewWorld

-- 
Hügelschäfer's Law (http://www.bruhaha.de/laws.html):
Beiträge werden dort gepostet, wo sie den größten Widerstand hervorrufen.



nvsetvol = -8

2004-08-21 Thread Joerg Sommer
Hi,

I've booted OS X and left the sound muted while restarting. Now nvsetvol
shows -8.

# nvsetvol 
current volume is -8

What does this mean?

Bye, Joerg.

-- 
$ cat /dev/random
#!/usr/bin/perl -WT
print "hello world\n";



Re: nvsetvol = -8

2004-08-23 Thread Joerg Sommer
begin  Elimar Riesebieter <[EMAIL PROTECTED]> wrote:
> On Sat, 21 Aug 2004 the mental interface of
> Joerg Sommer told:
>
>> Hi,
>> 
>> I've booted OS X and left the sound muted while restarting. Now nvsetvol
>> shows -8.
>> 
>> # nvsetvol 
>> current volume is -8
>> 
>> What does this mean?
>
> man nvsetvol

Which part of the manpage says what's the meaning of -8. And, well, the
manpage negates the existence of -8.

Joerg.
end.
-- 
MCSE = Minesweeper Consultant & Solitaire Expert



  1   2   >