G4 macmini power button usable?

2007-06-08 Thread Pancho Horrillo
Hi everybody.

[Please, kindly CC to me, since I'm not subscribed.]

I would like to be able to use G4 macmini's power button in an ACPI-like
fashion (e.g., to shut down the beast in an orderly manner).

showkey does not see it as a key, ergo, cannot configure pbbuttonsd to
use the signal... :-(

Any ideas?

Thanks!


-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


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



Re: G4 macmini power button usable?

2007-06-08 Thread Pancho Horrillo
On Fri, Jun 08, 2007 at 09:55:11AM +0200, Johannes Berg wrote:
 On Fri, 2007-06-08 at 09:34 +0200, Pancho Horrillo wrote:
 
  showkey does not see it as a key, ergo, cannot configure pbbuttonsd to
  use the signal... :-(
 
 Actually, if it's supported, the number is 116 (IIRC)
 
Oh, that would be the power button at the keyboard.  No problems with
that one.  I was referring to the power button at the macmini chassis
proper.

Thanks anyway!

 johannes


pancho.

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


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



Re: Monitor never suspends on G4 Mac Mini with Sony Flat Panel

2006-04-15 Thread Pancho Horrillo
On Fri, Apr 14, 2006 at 08:30:23PM -0700, Shyamal Prasad wrote:
 Hey Pancho,
 
 The more I look at this the more I think your monitor is a little
 different.
 
 [EMAIL PROTECTED]:~$ /usr/sbin/ddcprobe | grep name
 monitorname: SDM-S204
 
 but your xorg.conf lists the monitor as being an SDM-S204E. Could you
 confirm? 
$ ddcprobe | grep name
monitorname: SDM-204E

The Force serves you well...

 But after trying out your xorg.conf changes (mostly AGP parameters)
 I'm still not able to put this monitor to sleep. Still working on it
 though ;)
 
Good luck!

[warnung: ze rest is offtopik!]
 Pancho P.S.: I'm from spain; where are you from? Your name sounds
 Pancho like hindi?
 
 I'm in Redmond, Washington, USA (home of you know who, but I have
 nothing to do with you know who except that many of my friends do work
 there). But, yes, I was born in India so your guess about my name is a
 good one. The name is actually a Bengali name and not a Hindi one. I
 was born close to the state of West Bengal and my parents picked a
 local name for me (I understand and speak Spanish much better than
 Bengali, but that is not saying much about my Spanish skills at all :)
 
Cool.
Hey, I also speak Spanish much better than Bengali! :P

 
 Cheers!
 Shyamal
 
 
 
Have fun, buddy!

pancho.

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


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



Re: Monitor never suspends on G4 Mac Mini with Sony Flat Panel

2006-04-13 Thread Pancho Horrillo
On Wed, Apr 12, 2006 at 10:20:20PM -0700, Shyamal Prasad wrote:
 
 Hi folks,
 
Hi!

 I have a very straight forward Debian etch installation on a G4 Mac
 Mini.
 
Same thing I have.

 One issue with X (xorg) is that the monitor (a Sony flat panel, SDM
 S204) never seems to go into the sleep state. The screen seems to
 blank and all, but the monitor continues to run at full power.
 
Same monitor, too.

 If I issue an 'xset dpms force standby' (or sleep etc.) the screen
 blanks, but the monitor continues to run at full power. 'xset q' shows
 DPMS being on.
 
xset dpms etc... works for me, i.e. the monitor goes to low power mode.

 Under Mac OS X I do not have this issue, the monitor goes into a low
 power state when the screen blanks.
 
No macosx in my box...

 From xorg.conf, some relevant bits:
 
 
 Section Monitor
 Identifier  SDM-S204
 Option  DPMS
 HorizSync   28-75
 VertRefresh 57-63
 EndSection
 
 Section Screen
 Identifier  Default Screen
 Device  ATI Technologies, Inc. RV280 [Radeon 9200]
 Monitor SDM-S204
 
Same lines here.

 
 The only other data point I have is this: I used to have this monitor
 hooked up to a dual G5 tower and I had the same problem when running
 Linux. So perhaps it is the monitor. Both systems were running a
 2.6.16-1-powerpc[64] kernel.
 
Custom-compiled linux-2.6.16.5, but have had no problems regarding this
issue with several other 2.6.x linuxes, either debian and custom.

 Any ideas on how to fix this?

Do you use DVI or plain vga cable?

I have another box (an intel with a radeon 9250) connected to the same
monitor, through the vga port. Once I select that input (vga), I cannot
go back to the DVI one, where the mac mini is connected; I have to power
off manually the monitor (hard switch), because it freezes!

I'll supply you with any cfg files you may want to examine. Just ask.

 Best regards,
 Shyamal
 
Have fun,

pancho.

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


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



Re: Monitor never suspends on G4 Mac Mini with Sony Flat Panel

2006-04-13 Thread Pancho Horrillo
On Thu, Apr 13, 2006 at 08:30:31AM -0700, Shyamal Prasad wrote:
 Cool - some one with exactly the same configuration :)
 
