Re: [gentoo-user] Laptop internal speakers no longer working after recent updates

2021-09-01 Thread Alexander Puchmayr
Am Dienstag, 31. August 2021, 19:24:15 CEST schrieb Michael:
> On Tuesday, 31 August 2021 12:08:04 BST Alexander Puchmayr wrote:
> > Am Dienstag, 31. August 2021, 00:18:43 CEST schrieb Michael:
> > > If the alsa drivers are not compiled as modules, the above file would
> > > not
> > > have any effect.  Anyway, let's try this in /etc/asound.conf:
> > > 
> > > defaults.pcm.card 1
> > > defaults.pcm.device 0
> > > defaults.ctl.card 1
> > > 
> > > On a reboot your Generic_1 analogue card should be available and
> > > recognised
> > > as the default audio device.  You may need to unmute it, via pactl or
> > > kmix.
> > 
> > Sorry, didn't change anything.
> > 
> > I doubt that the problem is wrong default settings of alsa.
> > 
> > I run pulseaudio -vvv and the output was interesting:
> > 
> > Pci:00/:00:08.1/:07:00.1/sound/card0
> > and
> > pci:00/:00:08.1/:07:00.6/sound/card1
> > 
> > Where the latter one is the one that is not used by pulseaudio.
> > 
> > Both report  "UCM available for card HD-Audio Generic"
> > Note: the card name "HD-Audio Generic" is identical, and this is reported
> > by alsa-libs, as far as I could see from the code.
> 
> Your *card* names according to your 'aplay -l' output are/were:
> 
> card 0: Generic
> card 1: Generic_1
> card 3: Headset
> 
> You can re-check this with:
> 
> aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq
> 
> 
> Another way to discover all card name(s) including unused cards is by the
> output of:
> 
> cat /sys/class/sound/card*/id
> 
> The alsa-ucm function involves creating use case alsa mixer profiles,
> similar to pulseaudio profiles and will work even without pulseaudio
> running.   If a UCM configuration file exists for a card, then pulseaudio
> will ignore built-in profiles and will generate a profile based on the UCM
> config file.
> 
> Take a look at:
> 
> /usr/share/alsa/ucm2/README.md
> 
> and for various mixer profiles look under /usr/share/alsa/ucm2/
> 
> However, my usage of pulseaudio  has been cursory and don't know much about
> its auto-configuration.  In any case, I suspect the alsa-ucm output is only
> relevant in highlighting the common codec name, as you confirm below.
> 
> > [...]
> > 
> > Alsa-info.sh reveals further info:
> > !!Soundcards recognised by ALSA
> > !!-
> > 
> >  0 [Generic]: HDA-Intel - HD-Audio Generic
> >  
> >   HD-Audio Generic at 0xfd3c8000 irq 91
> >  
> >  1 [Generic_1  ]: HDA-Intel - HD-Audio Generic
> >  
> >   HD-Audio Generic at 0xfd3c irq 92
> >  
> >  2 [acp]: acp - acp
> >  
> >   acp
> > 
> > To me it looks like as if pulseaudio is quering card0, getting the name
> > "HD- Audio Generic", finding the HDMI channels; then it tries to read
> > card1, gets also "HD-Audio Generic" as name and hence the same channels
> > as for card0.
> > 
> > I have no idea how to fix this.
> > 
> > Cheers
> > 
> > Alex
> 
> As I understand it, "HD-Audio" is the kernel driver (CONFIG_SND_HDA=m) and
> "Generic" is the generic codec parser (CONFIG_SND_HDA_GENERIC=m) used by the
> snd-hda-intel module (CONFIG_SND_HDA_INTEL=m) - unless a specific model
> codec is (also) configured for a card, e.g. in my case I have
> CONFIG_SND_HDA_CODEC_CONEXANT=m
> 
> If in your recent system update/upgrade you did not change your kernel, or
> the available options of any audio modules under /etc/modprobe.d/ then the
> drivers were always configured so and therefore the problem you experience
> now is unlikely to be caused by the generic codec parser.
> 
> Someone more knowledgeable in pulseaudio should chime in, assuming this
> problem is being caused by pulseaudio.  :-/

I just downgraded to alsa-utils and alsa-tools 1.2.3, and the problem 
disappeared. I will keep this combination for a while until the next update.

However, I'm not sure whether this is an alsa problem or a pulseaudio problem.

Thanks for your help
   Alex






Re: [gentoo-user] Laptop internal speakers no longer working after recent updates

2021-08-31 Thread Michael
On Tuesday, 31 August 2021 12:08:04 BST Alexander Puchmayr wrote:
> Am Dienstag, 31. August 2021, 00:18:43 CEST schrieb Michael:
> > If the alsa drivers are not compiled as modules, the above file would not
> > have any effect.  Anyway, let's try this in /etc/asound.conf:
> > 
> > defaults.pcm.card 1
> > defaults.pcm.device 0
> > defaults.ctl.card 1
> > 
> > On a reboot your Generic_1 analogue card should be available and
> > recognised
> > as the default audio device.  You may need to unmute it, via pactl or
> > kmix.
> 
> Sorry, didn't change anything.
> 
> I doubt that the problem is wrong default settings of alsa.
> 
> I run pulseaudio -vvv and the output was interesting:
> 
> Pci:00/:00:08.1/:07:00.1/sound/card0
> and
> pci:00/:00:08.1/:07:00.6/sound/card1
> 
> Where the latter one is the one that is not used by pulseaudio.
> 
> Both report  "UCM available for card HD-Audio Generic"
> Note: the card name "HD-Audio Generic" is identical, and this is reported by
> alsa-libs, as far as I could see from the code.

Your *card* names according to your 'aplay -l' output are/were:

card 0: Generic
card 1: Generic_1
card 3: Headset

You can re-check this with:

aplay -l | awk -F \: '/,/{print $2}' | awk '{print $1}' | uniq


Another way to discover all card name(s) including unused cards is by the 
output of:

cat /sys/class/sound/card*/id

The alsa-ucm function involves creating use case alsa mixer profiles, similar 
to pulseaudio profiles and will work even without pulseaudio running.   If a 
UCM configuration file exists for a card, then pulseaudio will ignore built-in 
profiles and will generate a profile based on the UCM config file.

Take a look at:

/usr/share/alsa/ucm2/README.md

and for various mixer profiles look under /usr/share/alsa/ucm2/

However, my usage of pulseaudio  has been cursory and don't know much about 
its auto-configuration.  In any case, I suspect the alsa-ucm output is only 
relevant in highlighting the common codec name, as you confirm below.


> [...]
> 
> Alsa-info.sh reveals further info:
> !!Soundcards recognised by ALSA
> !!-
> 
>  0 [Generic]: HDA-Intel - HD-Audio Generic
>   HD-Audio Generic at 0xfd3c8000 irq 91
>  1 [Generic_1  ]: HDA-Intel - HD-Audio Generic
>   HD-Audio Generic at 0xfd3c irq 92
>  2 [acp]: acp - acp
>   acp
> 
> To me it looks like as if pulseaudio is quering card0, getting the name "HD-
> Audio Generic", finding the HDMI channels; then it tries to read card1,
> gets also "HD-Audio Generic" as name and hence the same channels as for
> card0.
> 
> I have no idea how to fix this.
> 
> Cheers
>   Alex

As I understand it, "HD-Audio" is the kernel driver (CONFIG_SND_HDA=m) and 
"Generic" is the generic codec parser (CONFIG_SND_HDA_GENERIC=m) used by the 
snd-hda-intel module (CONFIG_SND_HDA_INTEL=m) - unless a specific model codec 
is (also) configured for a card, e.g. in my case I have  
CONFIG_SND_HDA_CODEC_CONEXANT=m

If in your recent system update/upgrade you did not change your kernel, or the 
available options of any audio modules under /etc/modprobe.d/ then the drivers 
were always configured so and therefore the problem you experience now is 
unlikely to be caused by the generic codec parser.

Someone more knowledgeable in pulseaudio should chime in, assuming this 
problem is being caused by pulseaudio.  :-/

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


Re: [gentoo-user] Laptop internal speakers no longer working after recent updates

2021-08-31 Thread Alexander Puchmayr
Am Dienstag, 31. August 2021, 00:18:43 CEST schrieb Michael:
 
> If the alsa drivers are not compiled as modules, the above file would not
> have any effect.  Anyway, let's try this in /etc/asound.conf:
> 
> defaults.pcm.card 1
> defaults.pcm.device 0
> defaults.ctl.card 1
> 
> On a reboot your Generic_1 analogue card should be available and recognised
> as the default audio device.  You may need to unmute it, via pactl or kmix.

Sorry, didn't change anything. 

I doubt that the problem is wrong default settings of alsa. 

I run pulseaudio -vvv and the output was interesting:

Pci:00/:00:08.1/:07:00.1/sound/card0
and 
pci:00/:00:08.1/:07:00.6/sound/card1 

Where the latter one is the one that is not used by pulseaudio.

Both report  "UCM available for card HD-Audio Generic"
Note: the card name "HD-Audio Generic" is identical, and this is reported by 
alsa-libs, as far as I could see from the code.

Then it finds HDMI1-3 for both cards.

*** card0 *** 
[...]
D: [pulseaudio] module-udev-detect.c: /devices/
pci:00/:00:08.1/:07:00.1/sound/card0 is busy: no
D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments 
'device_id="0" name="pci-_07_00.1" card_name="alsa_card.pci-_07_00.1" 
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no 
deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-
udev-detect.discovered=1"'
D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: 
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon 
without a $DISPLAY for X11
I: [pulseaudio] alsa-ucm.c: UCM available for card HD-Audio Generic
I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
D: [pulseaudio] alsa-ucm.c: Got TQ for verb HiFi: HiFi
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:Generic,8
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 1300
D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=8 
Jack
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 
'CaptureChannels'for device HDMI3, assuming stereo duplex.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI2: hw:Generic,7
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI2: 1200
D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI2: HDMI/DP,pcm=7 
Jack
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 
'CaptureChannels'for device HDMI2, assuming stereo duplex.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI2
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI2
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI1: hw:Generic,3
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI1: 1100
D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI1: HDMI/DP,pcm=3 
Jack
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 
'CaptureChannels'for device HDMI1, assuming stereo duplex.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI1
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI1
[...]

*** card1 *** (the one that is ignored by pulseaudio)
[...]
D: [pulseaudio] module-udev-detect.c: /devices/
pci:00/:00:08.1/:07:00.6/sound/card1 is busy: no
D: [pulseaudio] module-udev-detect.c: Loading module-alsa-card with arguments 
'device_id="1" name="pci-_07_00.6" card_name="alsa_card.pci-_07_00.6" 
namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no 
deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-
udev-detect.discovered=1"'
D: [pulseaudio] reserve-wrap.c: Unable to contact D-Bus session bus: 
org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon 
without a $DISPLAY for X11
I: [pulseaudio] alsa-ucm.c: UCM available for card HD-Audio Generic
I: [pulseaudio] alsa-ucm.c: Set UCM verb to HiFi
D: [pulseaudio] alsa-ucm.c: Got TQ for verb HiFi: HiFi
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI3: hw:Generic,8
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI3: 1300
D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI3: HDMI/DP,pcm=8 
Jack
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 
'CaptureChannels'for device HDMI3, assuming stereo duplex.
D: [pulseaudio] alsa-ucm.c: No _conflictingdevs for device HDMI3
D: [pulseaudio] alsa-ucm.c: No _supporteddevs for device HDMI3
D: [pulseaudio] alsa-ucm.c: Got PlaybackPCM for device HDMI2: hw:Generic,7
D: [pulseaudio] alsa-ucm.c: Got PlaybackPriority for device HDMI2: 1200
D: [pulseaudio] alsa-ucm.c: Got JackControl for device HDMI2: HDMI/DP,pcm=7 
Jack
W: [pulseaudio] alsa-ucm.c: UCM file does not specify 'PlaybackChannels' or 
'CaptureChannels'for device HDMI2, assuming stereo duplex.
D: [pulseaudio] 

Re: [gentoo-user] Laptop internal speakers no longer working after recent updates

2021-08-30 Thread Michael
On Monday, 30 August 2021 21:03:02 BST Alexander Puchmayr wrote:
> Am Montag, 30. August 2021, 13:30:03 CEST schrieb Michael:

> > There was a recent move to pipewire which could have jumbled audio devices
> > around for you - but I am not familiar with how pipewire works, or why it
> > would have caused this problem.
> > 
> > https://wiki.gentoo.org/wiki/PipeWire
> 
> I did not install pipewire, so we can exclude this.

Cool, this makes it simpler, at least for me.  :-)


> Here is output of aplay -l:
>  List of PLAYBACK Hardware Devices 
> card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0
> card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257
> Analog] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 3: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
>   Subdevices: 0/1
>   Subdevice #0: subdevice #0

OK, you need to set card 1, device 0 as default.


> I added an old USB headset for testing, and *this* card (card 3) is shown in
> pavcontrol and kde-plasma audio settings, along with the three sub-devices
> of card 0; however, card 1 is not shown. In alsamixer and aplay I can see
> the device as "Generic_1", and -- after finding out the pcm name of it via
> aplay -L -- I could play some wav file with  aplay on it:
> 
> aplay -D front:CARD=Generic_1,DEV=0 some_wav_file.wav
> 
> It seems to be a pulseaudio problem, which seems to arbitrarily ignoring
> Generic_1 card.

Hmm ... not on PC with pa at the moment to compare notes.  The USB device will 
be initialised by udev, but Generic_1 will require a different approach.

Have you looked under your kmix configuration, the "Volume Control" tab?  If 
it is listed in there, you may just need to tick it in order to enable it.  
Also check under the configuration setting "Select Master Channel".


