Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Dale

meino.cra...@gmx.de wrote:

Hallo,

I want to read the fan speed and want to control it with gentoo.

My motherboard is a ASUS Crosshair IV Formula.

lm_sensors does not report any relevant sensor.

Does anyone got this working on this or an equivalent board with 890FX
chipset?

Thank you very much in advance for any help!
Best regards
mcc

   


I'll tell you how I did mine.  Just build all the sensor drivers into 
the kernel, not modules but built in.  Compile and boot the kernel.  
Methos one, if you open gkrellm and it can see the fans, temp and such, 
then it is working.  Sometimes you can look in gkrellm's configuration 
and find the driver.  When you open the sensors window, it will list the 
path which contains the name of the sensor.  Another way, cat 
/sys/devices/platform/ then hit tab twice.  Mine for example lists 
it87.552.  The it87 part is what you look for in the kernel.  If you 
want to be certain it sees everything, continue with the cat command and 
hitting tab until you get to where it lists all the fan and temp files.  
Mine has two temps and about 4 fans I think it is.  If you see what 
should be there then you have the right one.


Then go back to the kernel and remove everything but the one that 
matches what you found either in gkrellm or the cat command.  Rebuild 
the kernel and reboot.


This seems like a lot of trouble but after spending about two hours on 
google and not finding the info, that was what I did.  It isn't always 
the easy way but it works for me.


You could also google for linux compatible hardware and see if someone 
was nice enough to post what they used on one of those sites.  That 
doesn't always work.


Hope that helps or gives you a good chuckle for the round about way of 
doing it.  lol


Dale

:-)  :-)



Re: [gentoo-user] Re: mutt+gnupg: how do you name the attached signature file ?

2010-12-12 Thread Jean-Christophe Bach
* Willie Wong ww...@math.princeton.edu [11.12.2010. @12:13:27 -0500]:

 Thanks for the work! If you want the patch merged into the gentoo
 patch set, I think you should file a bug on bugs.gentoo.org, if you
 haven't already done so. 

You are right, I have just filled a bug here (my first one \\o \o/ o//):
http://bugs.gentoo.org/show_bug.cgi?id=348477

Regards,

JC


signature.asc
Description: Digital signature


Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Andrea Conti
 Just build all the sensor drivers into
 the kernel, not modules but built in.

A simpler way:

- make sure you have CONFIG_I2C_CHARDEV=y, CONFIG_I2C_HELPER_AUTO=y and
select the correct I2C hardware bus drivers for your platform
(CONFIG_I2C_I801 for most recent Intel chipsets and CONFIG_I2C_PIIX4 for
most recent AMD chipsets; reading the help text of the various drivers
should point you in the right direction);

- emerge sys-apps/lm_sensors

- run sensors-detect

- enable the drivers for all the things sensors-detect finds. Hopefully
you won't have any unsupported chips...

- you can then add lm_sensors to the default runlevel, so that it loads
the correct modules during the boot process.

The final step is to configure the software you use to display the
sensor readings. It is usually a matter of attaching the correct labels
to the various inputs, and possibly tweaking the scaling factors so that
the readings match those shown by the BIOS; as the details depend on the
specific manufacturer and model of your board, this will usually be a
trial and error process, although google might help you. The comments in
/etc/sensor3.conf, which controls software using the libraries provided
by lm_sensors, are also a useful source of information.

 cat /sys/devices/platform/

This will miss those sensors which do not appear as a platform device
(e.g. the AMD k10 on-die temperature sensors, which is a PCI device).

andrea




Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Andrea Conti
 It's a Gigabyte 770T series mobo.  It uses the it8720 chip.

You can try writing directly to the pwm control inputs under the
platform device node (i.e. /sys/devices/platform/it87.xxx/pwm*); these
usually take 8-bit (0-255) values.

E.g. to set pwm1 to a value of 127 you just do

echo 127 /sys/devices/platform/it87.xxx/pwm1

You should take a look at the it87 driver source to find out what the
various parameters mean.

Note that I don't have a board with a modern it87 chip (i.e. one which
can do fan PWM control) at hand, so the device names might be different;
these were taken from a board using a Winbond w83627dhg chip.

Also, if you wish to control the fans manually you should probably turn
off any kind of automatic fan control in the BIOS.

andrea



Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread meino . cramer
Andrea Conti a...@alyf.net [10-12-12 10:24]:
  Just build all the sensor drivers into
  the kernel, not modules but built in.
 
 A simpler way:
 
 - make sure you have CONFIG_I2C_CHARDEV=y, CONFIG_I2C_HELPER_AUTO=y and
 select the correct I2C hardware bus drivers for your platform
 (CONFIG_I2C_I801 for most recent Intel chipsets and CONFIG_I2C_PIIX4 for
 most recent AMD chipsets; reading the help text of the various drivers
 should point you in the right direction);
 
 - emerge sys-apps/lm_sensors
 
 - run sensors-detect
 
 - enable the drivers for all the things sensors-detect finds. Hopefully
 you won't have any unsupported chips...
 
 - you can then add lm_sensors to the default runlevel, so that it loads
 the correct modules during the boot process.
 
 The final step is to configure the software you use to display the
 sensor readings. It is usually a matter of attaching the correct labels
 to the various inputs, and possibly tweaking the scaling factors so that
 the readings match those shown by the BIOS; as the details depend on the
 specific manufacturer and model of your board, this will usually be a
 trial and error process, although google might help you. The comments in
 /etc/sensor3.conf, which controls software using the libraries provided
 by lm_sensors, are also a useful source of information.
 
  cat /sys/devices/platform/
 
 This will miss those sensors which do not appear as a platform device
 (e.g. the AMD k10 on-die temperature sensors, which is a PCI device).
 
 andrea
 
 

Hi Andrea, Hi Dale,

Before I post my question I did, what you have suggested, Andrea.
Sensors-detect reports the it87 chip to be included as module/in the
kernel, which I did -- but the driver does not produces any output

AMD k10 was already in and reports everything -- only the fan stuff
was missing, which (normall) the ITE (it87) chip is used for.

The version of lm_sensors, which is in portage reports here driver to
be written but the svn-version of lm_sensors seems to support it. I
installed that svn-version locally but I cant read from the ITE
chip.
Still only voltages and temperatures.
GKrellm (normally I use conky) also detects no fans.

@Dale:
Do you have exactly the same board (ASUS Crosshair IV formula) as I, or?

I tried to include everything into the kernel but unfortunately the
results are the same: No fans and the it87 driver seems not to work
for me...

Any other ideas?

Best regards and have a nive sunday!
mcc




Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Dale

meino.cra...@gmx.de wrote:

Hi Andrea, Hi Dale,

Before I post my question I did, what you have suggested, Andrea.
Sensors-detect reports the it87 chip to be included as module/in the
kernel, which I did -- but the driver does not produces any output

AMD k10 was already in and reports everything -- only the fan stuff
was missing, which (normall) the ITE (it87) chip is used for.

The version of lm_sensors, which is in portage reports here driver to
be written but the svn-version of lm_sensors seems to support it. I
installed that svn-version locally but I cant read from the ITE
chip.
Still only voltages and temperatures.
GKrellm (normally I use conky) also detects no fans.

@Dale:
Do you have exactly the same board (ASUS Crosshair IV formula) as I, or?

I tried to include everything into the kernel but unfortunately the
results are the same: No fans and the it87 driver seems not to work
for me...

Any other ideas?

Best regards and have a nive sunday!
mcc

   


I have a Gigabyte mobo here.  There are two places that you have to 
enable all the sensors tho.  As was posted a bit ago, one is I2C Support 
and one is Hardware Monitoring Support both of which are under Device 
Drivers.  Is it possible that you left one out?


If you built all the drivers in and it didn't work, then you may have to 
wait on a newer kernel.  If you are running a stable kernel, you may 
want to try a unstable one since they are newer and may have the updated 
drivers.  I'm using 2.6.36 gentoo-sources here.


Hope that helps.

Dale

:-)  :-)



Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Volker Armin Hemmann
On Sunday 12 December 2010 06:25:21 meino.cra...@gmx.de wrote:
 Hallo,
 
 I want to read the fan speed and want to control it with gentoo.
 
 My motherboard is a ASUS Crosshair IV Formula.
 
 lm_sensors does not report any relevant sensor.
 
 Does anyone got this working on this or an equivalent board with 890FX
 chipset?
 
 Thank you very much in advance for any help!
 Best regards
 mcc

build all sensor drivers AND all transport as modules
run sensors-detect
edit lm_sensors conf in /etc/conf
rc-update add lm_sensors default
pwmconfig
lots of stuff
rc-update add fancontrol default.

There are some problems with asus boards. They need some acpi support - and if 
they can do the fancontrol you have to deactivate that in the bios (google!).