Yeah! :)
 Are you running stable or testing?
 
testing

 Pancho Do you use DVI or plain vga cable?
 
 DVI
With the cable that came with the monitor? Just a wild idea...

 Could you please send me your xorg.conf file and the kernel config you
 are using so I can try exactly the same configuration. I presume you
 built your kernel off the source package in unstable?
 
I have attached xorg.conf, config-2.6.16.5 (vanilla linux), and a list
of installed packages in my mac mini. Please note that the
aforementioned config-2.6... builds a REALLY monolithic kernel, with all
the functionality I need built in, and no modules at all. You've been
warned :-).

 Also, is there any chance you could try the stock 2.6.15 kernel in
 testing to see if you can recreate my problem? I'd like to know if
 this is just me or there is a problem with the kernel configuration.
 
Just tried it (linux-image-2.6.15-1-powerpc), and no problem at all!

$ xset dpms force standby

does the trick in X, and pressing power button (thanks to pbbuttonsd)
does it in plain console. Note: I have a happy hacking pro keyboard,
which has mac keys (vol up  down, power, mute, eject), although only
power works reliably for me; still working with the others... Won't
you by chance have the same keyboard? :)

 Cheers!
 Shyamal

May the Source be with you. Good luck!

pancho.

P.S.: I'm from spain; where are you from? Your name sounds like hindi?

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


config-2.6.16.5.bz2
Description: Binary data


xorg.conf.bz2
Description: Binary data


installed_packages.bz2
Description: Binary data


How can I get rid of the starting bong! (G4-mac mini)?

2006-03-29 Thread Pancho Horrillo
Hi!

Mi G4 mac mini, following apple tradition, starts with a noisy bong!.
This is a real nuissance for me; I've talked to him, but to no avail...

Googling I found this app, for MacOS X:
http://www5e.biglobe.ne.jp/~arcana/software.en.html

but no MacOS X is installed in my mac, only etch.

Next step is asking to them about how the app works (I got their email);
but I tought of asking here first, and maybe coordinate efforts, etc.

Obvious stuff I tried:
. The bong sounds even if headphones are plugged. Through the internal
speaker, I mean.
. Tried to press [mute] key before pressing the power button, but this
is a usb happy hacking, not an ADB mac keyboard...
. Tried setting the volume to 0 before shutting down the beast. No
avail.

Speakerectomy apart, do you know any way to disable this bong? Any
OpenFirmware variable that can be set? (I've looked for it, too, but no
luck either).

I tell you that this is troublesome for me: I live in an old building;
the walls are very thin..., and due to the (bad) architecture of the
building, the bong can be heard by, virtually, everyone. Specially at
night. I can hear clearly the conversations of at least three different
neighbours... 

Thank you,

Pancho.

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


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



Re: How can I get rid of the starting bong! (G4-mac mini)?