> > Alternatively, take a look at this method of controlling the order in
> > which
> > audio modules are loaded:
> > https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output
> 
> Thanks for the link, brought me to inspect /etc/modprobe.d/alsa.conf.
> Corrected the number of sound cards there, but did not help :-(
> I remember to have edited this file about 10 years ago, not sure if those
> settings are still relevant.
> 
> Cheers, Alex

If the alsa drivers are not compiled as modules, the above file would not have 
any effect.  Anyway, let's try this in /etc/asound.conf:

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

On a reboot your Generic_1 analogue card should be available and recognised as 
the default audio device.  You may need to unmute it, via pactl or kmix.

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


Re: [gentoo-user] Laptop internal speakers no longer working after recent updates

2021-08-30 Thread Alexander Puchmayr
Am Montag, 30. August 2021, 13:30:03 CEST schrieb Michael:
> On Monday, 30 August 2021 11:30:38 BST Alexander Puchmayr wrote:
> > Hi there,
> > 
> > I have a weird problem on my Lenovo P14s laptop. Before I applied a world
> > upgrade (based on August 22 state portage), the internal speaker of the
> > laptop worked fine, but now its all silent, although all mixer levels are
> > 100% and no channel is muted.
> 
> There was a recent move to pipewire which could have jumbled audio devices
> around for you - but I am not familiar with how pipewire works, or why it
> would have caused this problem.
> 
> https://wiki.gentoo.org/wiki/PipeWire
> 

I did not install pipewire, so we can exclude this.

[snip...]

> $ aplay -l
>  List of PLAYBACK Hardware Devices 
> card 0: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 1: Generic [HD-Audio Generic], device 0: CX20757 Analog [CX20757
> Analog] Subdevices: 1/1
>   Subdevice #0: subdevice #0
> 

Here is output of aplay -l:
 List of PLAYBACK Hardware Devices 
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC257 Analog [ALC257 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

I added an old USB headset for testing, and *this* card (card 3) is shown in 
pavcontrol and kde-plasma audio settings, along with the three sub-devices of 
card 0; however, card 1 is not shown. In alsamixer and aplay I can see the 
device as "Generic_1", and -- after finding out the pcm name of it via aplay -L 
-- I could play some wav file with  aplay on it:

aplay -D front:CARD=Generic_1,DEV=0 some_wav_file.wav

It seems to be a pulseaudio problem, which seems to arbitrarily ignoring 
Generic_1 card.

> Alternatively, take a look at this method of controlling the order in which 
> audio modules are loaded:
> https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output

Thanks for the link, brought me to inspect /etc/modprobe.d/alsa.conf. 
Corrected the number of sound cards there, but did not help :-( 
I remember to have edited this file about 10 years ago, not sure if those 
settings are still relevant.

Cheers, Alex









Re: [gentoo-user] Laptop internal speakers no longer working after recent updates

2021-08-30 Thread Michael
On Monday, 30 August 2021 11:30:38 BST Alexander Puchmayr wrote:
> Hi there,
> 
> I have a weird problem on my Lenovo P14s laptop. Before I applied a world
> upgrade (based on August 22 state portage), the internal speaker of the
> laptop worked fine, but now its all silent, although all mixer levels are
> 100% and no channel is muted.

There was a recent move to pipewire which could have jumbled audio devices 
around for you - but I am not familiar with how pipewire works, or why it 
would have caused this problem.

https://wiki.gentoo.org/wiki/PipeWire

In my use case the capture device (on board mic) is now always enabled upon a 
reboot and I have to manually disable it each time, because my selection is 
not being stored.

NOTE: I don't use pulseaudio on this system, just alsa and now it is alsa plus 
pipewire.  I haven't yet looked how to configure it.

 $ ps axf | grep pipe
19015 pts/5S+ 0:00  \_ /bin/grep -E --colour=auto --color=auto 
pipe
 4334 ?Sl 0:05 /usr/bin/pipewire
 4349 ?Sl 0:00  \_ /usr/bin/pipewire-media-session
 4350 ?Sl 0:00  \_ /usr/bin/pipewire -c pipewire-pulse.conf


> Observed facts:
> * Connecting a HDMI tv-set produces sound over the tv-set properly
> * Booting Win10: Internal speakers working fine --> no hw issue
> * Connecting headphone via audio jack under linux - no sound.
> * Reverting to backup makes sound work again --> config/sw problem
> introduced by update
> * In plasma's system settings/audio tray, the Speaker output device is not
> shown -- only 3xHDMI (The analog speaker seems to have gone)
> 
> The kernel is exactly the same as before the upgrade, didn't recompile it
> (sys-kernel/gentoo-sources-5.12.0) --> no kernel issue

>From the above observations it seems your default audio card has been swapped 
from analogue to HDMI.  This seems to be the default for many laptops.

[snip...]

> Any further ideas?
> 
> Thanks, Alex

You can try swapping them around by adding in /etc/asound.conf appropriate 
entries; e.g. this is what I have in mine:

defaults.pcm.card 1
defaults.pcm.device 0
defaults.ctl.card 1

Where in my case card 1, device 0, is the analogue audio device "HDA-Intel - 
HD-Audio Generic":

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: HDMI [HDA ATI HDMI], device 3: Generic Digital [Generic Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: CX20757 Analog [CX20757 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Alternatively, take a look at this method of controlling the order in which 
audio modules are loaded:

https://wiki.gentoo.org/wiki/ALSA#Laptops_with_HDMI_audio_output



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


[gentoo-user] Laptop internal speakers no longer working after recent updates

2021-08-30 Thread Alexander Puchmayr
Hi there,

I have a weird problem on my Lenovo P14s laptop. Before I applied a world 
upgrade (based on August 22 state portage), the internal speaker of the laptop 
worked fine, but now its all silent, although all mixer levels are 100% and no 
channel is muted. 

Observed facts:
* Connecting a HDMI tv-set produces sound over the tv-set properly
* Booting Win10: Internal speakers working fine --> no hw issue
* Connecting headphone via audio jack under linux - no sound.
* Reverting to backup makes sound work again --> config/sw problem introduced 
by update
* In plasma's system settings/audio tray, the Speaker output device is not 
shown -- only 3xHDMI (The analog speaker seems to have gone)

The kernel is exactly the same as before the upgrade, didn't recompile it 
(sys-kernel/gentoo-sources-5.12.0) --> no kernel issue

Relevant packet changes:
sys-kernel/linux-firmware-20210511 -> sys-kernel/linux-firmware-20210716
dev-python/pyalsa-1.1.6-r1 = dev-python/pyalsa-1.1.6-r1
Media-libs/alsa-lib-1.2.3.2-r1 -> media-libs/alsa-lib-1.2.4
Media-libs/alsa-topology-conf-1.2.3 -> media-libs/alsa-topology-conf-1.2.4
Media-libs/alsa-ucm-conf-1.2.3 -> media-libs/alsa-ucm-conf-1.2.4
Media-plugins/alsa-plugins-1.2.2 = media-plugins/alsa-plugins-1.2.2
Media-sound/alsa-tools-1.2.2-r1 = media-sound/alsa-tools-1.2.2-r1
Media-sound/alsa-utils-1.2.3 -> media-sound/alsa-utils-1.2.4
Media-libs/pulseaudio-qt-1.2 = media-libs/pulseaudio-qt-1.2
Media-plugins/gst-plugins-pulse-1.16.3 = media-plugins/gst-plugins-
pulse-1.16.3
Media-sound/pulseaudio-13.0-r1 = media-sound/pulseaudio-13.0-r1
Kde-plasma/plasma-meta-5.20.5 -> 5.21.5 (including all dependencies)


I tried downgrading linux-firmware to the old version from the backup -- did 
not help.
I tried logging in from a completely fresh account to exclude any bad config in 
the local home directory -> no success.

Any further ideas?

Thanks, Alex

PS: lspci shows
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host 
Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host 
Bridge
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host 
Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe 
GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 
51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: 
Function 7
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD 
Controller SM981/PM981/PM983
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 0e)
02:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 
0e)
02:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 
0e)
02:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e)
02:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e)
03:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI 
Express Card Reader (rev 01)
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 
PCI Express Gigabit Ethernet Controller (rev 15)
06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host 
Controller (rev 02)
07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] 
Renoir (rev d1)
07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h 
(Models 10h-1fh) Platform Security Processor
07:00.3 USB controller: Advanced 

Re: [gentoo-user] laptop closure should not rfkill

2020-03-28 Thread n952162

On 2020-03-28 11:07, Michael wrote:

On Saturday, 28 March 2020 09:43:56 GMT J. Roeleveld wrote:

On Friday, March 27, 2020 3:18:47 PM CET n952162 wrote:

I want my wireless to continue when I close my laptop lid.   Does anyone
have a clue what I have to set to make that happen?

I've followed it this far:
  /etc/acpi/events/lm_lid.sh

/etc/acpi/actions/lm_lid.sh

  /lib/udev/lmt-udev  (laptop mode tools?)

/usr/sbin/laptop_mode

  /etc/laptop-mode/conf.d

/etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant

CONTROL_*):
 /# "Laptop mode" is the mode in which laptop mode tools makes the
 computer//
 //# consume less power. This includes the kernel "laptop_mode"
 feature, which//
 //# allows your hard drives to spin down, as well as various other
 settings which//
 //# can be tweaked by laptop mode tools. You can enable or disable
 all of these//
 //# settings using the CONTROL_... options further down in this
 config file.//

//
#
##// //

 //...//
 //
 //#//
 //# Enable laptop mode when the laptop's lid is closed, even when
 we're on AC//
 //# power? (ACPI-ONLY)//
 //#//
 //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
 /

Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?

checking the git-repository for laptop-mode-tools, I see the following file
with a change to "disable networking by default":

https://github.com/rickysarraf/laptop-mode-tools/blob/lmt-upstream/etc/lapto
p-mode/conf.d/ethernet.conf

IOW, I would suggest checking the file:

/etc/laptop-mode/conf.d/ethernet.conf

--
Joost

Most desktops have power management facilities from which the behaviour of
various inputs (e.g. lid switch) and configured actions can be finely tuned.
I mention it here in the off chance it wasn't already explored as an option.



Yes, thank you.  That's what we're doing, configuring acpi.





Re: [gentoo-user] laptop closure should not rfkill

2020-03-28 Thread Michael
On Saturday, 28 March 2020 09:43:56 GMT J. Roeleveld wrote:
> On Friday, March 27, 2020 3:18:47 PM CET n952162 wrote:
> > I want my wireless to continue when I close my laptop lid.   Does anyone
> > have a clue what I have to set to make that happen?
> > 
> > I've followed it this far:
> >  /etc/acpi/events/lm_lid.sh
> >  
> >/etc/acpi/actions/lm_lid.sh
> >
> >  /lib/udev/lmt-udev  (laptop mode tools?)
> >  
> >/usr/sbin/laptop_mode
> >
> >  /etc/laptop-mode/conf.d
> > 
> > /etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
> > 
> > CONTROL_*):
> > /# "Laptop mode" is the mode in which laptop mode tools makes the
> > computer//
> > //# consume less power. This includes the kernel "laptop_mode"
> > feature, which//
> > //# allows your hard drives to spin down, as well as various other
> > settings which//
> > //# can be tweaked by laptop mode tools. You can enable or disable
> > all of these//
> > //# settings using the CONTROL_... options further down in this
> > config file.//
> > 
> > //
> > #
> > ##// //
> > 
> > //...//
> > //
> > //#//
> > //# Enable laptop mode when the laptop's lid is closed, even when
> > we're on AC//
> > //# power? (ACPI-ONLY)//
> > //#//
> > //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
> > /
> > 
> > Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?
> 
> checking the git-repository for laptop-mode-tools, I see the following file
> with a change to "disable networking by default":
> 
> https://github.com/rickysarraf/laptop-mode-tools/blob/lmt-upstream/etc/lapto
> p-mode/conf.d/ethernet.conf
> 
> IOW, I would suggest checking the file:
> 
> /etc/laptop-mode/conf.d/ethernet.conf
> 
> --
> Joost

Most desktops have power management facilities from which the behaviour of 
various inputs (e.g. lid switch) and configured actions can be finely tuned.  
I mention it here in the off chance it wasn't already explored as an option.

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


Re: [gentoo-user] laptop closure should not rfkill

2020-03-28 Thread J. Roeleveld
On Friday, March 27, 2020 3:18:47 PM CET n952162 wrote:
> I want my wireless to continue when I close my laptop lid.   Does anyone
> have a clue what I have to set to make that happen?
> 
> I've followed it this far:
> 
>  /etc/acpi/events/lm_lid.sh
>/etc/acpi/actions/lm_lid.sh
>  /lib/udev/lmt-udev  (laptop mode tools?)
>/usr/sbin/laptop_mode
>  /etc/laptop-mode/conf.d
> 
> 
> /etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
> CONTROL_*):
> 
> /# "Laptop mode" is the mode in which laptop mode tools makes the
> computer//
> //# consume less power. This includes the kernel "laptop_mode"
> feature, which//
> //# allows your hard drives to spin down, as well as various other
> settings which//
> //# can be tweaked by laptop mode tools. You can enable or disable
> all of these//
> //# settings using the CONTROL_... options further down in this
> config file.//
>
> //#
> ##// //
> //...//
> //
> //#//
> //# Enable laptop mode when the laptop's lid is closed, even when
> we're on AC//
> //# power? (ACPI-ONLY)//
> //#//
> //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
> /
> 
> 
> Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?

checking the git-repository for laptop-mode-tools, I see the following file 
with a change to "disable networking by default":

https://github.com/rickysarraf/laptop-mode-tools/blob/lmt-upstream/etc/laptop-mode/conf.d/ethernet.conf

IOW, I would suggest checking the file:

/etc/laptop-mode/conf.d/ethernet.conf

--
Joost






[gentoo-user] laptop closure should not rfkill

2020-03-27 Thread n952162

I want my wireless to continue when I close my laptop lid.   Does anyone
have a clue what I have to set to make that happen?

I've followed it this far:

    /etc/acpi/events/lm_lid.sh
  /etc/acpi/actions/lm_lid.sh
    /lib/udev/lmt-udev  (laptop mode tools?)
  /usr/sbin/laptop_mode
    /etc/laptop-mode/conf.d


/etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
CONTROL_*):

   /# "Laptop mode" is the mode in which laptop mode tools makes the
   computer//
   //# consume less power. This includes the kernel "laptop_mode"
   feature, which//
   //# allows your hard drives to spin down, as well as various other
   settings which//
   //# can be tweaked by laptop mode tools. You can enable or disable
   all of these//
   //# settings using the CONTROL_... options further down in this
   config file.//
   
//###//
   //
   //...//
   //
   //#//
   //# Enable laptop mode when the laptop's lid is closed, even when
   we're on AC//
   //# power? (ACPI-ONLY)//
   //#//
   //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
   /


Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?




[gentoo-user] laptop closure should not rfkill

2020-03-27 Thread n952162

I want my wireless to continue when I close my laptop lid.   Does anyone
have a clue what I have to set to make that happen?

I've followed it this far:

    /etc/acpi/events/lm_lid.sh
  /etc/acpi/actions/lm_lid.sh
    /lib/udev/lmt-udev  (laptop mode tools?)
  /usr/sbin/laptop_mode
    /etc/laptop-mode/conf.d


/etc/laptop-mode/laptop-mode.conf has this (I don't find any relevant
CONTROL_*):

   /# "Laptop mode" is the mode in which laptop mode tools makes the
   computer//
   //# consume less power. This includes the kernel "laptop_mode"
   feature, which//
   //# allows your hard drives to spin down, as well as various other
   settings which//
   //# can be tweaked by laptop mode tools. You can enable or disable
   all of these//
   //# settings using the CONTROL_... options further down in this
   config file.//
   
//###//
   //
   //...//
   //
   //#//
   //# Enable laptop mode when the laptop's lid is closed, even when
   we're on AC//
   //# power? (ACPI-ONLY)//
   //#//
   //ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0//
   /