I used fancontrol with all my asrock boards.
With my Asus board I am using the bios control, because it works pretty well. 
And always. And for all three fans connected. Even the ones connected with 
3pin connectors.



Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Volker Armin Hemmann
On Saturday 11 December 2010 22:52:24 Dale wrote:
 HI,
 
 I got everything installed on the new rig.  Trying to sort out some
 kinks now.  I notice that Gigabyte has software for windoze to control
 the fan speed and such.  I use gkrellm to monitor them but was wondering
 if there is a Linux package that does the same.  Is there such a thing?
 I looked using eix and friends but I don't see anything in the tree.  I
 found the windoze version with google but nothing for Linux.
 
 It's a Gigabyte 770T series mobo.  It uses the it8720 chip.
 
 Thanks.
 
 Dale
 
 :-)  :-)

fancontrol



Re: [gentoo-user] wpa_supplicant connect-disconnect loop

2010-12-12 Thread Mick
On Sunday 12 December 2010 02:07:02 Valmor de Almeida wrote:
 On 12/11/2010 08:35 PM, Valmor de Almeida wrote:

 To add to the above from the message logs, wlan0 deauthenticates from
 the AP by local choice (reason=3)


If you are getting these disconnections even with WPA/2 encryption disabled 
then this is probably related to a bug on the driver, which falls over itself 
when running with wpa_supplicant.

There are reports in google about it and a suggested fix is to disable 11n and 
5.0GHz:

http://www.jpdw.org/blog/intel-wireless-broken-ubuntu-904


Run modinfo for your driver and find the parameters that control other than 
802.11g modes and disable them by creating and adding them to a file in 
/etc/modprobe.d/ for your driver if it's not already there.

Alternatively, see if you can disable any modes other than 802.11g at your AP 
and test to find out if this resolves the problem for now.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-12-12 Thread Mick
On Sunday 12 December 2010 05:57:19 Valmor de Almeida wrote:
 On 12/11/2010 08:52 PM, Grant Edwards wrote:
  On 2010-11-19, Mick michaelkintz...@gmail.com wrote:
 [snip]
 
  and paste this in it:
  
  ?xml version=1.0 encoding=ISO-8859-1?
  deviceinfo version=0.2
  
   device
   
  match key=info.capabilities contains=input.touchpad
  
  merge key=input.x11_driver type=stringsynaptics/merge
  
  [ synaptic driver options]
  
  /match
   
   /device
  
  /deviceinfo
  
  Then see the examples in the file and man synaptics for finely tuning
  your touchpad.  However ... I would at this stage suggest again that
  you have a look at xorg-server-1.9.x instead of trying to get HAL
  working.
  
  Brilliant.  After tweaking a few of the pressure settings, my touchpad
  works great!  The hard part is remembering to restart hald as well as
  the X server whenever you make any changes...
 
 Thanks for all the posts. I finally fixed the same problem I've had with
 my Thinkpad X201. In my case I had to do
 
 1) Edit /etc/make.conf  INPUT_DEVICES=evdev synaptics
 2) emerge xorg-drivers (also emerged xorg-server and xorg-x11 to be on
 the safe side)
 3) cp /usr/share/hal/fdi/policy/10osvendor/11-x11-synaptics.fdi
 /etc/hal/fdi/policy/.
 4) edit 11-x11-synaptics.fdi
 5) /etc/init.d/hald restart
 6) restart xorg-server

Guys I'm glad that my pointers helped you get it going - but I have to say 
that soon with xorg-server-1.9 becoming stable HAL and its xml configuration 
files will be a thing of the past.

Still, you have the satisfaction of cracking this one!  :-)

-- 
Regards,
Mick


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


Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread meino . cramer
Dale rdalek1...@gmail.com [10-12-12 11:32]:
 meino.cra...@gmx.de wrote:
 Hi Andrea, Hi Dale,
 
 Before I post my question I did, what you have suggested, Andrea.
 Sensors-detect reports the it87 chip to be included as module/in the
 kernel, which I did -- but the driver does not produces any output
 
 AMD k10 was already in and reports everything -- only the fan stuff
 was missing, which (normall) the ITE (it87) chip is used for.
 
 The version of lm_sensors, which is in portage reports here driver to
 be written but the svn-version of lm_sensors seems to support it. I
 installed that svn-version locally but I cant read from the ITE
 chip.
 Still only voltages and temperatures.
 GKrellm (normally I use conky) also detects no fans.
 
 @Dale:
 Do you have exactly the same board (ASUS Crosshair IV formula) as I, 
 or?
 
 I tried to include everything into the kernel but unfortunately the
 results are the same: No fans and the it87 driver seems not to work
 for me...
 
 Any other ideas?
 
 Best regards and have a nive sunday!
 mcc
 

 
 I have a Gigabyte mobo here.  There are two places that you have to 
 enable all the sensors tho.  As was posted a bit ago, one is I2C 
 Support and one is Hardware Monitoring Support both of which are under 
 Device Drivers.  Is it possible that you left one out?
 
 If you built all the drivers in and it didn't work, then you may have 
 to wait on a newer kernel.  If you are running a stable kernel, you may 
 want to try a unstable one since they are newer and may have the 
 updated drivers.  I'm using 2.6.36 gentoo-sources here.
 
 Hope that helps.
 
 Dale
 
 :-)  :-)
 

Hi Dale,

I enabled CONFIG_HWMON=y and CONFIG_I2C=y, I also see temperatures
and voltages (I still a little confused by what ASUS states of 
the CPU-dye temperature of not being a physical temperature but one
of arbitrary scale...but this another field to explore...).

My kernel is a 2.36.6.2 vanilla...I didn't found any newer ;) ;) ;)

Seems I am lost ?!?

Best regards,
mcc




Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Dale

meino.cra...@gmx.de wrote:

Dalerdalek1...@gmail.com  [10-12-12 11:32]:
   

meino.cra...@gmx.de wrote:
 

Hi Andrea, Hi Dale,

Before I post my question I did, what you have suggested, Andrea.
Sensors-detect reports the it87 chip to be included as module/in the
kernel, which I did -- but the driver does not produces any output

AMD k10 was already in and reports everything -- only the fan stuff
was missing, which (normall) the ITE (it87) chip is used for.

The version of lm_sensors, which is in portage reports here driver to
be written but the svn-version of lm_sensors seems to support it. I
installed that svn-version locally but I cant read from the ITE
chip.
Still only voltages and temperatures.
GKrellm (normally I use conky) also detects no fans.

@Dale:
Do you have exactly the same board (ASUS Crosshair IV formula) as I,
or?

I tried to include everything into the kernel but unfortunately the
results are the same: No fans and the it87 driver seems not to work
for me...

Any other ideas?

Best regards and have a nive sunday!
mcc


   

I have a Gigabyte mobo here.  There are two places that you have to
enable all the sensors tho.  As was posted a bit ago, one is I2C
Support and one is Hardware Monitoring Support both of which are under
Device Drivers.  Is it possible that you left one out?

If you built all the drivers in and it didn't work, then you may have
to wait on a newer kernel.  If you are running a stable kernel, you may
want to try a unstable one since they are newer and may have the
updated drivers.  I'm using 2.6.36 gentoo-sources here.

Hope that helps.

Dale

:-)  :-)

 

Hi Dale,

I enabled CONFIG_HWMON=y and CONFIG_I2C=y, I also see temperatures
and voltages (I still a little confused by what ASUS states of
the CPU-dye temperature of not being a physical temperature but one
of arbitrary scale...but this another field to explore...).

My kernel is a 2.36.6.2 vanilla...I didn't found any newer ;) ;) ;)

Seems I am lost ?!?

Best regards,
mcc

   


I built me a new rig in the past week.  There are two reasons I don't 
buy bleeding edge.  1:  Cost  2:  Drivers not being ready and/or 
stable.  My mobo is about a year old.  That is enough time to let the 
kernel people sort out some nice drivers.


Maybe someone here can point you to a place where you can see if they 
are being worked on.  I'm sure there is a website with all kinds of 
info.  The only one I can think of is http://kernel.org/ which shows a 
newer version than I have.  May could see if they have new ones in them.


Given what lm-sensors says and the fact the ones in the kernel don't 
work, I'm not sure what else to try.


Dale

:-)  :_)



Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Dale

Volker Armin Hemmann wrote:

On Saturday 11 December 2010 22:52:24 Dale wrote:
   

HI,

I got everything installed on the new rig.  Trying to sort out some
kinks now.  I notice that Gigabyte has software for windoze to control
the fan speed and such.  I use gkrellm to monitor them but was wondering
if there is a Linux package that does the same.  Is there such a thing?
I looked using eix and friends but I don't see anything in the tree.  I
found the windoze version with google but nothing for Linux.

It's a Gigabyte 770T series mobo.  It uses the it8720 chip.

Thanks.

Dale

:-)  :-)
 

fancontrol

   


That comes from lm-sensors.  Hmmm.  Since I have my stuff built into the 
kernel, can I still use that or would they clash somehow?


Also, this is a desktop not a laptop just in case it matters.

Dale

:-)  :-)



[gentoo-user] ebuild creation (python-2.7) - please help

2010-12-12 Thread Helmut Jarausch
Hi,

after switching to Python-2.7 an ebuild of myself fails.
I'm trying to write an ebuild for  dev-python/pyparsing-

My attemp fails with 'setup.py' not found.
The package is unpacked into
/var/tmp/portage/dev-python/pyparsing-/work/pyparsing-

This contains the subdirectories doc examples and src.
And the setup.py files is in src.

