Re: [gentoo-user] full shutdown

2009-04-01 Thread Simon
I was only able to test briefly and got it working, but only when i
did it manually.
Seems adding a rmmod line in local.stop doesnt help, I've been trying
to add other lines before like killall -9 mplayer (which is the main
prog using the sound device usually).

I'll be able to work my way!  Thanks a lot!

On Mon, Mar 30, 2009 at 3:17 AM, Steffen Loos fe...@gmx.net wrote:
 Steffen Loos schrieb:
 Simon schrieb:
 Hi there,
   this must be simple (it always is) but I can't figure out by myself.
  I have one of the first eeepc (4gb) and when issuing `shutdown -h
 now` the computer shutdown perfectly but forgets to cut the current.
 I have to press the power button 4 sec to cut it manually.
 On some systems (ubuntu, if i remember right) there was/is(?) an issue with 
 the sound driver: please try do onload before you shutdown.

 / modprobe -v snd-hda-intel
 sorry,
 / modprobe -rv snd-hda-intel


 Steffen





-- 
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking.  The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov



Re: [gentoo-user] full shutdown

2009-03-31 Thread Simon
OK, i'll check this out tonight (if i have enough time, and if i can remember!)

Thanks!

On Sat, Mar 28, 2009 at 11:39 PM, Mike Kazantsev
mike_kazant...@fraggod.net wrote:
 On Sat, 28 Mar 2009 17:24:39 -0400
 Simon turne...@gmail.com wrote:

   I'm recompiling the kernel almost as often as I breathe and i wonder
 if I'm not missing some steps (during or after)...  I have acpi
 installed and init.d/acpi is started.  acpi support was compiled in
 kernel and i tried with and without the CONFIG_ACPI_ASUS with no
 difference.  I'm using kernel 2.6.24 (for several drivers that are
 most compatible with this one).  I have almost the same install on 2
 different PCs (with obvious tweakings in kernel options and /etc) and
 the most recent one shuts down correctly, the older one does the same
 thing as my eeepc...

 Make sure you have these:

 PM and ACPI --
  [X] PM support
  [X] ACPI support --
    [X] Button

 Even VMs won't cut the (virtual) power w/o these options.

 --
 Mike Kazantsev // fraggod.net




-- 
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking.  The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov



Re: [gentoo-user] full shutdown

2009-03-31 Thread Simon
Interesting, I do use that module for sound...
I'll try to rmmod it before shutting down...

But my older pc (not eeepc) which has the same issue uses another
driver... so maybe the problem is both with kernel options and with
this driver on the eeepc...  ill give it a try!

Thanks a lot!

On Mon, Mar 30, 2009 at 3:15 AM, Steffen Loos fe...@gmx.net wrote:

 Simon schrieb:
 Hi there,
   this must be simple (it always is) but I can't figure out by myself.
  I have one of the first eeepc (4gb) and when issuing `shutdown -h
 now` the computer shutdown perfectly but forgets to cut the current.
 I have to press the power button 4 sec to cut it manually.
 On some systems (ubuntu, if i remember right) there was/is(?) an issue with 
 the sound driver: please try do onload before you shutdown.

 / modprobe -v snd-hda-intel


 Steffen








-- 
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking.  The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov



Re: [gentoo-user] full shutdown

2009-03-30 Thread Steffen Loos

Simon schrieb:
 Hi there,
   this must be simple (it always is) but I can't figure out by myself.
  I have one of the first eeepc (4gb) and when issuing `shutdown -h
 now` the computer shutdown perfectly but forgets to cut the current.
 I have to press the power button 4 sec to cut it manually.
On some systems (ubuntu, if i remember right) there was/is(?) an issue with the 
sound driver: please try do onload before you shutdown.

/ modprobe -v snd-hda-intel


Steffen






Re: [gentoo-user] full shutdown

2009-03-30 Thread Steffen Loos
Steffen Loos schrieb:
 Simon schrieb:
 Hi there,
   this must be simple (it always is) but I can't figure out by myself.
  I have one of the first eeepc (4gb) and when issuing `shutdown -h
 now` the computer shutdown perfectly but forgets to cut the current.
 I have to press the power button 4 sec to cut it manually.
 On some systems (ubuntu, if i remember right) there was/is(?) an issue with 
 the sound driver: please try do onload before you shutdown.
 
 / modprobe -v snd-hda-intel
sorry, 
/ modprobe -rv snd-hda-intel


Steffen



[gentoo-user] full shutdown

2009-03-28 Thread Simon
Hi there,
  this must be simple (it always is) but I can't figure out by myself.
 I have one of the first eeepc (4gb) and when issuing `shutdown -h
now` the computer shutdown perfectly but forgets to cut the current.
I have to press the power button 4 sec to cut it manually.

  I'm recompiling the kernel almost as often as I breathe and i wonder
if I'm not missing some steps (during or after)...  I have acpi
installed and init.d/acpi is started.  acpi support was compiled in
kernel and i tried with and without the CONFIG_ACPI_ASUS with no
difference.  I'm using kernel 2.6.24 (for several drivers that are
most compatible with this one).  I have almost the same install on 2
different PCs (with obvious tweakings in kernel options and /etc) and
the most recent one shuts down correctly, the older one does the same
thing as my eeepc...

  When recompiling the kernel, I do: make  make modules_install;
then I recompile the drivers i have and install them, is there
anything else i should recompile, like should i re-emerge acpi?

  Also, I dont think it's related but, when doing 'startx', after,
when shutting down, the console screen doesnt update and is stuck on
the x11 and fvwm2 messages... it doesnt show the progress, any ideas?
(this is secondary though)

Thanks in advance guys!
  Simon

-- 
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking.  The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov



Re: [gentoo-user] full shutdown

2009-03-28 Thread Mike Kazantsev
On Sat, 28 Mar 2009 17:24:39 -0400
Simon turne...@gmail.com wrote:

   I'm recompiling the kernel almost as often as I breathe and i wonder
 if I'm not missing some steps (during or after)...  I have acpi
 installed and init.d/acpi is started.  acpi support was compiled in
 kernel and i tried with and without the CONFIG_ACPI_ASUS with no
 difference.  I'm using kernel 2.6.24 (for several drivers that are
 most compatible with this one).  I have almost the same install on 2
 different PCs (with obvious tweakings in kernel options and /etc) and
 the most recent one shuts down correctly, the older one does the same
 thing as my eeepc...

Make sure you have these:

PM and ACPI --
  [X] PM support
  [X] ACPI support --
[X] Button

Even VMs won't cut the (virtual) power w/o these options.

-- 
Mike Kazantsev // fraggod.net


signature.asc
Description: PGP signature