Would it be okay to just *remove* /etc/acpi/*/lm_lid.sh?




[gentoo-user] laptop/tablet convertibles linux compatibility

2015-11-01 Thread Stefano Crocco
Hello to everyone.

I'd like to buy a laptop/tablet convertible and to install Gentoo on it. 
Searching Google I couldn't find up to date information about the linux
compatibility of this kind of device (most of the pages I found are at least a
couple of years old and at any rate, they give quite contradictory
information). Does anyone know what the situation is like today in this regard?

In particular, I'm looking to buy some of the less expensive convertibles, at
most around 300€ (350$), as my needs for it are modest (basically, as I'm a
teacher, I'd like to use it as a tablet in the classroom to record absent
students, marks and so on instead of the very old tablet the school provided and
to use it as a laptop to read e-books and write while traveling to school by
bus). Looking on amazon, I found some models which could satisfy my needs:

* Asus T100TAF-BING-DK024B [1]
* Asus T100TAL-BING-DK034B [2]
* Acer Aspire Switch W5-012-149A [3]
* HP Pavilion x2 10-n002nl [4]

Does anyone know whether they work with Gentoo? Are there any models which work
well and that I overlooked?

Thanks in advance

Stefano

[1] 
http://www.amazon.it/Asus-T100TAF-BING-DK024B-Transformer-Convertibile-Touchscreen/dp/B00SU7V1A8/ref=sr_1_1/280-8290032-6323628?s=pc=UTF8=1446368786=1-1
[2] http://www.amazon.it/gp/product/B00P0YRGW6/ref=ask_ql_qh_dp_hza
[3] 
http://www.amazon.it/Acer-Aspire-Switch-W5-012-149A-Convertibile/dp/B00PMCS2WO/ref=sr_1_3/280-8290032-6323628?s=pc=UTF8=1446368786=1-3
[4] 
http://www.amazon.it/HP-Pavilion-10-n002nl-Touchscreen-DDR3L-1600/dp/B011760S7K/ref=sr_1_5/276-5315837-3449853?s=pc=UTF8=1446369891=1-5



Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Dale
Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.

 Also, most couches have a tendency to compress when something like a laptop 
 is 
 on it. Effectively blocking all airflow.

 If the temperature goes to 99C when on top of a table, return the laptop to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

 Not to be tried at home ;-)



You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
up.  ;-)

At one time, I thought about putting a rig that ran sorta warm in my
freezer. 

Dale

:-)  :-)



Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Alan McKinnon
On 17/12/2014 11:03, Dale wrote:
 Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.

 Also, most couches have a tendency to compress when something like a laptop 
 is 
 on it. Effectively blocking all airflow.

 If the temperature goes to 99C when on top of a table, return the laptop to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

 Not to be tried at home ;-)


 
 You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
 up.  ;-)
 
 At one time, I thought about putting a rig that ran sorta warm in my
 freezer. 


So you trade heat damage for water damage?


Hm, I'd be thinking it's time for new computer that DoesCoolingRight(tm)


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Dale
Alan McKinnon wrote:
 On 17/12/2014 11:03, Dale wrote:
 Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.

 Also, most couches have a tendency to compress when something like a 
 laptop is 
 on it. Effectively blocking all airflow.

 If the temperature goes to 99C when on top of a table, return the laptop 
 to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

 Not to be tried at home ;-)


 You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
 up.  ;-)

 At one time, I thought about putting a rig that ran sorta warm in my
 freezer. 

 So you trade heat damage for water damage?


 Hm, I'd be thinking it's time for new computer that DoesCoolingRight(tm)



It was a hand me down.  Since everything in there is well below
freezing, it shouldn't get water damage.  Now when I take it out of the
freezer, that could get interesting and cause the issue you are raising
which is why I never did it either. 

Dale

:-)  :-) 



Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Matti Nykyri
 On Dec 17, 2014, at 8:37, Stefan G. Weichinger li...@xunil.at wrote:
 
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)
 
 This effectively cools it down rather quickly ... and I ssh in via wifi.
 
 Not to be tried at home ;-)

This is hilarious ;D

-- 
-Matti



Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Matti Nykyri
 On Dec 17, 2014, at 12:56, Dale rdalek1...@gmail.com wrote:
 
 Alan McKinnon wrote:
 On 17/12/2014 11:03, Dale wrote:
 Stefan G. Weichinger wrote:
 Am 17.12.2014 um 07:33 schrieb J. Roeleveld:
 
 Try cleaning the vents.
 
 Also, most couches have a tendency to compress when something like a 
 laptop is 
 on it. Effectively blocking all airflow.
 
 If the temperature goes to 99C when on top of a table, return the laptop 
 to 
 the shop as it is clearly not working properly.
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)
 
 This effectively cools it down rather quickly ... and I ssh in via wifi.
 
 Not to be tried at home ;-)
 You don't have a fridge at home?  ROFL  Sorry, I couldn't pass that one
 up.  ;-)
 
 At one time, I thought about putting a rig that ran sorta warm in my
 freezer.
 
 So you trade heat damage for water damage?
 
 
 Hm, I'd be thinking it's time for new computer that DoesCoolingRight(tm)
 
 It was a hand me down.  Since everything in there is well below
 freezing, it shouldn't get water damage.  Now when I take it out of the
 freezer, that could get interesting and cause the issue you are raising
 which is why I never did it either. 

Because the temperature of the laptop in the freezer will always be above dew 
point it will never get wet. When you take it out though it's temperature will 
most likely be below dew point of the ambient air so water will condensate 
unless the access of water is blocked by a plastic bag for example.

-- 
-Matti


Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Thanasis

On 12/17/2014 02:46 PM, Matti Nykyri wrote:

Because the temperature of the laptop in the freezer
will always be above dew point it will never get wet.
When you take it out though it's temperature will most likely be below dew 
point of the ambient air so water will condensate


Right. Which is why he should turn it off as soon as he takes it out, 
and let it warm up to room temperature, before he turns it back on.





Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Dale
Thanasis wrote:
 On 12/17/2014 02:46 PM, Matti Nykyri wrote:
 Because the temperature of the laptop in the freezer
 will always be above dew point it will never get wet.
 When you take it out though it's temperature will most likely be
 below dew point of the ambient air so water will condensate

 Right. Which is why he should turn it off as soon as he takes it out,
 and let it warm up to room temperature, before he turns it back on.




And I'd let it sit for a while just to be safe.  Turning something on
that still has condensation on/in it is a bad thing all the way around. 
I still remember one time MANY years ago when we got our first color
TV.  It was cold as heck too.  Well, we left it in the back seat of the
car while we was running around doing errands and the car never warmed
up between trips.  We were just bouncing around town.  When we finally
got home, my Dad brought the TV in and it took a little bit to unhook
and move the old TV out and put the new TV in.  By that time, it had
built up enough condensation somewhere in there that it sparked and a
few seconds later it really sparked.  Then the smoke got out.  We all
know what happens when the smoke got out.  Brand new TV was junk. 

If I had put that old thing in the freezer just to play around or
something, I'd cut it off before taking it out, take the side off and
let it warm up.  Once warmed up, put a little fan on it overnight or
something to be safe. 

I might add, my deep freezer runs between -10F and about 0F.  I doubt
any puter would warm up much unless it is using really small heat
sinks.  It would certainly be under cooled for a room temp environment. 

It was just a thought tho.  ;-)

Dale

:-)  :-) 




Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Christian Kruse
Hi,

Stefan G. Weichinger writes:

 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via wifi.

Haha, this whole thread reminded me of this XKCD:

http://xkcd.com/1172/

Regards,
-- 
Christian Kruse
http://ck.kennt-wayne.de/


signature.asc
Description: PGP signature


Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Randy Westlund
On Tue, Dec 16, 2014 at 11:18:54PM +, Mick wrote:
 There may be nothing wrong with your configuration, but something wrong with 
 the design of your laptop.  Some laptops are not designed particularly well 
 with regards to ventilation.  In the summer I have a desk fan which I turn on 
 and direct it on the side of the laptop, so that air blows above and below.  
 The temperatures drop by more than 10-15C in a couple of minutes.  Perhaps 
 you 
 should try something similar.
 
 -- 
 Regards,
 Mick

Okay, glad to hear I'm not doing something wrong.  I'll try to clean it
and be better about putting a wedge under it when I compile and walk
away.



signature.asc
Description: Digital signature


Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Randy Westlund
On Wed, Dec 17, 2014 at 07:37:24AM +0100, Stefan G. Weichinger wrote:
 When I compile bigger packages on my small ThinkPad X220 I sometimes put
 it into the fridge ;-)
 
 This effectively cools it down rather quickly ... and I ssh in via wifi.
 
 Not to be tried at home ;-)

Hahaha, I've actually considered this before but decided that I'd only
end up melting my ice cream...


signature.asc
Description: Digital signature


Re: [gentoo-user] Laptop Overheat

2014-12-17 Thread Stefan G. Weichinger
;-)

Yes, nice.

To explain: I only let the thinkpad in there for maybe 10 minutes or so ... So 
the risk is minimized, I assume.


Am 17. Dezember 2014 18:44:37 MEZ, schrieb Christian Kruse c...@defunct.ch:
Hi,

Stefan G. Weichinger writes:

 When I compile bigger packages on my small ThinkPad X220 I sometimes
put
 it into the fridge ;-)

 This effectively cools it down rather quickly ... and I ssh in via
wifi.

Haha, this whole thread reminded me of this XKCD:

http://xkcd.com/1172/

Regards,
-- 
Christian Kruse
http://ck.kennt-wayne.de/

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

[gentoo-user] Laptop Overheat

2014-12-16 Thread Randy Westlund
Hey guys,

When I'm compiling something large and close the lid of my laptop (lid
close events disabled) or leave it on the couch where it can't get
proper airflow, it tends to overheat and crash.  If I leave it open and
on a table, everything is fine.

I have a quad-core processor and MAKEOPTS=-j5.  During compilation,
system load is around 5 and all 4 cores are maxed out.  My CPU temp is
99C or under, which is safe for this machine.

dmesg shows this every few minutes whenever my machine is at max temp,
which I've read is normal:

[ 2092.018902] CPU0: Core temperature above threshold, cpu clock throttled 
(total events = 179101)
[ 2092.018903] CPU2: Core temperature above threshold, cpu clock throttled 
(total events = 179101)
[ 2092.018906] CPU3: Package temperature above threshold, cpu clock throttled 
(total events = 227311)
[ 2092.018907] CPU1: Package temperature above threshold, cpu clock throttled 
(total events = 227311)
[ 2092.018908] CPU2: Package temperature above threshold, cpu clock throttled 
(total events = 227311)
[ 2092.018916] CPU0: Package temperature above threshold, cpu clock throttled 
(total events = 227311)
[ 2092.019864] CPU0: Core temperature/speed normal
[ 2092.019865] CPU2: Core temperature/speed normal
[ 2092.019866] CPU1: Package temperature/speed normal
[ 2092.019867] CPU3: Package temperature/speed normal
[ 2092.019868] CPU2: Package temperature/speed normal
[ 2092.019874] CPU0: Package temperature/speed normal
[ 2099.655532] mce: [Hardware Error]: Machine check events logged

At the time of crash, syslog contains a bunch of '^@^@^@^@^@^@^@...',
but nothing useful.

It looks like my cpu clock is being scaled, but perhaps not being scaled
enough.  I'm guessing the processor halts when I hit 100C.  Again, when
I leave it well-ventilated it never goes above 99C and everything is
fine.

Any ideas about where I should look?

Randy


signature.asc
Description: Digital signature


Re: [gentoo-user] Laptop Overheat

2014-12-16 Thread Mick
On Tuesday 16 Dec 2014 21:16:38 Randy Westlund wrote:
 Hey guys,
 
 When I'm compiling something large and close the lid of my laptop (lid
 close events disabled) or leave it on the couch where it can't get
 proper airflow, it tends to overheat and crash.  If I leave it open and
 on a table, everything is fine.
 
 I have a quad-core processor and MAKEOPTS=-j5.  During compilation,
 system load is around 5 and all 4 cores are maxed out.  My CPU temp is
 99C or under, which is safe for this machine.
 
 dmesg shows this every few minutes whenever my machine is at max temp,
 which I've read is normal:
 
 [ 2092.018902] CPU0: Core temperature above threshold, cpu clock throttled
 (total events = 179101) [ 2092.018903] CPU2: Core temperature above
 threshold, cpu clock throttled (total events = 179101) [ 2092.018906]
 CPU3: Package temperature above threshold, cpu clock throttled (total
 events = 227311) [ 2092.018907] CPU1: Package temperature above threshold,
 cpu clock throttled (total events = 227311) [ 2092.018908] CPU2: Package
 temperature above threshold, cpu clock throttled (total events = 227311) [
 2092.018916] CPU0: Package temperature above threshold, cpu clock
 throttled (total events = 227311) [ 2092.019864] CPU0: Core
 temperature/speed normal
 [ 2092.019865] CPU2: Core temperature/speed normal
 [ 2092.019866] CPU1: Package temperature/speed normal
 [ 2092.019867] CPU3: Package temperature/speed normal
 [ 2092.019868] CPU2: Package temperature/speed normal
 [ 2092.019874] CPU0: Package temperature/speed normal
 [ 2099.655532] mce: [Hardware Error]: Machine check events logged
 
 At the time of crash, syslog contains a bunch of '^@^@^@^@^@^@^@...',
 but nothing useful.
 
 It looks like my cpu clock is being scaled, but perhaps not being scaled
 enough.  I'm guessing the processor halts when I hit 100C.  Again, when
 I leave it well-ventilated it never goes above 99C and everything is
 fine.
 
 Any ideas about where I should look?
 
 Randy

There may be nothing wrong with your configuration, but something wrong with 
the design of your laptop.  Some laptops are not designed particularly well 
with regards to ventilation.  In the summer I have a desk fan which I turn on 
and direct it on the side of the laptop, so that air blows above and below.  
The temperatures drop by more than 10-15C in a couple of minutes.  Perhaps you 
should try something similar.

-- 
Regards,
Mick


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


Re: [gentoo-user] Laptop Overheat

2014-12-16 Thread J. Roeleveld
On Tuesday, December 16, 2014 04:16:38 PM Randy Westlund wrote:
 Hey guys,
 
 When I'm compiling something large and close the lid of my laptop (lid
 close events disabled) or leave it on the couch where it can't get
 proper airflow, it tends to overheat and crash.  If I leave it open and
 on a table, everything is fine.
 
 I have a quad-core processor and MAKEOPTS=-j5.  During compilation,
 system load is around 5 and all 4 cores are maxed out.  My CPU temp is
 99C or under, which is safe for this machine.
 
 dmesg shows this every few minutes whenever my machine is at max temp,
 which I've read is normal:
 
 [ 2092.018902] CPU0: Core temperature above threshold, cpu clock throttled
 (total events = 179101) [ 2092.018903] CPU2: Core temperature above
 threshold, cpu clock throttled (total events = 179101) [ 2092.018906] CPU3:
 Package temperature above threshold, cpu clock throttled (total events =
 227311) [ 2092.018907] CPU1: Package temperature above threshold, cpu clock
 throttled (total events = 227311) [ 2092.018908] CPU2: Package temperature
 above threshold, cpu clock throttled (total events = 227311) [ 2092.018916]
 CPU0: Package temperature above threshold, cpu clock throttled (total
 events = 227311) [ 2092.019864] CPU0: Core temperature/speed normal
 [ 2092.019865] CPU2: Core temperature/speed normal
 [ 2092.019866] CPU1: Package temperature/speed normal
 [ 2092.019867] CPU3: Package temperature/speed normal
 [ 2092.019868] CPU2: Package temperature/speed normal
 [ 2092.019874] CPU0: Package temperature/speed normal
 [ 2099.655532] mce: [Hardware Error]: Machine check events logged
 
 At the time of crash, syslog contains a bunch of '^@^@^@^@^@^@^@...',
 but nothing useful.
 
 It looks like my cpu clock is being scaled, but perhaps not being scaled
 enough.  I'm guessing the processor halts when I hit 100C.  Again, when
 I leave it well-ventilated it never goes above 99C and everything is
 fine.
 
 Any ideas about where I should look?
 
 Randy

Try cleaning the vents.

Also, most couches have a tendency to compress when something like a laptop is 
on it. Effectively blocking all airflow.

If the temperature goes to 99C when on top of a table, return the laptop to 
the shop as it is clearly not working properly.

--
Joost



Re: [gentoo-user] Laptop Overheat

2014-12-16 Thread Stefan G. Weichinger
Am 17.12.2014 um 07:33 schrieb J. Roeleveld:

 Try cleaning the vents.
 
 Also, most couches have a tendency to compress when something like a laptop 
 is 
 on it. Effectively blocking all airflow.
 
 If the temperature goes to 99C when on top of a table, return the laptop to 
 the shop as it is clearly not working properly.

When I compile bigger packages on my small ThinkPad X220 I sometimes put
it into the fridge ;-)

This effectively cools it down rather quickly ... and I ssh in via wifi.

Not to be tried at home ;-)







Re: [gentoo-user] laptop screen goes dark in boot

2012-04-24 Thread Zhang Jun
On Tue, Apr 24, 2012 at 12:57 AM, Michael Scherer 
a6702...@unet.univie.ac.at wrote:

 **
 unless you have solved the problem already, could you please
 post the rc.log, too?

 michael

 --
 Michael Scherer
 Univ.klinik f. Psychiatrie
 email: michael.sche...@meduniwien.ac.at
 phone: +43 6991 941 22 54

 - Original Message -
 *From:* Zhang Jun gb2...@gmail.com
 *To:* gentoo-user@lists.gentoo.org
 *Sent:* Monday, 23 April, 2012 03:50
 *Subject:* Re: [gentoo-user] laptop screen goes dark in boot

 I get the dmesg log and kernel config, forgot to get the rc.log ( using
 windows now ).
 please help to have a look on these files,
 also tryed boot with different kernel parameters for acpi, only acpi=off
 works, but I don't think it is a good idea.
 I'm using grub4dos with kernel (hd0,7)/kernel-3.0.17-r1 root=/dev/sda9 ro
 quiet vga=792 gentoo=nodevfs acpi_enforce_resources=lax
 resume=swap:/dev/sda7, remove the acpi_enforce_resources=lax also not
 works.

 thanks!

 On Mon, Apr 23, 2012 at 2:53 AM, Michael Scherer 
 a6702...@unet.univie.ac.at wrote:

 **
 did you look at the logs? if you haven't already looked at them dmesg and
 /var/log/rc.log
 have information that could help you pinpoint the problem.
 one of the earlier live-cds had that problem and I got around it by
 starting the the cd with
 gentoo noacpi nox options though I doubt this can help in your case.
 could you provide some more information like the logs, the loader conf
 files and may be
 .config of your kernel make?

 michael

 --
 Michael Scherer
 Univ.klinik f. Psychiatrie
 email: michael.sche...@meduniwien.ac.at
 phone: +43 6991 941 22 54

 - Original Message -
 *From:* Zhang Jun gb2...@gmail.com
 *To:* gentoo-user gentoo-user@lists.gentoo.org
 *Sent:* Sunday, 22 April, 2012 08:25
 *Subject:* [gentoo-user] laptop screen goes dark in boot

 laptop: asus F3TC, amd Turion, NV-go7300
 kernel-3.0.17-r1 tuxonice

 screen goes dark just after I see the linux boot logo,
 when using kernel 2.6.x, I even do not use hotkey to control lcd
 backlight, default light is ok,
 but now, it goes dark, re-compiled kernel many times, but no luck,

 in kernel acpi config page, I did't see the video module, and seems no
 /proc/acpi/video/ .

 is there anyone have met this problem and have solution ?

 thanks!


 sorry, I didn't get time to test these ideads,

I just turn on /etc/r.conf 'rc_logger=YES', here is rc.log


rc.log
Description: Binary data


Re: [gentoo-user] laptop screen goes dark in boot

2012-04-23 Thread Florian Philipp
Please try to deactivate everything related to framebuffer and specific
video hardware in your kernel config. See if it helps, then activate one
option at a time until it breaks again.

Specifically:
CONFIG_FB=y
CONFIG_FB_BOOT_VESA_SUPPORT=y
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y
CONFIG_FB_VESA=y
CONFIG_FRAMEBUFFER_CONSOLE=y

The only thing you really need for the start is CONFIG_VGA_CONSOLE.

Hope this helps,
Florian Philipp

P.S.: Please don't top-post in the future. Use an email client that
allows you to write your response below the text you quote. That makes
large threads easier to read.

Am 23.04.2012 03:50, schrieb Zhang Jun:
 I get the dmesg log and kernel config, forgot to get the rc.log ( using
 windows now ).
 please help to have a look on these files,
 also tryed boot with different kernel parameters for acpi, only acpi=off
 works, but I don't think it is a good idea.
 I'm using grub4dos with kernel (hd0,7)/kernel-3.0.17-r1 root=/dev/sda9
 ro quiet vga=792 gentoo=nodevfs acpi_enforce_resources=lax
 resume=swap:/dev/sda7, remove the acpi_enforce_resources=lax also not
 works.
 
 thanks!
 
 On Mon, Apr 23, 2012 at 2:53 AM, Michael Scherer
 a6702...@unet.univie.ac.at mailto:a6702...@unet.univie.ac.at wrote:
 
 __
 did you look at the logs? if you haven't already looked at them
 dmesg and /var/log/rc.log
 have information that could help you pinpoint the problem.
 one of the earlier live-cds had that problem and I got around it by
 starting the the cd with
 gentoo noacpi nox options though I doubt this can help in your case.
 could you provide some more information like the logs, the loader
 conf files and may be
 .config of your kernel make?
  
 michael
  
 -- 
 Michael Scherer
 Univ.klinik f. Psychiatrie
 email: michael.sche...@meduniwien.ac.at
 mailto:michael.sche...@meduniwien.ac.at
 phone: +43 6991 941 22 54
 
 - Original Message -
 *From:* Zhang Jun mailto:gb2...@gmail.com
 *To:* gentoo-user mailto:gentoo-user@lists.gentoo.org
 *Sent:* Sunday, 22 April, 2012 08:25
 *Subject:* [gentoo-user] laptop screen goes dark in boot
 
 laptop: asus F3TC, amd Turion, NV-go7300
 kernel-3.0.17-r1 tuxonice
 
 screen goes dark just after I see the linux boot logo,
 when using kernel 2.6.x, I even do not use hotkey to control lcd
 backlight, default light is ok,
 but now, it goes dark, re-compiled kernel many times, but no luck,
 
 in kernel acpi config page, I did't see the video module, and
 seems no /proc/acpi/video/ .
 
 is there anyone have met this problem and have solution ?
 
 thanks!
 
 




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] laptop screen goes dark in boot

2012-04-23 Thread Michael Scherer
unless you have solved the problem already, could you please
post the rc.log, too?

michael

-- 
Michael Scherer
Univ.klinik f. Psychiatrie
email: michael.sche...@meduniwien.ac.at
phone: +43 6991 941 22 54

  - Original Message - 
  From: Zhang Jun 
  To: gentoo-user@lists.gentoo.org 
  Sent: Monday, 23 April, 2012 03:50
  Subject: Re: [gentoo-user] laptop screen goes dark in boot


  I get the dmesg log and kernel config, forgot to get the rc.log ( using 
windows now ).
  please help to have a look on these files,
  also tryed boot with different kernel parameters for acpi, only acpi=off 
works, but I don't think it is a good idea.
  I'm using grub4dos with kernel (hd0,7)/kernel-3.0.17-r1 root=/dev/sda9 ro 
quiet vga=792 gentoo=nodevfs acpi_enforce_resources=lax resume=swap:/dev/sda7, 
remove the acpi_enforce_resources=lax also not works.

  thanks!


  On Mon, Apr 23, 2012 at 2:53 AM, Michael Scherer a6702...@unet.univie.ac.at 
wrote:

did you look at the logs? if you haven't already looked at them dmesg and 
/var/log/rc.log
have information that could help you pinpoint the problem.
one of the earlier live-cds had that problem and I got around it by 
starting the the cd with
gentoo noacpi nox options though I doubt this can help in your case.
could you provide some more information like the logs, the loader conf 
files and may be
.config of your kernel make?

michael

-- 
Michael Scherer
Univ.klinik f. Psychiatrie
email: michael.sche...@meduniwien.ac.at
phone: +43 6991 941 22 54

  - Original Message - 
  From: Zhang Jun 
  To: gentoo-user 
  Sent: Sunday, 22 April, 2012 08:25
  Subject: [gentoo-user] laptop screen goes dark in boot


  laptop: asus F3TC, amd Turion, NV-go7300
  kernel-3.0.17-r1 tuxonice

  screen goes dark just after I see the linux boot logo,
  when using kernel 2.6.x, I even do not use hotkey to control lcd 
backlight, default light is ok,
  but now, it goes dark, re-compiled kernel many times, but no luck,

  in kernel acpi config page, I did't see the video module, and seems no 
/proc/acpi/video/ .

  is there anyone have met this problem and have solution ?

  thanks!





[gentoo-user] laptop screen goes dark in boot

2012-04-22 Thread Zhang Jun
laptop: asus F3TC, amd Turion, NV-go7300
kernel-3.0.17-r1 tuxonice

screen goes dark just after I see the linux boot logo,
when using kernel 2.6.x, I even do not use hotkey to control lcd backlight,
default light is ok,
but now, it goes dark, re-compiled kernel many times, but no luck,

in kernel acpi config page, I did't see the video module, and seems no
/proc/acpi/video/ .

is there anyone have met this problem and have solution ?

thanks!


Re: [gentoo-user] laptop screen goes dark in boot

2012-04-22 Thread Michael Scherer
did you look at the logs? if you haven't already looked at them dmesg and 
/var/log/rc.log
have information that could help you pinpoint the problem.
one of the earlier live-cds had that problem and I got around it by starting 
the the cd with
gentoo noacpi nox options though I doubt this can help in your case.
could you provide some more information like the logs, the loader conf files 
and may be
.config of your kernel make?

michael

-- 
Michael Scherer
Univ.klinik f. Psychiatrie
email: michael.sche...@meduniwien.ac.at
phone: +43 6991 941 22 54

  - Original Message - 
  From: Zhang Jun 
  To: gentoo-user 
  Sent: Sunday, 22 April, 2012 08:25
  Subject: [gentoo-user] laptop screen goes dark in boot


  laptop: asus F3TC, amd Turion, NV-go7300
  kernel-3.0.17-r1 tuxonice

  screen goes dark just after I see the linux boot logo,
  when using kernel 2.6.x, I even do not use hotkey to control lcd backlight, 
default light is ok,
  but now, it goes dark, re-compiled kernel many times, but no luck,

  in kernel acpi config page, I did't see the video module, and seems no 
/proc/acpi/video/ .

  is there anyone have met this problem and have solution ?

  thanks!



Re: [gentoo-user] Laptop - Switch video/audio output to HDMI?

2011-12-02 Thread James Broadhead
On 29 November 2011 23:17, Mark Knecht markkne...@gmail.com wrote:
 Hi,
   I'm finally joining the 21st century having purchased my first new
 TV in more than 13 years. My laptop runs KDE with Nvidia drivers. I'm
 wondering what the process is to switch the audio  video output of my
 laptop the its HDMI port? I'd like to try using xine to play DVDs. I
 assume in Linux I'm going to have to mess with both Alsa and X which
 in the end sounds like a disaster waiting to happen but I figure I
 might as well see if it's actually easier than I think.

   When running as a normal laptop the machine uses the nvidia-drivers
 package and the kernel's Intel HD Audio driver. If I want to deliver
 audio over HDMI do I need to switch to the Nvidia audio device? Makes
 sense but creates more problems testing if it doesn't work really
 easily.

   Anyway, just looking for someone to point me in the right direction.

 Thanks,
 Mark

The gentoo-wiki page on the Acer Revo 3600 might help you here -
different hardware, but it has a quick and dirty config.



[gentoo-user] Laptop - Switch video/audio output to HDMI?

2011-11-29 Thread Mark Knecht
Hi,
   I'm finally joining the 21st century having purchased my first new
TV in more than 13 years. My laptop runs KDE with Nvidia drivers. I'm
wondering what the process is to switch the audio  video output of my
laptop the its HDMI port? I'd like to try using xine to play DVDs. I
assume in Linux I'm going to have to mess with both Alsa and X which
in the end sounds like a disaster waiting to happen but I figure I
might as well see if it's actually easier than I think.

   When running as a normal laptop the machine uses the nvidia-drivers
package and the kernel's Intel HD Audio driver. If I want to deliver
audio over HDMI do I need to switch to the Nvidia audio device? Makes
sense but creates more problems testing if it doesn't work really
easily.

   Anyway, just looking for someone to point me in the right direction.

Thanks,
Mark



slinky linux # lspci
SNIP
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset
High Definition Audio (rev 06)
SNIP
01:00.0 VGA compatible controller: nVidia Corporation Device 0dd1 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0be9 (rev a1)
SNIP
slinky linux #



Re: [gentoo-user] Laptop - Switch video/audio output to HDMI?

2011-11-29 Thread Frank Steinmetzger
On Tue, Nov 29, 2011 at 03:17:53PM -0800, Mark Knecht wrote:
 Hi,
I'm finally joining the 21st century having purchased my first new
 TV in more than 13 years. My laptop runs KDE with Nvidia drivers. I'm
 wondering what the process is to switch the audio  video output of my
 laptop the its HDMI port? I'd like to try using xine to play DVDs. I
 assume in Linux I'm going to have to mess with both Alsa and X which
 in the end sounds like a disaster waiting to happen but I figure I
 might as well see if it's actually easier than I think.
 […]
Anyway, just looking for someone to point me in the right direction.

I am administrating the laptop of a friend of mine. She’s running KDE 4.4 on
Debian Squeeze with Intel graphics and an external monitor/TV. KDE can switch
audio to an external monitor by itself using System settings → Hardware →
Multimedia → Phonon. There, in the Device Priority tab, you’ll have to change
the order of items (i.e. put HDMI to the top) and then all programs that use
phonon route their sound to HDMI.

I *believe* that when the monitor is not present (after all, it’s a laptop),
the sound should automatically be routed to the next device in the list. But I
think that we had some problems in that regard. But then again, she’s running
an outdated KDE.
-- 
Gruß | Greetings | Qapla'
I forbid any use of my email addresses with Facebook services.

Die schwierigste Turnübung ist, sich selbst auf den Arm zu nehmen.


pgp19VNAFjYCJ.pgp
Description: PGP signature


Re: [gentoo-user] Laptop

2010-10-28 Thread Roger Cahn

 Ask not will this work on Gentoo, rather ask will this work on
 Linux!


Your answer is very interesting, Iain.
I'll try what you wrote, and then take my decision   ;-)

Thank you very much for the explanation.
Roger







Re: [gentoo-user] Laptop

2010-10-28 Thread Fatih Tümen
The best would be to run lspci on the machine as others suggested. You
can paste the lspci -n output here and get the availability of drivers
for linux. http://kmuto.jp/debian/hcl/

There is also lists of hardware/laptops known to be working on Gentoo.
N series is not listed on Gentoo wiki but perhaps you can find it on
other distros' wiki or at least find laptops with common hardware.

http://en.gentoo-wiki.com/wiki/Index:Laptops

--
Fatih



Re: [gentoo-user] Laptop

2010-10-28 Thread Roger Cahn
 The best would be to run lspci on the machine as others suggested. You
 can paste the lspci -n output here and get the availability of drivers
 for linux. http://kmuto.jp/debian/hcl/
 
 There is also lists of hardware/laptops known to be working on Gentoo.
 N series is not listed on Gentoo wiki but perhaps you can find it on
 other distros' wiki or at least find laptops with common hardware.
 
 http://en.gentoo-wiki.com/wiki/Index:Laptops

Thank you Fatih.
I'll try also your suggestions.
Roger




Re: [gentoo-user] Laptop

2010-10-28 Thread Iain Buchanan
On Thu, 2010-10-28 at 11:08 +0200, Roger Cahn wrote:
  Ask not will this work on Gentoo, rather ask will this work on
  Linux!
 
 
 Your answer is very interesting, Iain.
 I'll try what you wrote, and then take my decision   ;-)

no probs, but no need to reply to me AND the group, just the group reply
will do :)

-- 
Iain Buchanan iaindb at netspace dot net dot au

He who renders warfare fatal to all engaged in it will be the greatest
benefactor the world has yet known.
-- Sir Richard Burton




Re: [gentoo-user] Laptop

2010-10-27 Thread Roger Cahn
Thank you for your answers.

 To get a sensible answer on a question like that, you MUST supply the
 entire
 spec of all the hardware you intend to buy. Only then can people offer an
 opinion on how good or otherwise the drivers are.

Here are the specifications:

 Specifications
 Processor  Cache Memory  Support Intel® i7 Quad Core™ Processor CPU
 Operating System  Genuine Windows® 7 Home Premium
 
 Chipset   Mobile Intel® HM55 Express Chipset
 Main Memory   DDR3 1333 MHz SDRAM, 3 x SODIMM socket for expansion up to 12GB 
 SDRAM
 
 Display   17.3 16:9 Full HD (1920x1080)/HD+ (1600x900) LED 
 backlight,Asus Splendid Video Intelligent Technology
 Video Graphics  Memory   NVIDIA® GeForce® GT 425M with 1GB DDR3 VRAM
 Hard Drive2.5 9.5mm SATA
 640GB ,5400rpm
 750GB,7200rpm
 500GB,5400rpm;7200rpm
 
 320GB,5400rpm;7200rpm
 Dual HDD support
 Optical Drive DVD Super Multi Double Layer
 Blu-ray RW
 Card Reader   4 in 1 SD,MMC,MS,MS-Pro card reader
 Video Camera  2.0 Mega Pixel web camera
 (Optional)
 Fax/Modem/LAN/WLANIntegrated 802.11 b/g/n
 Built-in Bluetooth™ V2.1+EDR (optional)
 10/100/1000 Base T
 Interface 1 x E-SATA (USB 2.0 combo)1 x Microphone-in jack
 1 x Headphone-out jack (S/PDIF)
 1 x VGA port/Mini D-sub 15-pin for external monitor
 2 x USB 2.0 ports
 
 1 x RJ45 LAN Jack for LAN insert
 1 x HDMI
 1 x WLAN On/Off Switch
 Audio Bang  Olufsen ICEpower®
 SonicFocus
 Built-in speaker and microphone
 Battery Pack  Life   6 cells: 4400 mAh 47 Whrs
 AC AdapterOutput: 19 V DC, 6.32 A, 120 W
 Input:100-240 V AC, 50/60 Hz universal

I hope it will help you...and me;-)
Roger




Re: [gentoo-user] Laptop

2010-10-27 Thread Iain Buchanan
Hi,

Ask not will this work on Gentoo, rather ask will this work on
Linux!  You'll get much better responses to your research on google at
least.  If it works on any mainstream Linux distribution, there's a
99.9% chance it will work on Gentoo.

For example, I just did a google search for NVIDIA® GeForce® GT 425M
linux and found out in a few seconds that it probably works with
nvidia-drivers 260.19.06, but not nouveau (open source drivers).
http://packages.gentoo.org/package/x11-drivers/nvidia-drivers tells me
that nvidia-drivers 260.19.06 and 260.19.12 are hard-masked because
they're in the beta phase, so you may or may not have success with them.

You can repeat that search (hardware-device linux) for all the usual
problematic hardware that you decide you must have working:
  * video camera
  * wireless
  * ethernet
  * bluetooth
  * audio

however you need the actual chip or vendor name, for example Intel
PRO/Wireless 4965 not just Integrated 802.11.  The specs you gave are
a bit light on those details.  The best way to do this is run lspci on
the box in the store as someone mentioned.

Yes you will be able to install Linux on it for sure.  Still not sure
about 100% hardware compatibility.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

We have not inherited the earth from our parents, we've borrowed it from
our children.




[gentoo-user] Laptop

2010-10-26 Thread Roger Cahn
Hi,

I want to buy a laptop Asus N series,
but could anybody tell me if its possible
to use it with Gentoo-Linux?
And in case of yes, if it's a good choice?
Thank you
Roger




Re: [gentoo-user] Laptop

2010-10-26 Thread Alan McKinnon
Apparently, though unproven, at 14:03 on Tuesday 26 October 2010, Roger Cahn 
did opine thusly:

 Hi,
 
 I want to buy a laptop Asus N series,
 but could anybody tell me if its possible
 to use it with Gentoo-Linux?
 And in case of yes, if it's a good choice?
 Thank you
 Roger


Does it have Intel cpus? Then you can use it.
Will it work with the supplied wifi card? I haven't the foggiest clue mostly 
as I don't know what card it has.

To get a sensible answer on a question like that, you MUST supply the entire 
spec of all the hardware you intend to buy. Only then can people offer an 
opinion on how good or otherwise the drivers are.

The way you composed that mail, everyone else will need to do the research on 
the hardware for you. Most of us would rather you did that bit yourself.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Laptop

2010-10-26 Thread Kfir Lavi
On Tue, Oct 26, 2010 at 4:25 PM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 14:03 on Tuesday 26 October 2010, Roger
 Cahn
 did opine thusly:

  Hi,
 
  I want to buy a laptop Asus N series,
  but could anybody tell me if its possible
  to use it with Gentoo-Linux?
  And in case of yes, if it's a good choice?
  Thank you
  Roger


 Does it have Intel cpus? Then you can use it.
 Will it work with the supplied wifi card? I haven't the foggiest clue
 mostly
 as I don't know what card it has.

 To get a sensible answer on a question like that, you MUST supply the
 entire
 spec of all the hardware you intend to buy. Only then can people offer an
 opinion on how good or otherwise the drivers are.

 The way you composed that mail, everyone else will need to do the research
 on
 the hardware for you. Most of us would rather you did that bit yourself.


 --
 alan dot mckinnon at gmail dot com


If you are able to run on a laptop like this the commands:
lspci
cat /proc/cpuinfo

It will give a good insight of the spec of this laptop.
I would take with me a live gentoo cd and try to run it on this laptop in
the store.

One more thing, If the wireless card is not supported, I think that you can
buy one that is supported by linux for 30$.
Just make sure you know how to change the cards.

Reagards,
Kfir


[gentoo-user] laptop-mode

2010-08-04 Thread Bill Kenworthy
With recent update to laptop-mode I decided to rework the power saving
on my sony vaio.  Mostly ok, but it seems laptop-mode is exclusively
grabbing acpi events somehow.  I have modded /etc/acpi/default.conf to
trap the function keys for screen brightness and then control the LCD.

However laptop-mode seems to have taken over and default.conf is no
longer processed by acpid on an event, or events are not getting there.

How can I either get acpid to process events through the normal files,
or some other method to allow manual control of screen brightness and
still keep acpi access for laptop-mode?

BillK






[gentoo-user] Laptop resurrection...

2009-12-02 Thread BRM
I'm still working to get my laptop back up; I have one more thing to try.

Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
that actually works. It might be a processor issue - linux reports it as a 
Pentium M which is what I have selected during 'make menuconfig', but the the 
grub keeps reporting that it is not a recognized format or something to that 
effect, so it won't load it.

Questions:

1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
installation to build the kernel. I shouldn't need a newer LiveCD, correct?
2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
through the install procedure) after changes to the menu file, correct?

TIA,

Ben



Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Mick
2009/12/2 BRM bm_witn...@yahoo.com:
 I'm still working to get my laptop back up; I have one more thing to try.

 Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
 that actually works. It might be a processor issue - linux reports it as a 
 Pentium M which is what I have selected during 'make menuconfig', but the the 
 grub keeps reporting that it is not a recognized format or something to that 
 effect, so it won't load it.

 Questions:

 1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
 installation to build the kernel. I shouldn't need a newer LiveCD, correct?

Correct as long as it recognise your hardware.

 2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
 through the install procedure) after changes to the menu file, correct?

Correct, assuming you have installed GRUB correctly in the first
instance - which makes me ask:

What is your exact error message?

-- 
Regards,
Mick



Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Marcus Wanner

On 12/2/2009 11:26 AM, Mick wrote:

2009/12/2 BRM bm_witn...@yahoo.com:
  

I'm still working to get my laptop back up; I have one more thing to try.

Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
that actually works. It might be a processor issue - linux reports it as a 
Pentium M which is what I have selected during 'make menuconfig', but the the 
grub keeps reporting that it is not a recognized format or something to that 
effect, so it won't load it.

Questions:

1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
installation to build the kernel. I shouldn't need a newer LiveCD, correct?



Correct as long as it recognise your hardware.

  

2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
through the install procedure) after changes to the menu file, correct?



Correct, assuming you have installed GRUB correctly in the first
instance - which makes me ask:

What is your exact error message?
  
I got that error when I copied the wrong kernel image to /boot, make 
sure you are copying the one detailed in the gentoo handbook (chapter 7, 
I think).


Marcus



Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Albert Hopkins
On Wed, 2009-12-02 at 06:13 -0800, BRM wrote:
 the the grub keeps reporting that it is not a recognized format or
 something to that effect, so it won't load it.

Please post the exact error message (write it down if need be). Simply
saying or something to that effect tends to lead to errors in
responses (or something to that effect ;).

-a





Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread BRM
- Original Message 

From: Mick michaelkintz...@gmail.com
 2009/12/2 BRM bm_witn...@yahoo.com:
  I'm still working to get my laptop back up; I have one more thing to try.
  Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 
  kernel that actually works. It might be a processor issue - linux reports 
  it as a
  Pentium M which is what I have selected during 'make menuconfig', but the 
  the grub keeps reporting that it is not a recognized format or something to 
  that effect, so it won't load it.
  Questions:
  1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into 
  my installation to build the kernel. I shouldn't need a newer LiveCD, 
  correct?
 Correct as long as it recognise your hardware.

Thanks.

  2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
  through the install procedure) after changes to the menu file, correct?
 Correct, assuming you have installed GRUB correctly in the first instance

Thanks

  - which makes me ask:
 What is your exact error message?

I'll post that tonight.

- Original Message 
From: Marcus Wanner marc...@cox.net
 I got that error when I copied the wrong kernel image to /boot, make 
 sure you are copying the one detailed in the gentoo handbook (chapter 7, I 
 think).

The last kernel I copied in I copied the file specified by the kernel's README: 
arch/arch/boot/bzImage - arch being x86.

Though according to http://www.gentoo.org/doc/en/kernel-config.xml it should be 
arch/i386/boot/bzImage...not sure which is right off hand.
Will check into it tonight.

Ben




Re: [gentoo-user] Laptop resurrection...

2009-12-02 Thread Dale

BRM wrote:

- Original Message 

From: Mick michaelkintz...@gmail.com
  

2009/12/2 BRM bm_witn...@yahoo.com:


I'm still working to get my laptop back up; I have one more thing to try.
Presently, I am having a problem with the compiling a 2.6.30-gentoo-r8 kernel 
that actually works. It might be a processor issue - linux reports it as a
Pentium M which is what I have selected during 'make menuconfig', but the the 
grub keeps reporting that it is not a recognized format or something to that 
effect, so it won't load it.
Questions:
1) I am using the Gentoo 2007.0 LiveCD to boot with, then chroot'ing into my 
installation to build the kernel. I shouldn't need a newer LiveCD, correct?
  

Correct as long as it recognise your hardware.



Thanks.

  

2) Grub doesn't need to be re-run (e.g. running the grub prompt and going 
through the install procedure) after changes to the menu file, correct?
  

Correct, assuming you have installed GRUB correctly in the first instance



Thanks

  

 - which makes me ask:
What is your exact error message?



I'll post that tonight.

- Original Message 
From: Marcus Wanner marc...@cox.net
  
I got that error when I copied the wrong kernel image to /boot, make 
sure you are copying the one detailed in the gentoo handbook (chapter 7, I think).



The last kernel I copied in I copied the file specified by the kernel's README: 
arch/arch/boot/bzImage - arch being x86.

Though according to http://www.gentoo.org/doc/en/kernel-config.xml it should be 
arch/i386/boot/bzImage...not sure which is right off hand.
Will check into it tonight.

Ben
  


This may not be the problem but I ran into this a while back.  Some 
times when I build a kernel, the bzImage in */i386/boot is actually a 
link, not the bzImage itself.  Naturally copying a link will not boot, 
especially if it breaks the link or /usr is on a separate partition and 
not mounted yet.