2006-03-29 Thread Pancho Horrillo
On Wed, Mar 29, 2006 at 03:45:30PM +0200, Johannes Berg wrote:
 On Wed, 2006-03-29 at 15:39 +0200, Pancho Horrillo wrote:
 
  Mi G4 mac mini, following apple tradition, starts with a noisy bong!.
  This is a real nuissance for me; I've talked to him, but to no avail...
 
 nvsetvol 0
 
It works!

Danke.

 johannes

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


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



Trouble getting mac mini builtin modem to work

2006-03-08 Thread Pancho Horrillo
Hi everybody!

I am trying to get the built-in modem of my mac mini to work (if only
for nostalgic purposes :), but no luck so far...

This is what linux sees:

Linux venus 2.6.15.6 #1 PREEMPT Tue Mar 7 21:37:17 CET 2006 ppc GNU/Linux

ttyS0 at MMIO 0x80013020 (irq = 22) is a Z85c30 ESCC - Serial port
ttyS1 at MMIO 0x80013000 (irq = 23) is a Z85c30 ESCC - Serial port


The devices appear nicely (thanks, udev :) in /dev:

crw-rw  1 root dialout 4, 64 2006-03-09 08:06 /dev/ttyS0
crw-rw  1 root dialout 4, 65 2006-03-09 08:00 /dev/ttyS1

And now the tricky part... I've tried minicom on both serial ports, and
with the whole bunch of baud rates, but no luck. No response at all from
the ports. Which makes me think that, perhaps, the built-in modem is not
connected to any of these serial ports? If so, why on earth would apple
add two serial ports connected to nothing but air (there are no serial
connectors in the rear plate)? :-) Hey, legacy stuff in mac? :-P

Indeed, I have no idea whether the built-in modem is a softmodem or not.

Anybody has experimented with this? any ideas would be very appreciated.


Nice piece of hardware, this mac mini. Working in almost complete
silence is priceless for me...

And thanks to the contributors of this list; with the info I gathered
from here I got it working with no hassle, even the sound mixer issue
was solved in this list!


Thank you,

Pancho.

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


signature.asc
Description: Digital signature


Re: HFS/HFS+ mounting problems: HFS-fs: Filesystem is marked locked, mounting read-only.

2006-01-03 Thread Pancho Horrillo
On Tue, Jan 03, 2006 at 11:45:36PM +0100, Jesus Climent wrote:
 On Tue, Jan 03, 2006 at 07:40:22PM +0100, [EMAIL PROTECTED] wrote:
  Greetings, Mr. Data!
  
  At this document,
  
  http://www.e-vse.com/csi/doc/hfs/Release%201.0A/HFS%20Provisional.pdf
  
  look for the WAKEUP command. It says (quote):
  
  'Certain parts of the HFS are necessarily single-threaded.  If problems
  occur, it is possible that HFS can be left in a _locked_ state with one
  or more partitions and/or subtasks left in an undenning wait state. The
  WAKEUP command will free all of outstanding waits that currently exist
  for HFS. Use this with caution blah blah blah...'
  
  Note that the aforementioned WAKEUP command belongs to CSIHFBAT utility,
  which I take must belong to MacOS X (wild guess).
 
 Still no luck with that hint. The only information I already found some time
 ago is refering to the same problem here:

Sorry to read that.

 
 http://lists.pdxlinux.org/pipermail/plug/2005-July/041620.html
 
 Otherwise, I am now using MacOSX to transfer things to my iPod.

If you are willing to disable the code that forces the read-only mount
at linux kernel, I can send you a patch.

 
 Cheers,
 

Bona nit!

 -- 
 Jesus Climent  info:www.pumuki.org
 Unix SysAdm|Linux User #66350|Debian Developer|2.6.14|Helsinki Finland
 GPG: 1024D/86946D69 BB64 2339 1CAA 7064 E429  7E18 66FC 1D7F 8694 6D69
 
 The fool looks at a finger that points at the sky.
   --The Sacré-Coeur Boy (Amelie)
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

El Pancho.

-- 
Pancho Horrillo

To be conscious that
you are ignorant is a great step
to knowledge.

Benjamin Disraeli


signature.asc
Description: Digital signature