Many thanks for a hint,
Helmut.

Here my attempt:

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/pyparsing/
pyparsing-1.4.10.ebuild,v 1.1 2008/01/25 05:06:52 hawking Exp $

EAPI=3
SUPPORT_PYTHON_ABIS=1
inherit distutils eutils subversion

DESCRIPTION=pyparsing is an easy-to-use Python module for text 
parsing
HOMEPAGE=http://pyparsing.wikispaces.com/;

ESVN_REPO_URI=https://pyparsing.svn.sourceforge.net/svnroot/
pyparsing/
ESVN_PROJECT=${PN}


LICENSE=MIT
SLOT=0
KEYWORDS=~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86
IUSE=doc examples

S=${WORKDIR}/pyparsing-


src-compile() {
  cd ${WORKDIR}/pyparsing-/src
  distutils_src_compile
}

src_install() {
cd ${WORKDIR}/pyparsing-/src
distutils_src_install

dohtml HowToUsePyparsing.html
dodoc CHANGES

if use doc; then
dohtml -r htmldoc/*
insinto /usr/share/doc/${PF}
doins docs/*.pdf
fi

if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}




Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Volker Armin Hemmann
On Sunday 12 December 2010 05:20:27 Dale wrote:
 Volker Armin Hemmann wrote:
  On Saturday 11 December 2010 22:52:24 Dale wrote:
  HI,
  
  I got everything installed on the new rig.  Trying to sort out some
  kinks now.  I notice that Gigabyte has software for windoze to
  control
  the fan speed and such.  I use gkrellm to monitor them but was
  wondering
  if there is a Linux package that does the same.  Is there such a
  thing?
  I looked using eix and friends but I don't see anything in the tree. 
  I
  found the windoze version with google but nothing for Linux.
  
  It's a Gigabyte 770T series mobo.  It uses the it8720 chip.
  
  Thanks.
  
  Dale
  
  :-)  :-)
  
  fancontrol
 
 That comes from lm-sensors.  Hmmm.  Since I have my stuff built into the
 kernel, can I still use that or would they clash somehow?
 
 Also, this is a desktop not a laptop just in case it matters.
 
 Dale
 
 :-)  :-)

a) building the sensor stuff into the kernel is stupid
b) yes



Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Andrea Conti
 AMD k10 was already in and reports everything -- only the fan stuff
 was missing, which (normall) the ITE (it87) chip is used for.

Current IT87xx chips provide fan, temperature and voltage readings.

If you built the drivers as modules, are you sure everything (it87 and
the relevant i2c drivers) is loaded?
Check the kernel log for any error messages.

 The version of lm_sensors, which is in portage reports here driver to
 be written but the svn-version of lm_sensors seems to support it

Support for a specific sensor chip is provided by the kernel driver, not
by lm_sensors. sensor-detect only provides advice based on the situation
at the time it was released; if a more recent revision says that the
chip is supported, it means that a driver for the chip now exists, *not*
that the driver provided by the current kernel supports it.

However, according to this page the it8720F chip seems to be supported
starting from kernel 2.6.29, so kernel version is not your problem.

http://www.lm-sensors.org/wiki/Devices

andrea



Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread meino . cramer
Andrea Conti a...@alyf.net [10-12-12 14:00]:
  AMD k10 was already in and reports everything -- only the fan stuff
  was missing, which (normall) the ITE (it87) chip is used for.
 
 Current IT87xx chips provide fan, temperature and voltage readings.
 
 If you built the drivers as modules, are you sure everything (it87 and
 the relevant i2c drivers) is loaded?
 Check the kernel log for any error messages.
 
  The version of lm_sensors, which is in portage reports here driver to
  be written but the svn-version of lm_sensors seems to support it
 
 Support for a specific sensor chip is provided by the kernel driver, not
 by lm_sensors. sensor-detect only provides advice based on the situation
 at the time it was released; if a more recent revision says that the
 chip is supported, it means that a driver for the chip now exists, *not*
 that the driver provided by the current kernel supports it.
 
 However, according to this page the it8720F chip seems to be supported
 starting from kernel 2.6.29, so kernel version is not your problem.
 
 http://www.lm-sensors.org/wiki/Devices
 
 andrea
 

The chip on the board is a ITE IT8721.

An excerpt of the top part of
/usr/src/linux-2.36.6.2/drivers/hwmon/it87.c 


 *
 *  Supports: IT8705F  Super I/O chip w/LPC interface
 *IT8712F  Super I/O chip w/LPC interface
 *IT8716F  Super I/O chip w/LPC interface
 *IT8718F  Super I/O chip w/LPC interface
 *IT8720F  Super I/O chip w/LPC interface
 *IT8726F  Super I/O chip w/LPC interface
 *Sis950   A clone of the IT8705F
 *

 Therefore the chip is unsupported and the kernel is the source of the
 problem according to your explanations.

 mcc





Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Volker Armin Hemmann
On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote:
 IT8721

So look at the lm sensors site:

http://www.lm-sensors.org/wiki/Devices

 ITEIT8721F, IT8758Eyesit87LPC2.6.37 or  standalone driver  
  
(2010-10-12) We have a datasheet for the IT8721F. Different from previous 
IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae 
Sammy,  Virgil Gheorghiu.) The IT8758E was reported to have the same device 
ID, so hopefully they are fully compatible. Support added by Jean Delvare, 
please test the standalone driver and report.

you could try this:
http://khali.linux-fr.org/devel/misc/it87/it87.c

google. 2minutes. It really is that simple.



[gentoo-user] Re: ebuild creation (python-2.7) - please help

2010-12-12 Thread walt

On 12/12/2010 03:33 AM, Helmut Jarausch wrote:

Hi,

after switching to Python-2.7 an ebuild of myself fails.
I'm trying to write an ebuild for  dev-python/pyparsing-

My attemp fails with 'setup.py' not found.


Have you tried using the -d flag with emerge?  The debugging output
may tell you where it's looking for setup.py.

Also, have you run python-updater to re-install all of your python
packages using python2.7?





Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread meino . cramer
Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]:
 On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote:
  IT8721
 
 So look at the lm sensors site:
 
 http://www.lm-sensors.org/wiki/Devices
 
  ITEIT8721F, IT8758Eyesit87LPC2.6.37 or  standalone 
 driver
 (2010-10-12) We have a datasheet for the IT8721F. Different from previous 
 IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests ( Jae 
 Sammy,  Virgil Gheorghiu.) The IT8758E was reported to have the same device 
 ID, so hopefully they are fully compatible. Support added by Jean Delvare, 
 please test the standalone driver and report.
 
 you could try this:
 http://khali.linux-fr.org/devel/misc/it87/it87.c
 
 google. 2minutes. It really is that simple.
 

Instead I backported the i87.c driver from the upcoming linux
2.36.7.rc5 itree into my linux-2.6.36.6 kernel.

After recompiling i and a reboot it loads well but dmesg shows that
there were conflicting ACPI areas then. The driver itsself suggests to
use the atk0110-acpi driver instead the it87 one.

So I will do that and give the BIOS the full control over the fans.

Best regards
mcc




Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Volker Armin Hemmann
On Sunday 12 December 2010 14:57:26 meino.cra...@gmx.de wrote:
 Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]:
  On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote:
   IT8721
  
  So look at the lm sensors site:
  
  http://www.lm-sensors.org/wiki/Devices
  
   ITEIT8721F, IT8758Eyesit87LPC2.6.37 or  standalone
   driver
  
  (2010-10-12) We have a datasheet for the IT8721F. Different from
  previous
  IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests
  ( Jae Sammy,  Virgil Gheorghiu.) The IT8758E was reported to have the
  same device ID, so hopefully they are fully compatible. Support added
  by Jean Delvare, please test the standalone driver and report.
  
  you could try this:
  http://khali.linux-fr.org/devel/misc/it87/it87.c
  
  google. 2minutes. It really is that simple.
 
 Instead I backported the i87.c driver from the upcoming linux
 2.36.7.rc5 itree into my linux-2.6.36.6 kernel.
 
 After recompiling i and a reboot it loads well but dmesg shows that
 there were conflicting ACPI areas then. The driver itsself suggests to
 use the atk0110-acpi driver instead the it87 one.
 
 So I will do that and give the BIOS the full control over the fans.

I did the same and it is working really well... apart from an annoying cpu-fan 
error at the boot, because the fan only start turning 1-2 minutes after 
turning the box on.

k10temp-pci-00c3
Adapter: PCI adapter
temp1:   +38.1°C  (high = +70.0°C, crit = +90.0°C)  

atk0110-acpi-0
Adapter: ACPI interface
Vcore Voltage:   +1.00 V  (min =  +0.85 V, max =  +1.70 V)
 +3.3 Voltage:   +3.39 V  (min =  +2.97 V, max =  +3.63 V)
 +5 Voltage: +5.08 V  (min =  +4.50 V, max =  +5.50 V)
 +12 Voltage:   +12.52 V  (min = +10.20 V, max = +13.80 V)
CPU FAN Speed:   565 RPM  (min =  600 RPM)
CHASSIS FAN Speed:  1171 RPM  (min =  600 RPM)
CHASSIS FAN 2 Speed: 698 RPM  (min =  600 RPM)
CPU Temperature: +36.0°C  (high = +60.0°C, crit = +95.0°C)  
MB Temperature:  +29.0°C  (high = +45.0°C, crit = +75.0°C)



Re: [gentoo-user] Re: ebuild creation (python-2.7) - please help

2010-12-12 Thread Helmut Jarausch
On 12/12/10 14:52:28, walt wrote:
 On 12/12/2010 03:33 AM, Helmut Jarausch wrote:
  Hi,
 
  after switching to Python-2.7 an ebuild of myself fails.
  I'm trying to write an ebuild for  dev-python/pyparsing-
 
  My attemp fails with 'setup.py' not found.
 
 Have you tried using the -d flag with emerge?  The debugging output
 may tell you where it's looking for setup.py.

Thanks, I'll try that.
 
 Also, have you run python-updater to re-install all of your python
 packages using python2.7?

Yes, and this one was the last one I couldn't fix until now.

Helmut.



Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread meino . cramer
Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 15:16]:
 On Sunday 12 December 2010 14:57:26 meino.cra...@gmx.de wrote:
  Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]:
   On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote:
IT8721
   
   So look at the lm sensors site:
   
   http://www.lm-sensors.org/wiki/Devices
   
ITEIT8721F, IT8758Eyesit87LPC2.6.37 or  standalone
driver
   
   (2010-10-12) We have a datasheet for the IT8721F. Different from
   previous
   IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two requests
   ( Jae Sammy,  Virgil Gheorghiu.) The IT8758E was reported to have the
   same device ID, so hopefully they are fully compatible. Support added
   by Jean Delvare, please test the standalone driver and report.
   
   you could try this:
   http://khali.linux-fr.org/devel/misc/it87/it87.c
   
   google. 2minutes. It really is that simple.
  
  Instead I backported the i87.c driver from the upcoming linux
  2.36.7.rc5 itree into my linux-2.6.36.6 kernel.
  
  After recompiling i and a reboot it loads well but dmesg shows that
  there were conflicting ACPI areas then. The driver itsself suggests to
  use the atk0110-acpi driver instead the it87 one.
  
  So I will do that and give the BIOS the full control over the fans.
 
 I did the same and it is working really well... apart from an annoying 
 cpu-fan 
 error at the boot, because the fan only start turning 1-2 minutes after 
 turning the box on.
 
 k10temp-pci-00c3
 Adapter: PCI adapter
 temp1:   +38.1°C  (high = +70.0°C, crit = +90.0°C)  
 
 atk0110-acpi-0
 Adapter: ACPI interface
 Vcore Voltage:   +1.00 V  (min =  +0.85 V, max =  +1.70 V)
  +3.3 Voltage:   +3.39 V  (min =  +2.97 V, max =  +3.63 V)
  +5 Voltage: +5.08 V  (min =  +4.50 V, max =  +5.50 V)
  +12 Voltage:   +12.52 V  (min = +10.20 V, max = +13.80 V)
 CPU FAN Speed:   565 RPM  (min =  600 RPM)
 CHASSIS FAN Speed:  1171 RPM  (min =  600 RPM)
 CHASSIS FAN 2 Speed: 698 RPM  (min =  600 RPM)
 CPU Temperature: +36.0°C  (high = +60.0°C, crit = +95.0°C)  
 MB Temperature:  +29.0°C  (high = +45.0°C, crit = +75.0°C)
 

Hi Volker,

THAT'S INTERESTING!!

What motherboard do you use and may be you can mail me your kernel
config in a personal mail ?
And: What exactly do you enable/disable in the BIOS of you board?

When I try to enable fan control via bios I got a warning and loud
beeps from the BIOS *AND* the fan do not start...

When disabling fan control, the fan starts nearly instantly 
(acoustic-wise it is not that a problem ... the CPU fan works 
silently...).

But what is the reason for the ACPI area conflict???






Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Volker Armin Hemmann
On Sunday 12 December 2010 15:28:26 meino.cra...@gmx.de wrote:
 Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 15:16]:
  On Sunday 12 December 2010 14:57:26 meino.cra...@gmx.de wrote:
   Volker Armin Hemmann volkerar...@googlemail.com [10-12-12 14:52]:
On Sunday 12 December 2010 14:06:33 meino.cra...@gmx.de wrote:
 IT8721

So look at the lm sensors site:

http://www.lm-sensors.org/wiki/Devices

 ITEIT8721F, IT8758Eyesit87LPC2.6.37 or 
 standalone driver

(2010-10-12) We have a datasheet for the IT8721F. Different from
previous
IT87xxF chips (12 mV ADC instead of 16 mV, amongst other.) Two
requests ( Jae Sammy,  Virgil Gheorghiu.) The IT8758E was
reported to have the same device ID, so hopefully they are
fully compatible. Support added by Jean Delvare, please test
the standalone driver and report.

you could try this:
http://khali.linux-fr.org/devel/misc/it87/it87.c

google. 2minutes. It really is that simple.
   
   Instead I backported the i87.c driver from the upcoming linux
   2.36.7.rc5 itree into my linux-2.6.36.6 kernel.
   
   After recompiling i and a reboot it loads well but dmesg shows that
   there were conflicting ACPI areas then. The driver itsself suggests
   to
   use the atk0110-acpi driver instead the it87 one.
   
   So I will do that and give the BIOS the full control over the fans.
  
  I did the same and it is working really well... apart from an annoying
  cpu-fan error at the boot, because the fan only start turning 1-2
  minutes after turning the box on.
  
  k10temp-pci-00c3
  Adapter: PCI adapter
  temp1:   +38.1°C  (high = +70.0°C, crit = +90.0°C)
  
  atk0110-acpi-0
  Adapter: ACPI interface
  Vcore Voltage:   +1.00 V  (min =  +0.85 V, max =  +1.70 V)
  
   +3.3 Voltage:   +3.39 V  (min =  +2.97 V, max =  +3.63 V)
   +5 Voltage: +5.08 V  (min =  +4.50 V, max =  +5.50 V)
   +12 Voltage:   +12.52 V  (min = +10.20 V, max = +13.80 V)
  
  CPU FAN Speed:   565 RPM  (min =  600 RPM)
  CHASSIS FAN Speed:  1171 RPM  (min =  600 RPM)
  CHASSIS FAN 2 Speed: 698 RPM  (min =  600 RPM)
  CPU Temperature: +36.0°C  (high = +60.0°C, crit = +95.0°C)
  MB Temperature:  +29.0°C  (high = +45.0°C, crit = +75.0°C)
 
 Hi Volker,
 
 THAT'S INTERESTING!!
 
 What motherboard do you use and may be you can mail me your kernel
 config in a personal mail ?

M4A79XTD EVO
config will come per pm.

 And: What exactly do you enable/disable in the BIOS of you board?

on: acc, c1e, usb, fan control (setting to optimal), ahci modus, on on 
keyboard/space bar, some other stuff. 
Off onboard sound, firewire, serial and all the other stuff I never use... oh 
and 
PNP OS, if I remember correctly.

 
 When I try to enable fan control via bios I got a warning and loud
 beeps from the BIOS *AND* the fan do not start...

yeah and if you ignore that it should start rotating after a short while. The 
starting volts at room temperature are too low, but as soon as the cpu heats 
up, the volts increase and the fan spins.

 
 But what is the reason for the ACPI area conflict???

that it87blabla can be accessed by acpi stuff but the it87 driver does not know 
about it - or something like that. Read about it a few month ago and forgot 
everything.



Re: [gentoo-user] [OT] Firefox 3.6.12 problem?

2010-12-12 Thread Klaus Müller
Am 09.12.10 15:32, Florian Philipp wrote:
 Am 09.12.2010 12:07, schrieb Peter Humphrey:
 Hello list,

 Sorry about the noise, but is it just me or has version 3.6.12 of 
 Mozilla Firerox lost its Back and Forward arrow buttons? Here I just get 
 a drop-down box with a list of visited pages.

 Perversely enough, although I use the keyboard much more than the mouse, 
 this change has annoyed me enough to cause me to emerge -e firefox, 
 which took hours, to see if that would bring the arrows back. No dice.

 
 Probably an issue with your desktop theme. Try to switch it and maybe
 log-out/log-in.
 
These buttons are not part of a desktop theme afaik.
Try to install a different firefox theme from https://addons.mozilla.org .

hth
mk




[gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Valmor de Almeida

Hello,

I would like to have net.wlan0 started only when the wireless card is
switched on. I am using ifplugd for starting net.eth0 when an ethernet
cable is plugged in. Is there a similar utility for net.wlan0? Ideally
so that it is configurable in conjunction with ifplugd.

Thanks,

--
Valmor



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 05:59 AM, Mick wrote:
[snip]
 
 Guys I'm glad that my pointers helped you get it going - but I have to say 
 that soon with xorg-server-1.9 becoming stable HAL and its xml configuration 
 files will be a thing of the past.
 
 Still, you have the satisfaction of cracking this one!  :-)
 

Looking forward to xorg-server-1.9.

Thanks,

--
Valmor



[gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread covici
I have a fair number of preserved-libs, but it will not run at all and
gives the rather strange message:
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
(dependency required by @preserved-rebuild)

Now I have no such package and an eix seems to indicate that there is no
such, so how do I get this rebuild going again?

Thanks in advance for all your help.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread Mark Knecht
On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
 I have a fair number of preserved-libs, but it will not run at all and
 gives the rather strange message:
 Calculating dependencies... done!

 emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
 (dependency required by @preserved-rebuild)

 Now I have no such package and an eix seems to indicate that there is no
 such, so how do I get this rebuild going again?

 Thanks in advance for all your help.

 --
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?

         John Covici
         cov...@ccs.covici.com



Probably searching for packages that depend on mplib, (equery) then
emerge -C them (it's what I'd probably do - depends...) then re-emerge
them if you still use them? Note that I'd go back to finding what
members of the world file need all this stuff and emerge that with
-DuN, maybe even doing a -depclean after the emerge -C. It's all a
guess though.

Seems like this sort of thing happens when a package gets dumped in an
upgrade but somehow the ebuilds or package manager don't get updated
or just don't work perfectly.

Again, all a guess but I can usually figure it out looking at equery
output, etc.

Good luck,
Mark



Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Keith Dart
=== On Sun, 12/12, Volker Armin Hemmann wrote: ===
 a) building the sensor stuff into the kernel is stupid
 b) yes

===

However, it seems to me there is a trend that drivers are not contained
so much in add-on packages, as before, but are getting into the main
kernel tree. I think the development federation enabled by git is
starting to effect this more. For example, my VFD display driver that
used to come from lirc is now in the kernel source tree. Many lm_sensors
drivers are now in the kernel tree, Even VMware guest drivers are now
in the kernel tree. So the potential for clashes is minimizing.

But I agree it would be better to build those drivers as modules, in
any case.



-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread covici
Mark Knecht markkne...@gmail.com wrote:

 On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
  I have a fair number of preserved-libs, but it will not run at all and
  gives the rather strange message:
  Calculating dependencies... done!
 
  emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
  (dependency required by @preserved-rebuild)
 
  Now I have no such package and an eix seems to indicate that there is no
  such, so how do I get this rebuild going again?
 
  Thanks in advance for all your help.
 
  --
  Your life is like a penny.  You're going to lose it.  The question is:
  How do
  you spend it?
 
          John Covici
          cov...@ccs.covici.com
 
 
 
 Probably searching for packages that depend on mplib, (equery) then
 emerge -C them (it's what I'd probably do - depends...) then re-emerge
 them if you still use them? Note that I'd go back to finding what
 members of the world file need all this stuff and emerge that with
 -DuN, maybe even doing a -depclean after the emerge -C. It's all a
 guess though.
 
 Seems like this sort of thing happens when a package gets dumped in an
 upgrade but somehow the ebuilds or package manager don't get updated
 or just don't work perfectly.
 
 Again, all a guess but I can usually figure it out looking at equery
 output, etc.
Well, there was a package, but no ebuild, so I deleted the package and
its going, but someone broke something.  I wish you could not delete an
ebuild if you have the package, or it would put it somewhere to prevent
this kind of thing.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] FAN-Speed readout/control ???

2010-12-12 Thread Keith Dart
=== On Sun, 12/12, Volker Armin Hemmann wrote: ===
 that it87blabla can be accessed by acpi stuff but the it87 driver
 does not know about it - or something like that. Read about it a few
 month ago and forgot everything.
===

On Asus boards try first the Asus ACPI driver, asus_atk0110

It seems more sensors are being made available through ACPI interfaces,
but many drivers still use direct access to the chip.


-- Keith Dart

-- 

-- ~
   Keith Dart ke...@dartworks.biz
   public key: ID: 19017044
   http://www.dartworks.biz/
   =



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 22:35 on Sunday 12 December 2010, 
cov...@ccs.covici.com did opine thusly:

 Mark Knecht markkne...@gmail.com wrote:
  On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
   I have a fair number of preserved-libs, but it will not run at all and
   gives the rather strange message:
   Calculating dependencies... done!
   
   emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
   (dependency required by @preserved-rebuild)
   
   Now I have no such package and an eix seems to indicate that there is
   no such, so how do I get this rebuild going again?
   
   Thanks in advance for all your help.
   
   --
   Your life is like a penny.  You're going to lose it.  The question is:
   How do
   you spend it?
   
   John Covici
   cov...@ccs.covici.com
  
  Probably searching for packages that depend on mplib, (equery) then
  emerge -C them (it's what I'd probably do - depends...) then re-emerge
  them if you still use them? Note that I'd go back to finding what
  members of the world file need all this stuff and emerge that with
  -DuN, maybe even doing a -depclean after the emerge -C. It's all a
  guess though.
  
  Seems like this sort of thing happens when a package gets dumped in an
  upgrade but somehow the ebuilds or package manager don't get updated
  or just don't work perfectly.
  
  Again, all a guess but I can usually figure it out looking at equery
  output, etc.
 
 Well, there was a package, but no ebuild, so I deleted the package and
 its going, but someone broke something.  I wish you could not delete an
 ebuild if you have the package, or it would put it somewhere to prevent
 this kind of thing.

That will make portage store gigantic numbers of old and since upgraded 
versions just in case maybe you might need it perhaps. Sounds like a lot of 
pain for no gain. Sounds like exactly the kind of thing any decent dev will 
reject.

Besides, you can always get the old ebuild back from the Attic, or you could 
copy it somewhere safe from /var/db/pkg/ before you delete it.

Mark has the correct solution. mplib is not needed and was deleted. However, 
it's in preserved-rebuild as being used by something. In all likelyhood that 
something uses mplib purely optionally and you should just rebuild that 
something. You provided no output so no-one here knows how to fix your 
problem.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de 
Almeida did opine thusly:

 Hello,
 
 I would like to have net.wlan0 started only when the wireless card is
 switched on. I am using ifplugd for starting net.eth0 when an ethernet
 cable is plugged in. Is there a similar utility for net.wlan0? Ideally
 so that it is configurable in conjunction with ifplugd.


Chuck all that net.* bullshit out the window and use wicd instead.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 Apparently, though unproven, at 22:35 on Sunday 12 December 2010, 
 cov...@ccs.covici.com did opine thusly:
 
  Mark Knecht markkne...@gmail.com wrote:
   On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
I have a fair number of preserved-libs, but it will not run at all and
gives the rather strange message:
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
(dependency required by @preserved-rebuild)

Now I have no such package and an eix seems to indicate that there is
no such, so how do I get this rebuild going again?

Thanks in advance for all your help.

--
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

John Covici
cov...@ccs.covici.com
   
   Probably searching for packages that depend on mplib, (equery) then
   emerge -C them (it's what I'd probably do - depends...) then re-emerge
   them if you still use them? Note that I'd go back to finding what
   members of the world file need all this stuff and emerge that with
   -DuN, maybe even doing a -depclean after the emerge -C. It's all a
   guess though.
   
   Seems like this sort of thing happens when a package gets dumped in an
   upgrade but somehow the ebuilds or package manager don't get updated
   or just don't work perfectly.
   
   Again, all a guess but I can usually figure it out looking at equery
   output, etc.
  
  Well, there was a package, but no ebuild, so I deleted the package and
  its going, but someone broke something.  I wish you could not delete an
  ebuild if you have the package, or it would put it somewhere to prevent
  this kind of thing.
 
 That will make portage store gigantic numbers of old and since upgraded 
 versions just in case maybe you might need it perhaps. Sounds like a lot of 
 pain for no gain. Sounds like exactly the kind of thing any decent dev will 
 reject.
 
 Besides, you can always get the old ebuild back from the Attic, or you could 
 copy it somewhere safe from /var/db/pkg/ before you delete it.
 
 Mark has the correct solution. mplib is not needed and was deleted. However, 
 it's in preserved-rebuild as being used by something. In all likelyhood that 
 something uses mplib purely optionally and you should just rebuild that 
 something. You provided no output so no-one here knows how to fix your 
 problem.
There was no output, but what I sent and the only thing depended on
mplib was the package with no ebuild, so I guess its fixed.  But
something seems wrong here that you should have a package and the ebuild
would go away like that.  I am not sure of the best solution.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 03:54 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor de 
 Almeida did opine thusly:
 
 Hello,

 I would like to have net.wlan0 started only when the wireless card is
 switched on. I am using ifplugd for starting net.eth0 when an ethernet
 cable is plugged in. Is there a similar utility for net.wlan0? Ideally
 so that it is configurable in conjunction with ifplugd.
 
 
 Chuck all that net.* bullshit out the window and use wicd instead.
 
 
Okay I am new to this wireless stuff. If I do

- emerge -vp wicd

I get

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0 kB
[ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc -examples
-test 483 kB
[ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
[ebuild  N] x11-misc/ktsuss-1.4  273 kB
[ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
(-ioctl) -libnotify 402 kB

Total: 5 packages (5 new), Size of downloads: 1,390 kB

which will install wireless-tools. This does not mean I need to use it
to configure my wireless net right? I am asking this because I am using
wpa_supplicant and in the /etc/conf.d/net config file, I can only use
one or the other.

Since wicd deals with both wired and wireless, should I also get rid of
ifplugd?

Thanks,

--
Valmor



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 23:10 on Sunday 12 December 2010, 
cov...@ccs.covici.com did opine thusly:

 Alan McKinnon alan.mckin...@gmail.com wrote:
  Apparently, though unproven, at 22:35 on Sunday 12 December 2010,
  
  cov...@ccs.covici.com did opine thusly:
   Mark Knecht markkne...@gmail.com wrote:
On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
 I have a fair number of preserved-libs, but it will not run at all
 and gives the rather strange message:
 Calculating dependencies... done!
 
 emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
 (dependency required by @preserved-rebuild)
 
 Now I have no such package and an eix seems to indicate that there
 is no such, so how do I get this rebuild going again?
 
 Thanks in advance for all your help.
 
 --
 Your life is like a penny.  You're going to lose it.  The question
 is: How do
 you spend it?
 
 John Covici
 cov...@ccs.covici.com

Probably searching for packages that depend on mplib, (equery) then
emerge -C them (it's what I'd probably do - depends...) then
re-emerge them if you still use them? Note that I'd go back to
finding what members of the world file need all this stuff and
emerge that with -DuN, maybe even doing a -depclean after the emerge
-C. It's all a guess though.

Seems like this sort of thing happens when a package gets dumped in
an upgrade but somehow the ebuilds or package manager don't get
updated or just don't work perfectly.

Again, all a guess but I can usually figure it out looking at equery
output, etc.
   
   Well, there was a package, but no ebuild, so I deleted the package and
   its going, but someone broke something.  I wish you could not delete an
   ebuild if you have the package, or it would put it somewhere to prevent
   this kind of thing.
  
  That will make portage store gigantic numbers of old and since upgraded
  versions just in case maybe you might need it perhaps. Sounds like a lot
  of pain for no gain. Sounds like exactly the kind of thing any decent
  dev will reject.
  
  Besides, you can always get the old ebuild back from the Attic, or you
  could copy it somewhere safe from /var/db/pkg/ before you delete it.
  
  Mark has the correct solution. mplib is not needed and was deleted.
  However, it's in preserved-rebuild as being used by something. In all
  likelyhood that something uses mplib purely optionally and you should
  just rebuild that something. You provided no output so no-one here knows
  how to fix your problem.
 
 There was no output, but what I sent and the only thing depended on
 mplib was the package with no ebuild, so I guess its fixed.  But
 something seems wrong here that you should have a package and the ebuild
 would go away like that.  I am not sure of the best solution.

But you *don't* have the package, or it didn't uninstall cleanly. It's not in 
the tree, it's not in eix, so it no longer exists. There would have been at 
least 30 days notice in $PORTDIR/profiles/package.mask that it was going away, 
and emerge gives output that there is a package present without an ebuild.

Or maybe you deleted the ebuild yourself out of a local overlay.

There's lots of ways this can happen. preserved-rebuild tracks that some part 
of mplib is bieng used somehow, and it told you. Now you as the human being 
get to decide how to proceed because the software cannot decide for you.

The software is working as designed. What else did you expect it to do?

One thing that is NOT a solution is to not delete the ebuild. That results in 
your tree being out of sync with upstream. That is not allowed.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de 
Almeida did opine thusly:

 On 12/12/2010 03:54 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor
  de
  
  Almeida did opine thusly:
  Hello,
  
  I would like to have net.wlan0 started only when the wireless card is
  switched on. I am using ifplugd for starting net.eth0 when an ethernet
  cable is plugged in. Is there a similar utility for net.wlan0? Ideally
  so that it is configurable in conjunction with ifplugd.
  
  Chuck all that net.* bullshit out the window and use wicd instead.
 
 Okay I am new to this wireless stuff. If I do
 
 - emerge -vp wicd
 
 I get
 
 These are the packages that would be merged, in order:
 
 Calculating dependencies... done!
 [ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0 kB
 [ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc -examples
 -test 483 kB
 [ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
 [ebuild  N] x11-misc/ktsuss-1.4  273 kB
 [ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
 (-ioctl) -libnotify 402 kB
 
 Total: 5 packages (5 new), Size of downloads: 1,390 kB
 
 which will install wireless-tools. This does not mean I need to use it
 to configure my wireless net right?

You are going to take the entirety of net.* except net.lo as installed by 
baselayout/openrc/whatever and get rid of it. That stuff never worked right 
for anything except servers with fixed IPs

 I am asking this because I am using
 wpa_supplicant and in the /etc/conf.d/net config file, I can only use
 one or the other.

Discard /etc/conf.d/net

That's part of the thing you are getting rid of

 
 Since wicd deals with both wired and wireless, should I also get rid of
 ifplugd?

Yes.

Just following the wicd docs and it will all work just fine

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread Mark Knecht
On Sun, Dec 12, 2010 at 1:41 PM, Alan McKinnon alan.mckin...@gmail.com wrote:
 Apparently, though unproven, at 23:10 on Sunday 12 December 2010,
 cov...@ccs.covici.com did opine thusly:

 Alan McKinnon alan.mckin...@gmail.com wrote:
  Apparently, though unproven, at 22:35 on Sunday 12 December 2010,
 
  cov...@ccs.covici.com did opine thusly:
   Mark Knecht markkne...@gmail.com wrote:
On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
 I have a fair number of preserved-libs, but it will not run at all
 and gives the rather strange message:
 Calculating dependencies... done!

 emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
 (dependency required by @preserved-rebuild)

 Now I have no such package and an eix seems to indicate that there
 is no such, so how do I get this rebuild going again?

 Thanks in advance for all your help.

 --
 Your life is like a penny.  You're going to lose it.  The question
 is: How do
 you spend it?

         John Covici
         cov...@ccs.covici.com
   
Probably searching for packages that depend on mplib, (equery) then
emerge -C them (it's what I'd probably do - depends...) then
re-emerge them if you still use them? Note that I'd go back to
finding what members of the world file need all this stuff and
emerge that with -DuN, maybe even doing a -depclean after the emerge
-C. It's all a guess though.
   
Seems like this sort of thing happens when a package gets dumped in
an upgrade but somehow the ebuilds or package manager don't get
updated or just don't work perfectly.
   
Again, all a guess but I can usually figure it out looking at equery
output, etc.
  
   Well, there was a package, but no ebuild, so I deleted the package and
   its going, but someone broke something.  I wish you could not delete an
   ebuild if you have the package, or it would put it somewhere to prevent
   this kind of thing.
 
  That will make portage store gigantic numbers of old and since upgraded
  versions just in case maybe you might need it perhaps. Sounds like a lot
  of pain for no gain. Sounds like exactly the kind of thing any decent
  dev will reject.
 
  Besides, you can always get the old ebuild back from the Attic, or you
  could copy it somewhere safe from /var/db/pkg/ before you delete it.
 
  Mark has the correct solution. mplib is not needed and was deleted.
  However, it's in preserved-rebuild as being used by something. In all
  likelyhood that something uses mplib purely optionally and you should
  just rebuild that something. You provided no output so no-one here knows
  how to fix your problem.

 There was no output, but what I sent and the only thing depended on
 mplib was the package with no ebuild, so I guess its fixed.  But
 something seems wrong here that you should have a package and the ebuild
 would go away like that.  I am not sure of the best solution.

 But you *don't* have the package, or it didn't uninstall cleanly. It's not in
 the tree, it's not in eix, so it no longer exists. There would have been at
 least 30 days notice in $PORTDIR/profiles/package.mask that it was going away,
 and emerge gives output that there is a package present without an ebuild.

 Or maybe you deleted the ebuild yourself out of a local overlay.

 There's lots of ways this can happen. preserved-rebuild tracks that some part
 of mplib is bieng used somehow, and it told you. Now you as the human being
 get to decide how to proceed because the software cannot decide for you.

 The software is working as designed. What else did you expect it to do?

 One thing that is NOT a solution is to not delete the ebuild. That results in
 your tree being out of sync with upstream. That is not allowed.

covici,
It strikes me that maybe I wasn't totally clear about this sort of fix. My bad.

I _think_ that if you had a totally up to date system and a recent set
of ebuilds on the system then likely none of them would depend on
mplib. (Assuming it's been dropped for some reason.)

The issue you need to sort of get your head around is that you are
searching from some _older_, currently installed package that depends
on this dropped library. Once you know the name of that package, if
you emerge -C it then the system no longer requires it and complaints
should go away. Assuming they do then I would likely do an emerge -p
--depclean, which gets the system clean without the program you want,
then I would emerge the newest version of that program which doesn't
require mplib.

Again, it's sort of an Easter Egg Hunt getting to all the older
programs that required the library that's been removed. There may be
more than one program that used it.

One other possibility, I think, is that everything is OK with your
programs but some mplib executable (possibly a *.so file or something)
was left laying around and now revdep-rebuild is complaining that it
cannot fix it. That one is 

Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread covici
Alan McKinnon alan.mckin...@gmail.com wrote:

 Apparently, though unproven, at 23:10 on Sunday 12 December 2010, 
 cov...@ccs.covici.com did opine thusly:
 
  Alan McKinnon alan.mckin...@gmail.com wrote:
   Apparently, though unproven, at 22:35 on Sunday 12 December 2010,
   
   cov...@ccs.covici.com did opine thusly:
Mark Knecht markkne...@gmail.com wrote:
 On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
  I have a fair number of preserved-libs, but it will not run at all
  and gives the rather strange message:
  Calculating dependencies... done!
  
  emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
  (dependency required by @preserved-rebuild)
  
  Now I have no such package and an eix seems to indicate that there
  is no such, so how do I get this rebuild going again?
  
  Thanks in advance for all your help.
  
  --
  Your life is like a penny.  You're going to lose it.  The question
  is: How do
  you spend it?
  
  John Covici
  cov...@ccs.covici.com
 
 Probably searching for packages that depend on mplib, (equery) then
 emerge -C them (it's what I'd probably do - depends...) then
 re-emerge them if you still use them? Note that I'd go back to
 finding what members of the world file need all this stuff and
 emerge that with -DuN, maybe even doing a -depclean after the emerge
 -C. It's all a guess though.
 
 Seems like this sort of thing happens when a package gets dumped in
 an upgrade but somehow the ebuilds or package manager don't get
 updated or just don't work perfectly.
 
 Again, all a guess but I can usually figure it out looking at equery
 output, etc.

Well, there was a package, but no ebuild, so I deleted the package and
its going, but someone broke something.  I wish you could not delete an
ebuild if you have the package, or it would put it somewhere to prevent
this kind of thing.
   
   That will make portage store gigantic numbers of old and since upgraded
   versions just in case maybe you might need it perhaps. Sounds like a lot
   of pain for no gain. Sounds like exactly the kind of thing any decent
   dev will reject.
   
   Besides, you can always get the old ebuild back from the Attic, or you
   could copy it somewhere safe from /var/db/pkg/ before you delete it.
   
   Mark has the correct solution. mplib is not needed and was deleted.
   However, it's in preserved-rebuild as being used by something. In all
   likelyhood that something uses mplib purely optionally and you should
   just rebuild that something. You provided no output so no-one here knows
   how to fix your problem.
  
  There was no output, but what I sent and the only thing depended on
  mplib was the package with no ebuild, so I guess its fixed.  But
  something seems wrong here that you should have a package and the ebuild
  would go away like that.  I am not sure of the best solution.
 
 But you *don't* have the package, or it didn't uninstall cleanly. It's not in 
 the tree, it's not in eix, so it no longer exists. There would have been at 
 least 30 days notice in $PORTDIR/profiles/package.mask that it was going 
 away, 
 and emerge gives output that there is a package present without an ebuild.
 
 Or maybe you deleted the ebuild yourself out of a local overlay.
 
 There's lots of ways this can happen. preserved-rebuild tracks that some part 
 of mplib is bieng used somehow, and it told you. Now you as the human being 
 get to decide how to proceed because the software cannot decide for you.
 
 The software is working as designed. What else did you expect it to do?
 
 One thing that is NOT a solution is to not delete the ebuild. That results in 
 your tree being out of sync with upstream. That is not allowed.
I agree that the tree should be in sync, but how come I was able to
unmerge the package?  It must keep the information somewhere -- and it
didn't tell me anything about having packages with no ebuilds -- that
would have been OK.  Maybe that is all I would need, but it didn't
happen.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread Alan McKinnon
Apparently, though unproven, at 00:56 on Monday 13 December 2010, 
cov...@ccs.covici.com did opine thusly:

  One thing that is NOT a solution is to not delete the ebuild. That
  results in  your tree being out of sync with upstream. That is not
  allowed.
 
 I agree that the tree should be in sync, but how come I was able to
 unmerge the package?  It must keep the information somewhere -- and it
 didn't tell me anything about having packages with no ebuilds -- that
 would have been OK.  Maybe that is all I would need, but it didn't
 happen.

Because portage noted what files it installed and an unmerge consists only of 
deleting everything in the list.

You do not require an ebuild to unmerge something - that would lead to the 
undesirable situation of needing to delete something that cannot be deleted

As for no output, maybe you just forgot the -v switch. Or maybe you mail 
everything to yourself as an elog and deleted it. I dunno.

Portage did nothing wrong andyou are getting worked up about nothing. There is 
nothing to be concerned about, nothing to change, nothign to be worried about. 
All of this is perfectly normal and just one of those things that happens that 
you need to deal with.

Like kids. They are not supposed to spill milk on the floor. But they do.
So dad goes and fetches a mop. End of story.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread covici
Mark Knecht markkne...@gmail.com wrote:

 On Sun, Dec 12, 2010 at 1:41 PM, Alan McKinnon alan.mckin...@gmail.com 
 wrote:
  Apparently, though unproven, at 23:10 on Sunday 12 December 2010,
  cov...@ccs.covici.com did opine thusly:
 
  Alan McKinnon alan.mckin...@gmail.com wrote:
   Apparently, though unproven, at 22:35 on Sunday 12 December 2010,
  
   cov...@ccs.covici.com did opine thusly:
Mark Knecht markkne...@gmail.com wrote:
 On Sun, Dec 12, 2010 at 10:48 AM,  cov...@ccs.covici.com wrote:
  I have a fair number of preserved-libs, but it will not run at all
  and gives the rather strange message:
  Calculating dependencies... done!
 
  emerge: there are no ebuilds to satisfy dev-tex/mplib:0.
  (dependency required by @preserved-rebuild)
 
  Now I have no such package and an eix seems to indicate that there
  is no such, so how do I get this rebuild going again?
 
  Thanks in advance for all your help.
 
  --
  Your life is like a penny.  You're going to lose it.  The question
  is: How do
  you spend it?
 
          John Covici
          cov...@ccs.covici.com

 Probably searching for packages that depend on mplib, (equery) then
 emerge -C them (it's what I'd probably do - depends...) then
 re-emerge them if you still use them? Note that I'd go back to
 finding what members of the world file need all this stuff and
 emerge that with -DuN, maybe even doing a -depclean after the emerge
 -C. It's all a guess though.

 Seems like this sort of thing happens when a package gets dumped in
 an upgrade but somehow the ebuilds or package manager don't get
 updated or just don't work perfectly.

 Again, all a guess but I can usually figure it out looking at equery
 output, etc.
   
Well, there was a package, but no ebuild, so I deleted the package and
its going, but someone broke something.  I wish you could not delete an
ebuild if you have the package, or it would put it somewhere to prevent
this kind of thing.
  
   That will make portage store gigantic numbers of old and since upgraded
   versions just in case maybe you might need it perhaps. Sounds like a lot
   of pain for no gain. Sounds like exactly the kind of thing any decent
   dev will reject.
  
   Besides, you can always get the old ebuild back from the Attic, or you
   could copy it somewhere safe from /var/db/pkg/ before you delete it.
  
   Mark has the correct solution. mplib is not needed and was deleted.
   However, it's in preserved-rebuild as being used by something. In all
   likelyhood that something uses mplib purely optionally and you should
   just rebuild that something. You provided no output so no-one here knows
   how to fix your problem.
 
  There was no output, but what I sent and the only thing depended on
  mplib was the package with no ebuild, so I guess its fixed.  But
  something seems wrong here that you should have a package and the ebuild
  would go away like that.  I am not sure of the best solution.
 
  But you *don't* have the package, or it didn't uninstall cleanly. It's not 
  in
  the tree, it's not in eix, so it no longer exists. There would have been at
  least 30 days notice in $PORTDIR/profiles/package.mask that it was going 
  away,
  and emerge gives output that there is a package present without an ebuild.
 
  Or maybe you deleted the ebuild yourself out of a local overlay.
 
  There's lots of ways this can happen. preserved-rebuild tracks that some 
  part
  of mplib is bieng used somehow, and it told you. Now you as the human being
  get to decide how to proceed because the software cannot decide for you.
 
  The software is working as designed. What else did you expect it to do?
 
  One thing that is NOT a solution is to not delete the ebuild. That results 
  in
  your tree being out of sync with upstream. That is not allowed.
 
 covici,
 It strikes me that maybe I wasn't totally clear about this sort of fix. My 
 bad.
 
 I _think_ that if you had a totally up to date system and a recent set
 of ebuilds on the system then likely none of them would depend on
 mplib. (Assuming it's been dropped for some reason.)
 
 The issue you need to sort of get your head around is that you are
 searching from some _older_, currently installed package that depends
 on this dropped library. Once you know the name of that package, if
 you emerge -C it then the system no longer requires it and complaints
 should go away. Assuming they do then I would likely do an emerge -p
 --depclean, which gets the system clean without the program you want,
 then I would emerge the newest version of that program which doesn't
 require mplib.
 
 Again, it's sort of an Easter Egg Hunt getting to all the older
 programs that required the library that's been removed. There may be
 more than one program that used it.
 
 One other possibility, I think, is that everything is OK with your
 

Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-12-12 Thread Peter Humphrey
On Sunday 12 December 2010 17:10:10 Valmor de Almeida wrote:

 Looking forward to xorg-server-1.9.

So why not install it? It's been running here for three months without a 
single problem.

Just add x11-base/xorg-server to /etc/portage/package.keywords. Job 
done.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] [OT] Firefox 3.6.12 problem?

2010-12-12 Thread Peter Humphrey
On Sunday 12 December 2010 16:09:41 Klaus Müller wrote:

 Try [installing] a different firefox theme from
 https://addons.mozilla.org

But I've already tried a vanilla setup by creating a test user, and 
separately by moving my own .mozilla directory elsewhere. In neither 
case did I have any themes installed but I still had no arrow buttons.

I've now removed all themes from my standard user and again I have no 
arrow buttons. Thanks anyway, but this is not a theme problem.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] preserved-rebuild will not run at all

2010-12-12 Thread Peter Humphrey
On Sunday 12 December 2010 21:41:08 Alan McKinnon wrote:

 One thing that is NOT a solution is to not delete the ebuild.

Eh? Not deleting the ebuild is not a solution? Is that what you meant to 
say?

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Gigabyte and controlling fans

2010-12-12 Thread Dale

Volker Armin Hemmann wrote:

On Sunday 12 December 2010 05:20:27 Dale wrote:
   

That comes from lm-sensors.  Hmmm.  Since I have my stuff built into the
kernel, can I still use that or would they clash somehow?

Also, this is a desktop not a laptop just in case it matters.

Dale

:-)  :-)
 

a) building the sensor stuff into the kernel is stupid
b) yes

   


Why is it stupid?  I been using Linux for years and have no modules 
except for nvidia and don't think I ever have either.  What difference 
does it make if it is a module or built in?


Dale

:-)  :-)



Re: [gentoo-user] Re: How to configure thochpad sensitivity (using hal)?

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 07:17 PM, Peter Humphrey wrote:
 On Sunday 12 December 2010 17:10:10 Valmor de Almeida wrote:
 
 Looking forward to xorg-server-1.9.
 
 So why not install it? It's been running here for three months without a 
 single problem.
 
 Just add x11-base/xorg-server to /etc/portage/package.keywords. Job 
 done.
 
Soon after travel; don't need surprises on the road.

--
Valmor



[SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 04:46 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor de 
 Almeida did opine thusly:
 
 On 12/12/2010 03:54 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 18:51 on Sunday 12 December 2010, Valmor
 de

 Almeida did opine thusly:
 Hello,

 I would like to have net.wlan0 started only when the wireless card is
 switched on. I am using ifplugd for starting net.eth0 when an ethernet
 cable is plugged in. Is there a similar utility for net.wlan0? Ideally
 so that it is configurable in conjunction with ifplugd.

 Chuck all that net.* bullshit out the window and use wicd instead.

 Okay I am new to this wireless stuff. If I do

 - emerge -vp wicd

 I get

 These are the packages that would be merged, in order:

 Calculating dependencies... done!
 [ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0 kB
 [ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc -examples
 -test 483 kB
 [ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
 [ebuild  N] x11-misc/ktsuss-1.4  273 kB
 [ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
 (-ioctl) -libnotify 402 kB

 Total: 5 packages (5 new), Size of downloads: 1,390 kB

 which will install wireless-tools. This does not mean I need to use it
 to configure my wireless net right?
 
 You are going to take the entirety of net.* except net.lo as installed by 
 baselayout/openrc/whatever and get rid of it. That stuff never worked right 
 for anything except servers with fixed IPs
 
 I am asking this because I am using
 wpa_supplicant and in the /etc/conf.d/net config file, I can only use
 one or the other.
 
 Discard /etc/conf.d/net
 
 That's part of the thing you are getting rid of
 

 Since wicd deals with both wired and wireless, should I also get rid of
 ifplugd?
 
 Yes.
 
 Just following the wicd docs and it will all work just fine
 

Thank you very much. I don't know how this magic is happening since I
had posted another message in this list on problems with wpa_supplicant
and frequent dropouts during connection. I am now sending this e-mail
with a wireless connection. For the record, what I had to do was:

emerge --unmerge ifplugd wpa_supplicant
rm /etc/wpa_supplicant/*.conf
rm /etc/conf.d/net
touch /etc/conf.d/net
rm /etc/init.d/net.eth0
rm /etc/init.d/net.wlan0
emerge -av wicd

emerge wicd
/etc/init.d/wicd start
rc-update add wicd boot

reboot and check wired connection.
disconnect, turn on wireless
wicd-client -n

Thanks,

--
Valmor






[SOLVED] Re: [gentoo-user] wpa_supplicant connect-disconnect loop

2010-12-12 Thread Valmor de Almeida
On 12/12/2010 05:55 AM, Mick wrote:
 On Sunday 12 December 2010 02:07:02 Valmor de Almeida wrote:
 On 12/11/2010 08:35 PM, Valmor de Almeida wrote:
 
 To add to the above from the message logs, wlan0 deauthenticates from
 the AP by local choice (reason=3)
 
 
 If you are getting these disconnections even with WPA/2 encryption disabled 
 then this is probably related to a bug on the driver, which falls over itself 
 when running with wpa_supplicant.
 
 There are reports in google about it and a suggested fix is to disable 11n 
 and 
 5.0GHz:
 
 http://www.jpdw.org/blog/intel-wireless-broken-ubuntu-904
 
 
 Run modinfo for your driver and find the parameters that control other than 
 802.11g modes and disable them by creating and adding them to a file in 
 /etc/modprobe.d/ for your driver if it's not already there.
 
 Alternatively, see if you can disable any modes other than 802.11g at your AP 
 and test to find out if this resolves the problem for now.
 
 HTH.

Solved and saved by wicd!
I am now sending this e-mail with my wireless connection. Don't know how
this magic happens but all is fine after the net stuff from baselayout
was thrown out the window and wicd installed as suggested by Alan on
another e-mail thread. I even get the wireless LED working. My
/var/log/messages is clean, etc. Great. Thanks. Since wpa_supplicant is
used by wicd the problem must be either the way /etc/conf.d/net is
handling the network setup or my ignorance on how to configure
wpa_supplicant by hand. The iwlagn driver is good.

--
Valmor




Re: [SOLVED] Re: [gentoo-user] starting wlan0 only when wireless is turned on

2010-12-12 Thread Mick
On Monday 13 December 2010 07:05:20 Valmor de Almeida wrote:
 On 12/12/2010 04:46 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 23:34 on Sunday 12 December 2010, Valmor
  de
  
  Almeida did opine thusly:
  On 12/12/2010 03:54 PM, Alan McKinnon wrote:
  Apparently, though unproven, at 18:51 on Sunday 12 December 2010,
  Valmor de
  
  Almeida did opine thusly:
  Hello,
  
  I would like to have net.wlan0 started only when the wireless card is
  switched on. I am using ifplugd for starting net.eth0 when an ethernet
  cable is plugged in. Is there a similar utility for net.wlan0? Ideally
  so that it is configurable in conjunction with ifplugd.
  
  Chuck all that net.* bullshit out the window and use wicd instead.
  
  Okay I am new to this wireless stuff. If I do
  
  - emerge -vp wicd
  
  I get
  
  These are the packages that would be merged, in order:
  
  Calculating dependencies... done!
  [ebuild  N] net-wireless/wireless-tools-29  USE=nls -multicall 0
  kB [ebuild  N] dev-python/dbus-python-0.83.0-r1  USE=-doc
  -examples -test 483 kB
  [ebuild  N] dev-python/urwid-0.9.9.1  USE=-examples 233 kB
  [ebuild  N] x11-misc/ktsuss-1.4  273 kB
  [ebuild  N] net-misc/wicd-1.7.0  USE=X gtk ncurses nls pm-utils
  (-ioctl) -libnotify 402 kB
  
  Total: 5 packages (5 new), Size of downloads: 1,390 kB
  
  which will install wireless-tools. This does not mean I need to use it
  to configure my wireless net right?
  
  You are going to take the entirety of net.* except net.lo as installed by
  baselayout/openrc/whatever and get rid of it. That stuff never worked
  right for anything except servers with fixed IPs
  
  I am asking this because I am using
  wpa_supplicant and in the /etc/conf.d/net config file, I can only use
  one or the other.
  
  Discard /etc/conf.d/net
  
  That's part of the thing you are getting rid of
  
  Since wicd deals with both wired and wireless, should I also get rid of
  ifplugd?
  
  Yes.
  
  Just following the wicd docs and it will all work just fine
 
 Thank you very much. I don't know how this magic is happening since I
 had posted another message in this list on problems with wpa_supplicant
 and frequent dropouts during connection. I am now sending this e-mail
 with a wireless connection. For the record, what I had to do was:
 
 emerge --unmerge ifplugd wpa_supplicant
 rm /etc/wpa_supplicant/*.conf
 rm /etc/conf.d/net
 touch /etc/conf.d/net
 rm /etc/init.d/net.eth0
 rm /etc/init.d/net.wlan0
 emerge -av wicd
 
 emerge wicd
 /etc/init.d/wicd start
 rc-update add wicd boot
 
 reboot and check wired connection.
 disconnect, turn on wireless
 wicd-client -n

Interesting! Can wicd manage encryption WPA/WPA2 without wpa_supplicant?

-- 
Regards,
Mick


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