I ran into this twice with two different kernels.  I can't recall the 
version tho.  You may want to check that before you copy the bzImage 
over, just to make sure it is a file and not a link.


Oh, don't forget to mount /boot too.  Very common thing to forget.

Dale

:-)  :-) 



Re: [gentoo-user] Laptop resurrection... (solved)

2009-12-02 Thread BRM




- Original Message 
From: Mick michaelkintz...@gmail.com
 On Wednesday 02 December 2009 20:52:35 BRM wrote:
  - Original Message 
  From: Mick michaelkintz...@gmail.com
   2009/12/2 BRM bm_witn...@yahoo.com:
- which makes me ask:
   What is your exact error message?
  I'll post that tonight.

Exact error message was:

ERROR 13: Invalid or unsupported executable format

Well, I mounted the drive again - and didn't go into the chroot shell.
I had been doing all the copying from within the chroot before.
I found the arch/i386/boot/bzImage, which does just point to 
arch/x86/boot/bzImage.

I had copied arch/x86/boot/bzImage but for whatever reason the md5 hashes of 
the image
and what I had copied didn't match. So I copied it, rebooted, and viola it 
worked.
Odd...not sure what was up with it; but it's working. Now to update the 
environment.

- Original Message 
From: Dale rdalek1...@gmail.com
 Oh, don't forget to mount /boot too.  Very common thing to for

True; however I don't setup /boot that way unless I absolutely have to - namely 
for older systems that couldn't access the whole hard drive until after the 
kernel was loaded, or some other explicit reason. I haven't had a system like 
that in a long time. And it wasn't needed on this system.

Thanks!

Ben




Re: [gentoo-user] Laptop Lid Close...

2009-01-29 Thread BRM
Just following up - for anyone searching the archives - the bug report 
mentioned below did solve the problem.

When I had added the acpid to the default run-level, I had not restarted hald 
before starting it, thus the script didn't get called.

Any how...it now works excellently. I use radeontool to turn off the screen, 
and it works without having to know about X.
I also send out a message via D-Bus to the KDE Desktop to initiate the screen 
saver on close, and turn it off on open. (I ignore the password side of the 
screen saver, but you can honor that too if you like).

Thanks for the help all!

Ben



- Original Message 
From: BRM bm_witn...@yahoo.com
To: gentoo-user@lists.gentoo.org
Sent: Monday, January 26, 2009 12:59:55 PM
Subject: Re: [gentoo-user] Laptop Lid Close...

Cool. Thanks. That looks like it should solve the issue.

Ben



- Original Message 
From: Gregory SACRE gregory.sa...@gmail.com
To: gentoo-user@lists.gentoo.org
Sent: Monday, January 26, 2009 11:32:32 AM
Subject: Re: [gentoo-user] Laptop Lid Close...

I've googled a bit and found these two things:

[1] http://bugs.gentoo.org/175464
[2] https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/51591

They both refer to problems with hald and acpid entering in conflict.
Check if you are using hald. If you are, try stopping it and starting
acpid to see if it still gives you the problem.

Concerning the fact that the script isn't called, you have to check in
your /etc/acpi/event/default. Make sure that you have lines such as:

event=.*
action=/etc/acpi/default.sh %e

Basically, it says that for any event handled by acpi, launch
/etc/acpi/default.sh.
And in /etc/acpi/default.sh, check for the lid event. It should look
like this:

[...]
case $group in
[...]
lid)
 /etc/acpi/screen_off.sh  /tmp/screen_off 21
[...]

where screen_off.sh is the script I sent you in my previous mail.


HTH,

Greg

On Sat, Jan 24, 2009 at 4:58 AM, BRM bm_witn...@yahoo.com wrote:
 For some reason, the script is not getting called when I press the button.

 That is not to say that the system doesn't recognize it - if I set KDE to put 
 the system in stand-by when the lid is closed, it very well will. But as I 
 said earlier, that's not what I want - I just want to turn on/off the monitor.

 I know kacpid is running...but I don't think acpid is...at least, when I 
 tried /etc/init.d/acpid start it complained:

 * Starting acpid ...
 acpid: can't open /proc/acpi/event: Device or resource busy

 Ben



 - Original Message 
 From: Gregory SACRE gregory.sa...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Friday, January 23, 2009 2:57:31 PM
 Subject: Re: [gentoo-user] Laptop Lid Close...

 This is the script I am using. It is spawned by the default.sh from /etc/acpi:

 -- SCRIPT START --
 # default display on current host
 export XAUTHORITY=/home/your_user/.Xauthority
 DISPLAY=:0.0

 # find out if monitor is on
 STATUS=`cat /proc/acpi/button/lid/LID0/state`
 logger monitor: $STATUS

 # find out if DPMS is enabled
 DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'`
 logger dpms: $DPMS

 # enable DPMS if disabled
 if [ $DPMS ==   DPMS is Disabled ]
 then
logger Enabling DPMS ...
xset -display $DISPLAY +dpms
 fi

 if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ]
 then
logger [`date`] Turning display OFF
xset -display $DISPLAY dpms force off
 else
logger [`date`] Turning display ON  # shows up in log
xset -display $DISPLAY dpms force on# turn monitor on
xset -display $DISPLAY s activate   # un-blank monitor
 fi

 #clean up
 unset STATUS
 unset DPMS

 # comment this line out if you're manually running this script from a
 shell (put a # in front of it)
 unset DISPLAY

 exit 0
 -- SCRIPT STOP --

 Change the your_user variable.
 I had also to set xscreensaver to switch off my monitor instead of
 blanking it, because I think (not sure) that xscreensaver was
 switching on my monitor when it was supposed to start the screensaver
 (as after a while, my monitor was switched back on, and as I didn't
 see that happening since my xscreensaver modification, I can only
 assume that was the problem).


 HTH,

 Greg


 On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote:
 On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which 
 seems to be the right method. I can toggle the button with the lid open and 
 cat /etc/acpi/button/lid/LID/state and see it change between 'open' and 
 'closed'; and I know I could write myself a little script do

Re: [gentoo-user] Laptop Lid Close...

2009-01-26 Thread Gregory SACRE
I've googled a bit and found these two things:

[1] http://bugs.gentoo.org/175464
[2] https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/51591

They both refer to problems with hald and acpid entering in conflict.
Check if you are using hald. If you are, try stopping it and starting
acpid to see if it still gives you the problem.

Concerning the fact that the script isn't called, you have to check in
your /etc/acpi/event/default. Make sure that you have lines such as:

event=.*
action=/etc/acpi/default.sh %e

Basically, it says that for any event handled by acpi, launch
/etc/acpi/default.sh.
And in /etc/acpi/default.sh, check for the lid event. It should look
like this:

[...]
case $group in
[...]
lid)
 /etc/acpi/screen_off.sh  /tmp/screen_off 21
[...]

where screen_off.sh is the script I sent you in my previous mail.


HTH,

Greg

On Sat, Jan 24, 2009 at 4:58 AM, BRM bm_witn...@yahoo.com wrote:
 For some reason, the script is not getting called when I press the button.

 That is not to say that the system doesn't recognize it - if I set KDE to put 
 the system in stand-by when the lid is closed, it very well will. But as I 
 said earlier, that's not what I want - I just want to turn on/off the monitor.

 I know kacpid is running...but I don't think acpid is...at least, when I 
 tried /etc/init.d/acpid start it complained:

 * Starting acpid ...
 acpid: can't open /proc/acpi/event: Device or resource busy

 Ben



 - Original Message 
 From: Gregory SACRE gregory.sa...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Friday, January 23, 2009 2:57:31 PM
 Subject: Re: [gentoo-user] Laptop Lid Close...

 This is the script I am using. It is spawned by the default.sh from /etc/acpi:

 -- SCRIPT START --
 # default display on current host
 export XAUTHORITY=/home/your_user/.Xauthority
 DISPLAY=:0.0

 # find out if monitor is on
 STATUS=`cat /proc/acpi/button/lid/LID0/state`
 logger monitor: $STATUS

 # find out if DPMS is enabled
 DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'`
 logger dpms: $DPMS

 # enable DPMS if disabled
 if [ $DPMS ==   DPMS is Disabled ]
 then
logger Enabling DPMS ...
xset -display $DISPLAY +dpms
 fi

 if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ]
 then
logger [`date`] Turning display OFF
xset -display $DISPLAY dpms force off
 else
logger [`date`] Turning display ON  # shows up in log
xset -display $DISPLAY dpms force on# turn monitor on
xset -display $DISPLAY s activate   # un-blank monitor
 fi

 #clean up
 unset STATUS
 unset DPMS

 # comment this line out if you're manually running this script from a
 shell (put a # in front of it)
 unset DISPLAY

 exit 0
 -- SCRIPT STOP --

 Change the your_user variable.
 I had also to set xscreensaver to switch off my monitor instead of
 blanking it, because I think (not sure) that xscreensaver was
 switching on my monitor when it was supposed to start the screensaver
 (as after a while, my monitor was switched back on, and as I didn't
 see that happening since my xscreensaver modification, I can only
 assume that was the problem).


 HTH,

 Greg


 On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote:
 On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which 
 seems to be the right method. I can toggle the button with the lid open and 
 cat /etc/acpi/button/lid/LID/state and see it change between 'open' and 
 'closed'; and I know I could write myself a little script do something like 
 calling radeontool to turn off the backlight, but I'd like to find a more 
 official method.

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes 
 out and all), but I didn't see anything for a 'turn off monitor on lid 
 close' setting (preferrably root controlled so that it affects all users). 
 The only thing I can find is a the standby/suspend/shutdown/logoff, system 
 performance, and CPU throttling. I don't really want to do any of that - 
 just put the monitor into stand-by, not necessarily the whole system.

 Any how...I'd really like to get this working.

 TIA,

 Ben

 In...
 /etc/acpi/default.sh

 there's a comment (with commented code you can use following it)...
 # if your laptop doesnt turn on/off the display via hardware
 # switch and instead just generates an acpi event, you can force
 # X to turn off the display via dpms.  note you will have to run
 # 'xhost +local:0' so root can access the X DISPLAY.

 if radeontool or something will allow you to disable the display even
 when you aren't

Re: [gentoo-user] Laptop Lid Close...

2009-01-26 Thread BRM
Cool. Thanks. That looks like it should solve the issue.

Ben



- Original Message 
From: Gregory SACRE gregory.sa...@gmail.com
To: gentoo-user@lists.gentoo.org
Sent: Monday, January 26, 2009 11:32:32 AM
Subject: Re: [gentoo-user] Laptop Lid Close...

I've googled a bit and found these two things:

[1] http://bugs.gentoo.org/175464
[2] https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/51591

They both refer to problems with hald and acpid entering in conflict.
Check if you are using hald. If you are, try stopping it and starting
acpid to see if it still gives you the problem.

Concerning the fact that the script isn't called, you have to check in
your /etc/acpi/event/default. Make sure that you have lines such as:

event=.*
action=/etc/acpi/default.sh %e

Basically, it says that for any event handled by acpi, launch
/etc/acpi/default.sh.
And in /etc/acpi/default.sh, check for the lid event. It should look
like this:

[...]
case $group in
[...]
lid)
 /etc/acpi/screen_off.sh  /tmp/screen_off 21
[...]

where screen_off.sh is the script I sent you in my previous mail.


HTH,

Greg

On Sat, Jan 24, 2009 at 4:58 AM, BRM bm_witn...@yahoo.com wrote:
 For some reason, the script is not getting called when I press the button.

 That is not to say that the system doesn't recognize it - if I set KDE to put 
 the system in stand-by when the lid is closed, it very well will. But as I 
 said earlier, that's not what I want - I just want to turn on/off the monitor.

 I know kacpid is running...but I don't think acpid is...at least, when I 
 tried /etc/init.d/acpid start it complained:

 * Starting acpid ...
 acpid: can't open /proc/acpi/event: Device or resource busy

 Ben



 - Original Message 
 From: Gregory SACRE gregory.sa...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Sent: Friday, January 23, 2009 2:57:31 PM
 Subject: Re: [gentoo-user] Laptop Lid Close...

 This is the script I am using. It is spawned by the default.sh from /etc/acpi:

 -- SCRIPT START --
 # default display on current host
 export XAUTHORITY=/home/your_user/.Xauthority
 DISPLAY=:0.0

 # find out if monitor is on
 STATUS=`cat /proc/acpi/button/lid/LID0/state`
 logger monitor: $STATUS

 # find out if DPMS is enabled
 DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'`
 logger dpms: $DPMS

 # enable DPMS if disabled
 if [ $DPMS ==   DPMS is Disabled ]
 then
logger Enabling DPMS ...
xset -display $DISPLAY +dpms
 fi

 if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ]
 then
logger [`date`] Turning display OFF
xset -display $DISPLAY dpms force off
 else
logger [`date`] Turning display ON  # shows up in log
xset -display $DISPLAY dpms force on# turn monitor on
xset -display $DISPLAY s activate   # un-blank monitor
 fi

 #clean up
 unset STATUS
 unset DPMS

 # comment this line out if you're manually running this script from a
 shell (put a # in front of it)
 unset DISPLAY

 exit 0
 -- SCRIPT STOP --

 Change the your_user variable.
 I had also to set xscreensaver to switch off my monitor instead of
 blanking it, because I think (not sure) that xscreensaver was
 switching on my monitor when it was supposed to start the screensaver
 (as after a while, my monitor was switched back on, and as I didn't
 see that happening since my xscreensaver modification, I can only
 assume that was the problem).


 HTH,

 Greg


 On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote:
 On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which 
 seems to be the right method. I can toggle the button with the lid open and 
 cat /etc/acpi/button/lid/LID/state and see it change between 'open' and 
 'closed'; and I know I could write myself a little script do something like 
 calling radeontool to turn off the backlight, but I'd like to find a more 
 official method.

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes 
 out and all), but I didn't see anything for a 'turn off monitor on lid 
 close' setting (preferrably root controlled so that it affects all users). 
 The only thing I can find is a the standby/suspend/shutdown/logoff, system 
 performance, and CPU throttling. I don't really want to do any of that - 
 just put the monitor into stand-by, not necessarily the whole system.

 Any how...I'd really like to get this working.

 TIA,

 Ben

 In...
 /etc/acpi/default.sh

 there's a comment (with commented code you can use following it)...
 # if your laptop doesnt turn on/off the display via hardware
 # switch

Re: [gentoo-user] Laptop Lid Close...

2009-01-25 Thread Gian Calgeer
Hi

BRM wrote:

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes
 out and all)

There's no need to wait for Portage 2.2 in order to install KDE 4, 2.1.6.4
also seems to support EAPI 2. 

Gian




Re: [gentoo-user] Laptop Lid Close...

2009-01-24 Thread Brandon Vargo
On Fri, 2009-01-23 at 02:14 -0500, Joshua Murphy wrote:
 if radeontool or something will allow you to disable the display even
 when you aren't in X, or without proper access to the display (like
 xset requires) you might be able to even escape needing that xhost
 setting. No way of testing it at all myself though.

I use the dpms feature of sys-apps/vbetool to control the state of the
display from a shell script called by acpid. It works even when X is not
running and does not need access to the X display if X is running. Also,
it works with graphics cards from multiple vendors, as it uses VESA
extensions. From personal experience, I know it works with the Intel
graphics chipset in my laptop (x86) and also with the Nvidia graphics
card in my desktop (amd64). The latter does not have a lid to close, of
course, but vbetool can still turn off the display.

--Brandon Vargo




Re: [gentoo-user] Laptop Lid Close...

2009-01-23 Thread Gregory SACRE
This is the script I am using. It is spawned by the default.sh from /etc/acpi:

-- SCRIPT START --
# default display on current host
export XAUTHORITY=/home/your_user/.Xauthority
DISPLAY=:0.0

# find out if monitor is on
STATUS=`cat /proc/acpi/button/lid/LID0/state`
logger monitor: $STATUS

# find out if DPMS is enabled
DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'`
logger dpms: $DPMS

# enable DPMS if disabled
if [ $DPMS ==   DPMS is Disabled ]
then
logger Enabling DPMS ...
xset -display $DISPLAY +dpms
fi

if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ]
then
logger [`date`] Turning display OFF
xset -display $DISPLAY dpms force off
else
logger [`date`] Turning display ON  # shows up in log
xset -display $DISPLAY dpms force on# turn monitor on
xset -display $DISPLAY s activate   # un-blank monitor
fi

#clean up
unset STATUS
unset DPMS

# comment this line out if you're manually running this script from a
shell (put a # in front of it)
unset DISPLAY

exit 0
-- SCRIPT STOP --

Change the your_user variable.
I had also to set xscreensaver to switch off my monitor instead of
blanking it, because I think (not sure) that xscreensaver was
switching on my monitor when it was supposed to start the screensaver
(as after a while, my monitor was switched back on, and as I didn't
see that happening since my xscreensaver modification, I can only
assume that was the problem).


HTH,

Greg


On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote:
 On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which seems 
 to be the right method. I can toggle the button with the lid open and cat 
 /etc/acpi/button/lid/LID/state and see it change between 'open' and 
 'closed'; and I know I could write myself a little script do something like 
 calling radeontool to turn off the backlight, but I'd like to find a more 
 official method.

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes 
 out and all), but I didn't see anything for a 'turn off monitor on lid 
 close' setting (preferrably root controlled so that it affects all users). 
 The only thing I can find is a the standby/suspend/shutdown/logoff, system 
 performance, and CPU throttling. I don't really want to do any of that - 
 just put the monitor into stand-by, not necessarily the whole system.

 Any how...I'd really like to get this working.

 TIA,

 Ben

 In...
 /etc/acpi/default.sh

 there's a comment (with commented code you can use following it)...
 # if your laptop doesnt turn on/off the display via hardware
 # switch and instead just generates an acpi event, you can force
 # X to turn off the display via dpms.  note you will have to run
 # 'xhost +local:0' so root can access the X DISPLAY.

 if radeontool or something will allow you to disable the display even
 when you aren't in X, or without proper access to the display (like
 xset requires) you might be able to even escape needing that xhost
 setting. No way of testing it at all myself though.

 --
 Poison [BLX]
 Joshua M. Murphy





Re: [gentoo-user] Laptop Lid Close...

2009-01-23 Thread BRM
For some reason, the script is not getting called when I press the button.

That is not to say that the system doesn't recognize it - if I set KDE to put 
the system in stand-by when the lid is closed, it very well will. But as I said 
earlier, that's not what I want - I just want to turn on/off the monitor.

I know kacpid is running...but I don't think acpid is...at least, when I tried 
/etc/init.d/acpid start it complained:

* Starting acpid ...
acpid: can't open /proc/acpi/event: Device or resource busy

Ben



- Original Message 
From: Gregory SACRE gregory.sa...@gmail.com
To: gentoo-user@lists.gentoo.org
Sent: Friday, January 23, 2009 2:57:31 PM
Subject: Re: [gentoo-user] Laptop Lid Close...

This is the script I am using. It is spawned by the default.sh from /etc/acpi:

-- SCRIPT START --
# default display on current host
export XAUTHORITY=/home/your_user/.Xauthority
DISPLAY=:0.0

# find out if monitor is on
STATUS=`cat /proc/acpi/button/lid/LID0/state`
logger monitor: $STATUS

# find out if DPMS is enabled
DPMS=`xset -display $DISPLAY -q | grep -e 'DPMS is'`
logger dpms: $DPMS

# enable DPMS if disabled
if [ $DPMS ==   DPMS is Disabled ]
then
logger Enabling DPMS ...
xset -display $DISPLAY +dpms
fi

if [ `echo $STATUS | grep -i closed | wc -l` -eq 1 ]
then
logger [`date`] Turning display OFF
xset -display $DISPLAY dpms force off
else
logger [`date`] Turning display ON  # shows up in log
xset -display $DISPLAY dpms force on# turn monitor on
xset -display $DISPLAY s activate   # un-blank monitor
fi

#clean up
unset STATUS
unset DPMS

# comment this line out if you're manually running this script from a
shell (put a # in front of it)
unset DISPLAY

exit 0
-- SCRIPT STOP --

Change the your_user variable.
I had also to set xscreensaver to switch off my monitor instead of
blanking it, because I think (not sure) that xscreensaver was
switching on my monitor when it was supposed to start the screensaver
(as after a while, my monitor was switched back on, and as I didn't
see that happening since my xscreensaver modification, I can only
assume that was the problem).


HTH,

Greg


On Fri, Jan 23, 2009 at 8:14 AM, Joshua Murphy poiso...@gmail.com wrote:
 On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which seems 
 to be the right method. I can toggle the button with the lid open and cat 
 /etc/acpi/button/lid/LID/state and see it change between 'open' and 
 'closed'; and I know I could write myself a little script do something like 
 calling radeontool to turn off the backlight, but I'd like to find a more 
 official method.

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes 
 out and all), but I didn't see anything for a 'turn off monitor on lid 
 close' setting (preferrably root controlled so that it affects all users). 
 The only thing I can find is a the standby/suspend/shutdown/logoff, system 
 performance, and CPU throttling. I don't really want to do any of that - 
 just put the monitor into stand-by, not necessarily the whole system.

 Any how...I'd really like to get this working.

 TIA,

 Ben

 In...
 /etc/acpi/default.sh

 there's a comment (with commented code you can use following it)...
 # if your laptop doesnt turn on/off the display via hardware
 # switch and instead just generates an acpi event, you can force
 # X to turn off the display via dpms.  note you will have to run
 # 'xhost +local:0' so root can access the X DISPLAY.

 if radeontool or something will allow you to disable the display even
 when you aren't in X, or without proper access to the display (like
 xset requires) you might be able to even escape needing that xhost
 setting. No way of testing it at all myself though.

 --
 Poison [BLX]
 Joshua M. Murphy





[gentoo-user] Laptop Lid Close...

2009-01-22 Thread BRM
I'm running a Dell D600, and I've located a number of tools for it but I am not 
seeing anything related to when I close the lid. Since I got Gentoo running on 
it, the Monitor continues running when I close the lid.

I've found several sources for doing something as an ACPI event, which seems to 
be the right method. I can toggle the button with the lid open and cat 
/etc/acpi/button/lid/LID/state and see it change between 'open' and 'closed'; 
and I know I could write myself a little script do something like calling 
radeontool to turn off the backlight, but I'd like to find a more official 
method.

I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes out 
and all), but I didn't see anything for a 'turn off monitor on lid close' 
setting (preferrably root controlled so that it affects all users). The only 
thing I can find is a the standby/suspend/shutdown/logoff, system performance, 
and CPU throttling. I don't really want to do any of that - just put the 
monitor into stand-by, not necessarily the whole system.

Any how...I'd really like to get this working.

TIA,

Ben




Re: [gentoo-user] Laptop Lid Close...

2009-01-22 Thread Joshua Murphy
On Thu, Jan 22, 2009 at 8:24 PM, BRM bm_witn...@yahoo.com wrote:
 I'm running a Dell D600, and I've located a number of tools for it but I am 
 not seeing anything related to when I close the lid. Since I got Gentoo 
 running on it, the Monitor continues running when I close the lid.

 I've found several sources for doing something as an ACPI event, which seems 
 to be the right method. I can toggle the button with the lid open and cat 
 /etc/acpi/button/lid/LID/state and see it change between 'open' and 'closed'; 
 and I know I could write myself a little script do something like calling 
 radeontool to turn off the backlight, but I'd like to find a more official 
 method.

 I mostly run KDE 3.5 (I'll go to KDE4 when I can...once portage 2.2 comes out 
 and all), but I didn't see anything for a 'turn off monitor on lid close' 
 setting (preferrably root controlled so that it affects all users). The only 
 thing I can find is a the standby/suspend/shutdown/logoff, system 
 performance, and CPU throttling. I don't really want to do any of that - just 
 put the monitor into stand-by, not necessarily the whole system.

 Any how...I'd really like to get this working.

 TIA,

 Ben

In...
/etc/acpi/default.sh

there's a comment (with commented code you can use following it)...
# if your laptop doesnt turn on/off the display via hardware
# switch and instead just generates an acpi event, you can force
# X to turn off the display via dpms.  note you will have to run
# 'xhost +local:0' so root can access the X DISPLAY.

if radeontool or something will allow you to disable the display even
when you aren't in X, or without proper access to the display (like
xset requires) you might be able to even escape needing that xhost
setting. No way of testing it at all myself though.

-- 
Poison [BLX]
Joshua M. Murphy



[gentoo-user] laptop internal fan

2009-01-14 Thread Allan Arguelles
I have a Sony VGN-FE880E and the fans don't run no matter how hot the
laptop gets.

 I used to run Vista on this, and it worked fine. I don't recall ever
having the fans active under Gentoo though. Is there anything I missed
emerge-ing?




[gentoo-user] Laptop fails boot on battery

2008-06-23 Thread dexters84

I have an Asus Z92F laptop - a modification of Asus A6F model

ICH7 chipset
CoreDuo T2250
1,5GB DDR2
Intel 950 graphics
ATA100 HD 80GB

My problem with it is that it fails to boot into linux when working only 
on battery. When I plug the power supply and do a fresh boot kernel 
loads properly.
Boot proces freezes when kernel enumerates block devices, it is unable 
to identify my hard drive.


I've been trying with different kernel versions (2.6.20 - 2.6.24), and 
kernel settings - no luck - the only way to boot into linux is to 
connect to power supply.


I'll appreciate any advice
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
My Windows Vista laptop ate the big one from M$ and died under the
weight of Windows Update. The hardware seems to check out fine
overnight so I'm going to finally do dual boot on this machine like I
wanted to when I bought it.

Data:

80GB hard drive
2GB DRAM

Questions:

1) What's the recommended order to install dual boot today. I prefer
to go Gentoo first, XP second. Any issues?

2) What recommendations do folks have about splitting an 80GB drive
up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
20-30GB at the end of the drive. Partitions? I'm considering:

sda1 - /boot = 50MB
sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
of my drive and I won't likely ever use all of 2GB or RAM.)
sda3 - /var = 2GB
sda4 ==extended
sda5 - / balance of Linux side, say 55GB
sda6 == Windows drive C:

Any and all comments and ideas welcomed.

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Etaoin Shrdlu
On Friday 2 May 2008, 18:41, Mark Knecht wrote:

 Data:

 80GB hard drive
 2GB DRAM

 Questions:

 1) What's the recommended order to install dual boot today. I prefer
 to go Gentoo first, XP second. Any issues?

Yes. XP will blow away the MBR and replace it with its own MBR, so, to be 
able to boot linux again, you'll have to boot with a livecd, chroot, and 
re-install grub (or lilo). On the other hand, if you install windows 
first, and linux last, you will have no problems when you'll have to 
configure grub: just add another entry for booting a non-linux OS.

 2) What recommendations do folks have about splitting an 80GB drive
 up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
 20-30GB at the end of the drive. Partitions? I'm considering:

 sda1 - /boot = 50MB
 sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
 of my drive and I won't likely ever use all of 2GB or RAM.)
 sda3 - /var = 2GB
 sda4 ==extended
 sda5 - / balance of Linux side, say 55GB
 sda6 == Windows drive C:

 Any and all comments and ideas welcomed.

Any particular reason to put windows at the end of the drive? This should 
however not be a problem, it you partition the space at the beginning of 
the disk *before* installing XP (eg, doing (c)fdisk from a livecd).

On my laptop, I partitioned as follows:

hda1 - windows  (23GB)
hda2 - extended
hda5 - /boot (50MB)
hda6 - swap  (2GB)
hda7 - /home (45GB)
hda8 - / (remaining space, ~10GB)

I don't need a separate /var. Do you have special requirements to keep it 
separated?
On the other hand, I like to use a dedicated partition for /home. This is 
useful because you can share your home folder among different distros 
(in case you have more than one installed), and, more important, if you 
need you can wipe / and reinstall without touching /home (probably 
saving /etc and something else beforehand if you want...but still 
quicker than backing up several GB of data, which you are forced to do 
if you have /home on /).
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, Mark Knecht wrote:
 My Windows Vista laptop ate the big one from M$ and died under the
 weight of Windows Update. The hardware seems to check out fine
 overnight so I'm going to finally do dual boot on this machine like I
 wanted to when I bought it.

 Data:

 80GB hard drive
 2GB DRAM

 Questions:

 1) What's the recommended order to install dual boot today. I prefer
 to go Gentoo first, XP second. Any issues?

All of this is mostly my own viewpoint from experience. There may be 
other ways:


Other way round. Windows operating systems have a nasty habit of 
assuming they are the only system on the machine and merrily trash 
everything in sight for their own nefarious purposes. Then they 
overwrite any existing bootloader. I do this:

Install XP. If you can get it to limit the partition size it uses, so 
much the better
Resize windows partition downwards with Linux LiveCD. Most recent ones 
support this.
Install Linux and set up a chainloader as normal in grub to boot windows
Finally boot Windows and let it do what it wants with the partitions 
that need checking. This is expected behaviour caused by the downward 
resize

 2) What recommendations do folks have about splitting an 80GB drive
 up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP
 using 20-30GB at the end of the drive. Partitions? I'm considering:

 sda1 - /boot = 50MB
 sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
 of my drive and I won't likely ever use all of 2GB or RAM.)
 sda3 - /var = 2GB
 sda4 ==extended
 sda5 - / balance of Linux side, say 55GB
 sda6 == Windows drive C:

Again, you have to take account of windows brain-deadedness and the even 
greater braindeadedness of windows administrators. They don't expect 
boot partitions

I would allocate as little as possible for windows itself. Say 10G, 
which allows for the OS plus it's virtual memory file plus other cache 
stuff

From sda2 onwards, lay out your partitions as for a regular Linux 
installation. Use your own preferences for swap, lvm, filesystems etc. 
Being able to share data between both OSes is useful, so leave the most 
space possible for data: You have two options:

FAT32. This is gross and gives you no security. It's also the easiest as 
both OSes support it out the box.
Ext3/ReiserFS: Better solution security-wise but requires some setup. 
You have to download and install windows drivers from sourceforge.

There's a third option - use the ntfs-ng driver in Linux. It seems just 
silly to use this for your main data storage though.



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Dirk Heinrichs
Am Freitag, 2. Mai 2008 schrieb Mark Knecht:
 My Windows Vista laptop ate the big one from M$ and died under the
 weight of Windows Update. The hardware seems to check out fine
 overnight so I'm going to finally do dual boot on this machine like I
 wanted to when I bought it.

 Data:

 80GB hard drive
 2GB DRAM

 Questions:

 1) What's the recommended order to install dual boot today. I prefer
 to go Gentoo first, XP second. Any issues?

Dunno. All machines I ever setup as dual boot had Windows pre-installed, so I 
can only say: There are no issues when installing Windows first.

 2) What recommendations do folks have about splitting an 80GB drive
 up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP using
 20-30GB at the end of the drive. Partitions? I'm considering:

 sda1 - /boot = 50MB
 sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
 of my drive and I won't likely ever use all of 2GB or RAM.)
 sda3 - /var = 2GB
 sda4 ==extended
 sda5 - / balance of Linux side, say 55GB
 sda6 == Windows drive C:

 Any and all comments and ideas welcomed.

Here they are: I mostly keep 20G for Windows, but it could well be 10 :-)

My setup:
sda1 - Windows
sda2 - /boot, ext2, 32m.
sda3 - /, xfs, 256m  (Setting up this way frees you from using initramfs)
sda4 - LVM, for everything else.

LVM Setup (one volume group having the machine name in its name, like
/dev/machine-name_vg00/volume, with volume being:
usr - /usr, xfs, starting with 3G, growing on demand
var - /var, xfs, 1G
opt - /opt, xfs, 1G
johndoe - /home/johndoe, xfs, size depends
overlays - /gentoo/overlays, xfs, 1G (portage tree and overlays)
build - /gentoo/build, xfs, size depends (up to 6G if you want to build OOo)
distfiles - /gentoo/distfiles, xfs, 2G
swap - swap, swap, 2G (optional)
whatever you need in addition.

You wrote this is a laptop, so if you consider encrypting the volumes 
(incl. /) you need an initramfs anyway, which means you could also put / on a 
logical volume (in which case the above would change to: sda3 - LVM and 
root - /, xfs, 256m).

HTH...

Dirk


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


Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Sandro Hannemann
Hi,

On linux-2.6.25  NTFS write support is finally stable...

CONFIG_NTFS_FS=y
CONFIG_NTFS_RW=y

No need to go FAT anymore...

Cheers,
Sandro
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:06 AM, Alan McKinnon [EMAIL PROTECTED] wrote:
 On Friday 02 May 2008, Mark Knecht wrote:
   My Windows Vista laptop ate the big one from M$ and died under the
   weight of Windows Update. The hardware seems to check out fine
   overnight so I'm going to finally do dual boot on this machine like I
   wanted to when I bought it.
  
   Data:
  
   80GB hard drive
   2GB DRAM
  
   Questions:
  
   1) What's the recommended order to install dual boot today. I prefer
   to go Gentoo first, XP second. Any issues?

  All of this is mostly my own viewpoint from experience. There may be
  other ways:


  Other way round. Windows operating systems have a nasty habit of
  assuming they are the only system on the machine and merrily trash
  everything in sight for their own nefarious purposes. Then they
  overwrite any existing bootloader. I do this:

  Install XP. If you can get it to limit the partition size it uses, so
  much the better
  Resize windows partition downwards with Linux LiveCD. Most recent ones
  support this.
  Install Linux and set up a chainloader as normal in grub to boot windows
  Finally boot Windows and let it do what it wants with the partitions
  that need checking. This is expected behaviour caused by the downward
  resize


   2) What recommendations do folks have about splitting an 80GB drive
   up. I'm thinking of maybe 50-60GB for Gentoo, followed by Win XP
   using 20-30GB at the end of the drive. Partitions? I'm considering:
  
   sda1 - /boot = 50MB
   sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
   of my drive and I won't likely ever use all of 2GB or RAM.)
   sda3 - /var = 2GB
   sda4 ==extended
   sda5 - / balance of Linux side, say 55GB
   sda6 == Windows drive C:

  Again, you have to take account of windows brain-deadedness and the even
  greater braindeadedness of windows administrators. They don't expect
  boot partitions

  I would allocate as little as possible for windows itself. Say 10G,
  which allows for the OS plus it's virtual memory file plus other cache
  stuff

  From sda2 onwards, lay out your partitions as for a regular Linux
  installation. Use your own preferences for swap, lvm, filesystems etc.
  Being able to share data between both OSes is useful, so leave the most
  space possible for data: You have two options:

  FAT32. This is gross and gives you no security. It's also the easiest as
  both OSes support it out the box.
  Ext3/ReiserFS: Better solution security-wise but requires some setup.
  You have to download and install windows drivers from sourceforge.

  There's a third option - use the ntfs-ng driver in Linux. It seems just
  silly to use this for your main data storage though.


First, thanks to everyone for the quick answers.

1) I'll go with Windows first. That's relatively fast and if I run
into hardware problems it will show up more quickly which is good.
Saves me the time of doing the Gentoo install and then finding issues.

2) If I do Windows first then /dev/sda1 will be NTFS. Does this change
how I install grub? I'm a little fuzzy as to where the MBR is. Is it
in the first partition or in a special area by itself? The commands
from the install guide is this:

livecd conf.d # grub
grub root (hd0,0)
grub setup (hd0)
quit

I presume I'll use

grub root(hd0,4)

to point at my root and still use

grub setup (hd0) to get grub installed into the MBR?

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Dirk Heinrichs
Am Freitag, 2. Mai 2008 schrieb Mark Knecht:

 I presume I'll use

 grub root(hd0,4)
 to point at my root and still use

That should be grub's root (/boot), NOT linux' (/), means (hd0,1) if /boot is 
sda2.

 grub setup (hd0) to get grub installed into the MBR?

That's correct.

Bye...

Dirk


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


Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:34 AM, Dirk Heinrichs
[EMAIL PROTECTED] wrote:
 Am Freitag, 2. Mai 2008 schrieb Mark Knecht:


  I presume I'll use
  
   grub root(hd0,4)
   to point at my root and still use

  That should be grub's root (/boot), NOT linux' (/), means (hd0,1) if /boot is
  sda2.


   grub setup (hd0) to get grub installed into the MBR?

  That's correct.

  Bye...

 Dirk

Thanks Dirk.

Windows is nearly installed so I'll move on to Gentoo in the next hour
or so. I went with a 10G NTFS partition and will use the rest for
Gentoo. I've been using a Windows etx3 driver to access Linux
partitions so I'll do that here and set up a common personal data area
for both environments where I can keep my files. I've also got about 8
external 1394 and USB drives so if I need more of anything I can
always plug one of them in.

I really appreciate everyone's inputs. Thanks!

Cheers,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:01 AM, Etaoin Shrdlu [EMAIL PROTECTED] wrote:
SNIP:
  
   sda1 - /boot = 50MB
   sda2 - swap (unsure whether I should dedicate 4GB to this. That's 5%
   of my drive and I won't likely ever use all of 2GB or RAM.)
   sda3 - /var = 2GB
   sda4 ==extended
   sda5 - / balance of Linux side, say 55GB
   sda6 == Windows drive C:
  
   Any and all comments and ideas welcomed.

  Any particular reason to put windows at the end of the drive? This should
  however not be a problem, it you partition the space at the beginning of
  the disk *before* installing XP (eg, doing (c)fdisk from a livecd).

  On my laptop, I partitioned as follows:

  hda1 - windows  (23GB)
  hda2 - extended
  hda5 - /boot (50MB)
  hda6 - swap  (2GB)
  hda7 - /home (45GB)
  hda8 - / (remaining space, ~10GB)

  I don't need a separate /var. Do you have special requirements to keep it
  separated?
  On the other hand, I like to use a dedicated partition for /home. This is
  useful because you can share your home folder among different distros
  (in case you have more than one installed), and, more important, if you
  need you can wipe / and reinstall without touching /home (probably
  saving /etc and something else beforehand if you want...but still
  quicker than backing up several GB of data, which you are forced to do
  if you have /home on /).

Great inputs. I'm going to use a 10GB partition for /home, a 40GB
partition for data shared with XP, and a 1.3GB /var partition. My
reason for keeping /var on it's own is that I sometimes run into
programs that spew so much stuff into /var that they will fill up the
partition. If that happens then I cannot log into X until I clean it
up. It's just what I do.

I put in a 2GB swap partition. It's not 2x memory but I really think
it's unlikely that I'll need it. If I do then I'll size down the data
sharing partition which I'm putting at the end of the drive and put it
out there.

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Mark Knecht
On Fri, May 2, 2008 at 10:22 AM, Sandro Hannemann [EMAIL PROTECTED] wrote:
 Hi,

  On linux-2.6.25  NTFS write support is finally stable...

  CONFIG_NTFS_FS=y
  CONFIG_NTFS_RW=y

  No need to go FAT anymore...

  Cheers,
  Sandro

I'll keep that in mind. Thanks. However that's not on the 2007.0
install CD so it will get enabled after I get the machine built.

Thanks,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop dual-boot rebuild - disk partition questions

2008-05-02 Thread Alan McKinnon
On Friday 02 May 2008, Sandro Hannemann wrote:
 Hi,

 On linux-2.6.25  NTFS write support is finally stable...

 CONFIG_NTFS_FS=y
 CONFIG_NTFS_RW=y

 No need to go FAT anymore...

Not quite. 

It's not ntfs-ng, it's the same old ntfs write support that's been there 
for ages, and it's *partial* write support. From fs/Kconfig line 836:


config NTFS_RW
bool NTFS write support
depends on NTFS_FS
help
  This enables the partial, but safe, write support in the NTFS 
driver.

  The only supported operation is overwriting existing files, 
without
  changing the file length.  No file or directory creation, 
deletion or
  renaming is possible.  Note only non-resident files can be 
written to
  so you may find that some very small files (500 bytes or so) 
cannot
  be written to.

  While we cannot guarantee that it will not damage any data, we 
have
  so far not received a single report where the driver would 
have
  damaged someones data so we assume it is perfectly safe to 
use.

  Note:  While write support is safe in this version (a rewrite 
from
  scratch of the NTFS support), it should be noted that the old 
NTFS
  write support, included in Linux 2.5.10 and before (since 
1997),
  is not safe.




-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-04-04 Thread Grant
| My Gentoo laptop keeps freezing.  It will stay up for about 30
 minutes
| and then stop responding altogether.  I've checked the logs but
 there
| is nothing informative there.  I'm all up to date with packages.
 How
| do you troubleshoot something like this?
|
| - Grant
|
| Start with ls_sensors and monitor CPU and motherboard temp.
+1 to that.  I had a laptop that was doing the exact same thing.  I
installed lm_sensors and saw that at rest my temp was generally 40C
(that's with powersave enabled).  When I compiled the temp would go up
to 75C...I think the highest I ever got it was 77C.*  A /little/ over
 40
is too hot...
  
*For the Americans (like me) the easy way for C - F is double it,
subtract 10% and add 32.  So the temps would be 104F, 167F and 171F.
  
  
 
  The laptop has stopped freezing now.  Not sure what was going on.
  Thanks a lot for all the help and I'll refer back if I need to.
 
  - Grant
 
 

  Do you recall what you did?  Recompile a package?  Blow out some dust
 bunnies?  Cross your toes?

I believe it stopped freezing after it's periodic ext3 filesystem
check after a reboot, but it didn't report any type of error after the
check.  Another possibility was upgrading to xscreensaver-5.05 from
5.04.  Overall I'm puzzled but happy.

- Grant

  Dale
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-04-04 Thread Dale

Grant wrote:

Dale said this part.  o_O
 Do you recall what you did?  Recompile a package?  Blow out some dust
bunnies?  Cross your toes?



I believe it stopped freezing after it's periodic ext3 filesystem
check after a reboot, but it didn't report any type of error after the
check.  Another possibility was upgrading to xscreensaver-5.05 from
5.04.  Overall I'm puzzled but happy.

- Grant

  

 Dale




Sounds good.  At least if someone else runs into this and takes the time 
to search, they can find something to check/try before posting.


Glad it is working for ya tho.

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-04-03 Thread Grant
  | My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
  | and then stop responding altogether.  I've checked the logs but there
  | is nothing informative there.  I'm all up to date with packages.  How
  | do you troubleshoot something like this?
  |
  | - Grant
  |
  | Start with ls_sensors and monitor CPU and motherboard temp.
  +1 to that.  I had a laptop that was doing the exact same thing.  I
  installed lm_sensors and saw that at rest my temp was generally 40C
  (that's with powersave enabled).  When I compiled the temp would go up
  to 75C...I think the highest I ever got it was 77C.*  A /little/ over 40
  is too hot...

  *For the Americans (like me) the easy way for C - F is double it,
  subtract 10% and add 32.  So the temps would be 104F, 167F and 171F.

The laptop has stopped freezing now.  Not sure what was going on.
Thanks a lot for all the help and I'll refer back if I need to.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-04-03 Thread Dale

Grant wrote:

 | My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
 | and then stop responding altogether.  I've checked the logs but there
 | is nothing informative there.  I'm all up to date with packages.  How
 | do you troubleshoot something like this?
 |
 | - Grant
 |
 | Start with ls_sensors and monitor CPU and motherboard temp.
 +1 to that.  I had a laptop that was doing the exact same thing.  I
 installed lm_sensors and saw that at rest my temp was generally 40C
 (that's with powersave enabled).  When I compiled the temp would go up
 to 75C...I think the highest I ever got it was 77C.*  A /little/ over 40
 is too hot...

 *For the Americans (like me) the easy way for C - F is double it,
 subtract 10% and add 32.  So the temps would be 104F, 167F and 171F.



The laptop has stopped freezing now.  Not sure what was going on.
Thanks a lot for all the help and I'll refer back if I need to.

- Grant
  


Do you recall what you did?  Recompile a package?  Blow out some dust 
bunnies?  Cross your toes?


Just curious.

Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-04-01 Thread Eric Martin

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joseph wrote:
| On 03/31/08 09:26, Grant wrote:
| My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
| and then stop responding altogether.  I've checked the logs but there
| is nothing informative there.  I'm all up to date with packages.  How
| do you troubleshoot something like this?
|
| - Grant
|
| Start with ls_sensors and monitor CPU and motherboard temp.
+1 to that.  I had a laptop that was doing the exact same thing.  I
installed lm_sensors and saw that at rest my temp was generally 40C
(that's with powersave enabled).  When I compiled the temp would go up
to 75C...I think the highest I ever got it was 77C.*  A /little/ over 40
is too hot...

*For the Americans (like me) the easy way for C - F is double it,
subtract 10% and add 32.  So the temps would be 104F, 167F and 171F.

- --
Eric Martin
PGP fingerprint = D1C4 086E DBB5 C18E 6FDA  B215 6A25 7174 A941 3B9F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH8phDdheOldgSlQgRAuKcAKDcYnv7PuepF5no3Z74on/6wYUfIACgvWXz
ETwrpz+31+rq0tB4UqSWCMY=
=0div
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Laptop keeps freezing

2008-03-31 Thread Grant
My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
and then stop responding altogether.  I've checked the logs but there
is nothing informative there.  I'm all up to date with packages.  How
do you troubleshoot something like this?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Mark Knecht
On Mon, Mar 31, 2008 at 9:26 AM, Grant [EMAIL PROTECTED] wrote:
 My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
  and then stop responding altogether.  I've checked the logs but there
  is nothing informative there.  I'm all up to date with packages.  How
  do you troubleshoot something like this?

  - Grant

It's a bit hard with a laptop but there are some things you can do.

1) Does it freeze under no load? Just boot it and wait. don't log in, etc.

2) Does it only boot once logged in? What's running?

3) From another machine can you ssh in and then watch from there? Is
the laptop dead or is it just not responding to its own keyboard? If
it's still alive what's in the log files?

Probably there are lots more things to do but these are the sort of
things I'd try first.

Good luck,
Mark
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Ale
2008/3/31, Grant [EMAIL PROTECTED]:

 My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
 and then stop responding altogether.  I've checked the logs but there
 is nothing informative there.  I'm all up to date with packages.  How
 do you troubleshoot something like this?

 - Grant

 --
 gentoo-user@lists.gentoo.org mailing list


Which logs didi you check? For sure you will get something there. Do you
have syslog-ng running or something similar?
laptop? arch?
Di you tried to run a live cd, for example?


Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Willie Wong
On Mon, Mar 31, 2008 at 09:26:34AM -0700, Grant wrote:
 My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
 and then stop responding altogether.  I've checked the logs but there
 is nothing informative there.  I'm all up to date with packages.  How
 do you troubleshoot something like this?

The first thing to determine is that whether it is freezing of the
user interface or the underlying kernel. For desktops I often compile
the kernel with the option that it flashes the keyboard LEDs when it
is panicking, so I can see at a glance that the omelette has hit the
fan. 

So: 
  a) This freezing behaviour, does it manifest only in X, or does it
happen if you boot into a non-graphical environment?
  b) If both, is it possible to have your laptop on a private network
with ssh/telnet listening? If so, please see if after the freezing
behaviour, you can still telnet/ssh into the laptop? If you can, can
you run top from the terminal and see if anything is just taking up
100% resource? 

Other things to check:
  c) could your laptop be overheating? 
  d) is this a new phenomenon or something that has happened
consistently since the dawn of time? i.e. did you update any software
recently or is this something that just happened right out of the box
with your spanking new hardware? 
  e) If this is a spanking new machine, and if it comes with one of
the bastard OSes pre-installed, does this also happen running that
operating system? (Maybe you are due a refund?)

HTH, 

W
-- 
Willie W. Wong  [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Steven Lembark

Grant wrote:
 My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
 and then stop responding altogether.  I've checked the logs but there
 is nothing informative there.  I'm all up to date with packages.  How
 do you troubleshoot something like this?

There's a decent troubleshooting HOWTO on the wiki
for stability. I'm not where I had it bookmarked
but try to locate the thing and if you can't I'll
send back the link.

--
Steven Lembark  +1 888 359 3508
Workhorse Computing   85-09 90th St
[EMAIL PROTECTED] Woodhaven, NY 11421
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Willie Wong
On Mon, Mar 31, 2008 at 12:36:40PM -0400, Willie Wong wrote:
 The first thing to determine is that whether it is freezing of the
 user interface or the underlying kernel. For desktops I often compile
 the kernel with the option that it flashes the keyboard LEDs when it
 is panicking, so I can see at a glance that the omelette has hit the
 fan. 

On second thought, I am not sure if the keyboard flashing is
optional... every desktop that I've come across that kernel panic'd
did flash the LEDs, that and the fact the last time I built my desktop
kernel is over a year ago  makes me a non-authority on kernel options.

W
-- 
Willie W. Wong  [EMAIL PROTECTED]
408 Fine Hall,  Department of Mathematics,  Princeton University,  Princeton
A mathematician's reputation rests on the number of bad proofs he has given.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Joseph

On 03/31/08 09:26, Grant wrote:

My Gentoo laptop keeps freezing.  It will stay up for about 30 minutes
and then stop responding altogether.  I've checked the logs but there
is nothing informative there.  I'm all up to date with packages.  How
do you troubleshoot something like this?

- Grant


Start with ls_sensors and monitor CPU and motherboard temp.  


--
#Joseph
GPG KeyID: ED0E1FB7
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Dale

Willie Wong wrote:

On Mon, Mar 31, 2008 at 12:36:40PM -0400, Willie Wong wrote:
  

The first thing to determine is that whether it is freezing of the
user interface or the underlying kernel. For desktops I often compile
the kernel with the option that it flashes the keyboard LEDs when it
is panicking, so I can see at a glance that the omelette has hit the
fan. 



On second thought, I am not sure if the keyboard flashing is
optional... every desktop that I've come across that kernel panic'd
did flash the LEDs, that and the fact the last time I built my desktop
kernel is over a year ago  makes me a non-authority on kernel options.

W
  


I would like to know where this is to if it is a option.  Never heard of 
this before.


Thanks

Dale

:-)  :-)

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop keeps freezing

2008-03-31 Thread Neil Bothwick
On Mon, 31 Mar 2008 09:31:50 -0700, Mark Knecht wrote:

 1) Does it freeze under no load? Just boot it and wait. don't log in,
 etc.
 

I'd also try booting from a Knoppix CD to see if it still happens. It is
doesn't, the problem is in software, not hardware.

Running memtest86 wouldn't be a bad idea either.


-- 
Neil Bothwick

Do not merely believe in miracles; rely on them. * Finagle


signature.asc
Description: PGP signature


Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past

2008-03-07 Thread Thomas Kahle

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I had problems with CFS too. Similar to the one's you describe. Under
heavy disk/cpu-load (like emerge and updatedb in parallel) the system
was unresponsive. I changed the scheduler back to anticipatory and the
problem was gone.
Interestingly i also have a thinkpad, X30 in my case.

best
Thomas

fire-eyes wrote:
| Andrey Falko wrote:
| On Thu, Mar 6, 2008 at 10:38 PM, fire-eyes [EMAIL PROTECTED] wrote:
| Hello,
|
|  I'm running gentoo on an IBM Thinkpad T43. In the past, disk access was
|  fine under load (CPU or disk). These days, the disk becomes painfully
|  slow under moderate to high CPU usage (such as compiling) or copying
|  more than a few MB. GUI's become almost totally unresponsive and at
|  times I have to down the system hard.
|
|  So it seems it's some sort of a change in kernels compared to the past.
|  I have always run a vanilla kernel, manually configured and installed.
|  Right now I am running 2.6.24.3.
|
|  The system uses an SATA disk drive.
|
|  Here is the boot line in grub.conf:
|  kernel /boot/vmlinuz-stable root=/dev/sda4 rw hdc=noprobe
|  acpi_sleep=s3_bios panic=5 elevator=cfq nmi_watchdog=0
|
|  /boot/vmlinuz-stable being a symlink to the kernel I consider stable
|  within /boot/. I also have vmlinuz-last called by another grub entry if
|  I need it.
|
|  Here is my kernel config: http://fire-eyes.org/t/config-2.6.24.3.txt
|  (may disappear in the future)
|
|  I am looking for feedback into what may be causing this mess. It makes
|  for a very frustrating time using this laptop.
|
| What is the version of the kernel where you did not have issues?
| 2.6.24 and 23 have a new CPU scheduler (CFS), which should work
| better than the old one. It is possible that the new scheduler does
| not suit your needs.
|
| Thanks for the reply.
|
| I do not recall, other than it was four or more months ago. Do you
| happen to know what version of the kernel that scheduler showed up in?
| Also, is that scheduler not irrelevant here as I was passing elevator=cfq?
|
| By the way, I did a little experimentation. I changed my scheduler to
| deadline, and set preemption to desktop. Before the scheduler was cfq,
| and the preemption to low-latency desktop.
|
| Things already feel snappier gui-wise, but I have yet to push the
| disk/cpu to see what will happen. I believe it is at least the start of
| improvements, however.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH0P8nrpEWPKIUt7MRAqXHAJ96MDsVC0xAwm2f/5uSWbQLxZLLsgCdELyO
WnJkehZ+0MSsujfd1vaSrPY=
=WA+M
-END PGP SIGNATURE-
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past

2008-03-07 Thread fire-eyes

Thomas Kahle wrote:

Hi,

I had problems with CFS too. Similar to the one's you describe. Under
heavy disk/cpu-load (like emerge and updatedb in parallel) the system
was unresponsive. I changed the scheduler back to anticipatory and the
problem was gone.
Interestingly i also have a thinkpad, X30 in my case.


Curious. I will try antic.
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past

2008-03-07 Thread Mark David Dumlao
maybe your partitions are near full?
-- 
thing.


[gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past

2008-03-06 Thread fire-eyes

Hello,

I'm running gentoo on an IBM Thinkpad T43. In the past, disk access was 
fine under load (CPU or disk). These days, the disk becomes painfully 
slow under moderate to high CPU usage (such as compiling) or copying 
more than a few MB. GUI's become almost totally unresponsive and at 
times I have to down the system hard.


So it seems it's some sort of a change in kernels compared to the past. 
I have always run a vanilla kernel, manually configured and installed. 
Right now I am running 2.6.24.3.


The system uses an SATA disk drive.

Here is the boot line in grub.conf:
kernel /boot/vmlinuz-stable root=/dev/sda4 rw hdc=noprobe 
acpi_sleep=s3_bios panic=5 elevator=cfq nmi_watchdog=0


/boot/vmlinuz-stable being a symlink to the kernel I consider stable 
within /boot/. I also have vmlinuz-last called by another grub entry if 
I need it.


Here is my kernel config: http://fire-eyes.org/t/config-2.6.24.3.txt 
(may disappear in the future)


I am looking for feedback into what may be causing this mess. It makes 
for a very frustrating time using this laptop.


Thank you!
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past

2008-03-06 Thread Andrey Falko
On Thu, Mar 6, 2008 at 10:38 PM, fire-eyes [EMAIL PROTECTED] wrote:
 Hello,

  I'm running gentoo on an IBM Thinkpad T43. In the past, disk access was
  fine under load (CPU or disk). These days, the disk becomes painfully
  slow under moderate to high CPU usage (such as compiling) or copying
  more than a few MB. GUI's become almost totally unresponsive and at
  times I have to down the system hard.

  So it seems it's some sort of a change in kernels compared to the past.
  I have always run a vanilla kernel, manually configured and installed.
  Right now I am running 2.6.24.3.

  The system uses an SATA disk drive.

  Here is the boot line in grub.conf:
  kernel /boot/vmlinuz-stable root=/dev/sda4 rw hdc=noprobe
  acpi_sleep=s3_bios panic=5 elevator=cfq nmi_watchdog=0

  /boot/vmlinuz-stable being a symlink to the kernel I consider stable
  within /boot/. I also have vmlinuz-last called by another grub entry if
  I need it.

  Here is my kernel config: http://fire-eyes.org/t/config-2.6.24.3.txt
  (may disappear in the future)

  I am looking for feedback into what may be causing this mess. It makes
  for a very frustrating time using this laptop.

What is the version of the kernel where you did not have issues?
2.6.24 and 23 have a new CPU scheduler (CFS), which should work
better than the old one. It is possible that the new scheduler does
not suit your needs.

Tell us the kernel version that work well for you, and we'll if it
might be a regression of CFS in 24 or a possible weakness of CFS.
  Thank you!
  --
  gentoo-user@lists.gentoo.org mailing list


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past

2008-03-06 Thread fire-eyes

Andrey Falko wrote:

On Thu, Mar 6, 2008 at 10:38 PM, fire-eyes [EMAIL PROTECTED] wrote:

Hello,

 I'm running gentoo on an IBM Thinkpad T43. In the past, disk access was
 fine under load (CPU or disk). These days, the disk becomes painfully
 slow under moderate to high CPU usage (such as compiling) or copying
 more than a few MB. GUI's become almost totally unresponsive and at
 times I have to down the system hard.

 So it seems it's some sort of a change in kernels compared to the past.
 I have always run a vanilla kernel, manually configured and installed.
 Right now I am running 2.6.24.3.

 The system uses an SATA disk drive.

 Here is the boot line in grub.conf:
 kernel /boot/vmlinuz-stable root=/dev/sda4 rw hdc=noprobe
 acpi_sleep=s3_bios panic=5 elevator=cfq nmi_watchdog=0

 /boot/vmlinuz-stable being a symlink to the kernel I consider stable
 within /boot/. I also have vmlinuz-last called by another grub entry if
 I need it.

 Here is my kernel config: http://fire-eyes.org/t/config-2.6.24.3.txt
 (may disappear in the future)

 I am looking for feedback into what may be causing this mess. It makes
 for a very frustrating time using this laptop.


What is the version of the kernel where you did not have issues?
2.6.24 and 23 have a new CPU scheduler (CFS), which should work
better than the old one. It is possible that the new scheduler does
not suit your needs.


Thanks for the reply.

I do not recall, other than it was four or more months ago. Do you 
happen to know what version of the kernel that scheduler showed up in? 
Also, is that scheduler not irrelevant here as I was passing elevator=cfq?


By the way, I did a little experimentation. I changed my scheduler to 
deadline, and set preemption to desktop. Before the scheduler was cfq, 
and the preemption to low-latency desktop.


Things already feel snappier gui-wise, but I have yet to push the 
disk/cpu to see what will happen. I believe it is at least the start of 
improvements, however.

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Laptop ATI Integrated Video Performance?

2007-12-29 Thread Drew Tomlinson

On 12/25/2007 8:56 AM Stroller said the following:


On 25 Dec 2007, at 15:59, Drew Tomlinson wrote:

...
I'm using x11-drivers/ati-drivers-8.433 and have followed guides and 
verified direct rendering is enabled (however I don't know if that 
matters for displaying video).


Is this the best I can expect for this video hardware?  I can post my 
xorg.conf if there's a possibility that some tweak will improve 
performance.


You should demonstrate that your xorg.conf is referencing the 
appropriate ATi driver.


Stroller.
Thank you for your reply.  I'm not sure how to demonstrate other that 
pasting the relevant section xorg log:


(II) LoadModule: fglrx
(II) Loading /usr/lib64/xorg/modules/drivers//fglrx_drv.so
(II) Module fglrx: vendor=FireGL - ATI Technologies Inc.
   compiled for 7.1.0, module version = 8.43.2
   Module class: X.Org Video Driver

Is this sufficient?

Thanks,

Drew

Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

--
[EMAIL PROTECTED] mailing list



Autoreply: Re: [gentoo-user] Laptop ATI Integrated Video Performance?

2007-12-29 Thread rcupardo

Salve,
sono assente dall'ufficio e non tornerò fino al 07/01/2008.
Risponderò al messaggio al mio ritorno.
Per eventuali comunicazioni urgenti potete contattare il numero verde 
800.91.92.99 o inviare una email ad [EMAIL PROTECTED] specificando la natura 
del problema.

Saluti
-- 
Riccardo Cupardo

Area Network
mailto:[EMAIL PROTECTED]
Tel:  +39 095 37 83 111
Fax: +39 095 37 83 444

__ T. NET 
Sede T. net Italia S.r.l.: Viale Africa, 84 - 95129 Catania - Italy
Tel: +39 095 37 83 111 - Fax: +39 095 37 83 444
P. I.V.A.: 03979950874www.tnet.it   www.lavocevola.it
__T. NET Telecommunication Company


***
Le informazioni in questa e-mail sono confidenziali e
riservate esclusivamente al destinatario del messaggio.
Information in this email is confidential and intended
solely for the addressee; it may be legally privileged. 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Laptop ATI Integrated Video Performance?

2007-12-29 Thread Drew Tomlinson

On 12/25/2007 9:49 AM András Csányi said the following:

2007/12/25, Drew Tomlinson [EMAIL PROTECTED]:
  

I have a Gateway laptop with an integrated ATI graphics board.  lspci
detects it as:

01:05.0 VGA compatible controller: ATI Technologies Inc RS485 [Radeon
Xpress 1100 IGP]

However when attempting to view a DVD at full screen, the display is a
bit jumpy as if the video hardware is not fast enough.  Keeping the
video smaller in a window produces much better results.  As you might
expect, the larger the video picture, the worse the jumpiness gets.
Results are the same with both Totem and VLC.

I'm using x11-drivers/ati-drivers-8.433 and have followed guides and
verified direct rendering is enabled (however I don't know if that
matters for displaying video).

Is this the best I can expect for this video hardware?  I can post my
xorg.conf if there's a possibility that some tweak will improve performance.



Hi!

I have this problem but i have another ATI inegrated card
(01:05.0 VGA compatible controller: ATI Technologies Inc RC410 [Radeon
Xpress 200M])

The solution is the next:
- use fglrx (you have to test the 3D rendering with fgl_fglxgears command)
- use mplayer with -vo gl or -vo gl2 option (the gl and gl2 is opengl
video output)
  
I have fglrx and verified it works.  I have not tried mplayer. Does 
mplayer work better than other players?

I hope i can help you.

András

ps.: sorry my english :)
  

Your English is good.

Thanks,

Drew


--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Laptop ATI Integrated Video Performance?

2007-12-29 Thread András Csányi
2007/12/29, Drew Tomlinson [EMAIL PROTECTED]:
  The solution is the next:
  - use fglrx (you have to test the 3D rendering with fgl_fglxgears command)
  - use mplayer with -vo gl or -vo gl2 option (the gl and gl2 is opengl
  video output)
 
 I have fglrx and verified it works.  I have not tried mplayer. Does
 mplayer work better than other players?

My opinion the mplayer is the best media player.
I tryed gxine, vlc but the mplayer is the best for me. Look the man
page (i think this is really big)  and you will see the options.

András

-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell
z���(��j)b�   b�

[gentoo-user] Laptop ATI Integrated Video Performance?

2007-12-25 Thread Drew Tomlinson
I have a Gateway laptop with an integrated ATI graphics board.  lspci 
detects it as:


01:05.0 VGA compatible controller: ATI Technologies Inc RS485 [Radeon 
Xpress 1100 IGP]


However when attempting to view a DVD at full screen, the display is a 
bit jumpy as if the video hardware is not fast enough.  Keeping the 
video smaller in a window produces much better results.  As you might 
expect, the larger the video picture, the worse the jumpiness gets.  
Results are the same with both Totem and VLC.


I'm using x11-drivers/ati-drivers-8.433 and have followed guides and 
verified direct rendering is enabled (however I don't know if that 
matters for displaying video).


Is this the best I can expect for this video hardware?  I can post my 
xorg.conf if there's a possibility that some tweak will improve performance.


Thanks,

Drew

--
Be a Great Magician!
Visit The Alchemist's Warehouse

http://www.alchemistswarehouse.com

--
[EMAIL PROTECTED] mailing list



  1   2   >