Re: [gentoo-ppc-user] pbbuttonsd question

2006-05-30 Thread Eric Robertson




I have an ATI card that is using the generic radeon driver at the
moment. Yes, lcd brightness is working  the so is the ambient
light snesor - I base that claim ont he fact that the lcd brightness
changes intensity when i turn off the lights.

Eric

JOAN MASSICH VALL wrote:

  Do you have working the lcd brightness??, what kind of grafic card do you
have?. I'm using a 12" pbook 867Mhz with a gentoo from two years ago and I
don't check hardware configuration since a long time ago. Is the nvidia
and lcd light runing??

tnks, ( sorry for my english)

  
  
I am running gentoo on a 15" aluminum powerbook.  I am using the
2.6.16.r kernel and pbbuttonsd 0.7.4.  I have been going over the man
pages  online documentation but cannot figure out how to get the
illuminated keyboard working.  pbbuttonsd does not error during load.
The pbbuttonsd.conf file has not been modified from the default at the
moment.  i2c-dev is compiled into the kernel, not as a module.  The LCD
brightness buttons work but the keyboard light buttons dont.  The
ambient light sensor appears to working because the lcd automatically
adjusts brightness when I turn out the lights.  There are 8 i2c devices
in /dev.

What dependencies does i2c have?  what dependencies does pbbuttonsd have?

Thanks for your input...

Eric Robertson
--
gentoo-ppc-user@gentoo.org mailing list



  
  
  





Re: [gentoo-ppc-user] pbbuttonsd question

2006-05-30 Thread Eric Robertson

Alden Huang wrote:

Eric Robertson wrote:

I had a problem when I upgraded kernels as well.  When on the 2.6.15 
kernel I2C was a module.  I did not change this config when I first 
compiled the 2.6.16 kernel.  I re-compiled w/ I2C compiled intot he 
kernel  the lcd  sensor started to work but I still cannot get the 
keyboard light to work.


Konstantin V. Gavrilenko wrote:


I have the same problem as you do, but in my case the ambient lights
sensor doesn't work either.
This happened after a switch from 2.6.15 to 2.6.16. I think the reasons
might be in the I2C module that has been changed.

In the 2.6.15 it was I2C_KEYWEST while in 2.6.16 it is named  
I2C_POWERMAC.
Wrote an email to the author of the pbbuttons but had no reply. It 
would

be great if we can sort out the problem in this list.

p.s.
machine : PowerBook5,4
motherboard : PowerBook5,4 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15)

pbbuttonsd, version 0.7.5
Linux maca 2.6.16-gentoo-r7

yours,
kos


  



Hi there,

I'm not sure if this will be of help... I have an older model G4 ibook 
(with a G3 proc) which does not have the lighted keyboard feature...


check to make sure you have event interface enabled (the EVDEV module) 
in your kernel. Also enable APM emulation or something like that under 
the new Mac drivers menu.


I've also noticed that the pbbuttonsd.conf default kbd light value is 
0, maybe that needs a different value? Have you tried changing the 
light sensor threshold values as well? also running pbbcmds? any luck 
with that?


I dunno...hope this was somewhat helpful...

best,
alden
Thanks for the suggestion - EVDEV is enabled as part of the kernel.  
apm_emu is loading as a module.  My pbbuttonsd.conf has the kbd 
illumination value is set to 0 but it is also commented out.


Since I was looking at my kernel config I went ahead  made 2 changes  
compiled a new kernel to test.


old kernel (per the .config file):
i2c support
   config_i2c=y
   config_i2c_chardev=y

i2c algorithms
   config_i2c_algobit=y
   config_i2c_algopcf is not set
   config_i2c_algopca is not set

i2c hardware bus support
   ...
   config_i2c_powermac=y
   ...

misc. i2c chip support
   ...
   (nothing is configured here)


new kewrel (per the new .config file):

i2c support
   config_i2c=y
   config_i2c_chardev=y

i2c algorithms
   config_i2c_algobit=y
   config_i2c_algopcf is not set
   config_i2c_algopca is not set

i2c hardware bus support
   ...
   config_i2c_powermac=y
   ...

miscellaneous i2c chip support
   ...
   config_i2c_debug_core=y
   config_i2c_debug_algo is not set
   config_i2c_debug_bus=y



The result, my syslog is filling up w/ hundreds of lines detailing the 
i2c devices loaded  the keyboard now lights up.  When I boot back to 
the old kernel (the one without the debug_core  debug_bus enabled) it 
stops working.  lcd brightness works on both of them works on both.  I 
ran a diff on the 2 .config files and verified that there were no 
changes other than what I just documented.


my confusion has just increased

Eric
--
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-ppc-user] pbbuttonsd question

2006-05-30 Thread Konstantin V. Gavrilenko
Eric Robertson wrote:
  The result, my syslog is filling up w/ hundreds of lines detailing the
 i2c devices loaded  the keyboard now lights up.  When I boot back to
 the old kernel (the one without the debug_core  debug_bus enabled) it
 stops working.  lcd brightness works on both of them works on both.  I
 ran a diff on the 2 .config files and verified that there were no
 changes other than what I just documented.
 
 my confusion has just increased
 
 Eric

hmm, amazingly it works...

Guess it is time to write to benjamin for an answer regarding what has
changed to cause such a drastic result.

Benjamin Herrenschmidt [EMAIL PROTECTED]

-- 
Respectfully,
Konstantin V. Gavrilenko

Managing Director
Arhont Ltd - Information Security

web:http://www.arhont.com
http://www.wi-foo.com
e-mail: [EMAIL PROTECTED]

tel: +44 (0) 870 44 31337
fax: +44 (0) 117 969 0141

PGP: Key ID - 0xE81824F4
PGP: Server - keyserver.pgp.com
-- 
gentoo-ppc-user@gentoo.org mailing list



Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Dirk Heinrichs
Am Dienstag, 30. Mai 2006 06:00 schrieb ext Leandro Melo de Sales:

 When I boot from livecd the configuration of my disks is as follows:

BUS=scsi
/dev/sda  -  SYSFS{model}==SAMSUNG SP...

BUS=scsi
/dev/sdb  -  SYSFS{model}==SysOp   

SATA or real SCSI?

I got this information through udevinfo shell command.

/dev/sdb has BIOS boot priority, so I installed grub on it.

Try to give sda boot priority, install grub on it and tell grub to boot 
Linux from sdb, see if that helps.

   But when I boot the system with the kernel that I compiled (yes, I
 put all modules/drivers required for my scsi controllers and sata on
 it), the udev recognize the disks in a different order, such as:

BUS=scsi
/dev/sda  -  SYSFS{model}==SysOp   

BUS=scsi
/dev/sdb  -  SYSFS{model}==Dados   

Just a guess, maybe because of the boot prio.

   so, when gentoo activate udev the system shows a message that the
 boot device was not specified or not recognized. I go to shell and
 type dmesg, the disks is recognized but in such order that I said, not
 as the same as livecd. I started up the system with livecd again, than
 I created the file /etc/udev/rules.d/10-local.rules with the following
 rules:

   BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
   BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
   BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc

   and finally I typed:

   # udevstartup
   # exit
   # umount /mnt/gentoo/dev/ /mnt/gentoo/proc /mnt/gentoo
   # reboot

   The system continue showing me the same message, after activate
 udev, the boot device was not find or not recognized.

Well, udev doesn't run until the kernel has booted.

   So, what I'm doing wrong? All pointers/suggestion are accepted. When
 I installed grub on /dev/sdb when I was on livecd everything went
 fine.

Could you post your grub.conf, partition information (/etc/fstab) and the 
relevant parts of dmesg output, please?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgppRhQPckNBu.pgp
Description: PGP signature


Re: [gentoo-user] OpenOffice build failed.

2006-05-30 Thread Bo Ørsted Andresen
Tuesday 30 May 2006 07:41 skrev Graham Murray:
  Besides, by looking at the terminal while merging packages, you will
  soon notice, that lot's of packages add their very own CFLAGS to your
  default ones. For example mplayer or xine-lib was compiled with '-O3' on
  my system, allthough i have '-O2' in my CFLAGS. (As far as i know, gcc
  -O3 -O2 == gcc -O3).

 Where packages do this, should they not filter out the appropriate
 flags from the user's CFLAGS and substitute their flags rather than
 having both flags on the command line?

Not in this particular case. xine-lib is a good example. src_compile() 
contains the following in the ebuild (and more):

if [[ $(tc-arch) == x86 ]]; then
filter-flags -fforce-addr
filter-flags -momit-leaf-frame-pointer
is-flag -O? || append-flags -O2
fi

On an x86 architecture it filters out -fforce-addr 
and -momit-leaf-frame-pointer. If the CFLAGS contain any optimizations it 
just appends -O2 yielding that -O2 will be used as stated by Christian 
Limberg. In 'man gcc' you find the following statement:

If you use multiple -O options, with or without level numbers, the last such 
option is the one that is effective.

So this is completely legal.

And I very much doubt that there are any ebuilds in the portage tree that 
enforces -O3 or higher...

-- 
Bo Andresen


pgpOKLCaIKAJa.pgp
Description: PGP signature


Re: [gentoo-user] Fotos

2006-05-30 Thread Dirk Heinrichs
Am Montag, 29. Mai 2006 16:36 schrieb ext Teresa and Dale:

 It's not for English speakers for sure.  I can't make out one word.  Can
 someone translate for the rest of us?

Hmm, maybe catalan?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpKrybkNQXcH.pgp
Description: PGP signature


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-30 Thread Bo Ørsted Andresen
Tuesday 30 May 2006 07:51 skrev Iain Buchanan:
 Ah, I was looking in /etc/init.d wondering why I couldn't find it :) I
 have bad RAM in my head.  I guess sh scripts can be run by sh and bash,
 and probably other --sh variants.  Not that that helps with this topic,
 I was just thinking aloud :)

$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 15 maj 17:46 /bin/sh - bash

From 'man bash':

Bash  is  an  sh-compatible command language interpreter that executes 
commands read from the standard input or from a file.  Bash also incorporates 
useful features from the Korn and C shells (ksh and csh).

--norc Do not read and execute the personal initialization file ~/.bashrc if 
the shell is interactive.  This option is on by default if the shell is 
invoked as sh

If  bash  is  invoked  with the name sh, it tries to mimic the startup 
behavior of historical versions of sh as closely as possible, while 
conforming to the POSIX standard as well.

-- 
Bo Andresen


pgpw92UZF0yXN.pgp
Description: PGP signature


Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Richard Fish

On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:

  BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
  BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
  BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc


1. You probably need the := syntax to prevent later rules from
over-riding your settings.  For example, in 50-udev.rules, I see:
50-udev.rules:KERNEL==sd*,NAME=%k, GROUP=disk

2. You should not have the /dev/ part of NAME.

3. You probably also need to handle the partitions with the %n syntax

So those rules should be more like:

BUS==scsi, KERNEL==sd*, SYSFS{model}==SAMSUNG SP123245, NAME:=sda%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==SysOp   , NAME:=sdb%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==Dados   , NAME:=sdc%n

You might also consider using LVM on these disks, so you need not care
about sdX, or mounting them by fileystem label.

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



Re: [gentoo-user] Fotos

2006-05-30 Thread Javier

Yes, it's catalan. Here is the translation.. but it's a messageto other people.

begin translation
Guys

this has a good look... to share photos quickly..

maybe we would test to see if it's ok, don't you? a new way to have
the photos updated... are Edgar or Pau volunteers? I don't see Jordi
investigating, and the fat is the busiest man, but if we give them all
done, maybe they benn encouraged and they will install this program.

But caution! it says it share ALL the photos... included the porn ones :-)

http://picasa.google.com/

Best Regards
/end translation

Maybe this translation has some mistakes but this is my fault.

Best Regards,
Javi
--
gentoo-user@gentoo.org mailing list



[gentoo-user] switch port identification

2006-05-30 Thread Stefán István
Hello List!

We have a small network with two 24 port switches. We assign ip address to 
clients by dhcp based on the clients mac address, and have a pool of 
addresses for guest notebooks. My problem is that if someone plugs a notebook 
into the network and gets an ip then I can't find out the location of the 
machine. Is it possible to get the information that in which port of the 
switch is the notebook connected to?

Thanks,
Istvan
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] prelink

2006-05-30 Thread Uwe Thiem
Hi folks,

when prelinking, what are undefined non-weak symbols? And how can I avoid 
them? ;-)

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wine + msi

2006-05-30 Thread Stefán István
Hello List!

Does somebody know how to start a windows msi install file with wine?
If I just simply try to start it I get the following error message:
$ wine /mnt/cdrom/Installation/HydroGeo_Analyst.msi 
wine: could not load LZ:\\mnt\\cdrom\\Installation\\HydroGeo_Analyst.msi: 
Bad EXE format for 


Thanks for the help in advance,
Istvan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] switch port identification

2006-05-30 Thread Etaoin Shrdlu
On Tuesday 30 May 2006 09:53, Stefán István wrote:

 We have a small network with two 24 port switches. We assign ip
 address to clients by dhcp based on the clients mac address, and have
 a pool of addresses for guest notebooks. My problem is that if someone
 plugs a notebook into the network and gets an ip then I can't find out
 the location of the machine. Is it possible to get the information
 that in which port of the switch is the notebook connected to?

That depends on the capabilities of the switch. For example, many 3Com's 
have a http-based management interface that permit monitoring each 
single ethernet port; among the various info, you can see the MAC 
address(es) of the station(s) connected to the port(s).
Other models have even more sophisticated management functions.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Fotos

2006-05-30 Thread Arnau Bria
On Tue, 30 May 2006 08:33:28 +0200
Javier [EMAIL PROTECTED] wrote:

[...]
Thanks Javi,

I did the translation but I sent it to Dale...
 Best Regards,
 Javi

Cheers!

-- 
Arnau Bria
http://blog.emergetux.net
- Mama, mama en el colegio me llaman Friki
- ¿Y tú que haces?
- Me quito dos puntos de carisma.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wine + msi

2006-05-30 Thread Ilya Hegai
2006/5/30, Stefán István [EMAIL PROTECTED]:
Hello List!Does somebody know how to start a windows msi install file with wine?If I just simply try to start it I get the following error message:$ wine /mnt/cdrom/Installation/HydroGeo_Analyst.msiwine: could not load LZ:\\mnt\\cdrom\\Installation\\HydroGeo_Analyst.msi:
Bad EXE format fordid you google ? ;)http://www.google.com/search?q=wine+msithe very first link it what you need-- 
regards, Hegai Ilya 


Re: [gentoo-user] Email-based games

2006-05-30 Thread Philip Webb
060529 JimD wrote:
 Does anyone have any suggestions for some fun email based games?
 I guess I have some turn-based strategy like game in mind.

The International Correspondence Chess Federation is well-established :
  http://testarea.iccf-webchess.com/
Diplomacy is also played a lot via Internet, eg :
  http://www.diplom.org/
You should find some very challenging opponents there.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wine + msi

2006-05-30 Thread Christian Heinz
On Tue, 30 May 2006 10:00:54 +0200
Stefán István [EMAIL PROTECTED] wrote:

 Hello List!
 
 Does somebody know how to start a windows msi install file with wine?
 If I just simply try to start it I get the following error message:
 $ wine /mnt/cdrom/Installation/HydroGeo_Analyst.msi 
 wine: could not load LZ:\\mnt\\cdrom\\Installation\\HydroGeo_Analyst.msi: 
 Bad EXE format for 
 
 
 Thanks for the help in advance,
 Istvan
 -- 
 gentoo-user@gentoo.org mailing list
 

Hi,
$ msiexec /i /mnt/cdrom/Installation/HydroGeo_Analyst.msi
should work for you. msiexec is a builtin wine utility.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sorry!

2006-05-30 Thread Neil Bothwick
On Mon, 29 May 2006 23:47:17 +, John Laremore wrote:

 and you just sent me 6-8 more emails.

Yes, we did, because you asked to be sent them. If you took the trouble
to read even one of them, say the one you just quoted, you'd know where
they came from, why, and how to stop them.

If you need a simpler solution to this and all your other
computer-related problems, I suggest removing your computer's power
cable, as this is the root cause of all your troubles.


-- 
Neil Bothwick

Windows - From the people who brought you EDLIN!


signature.asc
Description: PGP signature


Re: [gentoo-user] Sorry!

2006-05-30 Thread Norman Rieß
 Tuesday 30 May 2006 10:38 skrev Neil Bothwick:
 If you took the trouble
 to read even one of them, say the one you just quoted, you'd know where
 they came from, why, and how to stop them.

 Earlier today I sent a mail to [EMAIL PROTECTED] and put
 his
 mail address in the from field. I believe that should give him a mail with
 the subject:

 Confirm unsubscribe from gentoo-user@gentoo.org

 Now the big question that remains is if he will be able to reply to that
 mail...

 --
 Bo Andresen


Because of his non-existing presence ;-), i think he did it in the end.


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] how to trigger complete rebuild after changing CFLAGS oder USEFLAGS

2006-05-30 Thread Enrico Weigelt

Hi folks,

can anyone give me a quick hint, how to trigger a complete rebuild
if some build settings, ie CFLAGS or USEFLAGS are changed ? 

thanks
-- 
-
 Enrico Weigelt==   metux IT service

  phone: +49 36207 519931 www:   http://www.metux.de/
  fax:   +49 36207 519932 email: [EMAIL PROTECTED]
  cellphone: +49 174 7066481
-
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to trigger complete rebuild after changing CFLAGS oder USEFLAGS

2006-05-30 Thread Raymond Lewis Rebbeck
# emerge -e world

On Tuesday, 30 May 2006 19:14, Enrico Weigelt wrote:
 Hi folks,

 can anyone give me a quick hint, how to trigger a complete rebuild
 if some build settings, ie CFLAGS or USEFLAGS are changed ?

 thanks
 --
 -
  Enrico Weigelt==   metux IT service

   phone: +49 36207 519931 www:   http://www.metux.de/
   fax:   +49 36207 519932 email: [EMAIL PROTECTED]
   cellphone: +49 174 7066481
 -
  -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
 -

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to trigger complete rebuild after changing CFLAGS oder USEFLAGS

2006-05-30 Thread Jürgen Pierau

Enrico Weigelt schrieb:

Hi folks,

can anyone give me a quick hint, how to trigger a complete rebuild
if some build settings, ie CFLAGS or USEFLAGS are changed ? 


thanks
  

Yo Enrico,

emerge -aev world

should do the trick.

Jürgen
--
gentoo-user@gentoo.org mailing list



[gentoo-user] New adresses

2006-05-30 Thread Bertrand Jacquin

Hi,

My new IM (Jabber) adress is : [EMAIL PROTECTED]
My new email is : [EMAIL PROTECTED]

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



[gentoo-user] Cursor shape fo X.org ?

2006-05-30 Thread Meino Christian Cramer
Hi, 

 is there a legal way to change the shape of the Cursor in X.org ???
 
 Thank you very much for any helpful reply in advance!
 Keep hacking!
 mcc
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cursor shape fo X.org ?

2006-05-30 Thread Raymond Lewis Rebbeck
I assume you're talking about Cursor Themes. Any desktop environment should 
allow you to install new themes. Otherwise I believe you can download a theme 
and put it in ~/.icons/default/ and it will become the default cursor theme 
for that user.

On Tuesday, 30 May 2006 20:08, Meino Christian Cramer wrote:
 Hi,

  is there a legal way to change the shape of the Cursor in X.org ???

  Thank you very much for any helpful reply in advance!
  Keep hacking!
  mcc

-- 
Raymond Lewis Rebbeck
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OpenOffice build failed.

2006-05-30 Thread Matthias Langer
On Tue, 2006-05-30 at 08:04 +0200, Bo Ørsted Andresen wrote:
 Tuesday 30 May 2006 07:41 skrev Graham Murray:
   Besides, by looking at the terminal while merging packages, you will
   soon notice, that lot's of packages add their very own CFLAGS to your
   default ones. For example mplayer or xine-lib was compiled with '-O3' on
   my system, allthough i have '-O2' in my CFLAGS. (As far as i know, gcc
   -O3 -O2 == gcc -O3).
 
  Where packages do this, should they not filter out the appropriate
  flags from the user's CFLAGS and substitute their flags rather than
  having both flags on the command line?
 
 Not in this particular case. xine-lib is a good example. src_compile() 
 contains the following in the ebuild (and more):
 
 if [[ $(tc-arch) == x86 ]]; then
   filter-flags -fforce-addr
   filter-flags -momit-leaf-frame-pointer
   is-flag -O? || append-flags -O2
 fi
 
 On an x86 architecture it filters out -fforce-addr 
 and -momit-leaf-frame-pointer. If the CFLAGS contain any optimizations it 
 just appends -O2 yielding that -O2 will be used as stated by Christian 
 Limberg. In 'man gcc' you find the following statement:
 
 If you use multiple -O options, with or without level numbers, the last such 
 option is the one that is effective.
 
 So this is completely legal.
 
 And I very much doubt that there are any ebuilds in the portage tree that 
 enforces -O3 or higher...
 
Well, you are right: However, what i said still applies: Lot's of
packages add their very own CFLAGS (-fomit-frame-pointer,
-ffunction-sections are two examples for xine-lib).

Matthias

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Leandro Melo de Sales

Richard,

 when I change any rules, should I have to execute a command in order
to update the udev rules?

Thank you,

Leandro.

2006/5/30, Richard Fish [EMAIL PROTECTED]:

On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
   BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
   BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc

1. You probably need the := syntax to prevent later rules from
over-riding your settings.  For example, in 50-udev.rules, I see:
50-udev.rules:KERNEL==sd*,NAME=%k, GROUP=disk

2. You should not have the /dev/ part of NAME.

3. You probably also need to handle the partitions with the %n syntax

So those rules should be more like:

BUS==scsi, KERNEL==sd*, SYSFS{model}==SAMSUNG SP123245, NAME:=sda%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==SysOp   , NAME:=sdb%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==Dados   , NAME:=sdc%n

You might also consider using LVM on these disks, so you need not care
about sdX, or mounting them by fileystem label.

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



--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to trigger complete rebuild after changing CFLAGS oder USEFLAGS

2006-05-30 Thread Neil Bothwick
On Tue, 30 May 2006 11:55:24 +0200, Jürgen Pierau wrote:

  can anyone give me a quick hint, how to trigger a complete rebuild
  if some build settings, ie CFLAGS or USEFLAGS are changed ? 

 emerge -aev world

For a change of CFLAGS. For USE changes you only need to rebuild the
affected packages with

emerge -uavDN world


-- 
Neil Bothwick

I couldn't repair your brakes, so I made your horn louder.


signature.asc
Description: PGP signature


Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Leandro Melo de Sales

Richard,

 You said that one rule can override other, but if you read udev
manual ( http://www.reactivated.net/writing_udev_rules.html ), you'll
realize that what you said I think is incorrect.

Files in /etc/udev/rules.d/ are parsed in lexical order. udev will
stop processing rules as soon as it finds a matching rule in a file
for the new item of hardware that has been detected. It is important
that your own rules get processed before the udev defaults, otherwise
your own naming schemes will not take effect! I suggest that you keep
your own rules in a file at /etc/udev/rules.d/10-local.rules (this
doesn't exist by default - create it). As 10 comes before 50, you know
that your rules will be looked at first. It is important that the
filenames of your rule files end with the .rules suffix, otherwise
they will not be used.

Let me know if I am wrong too? :-)

Leandro.

2006/5/30, Richard Fish [EMAIL PROTECTED]:

On 5/29/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:
   BUS==scsi, SYSFS{model}==SAMSUNG SP123245, NAME=/dev/sda
   BUS==scsi, SYSFS{model}==SysOp   , NAME=/dev/sdb
   BUS==scsi, SYSFS{model}==Dados   , NAME=/dev/sdc

1. You probably need the := syntax to prevent later rules from
over-riding your settings.  For example, in 50-udev.rules, I see:
50-udev.rules:KERNEL==sd*,NAME=%k, GROUP=disk

2. You should not have the /dev/ part of NAME.

3. You probably also need to handle the partitions with the %n syntax

So those rules should be more like:

BUS==scsi, KERNEL==sd*, SYSFS{model}==SAMSUNG SP123245, NAME:=sda%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==SysOp   , NAME:=sdb%n
BUS==scsi, KERNEL==sd*, SYSFS{model}==Dados   , NAME:=sdc%n

You might also consider using LVM on these disks, so you need not care
about sdX, or mounting them by fileystem label.

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





--
Leandro Melo de Sales.
Computer Science Student
Laboratório de Sistemas Distribuídos - www.lsd.ufcg.edu.br
Laboratório de Sistemas Embarcados e Computação Pervasiva -
www.embeddedacademy.org
Universidade Federal de Campina Grande - UFCG
Campina Grande - PB - Brasil

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New adresses

2006-05-30 Thread Teresa and Dale
Bertrand Jacquin wrote:

 Hi,

 My new IM (Jabber) adress is : [EMAIL PROTECTED]
 My new email is : [EMAIL PROTECTED]

 Beber


If you want to change the address for this list, you need to unsuscribe
from the old address and subscribe with the new address.  I don't think
anyone here can change it for you.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sorry!

2006-05-30 Thread Teresa and Dale
Norman Rieß wrote:

Tuesday 30 May 2006 10:38 skrev Neil Bothwick:


If you took the trouble
to read even one of them, say the one you just quoted, you'd know where
they came from, why, and how to stop them.
  

Earlier today I sent a mail to [EMAIL PROTECTED] and put
his
mail address in the from field. I believe that should give him a mail with
the subject:

Confirm unsubscribe from gentoo-user@gentoo.org

Now the big question that remains is if he will be able to reply to that
mail...

--
Bo Andresen




Because of his non-existing presence ;-), i think he did it in the end.


  


Thank goodness for the few brain cells he had left.  ;-)

Da;e
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-30 Thread Neil Bothwick
On Tue, 30 May 2006 06:35:39 +0200, Bo Ørsted Andresen wrote:

 That of course should have been negated...
 
 if [ -n $PS1 ]

Or even 

if [ -n  $PS1 ]

or you'll get an error if PS1 is undefined.


-- 
Neil Bothwick

If the pen is mightier than the sword, and a picture is worth a thousand
words, how dangerous is a fax?


signature.asc
Description: PGP signature


Re: [gentoo-user] Fotos

2006-05-30 Thread Teresa and Dale
Arnau Bria wrote:

On Tue, 30 May 2006 08:33:28 +0200
Javier [EMAIL PROTECTED] wrote:

[...]
Thanks Javi,

I did the translation but I sent it to Dale...
  

Best Regards,
Javi



Cheers!

  


I was wanting to make sure whether he needed help fixing his Gentoo box
or not.  Sounds like he likes the new Google image sharing thing,
assuming this is that Google image sharing thing.  I don't share my pics
to much.

Dale
:-)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Daniel da Veiga

On 5/29/06, Colleen Beamer [EMAIL PROTECTED] wrote:

Open up your e-mail client.

In the To: box type the following:

[EMAIL PROTECTED]

You don't need a subject or anything in the body.  Send the e-mail.
You'll be unsubscribed.  Trust me!  I've unsubscribed and resubscribed a
number of times!  However, you have to do this yourself!



I usually would not reply to a subject like this, but I just gotta
talk to you people about this guy, John. Let's assume this lame uses
his real name at this emails from spammer hotmail site. Nowadays, the
web is a great source of information, and right now, Gmane and a lot
of other websites that keep track of this and other mailing lists has
a copy of his stupid message, meaning his name is at least in 4
different indexed and searchable places over the net, just wait for
Google's crawler and he got himself a nice portfolio of bullshit said
with no cause to a serious mailing list.

Now, let's assume this guy has a job, or even that one day he might
want to become something other than a farmer or janitor, and thus,
will present a curriculum to its future employer. Now, assume his
future or current boss searches the web for his name, out of
curiosity, and BUM! The first hit is filled with grammar errors (note
that I'm brazilian, and even for me that was bad english) and words
like bullshit, nasty and fucking.

Would you hire him or keep him working for you?

People gotta think better before hitting the send button. Might be dangerous.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Sorry!

2006-05-30 Thread Hemmann, Volker Armin
On Tuesday 30 May 2006 06:25, kashani wrote:
 Hemmann, Volker Armin wrote:
that is the point, where friends are important: sometimes you need

 someone who

  calls you and suggests an evening of AxisAllies (the board game), beer,
  pizza and cigarillos (because puffing one while throwing the dice boosts
  your luck. Hours, days spent with this game have confirmed it!), or
  invites everybody to a drunken saunapool party
 
  *sigh* be 17 again.. or 18... or even 20 (not a teen.. but still a fun
  phase of life).

   I'd have to say I'm enjoying my early thirties much more than I ever
 did my late teens... being able to afford liquor that comes in glass
 bottles rather than plastic might have something to do with it. :-)


the problem is: I can't tolerate alcohol as good as a teen anymore ... and 
pleaaase .. I never drank alcohol out of plastic - cans, yes, but plastic? 
ieech...

;)
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xextproto, what to do

2006-05-30 Thread Rakotomandimby Mihamina
Hi,
I am trying to install qemu and kqemu, and I run into a problem:


localhost ~ # emerge qemu kqemu
Calculating dependencies... done!
 Emerging (1 of 33) x11-proto/xextproto-7.0.2 to /
 Downloading
http://xorg.freedesktop.org/releases/individual/proto/xextproto-
7.0.2.tar.bz2
--01:34:16--
http://xorg.freedesktop.org/releases/individual/proto/xextproto-7.
0.2.tar.bz2
   = `/usr/portage/distfiles/xextproto-7.0.2.tar.bz2'
Resolving xorg.freedesktop.org... 131.252.208.36
Connecting to xorg.freedesktop.org|131.252.208.36|:80...

And then I got a connection timeout.
http://xorg.freedesktop.org/ does not respond.
there is also a bug in here:
http://gentoo-portage.com/x11-proto/xextproto/ChangeLog#ptabs

Let's suppose I find a mirror for this software, what's the way to
modify the ebuild into /var/... to consider the mirror I found at least
until the problem is solved?
I am a bit new too Gentoo.
Thank you.

-- 
A powerfull GroupWare, CMS, CRM, ECM: CPS (Open Source  GPL).
Opengroupware, SPIP, Plone, PhpBB, JetSpeed... are good: CPS is better.
http://www.cps-project.org for downloads  documentation.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xextproto, what to do

2006-05-30 Thread Neil Bothwick
On Tue, 30 May 2006 17:47:18 +0200, Rakotomandimby Mihamina wrote:

 Let's suppose I find a mirror for this software, what's the way to
 modify the ebuild into /var/... to consider the mirror I found at least
 until the problem is solved?

You don't need to modify the ebuild. download the file manually and copy
it to $DISTDIR (/usr/portage/distfiles by default). Then, when you try to
emerge the package, portage will see that the file is already there and
not try to download it again.


-- 
Neil Bothwick

A woman walked into a bar and asked the barman for a large double
entendre, so he gave her one.


signature.asc
Description: PGP signature


Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-30 Thread Bo Ørsted Andresen
Tuesday 30 May 2006 16:19 skrev Neil Bothwick:
 Or even

 if [ -n  $PS1 ]

 or you'll get an error if PS1 is undefined.

That explains a LOT! ;) Didn't quite understand why the statement was true 
even when the variable was not set...

-- 
Bo Andresen


pgpDLPBh4Hu7J.pgp
Description: PGP signature


Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Michael W. Holdeman
On Tuesday 30 May 2006 10:23, Daniel da Veiga wrote:
 On 5/29/06, Colleen Beamer [EMAIL PROTECTED] wrote:
  Open up your e-mail client.
 
  In the To: box type the following:
 
  [EMAIL PROTECTED]
 
  You don't need a subject or anything in the body.  Send the e-mail.
  You'll be unsubscribed.  Trust me!  I've unsubscribed and resubscribed a
  number of times!  However, you have to do this yourself!

 I usually would not reply to a subject like this, but I just gotta
 talk to you people about this guy, John. Let's assume this lame uses
 his real name at this emails from spammer hotmail site. Nowadays, the
 web is a great source of information, and right now, Gmane and a lot
 of other websites that keep track of this and other mailing lists has
 a copy of his stupid message, meaning his name is at least in 4
 different indexed and searchable places over the net, just wait for
 Google's crawler and he got himself a nice portfolio of bullshit said
 with no cause to a serious mailing list.

 Now, let's assume this guy has a job, or even that one day he might
 want to become something other than a farmer or janitor, and thus,
 will present a curriculum to its future employer. Now, assume his
 future or current boss searches the web for his name, out of
 curiosity, and BUM! The first hit is filled with grammar errors (note
 that I'm brazilian, and even for me that was bad english) and words
 like bullshit, nasty and fucking.

 Would you hire him or keep him working for you?


I lived most of my life as an American farmer, we don't want him either!


 
Michael W. Holdeman



Powered by Gentoo Linux www.gentoo.org  |
Kernel 2.6.15-ck2   |
VMWare Workstation 5.5.1 vmware.com |
Win4LinPro 6.1.1-03 win4lin.com |
|
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Richard Fish

On 5/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:

Richard,

  when I change any rules, should I have to execute a command in order
to update the udev rules?


Usually you can run udevstart to get the new nodes activated
immediately.  But if you are just going to reboot, this is not
necessary.

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



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Kristian Poul Herkild
Michael W. Holdeman wrote:
 
 I lived most of my life as an American farmer, we don't want him either!
 
 
  
 Michael W. Holdeman

He reminds me of Jerry Taylor from Tuttle County.

Kristian Poul Herkild
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev rules and boot + SCSI disks

2006-05-30 Thread Richard Fish

On 5/30/06, Leandro Melo de Sales [EMAIL PROTECTED] wrote:

Richard,

  You said that one rule can override other, but if you read udev
manual ( http://www.reactivated.net/writing_udev_rules.html ), you'll
realize that what you said I think is incorrect.


That is _not_ the udev manual.  I've also found that page to be
frequently out of date (it still listed the comparison operator as '='
instead of '==' for months after that changed).


From man udev:

  := Assign a value to a key finally; disallow any later changes,
which may be used to prevent changes by any later rules.

And from /usr/share/doc/udev-*/RELEASE-NOTES.gz:

quote
udev 059

...
o The rule keys support now more operations. This is documented in the
 man page. It is possible to add values to list-keys like the SYMLINK
 and RUN list with KEY+=value and to clear the list by assigning KEY=.
 Also final-assignments are supported by using KEY:=value, which will
 prevent changing the key by any later rule.
...
udev 057

All rules are applied now, but only the first matching rule with a NAME-key
will be applied. All later rules with NAME-key are completely ignored. This
way system supplied symlinks or permissions gets applied to user-defined
naming rules.
/quote

So it looks like I am wrong about needing the := syntax when your rule
assigns the NAME.  I just tested the behavior with udev-090 and my USB
flash drive, and it works as the RELEASE-NOTES say.  But I also had a
problem with naming my input devices that was fixed with the :=
syntax.

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



Re: [gentoo-user] Sorry!

2006-05-30 Thread Bertram Scharpf
Hi,

Am Montag, 29. Mai 2006, 23:31:46 +0200 schrieb Bertram Scharpf:
 Hi,
 
 Am Montag, 29. Mai 2006, 21:59:31 +0200 schrieb Bertram Scharpf:
  Hallo,
 
 Sorry, wrong list.
 
 This happens now to me the second time in two weeks. There
 seems to be a deeper kind of problem ...

Misconfigured Mutt. Without the $ appended to the second
regex the first To: header is overwritten:

  folder-hook linux/gentoo-user-de 'my_hdr To: [EMAIL PROTECTED]'
  folder-hook linux/gentoo-user$   'my_hdr To: gentoo-user@gentoo.org'

So, this shouldn't happen another time.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Settings for Fan

2006-05-30 Thread JC Denton
Hi!  Where can I configure my fan? I have a Thinkpad R40 and the fan starts realy often. The thing is, the air coming out of the notebook is almost cold! Also the fan runs always in the highest mode. But is had at least 2 modes. I have all the acpi stuff enabled in the kernel but no bios-support.  Can I change the temperature values (I know it is some risk ;-) )?  Can I set the fan speed somewhere?  Thanks! 
		Jetzt mit Yahoo! Messenger Tickets zur FIFA WM 2006 gewinnen.

[gentoo-user] lcd console fonts

2006-05-30 Thread maxim wexler
Hi group,

The console fonts in my new LCD monitor are H-U-G-E.
Attempts to shrink them by adding vga=xxx at the grub
prompt after the kernel line has no effect. Here's the
entire grub session:

grub root (hd0,1)

grub kernel /vmlinuz vga=794 #1280x1024(so I'm told)

grub boot


I'm not using a grub.conf file, preferring the manual
method for now.

X displays the required resolution excellently.

FWIW, I'm using a Radeon 9200 pro vid card with the
digital interface.

Thanks,

-MW



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] FTP-Server w/ postprocessing command

2006-05-30 Thread Enrico Weigelt

Hi folks,

does anyone known an FTP server, which can execute some
command after upload ?


thx
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] New adresses

2006-05-30 Thread Steven Susbauer


On Tue, 30 May 2006, Bertrand Jacquin wrote:

 Hi,

 My new IM (Jabber) adress is : [EMAIL PROTECTED]
 My new email is : [EMAIL PROTECTED]

 Beber


BCC is your friend!
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] post-tetex?

2006-05-30 Thread Jorge Almeida

Anyone has any idea about what will be the gentoo way to cope with the
no-more-tetex issue?

--
Jorge Almeida
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lcd console fonts

2006-05-30 Thread Lord Sauron

On 5/30/06, maxim wexler [EMAIL PROTECTED] wrote:

Hi group,

The console fonts in my new LCD monitor are H-U-G-E.
Attempts to shrink them by adding vga=xxx at the grub
prompt after the kernel line has no effect. Here's the
entire grub session:


I'm not exactly sure, however, I'm making my best educated guess at this.


grub root (hd0,1)

grub kernel /vmlinuz vga=794 #1280x1024(so I'm told)


Mine looks like video=vesafb:[EMAIL PROTECTED], and so on.  I'd think
that vga=794:1280x1024 or something might work.  However, I wouldn't
know for sure.  I'm interested to learn what is the correct solution
though - It'll be neat to see more of how grub behaves.

--
== GCv3.12 ==
GCS d-(++) s+: a? C++ UL+ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
   DI+++ D+ G e* h- !r !y
= END GCv3.12 
--
gentoo-user@gentoo.org mailing list



[gentoo-user] Printing Cyrillic fonts using Gentoo Linux?

2006-05-30 Thread Jeff
Hey all.

I think this might be a dupe of a topic I've already submitted, but here
goes anyway.

To make it short, I want to be able to *print* Cyrillic fonts - I can
see them in console, emacs, etc - but now I want to print them, and I'm
having a hell of a time getting them to show up on my HP 8000n LaserJet.

Any idears? I've already RTFM until I'm blind, I've Googled until the
cows come home.

Thanks much!

-- 
C-3PO:
Listen to them, they're dying, R2! Curse my metal
body! I wasn't fast enough! It's all my fault! My
poor master!

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] post-tetex?

2006-05-30 Thread Daniel Waeber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jorge Almeida wrote:
 Anyone has any idea about what will be the gentoo way to cope with the
 no-more-tetex issue?
 
There was a discussion about it a some days ago in the dev-list:
http://article.gmane.org/gmane.linux.gentoo.devel/38615
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEfJ5WBbWbHb9PeLsRAmYXAKCFTQ287zXn/nin8nAB5XJLUxq92QCfcs6U
n+Yl9ze4z+EGDjn26CDq/Tc=
=c+c5
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lcd console fonts

2006-05-30 Thread Daniel da Veiga

On 5/30/06, Lord Sauron [EMAIL PROTECTED] wrote:

On 5/30/06, maxim wexler [EMAIL PROTECTED] wrote:
 Hi group,

 The console fonts in my new LCD monitor are H-U-G-E.
 Attempts to shrink them by adding vga=xxx at the grub
 prompt after the kernel line has no effect. Here's the
 entire grub session:

I'm not exactly sure, however, I'm making my best educated guess at this.

 grub root (hd0,1)

 grub kernel /vmlinuz vga=794 #1280x1024(so I'm told)

Mine looks like video=vesafb:[EMAIL PROTECTED], and so on.  I'd think
that vga=794:1280x1024 or something might work.  However, I wouldn't
know for sure.  I'm interested to learn what is the correct solution
though - It'll be neat to see more of how grub behaves.



If you compiled your kernel with framebuffer support, either using
vesafb or vesa-tng, you'll have to tell the bootloader to instruct the
kernel on dealing with your display. Check:

http://gentoo-wiki.com/HOWTO_fbsplash#What_is_a_Frame_Buffer_Device.3F

for a complete guide.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lcd console fonts

2006-05-30 Thread Anthony E. Caudel

maxim wexler wrote:

Hi group,

The console fonts in my new LCD monitor are H-U-G-E.
Attempts to shrink them by adding vga=xxx at the grub
prompt after the kernel line has no effect. Here's the
entire grub session:

grub root (hd0,1)

grub kernel /vmlinuz vga=794 #1280x1024(so I'm told)

grub boot


I'm not using a grub.conf file, preferring the manual
method for now.

X displays the required resolution excellently.

FWIW, I'm using a Radeon 9200 pro vid card with the
digital interface.

Thanks,

-MW


I fixed this with in the kernel:

In Device Drivers | Graphics support, set VESA VGA graphics support, 
pick a VESA Driver Type ( I use vesafb-tng) and set the VESA Default 
mode to what your native resolutions is.


Tony

--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lcd console fonts

2006-05-30 Thread Lord Sauron

On 5/30/06, Daniel da Veiga [EMAIL PROTECTED] wrote:

On 5/30/06, Lord Sauron [EMAIL PROTECTED] wrote:
 On 5/30/06, maxim wexler [EMAIL PROTECTED] wrote:
  Hi group,
 
  The console fonts in my new LCD monitor are H-U-G-E.
  Attempts to shrink them by adding vga=xxx at the grub
  prompt after the kernel line has no effect. Here's the
  entire grub session:

 I'm not exactly sure, however, I'm making my best educated guess at this.

  grub root (hd0,1)
 
  grub kernel /vmlinuz vga=794 #1280x1024(so I'm told)

 Mine looks like video=vesafb:[EMAIL PROTECTED], and so on.  I'd think
 that vga=794:1280x1024 or something might work.  However, I wouldn't
 know for sure.  I'm interested to learn what is the correct solution
 though - It'll be neat to see more of how grub behaves.


If you compiled your kernel with framebuffer support, either using
vesafb or vesa-tng, you'll have to tell the bootloader to instruct the
kernel on dealing with your display. Check:


I was closer than I was far, right?  Just that I'm getting better is a
good sign.  Four months ago I would have no clue whatsoever, so as far
as I'm concerned improvement is good.


http://gentoo-wiki.com/HOWTO_fbsplash#What_is_a_Frame_Buffer_Device.3F

for a complete guide.


I'll be looking at that.

--
== GCv3.12 ==
GCS d-(++) s+: a? C++ UL+ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
   DI+++ D+ G e* h- !r !y
= END GCv3.12 
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] post-tetex?

2006-05-30 Thread Bertrand Jacquin

On 5/30/06, Jorge Almeida [EMAIL PROTECTED] wrote:

Anyone has any idea about what will be the gentoo way to cope with the
no-more-tetex issue?


Have a look on 
http://article.gmane.org/gmane.linux.gentoo.devel/38615/match=gentoo+dev+tetex

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



[gentoo-user] Howto setup tunnel in gentoo scripts

2006-05-30 Thread Norbert Kamenicky
Hi everybody,

to establish gre tunnel, these commands have to be run:
(e.g. from local.start)

# ip tunnel add vpn0 mode gre remote 1.1.1.1 local 2.2.2.2 dev eth0
# ip addr add 3.3.3.3 dev vpn0
# ip link set vpn0 mtu 1420 up

Does anybody know, how to put it into /etc/conf.d/net ?
I didn't succeed yet, 'cause I found no clear doc.

Tanks in advance

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



Re: [gentoo-user] SSH hosed, only rubble remains

2006-05-30 Thread Kevin O'Gorman
On 5/29/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:
Tuesday 30 May 2006 06:48 skrev Iain Buchanan: I see this [ x != x$BLAH ] test all over the place, especially in the /etc/init.d scripts.Maybe -z is not standardised or something?
 Dunno why people use it.Having searched a little further I have been able to locate a few scripts thatuses this in my bin folders. Common for those scripts are that they are shscripts and not bash scripts. Looking at 'man sh' you find no -z or -n but
they are in 'man bash'.I think it's safe to say that .bashrc is a bash script and to make it evenmore amusing (or whatever) Kevin does use both -z and -n a little furtherdown in his script.

All true. I do translations like this when I want to make it clear what's going on.
I worry that in the future seeing a test on $PS1 will baffle me, even if I wrote
it. So I create a variable whose name indicates the motivation. I'm never
going to save enough time optimizing a .bashrc script to pay for one minutes'
worth of floundering later on.

I have no defense for the variance in coding style. I didn't notice it so I didn't
change it. I may still not do so -- I don't see the point.

It's a matter of taste.

++ kevin
-- Kevin O'Gorman, PhD


Re: [gentoo-user] Cursor shape fo X.org ?

2006-05-30 Thread Ralph Slooten
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

  is there a legal way to change the shape of the Cursor in X.org ???

  Thank you very much for any helpful reply in advance!
  Keep hacking!

If you want it system-wide, try editing
/usr/share/cursors/xorg-x11/default/index.theme with the name of one of
the other themes (folder-names found in /usr/share/cursors/xorg-x11/),
for instance:

[Icon Theme]
Inherits=redglass


Now what I can't work out is why my laptop says core too, but all I
get is a triangle default icon (on my desktop a more pretty one). I
have to keep manually changing it to another theme.

Any ideas what this core points to, as there is no core folder on
either machine?

Greetings,
Ralph
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEfK7sCt0ZF9kLPvYRAr/WAKCaphbq9NeFSBi/XgnpSSID2HYqSwCdGE5F
V/Um9bzkLLQtOcqweN/IOqc=
=BdRU
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] post-tetex?

2006-05-30 Thread Jorge Almeida

On Tue, 30 May 2006, Bertrand Jacquin wrote:


On 5/30/06, Jorge Almeida [EMAIL PROTECTED] wrote:

 Anyone has any idea about what will be the gentoo way to cope with the
 no-more-tetex issue?


http://article.gmane.org/gmane.linux.gentoo.devel/38615/match=gentoo+dev+tetex


Thanks, Daniel and Bertrand.

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



Re: [gentoo-user] Howto setup tunnel in gentoo scripts

2006-05-30 Thread Neil Bothwick
On Tue, 30 May 2006 22:29:02 +0200, Norbert Kamenicky wrote:

 to establish gre tunnel, these commands have to be run:
 (e.g. from local.start)
 
 # ip tunnel add vpn0 mode gre remote 1.1.1.1 local 2.2.2.2 dev eth0
 # ip addr add 3.3.3.3 dev vpn0
 # ip link set vpn0 mtu 1420 up
 
 Does anybody know, how to put it into /etc/conf.d/net ?
 I didn't succeed yet, 'cause I found no clear doc.

I take it you want these run when the interface comes up? If so, put them
in the postup() function in /etc/conf.d/net. Something like

postup() {
if [ ${IFACE} == eth0 ]; then
ip tunnel add vpn0 mode gre remote 1.1.1.1 local 2.2.2.2 dev 
eth0
ip addr add 3.3.3.3 dev vpn0
ip link set vpn0 mtu 1420 up
fi
}

You may need to put the shutdown commands in predown().

See /etc/conf.d/net.example for more info. I use ~arch, so I don't know
for sure how much of this works in the current stable baselayout, but
I've been using these functions for over a year, so I guess it's in
stable by now.


-- 
Neil Bothwick

No maintenance: Impossible to fix.


signature.asc
Description: PGP signature


[gentoo-user] CVS for kernel config?

2006-05-30 Thread Anthony E. Caudel
I am in the process of moving to an amd64 system and I anticipate a lot 
of experimentation/tuning with the kernel.


I was wondering if it is possible to set up CVS (or preferably 
Subversion) so that I would be able to back up to any previous 
configuration.  It seems that if I just kept the .config file in cvs and 
checked it in and out as needed that this might work.


Maybe?

Tony
--
Those who would give up essential Liberty, to purchase a little temporary
Safety, deserve neither Liberty nor Safety.
   -- Benjamin Franklin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] lcd console fonts

2006-05-30 Thread Walter Dnes
On Tue, May 30, 2006 at 11:55:16AM -0700, maxim wexler wrote
 Hi group,
 
 The console fonts in my new LCD monitor are H-U-G-E.
 Attempts to shrink them by adding vga=xxx at the grub
 prompt after the kernel line has no effect.

  In order to be able to do that, you have to enable it in the kernel.
In make menuconfig follow...

Device Drivers  ---
Graphics support  ---
Console display driver support  ---
[*]   Video mode selection support

  Compiling the kernel that way, and booting from the new kernel,
enables you to select VGA modes... and you don't have to muck around
with framebuffer at all.

  In addition to selecting VGA modes, you can also influence your
display by selecting different sized fonts.  VGA defaults to 8x16 fonts,
which are huge.  vga=6 selects 8x8 CGA font on a 640x480 text console,
which gives 80 columns x 60 rows... but is rather hard to read.

  I set vga = 6.  In /etc/conf.d/consolefont I have...
CONSOLEFONT=lat1-10
640 x 480
  The 8x10 pixel font gives - = 80 columns x 48 rows.
  8 x 10

  It is *MUCH* easier on the eyes than vga = 1, which combines 8x8 CGA
font (bleagh) on a 640x400 pixel text console to give 80x50 text mode.

  You can look in /usr/share/consolefonts to see what's available.  You
can test various fonts by running setfont (man setfont for details).
Check http://www.waltdnes.org/tips_and_tricks/textmodes.html for more
details on how and why console fonts work the way they do on x86 systems.

-- 
Walter Dnes [EMAIL PROTECTED] In linux /sbin/init is Job #1
My musings on technology and security at http://tech_sec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVS for kernel config?

2006-05-30 Thread Nick Rout
It seems overkill for one file.


On Tue, 30 May 2006 16:17:58 -0500
Anthony E. Caudel wrote:

 I am in the process of moving to an amd64 system and I anticipate a lot 
 of experimentation/tuning with the kernel.
 
 I was wondering if it is possible to set up CVS (or preferably 
 Subversion) so that I would be able to back up to any previous 
 configuration.  It seems that if I just kept the .config file in cvs and 
 checked it in and out as needed that this might work.
 
 Maybe?
 
 Tony
 -- 
 Those who would give up essential Liberty, to purchase a little temporary
 Safety, deserve neither Liberty nor Safety.
 -- Benjamin Franklin
 -- 
 gentoo-user@gentoo.org mailing list

-- 
Nick Rout [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVS for kernel config?

2006-05-30 Thread Bo Ørsted Andresen
Tuesday 30 May 2006 23:17 skrev Anthony E. Caudel:
 I was wondering if it is possible to set up CVS (or preferably
 Subversion) so that I would be able to back up to any previous
 configuration.  It seems that if I just kept the .config file in cvs and
 checked it in and out as needed that this might work.

 Maybe?

Of course you can. The documentation [1] for subversion is excellent. It 
really does tell you everything you need to do this. Of course you need to 
emerge subversion first... ;)

[1] http://svnbook.red-bean.com/

-- 
Bo Andresen


pgptbWhGhZkoT.pgp
Description: PGP signature


Re: [gentoo-user] Howto setup tunnel in gentoo scripts

2006-05-30 Thread Neil Bothwick
On Wed, 31 May 2006 00:27:59 +0200, Norbert Kamenicky wrote:

 Ok, it will probably work (not tested yet), but ...
 it's not a big difference if it is in local.start,
 postup() function or some another script.)

There is one big difference. Running it from postup() means it is started
immediately after the interface is brought up. Put it in local.start and
it will try to run even if the interface is down or the cable unplugged.

 I feel that's not the right way how it should be done.

Why not? Those scripts are there for exactly this sort of thing, running
commands dependent on the change of status of a network interface.

The alternative would be to write your own rc-script with a depend on
net.eth0. Unless you are already fluent in writing init scripts for
runscript, this would be a lot more work.


-- 
Neil Bothwick

Oxymoron: Clearly Misunderstood.


signature.asc
Description: PGP signature


Re: [gentoo-user] New adresses

2006-05-30 Thread Iain Buchanan
On Tue, 2006-05-30 at 11:57 -0700, Steven Susbauer wrote:
 
 On Tue, 30 May 2006, Bertrand Jacquin wrote:
 
  Hi,
 
  My new IM (Jabber) adress is : [EMAIL PROTECTED]
  My new email is : [EMAIL PROTECTED]
 
  Beber
 
 
 BCC is your friend!

yeah.  On behalf of everyone in your contacts list, thanks for giving
their email addresses out to spam-bots.

-- 
Iain Buchanan iaindb at netspace dot net dot au

I finally went to the eye doctor.  I got contacts.  I only need them to
read, so I got flip-ups.
-- Steven Wright

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] switching arch from stable to testing?

2006-05-30 Thread Roy Wright

Howdy,

My originally stable (x86) system has a lot of testing packages (via 
package.keywords)
and I'm looking to switch to a pure testing system.  I thought all that 
was necessary
was to change x86 to ~x86 in make.conf's USE variable.  No joy.  emerge 
--info still
shows stable x86.  I'm an hour into googling, reading the gentoo 
handbook, still no

joy.  Any ideas?

TIA,
Roy
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Neil Bothwick
On Tue, 30 May 2006 18:56:33 -0500, Teresa and Dale wrote:

 And then you see that Daniel, your second candidate for the job hit the
 send button 5 times...
 
 ;) couldn't resist.
   
 
 
 I noticed that too.  What's up with that?  LOL

Possibly a gmail glitch, as all five copies had the same Message-ID. I
was about to post a sarcastic comment about the multiple copies, when I
noticed that it was possibly not Daniel's fault.


-- 
Neil Bothwick

Don't just do something, sit there!


signature.asc
Description: PGP signature


Re: [gentoo-user] switching arch from stable to testing?

2006-05-30 Thread Bo Ørsted Andresen
Wednesday 31 May 2006 02:25 skrev Hemmann, Volker Armin:
 and after that:
 env-update
 source /etc/profile

env-update update is for global environment changes which are made 
in /etc/env.d/*. It has got nothing to do with /etc/make.conf. All he has to 
do is add the ACCEPT_KEYWORDS to /etc/make.conf.

-- 
Bo Andresen


pgpNrGhcZAJAX.pgp
Description: PGP signature


Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Jamie Dobbs
 On Tue, 30 May 2006 18:56:33 -0500, Teresa and Dale wrote:

 And then you see that Daniel, your second candidate for the job hit the
 send button 5 times...
 
 ;) couldn't resist.
 
 

 I noticed that too.  What's up with that?  LOL

 Possibly a gmail glitch, as all five copies had the same Message-ID. I
 was about to post a sarcastic comment about the multiple copies, when I
 noticed that it was possibly not Daniel's fault.


I was going to do the same...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Teresa and Dale
Neil Bothwick wrote:

On Tue, 30 May 2006 18:56:33 -0500, Teresa and Dale wrote:

  

And then you see that Daniel, your second candidate for the job hit the
send button 5 times...

;) couldn't resist.
 

  

I noticed that too.  What's up with that?  LOL



Possibly a gmail glitch, as all five copies had the same Message-ID. I
was about to post a sarcastic comment about the multiple copies, when I
noticed that it was possibly not Daniel's fault.


  


I was wondering about that.  I have noticed that others do that
sometimes too.  That made me wonder about his too.

Dale
:-)  :-)

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Richard Fish

On 5/30/06, Teresa and Dale [EMAIL PROTECTED] wrote:

I was wondering about that.  I have noticed that others do that
sometimes too.  That made me wonder about his too.


I'm a gmail user, even though my address isn't a @gmail.com.  I would
definitely appreciate it if you let me know if you see this from any
of my postings.

BTW, I only see one of Daniel's email, even though it clearly shows up
5 times in the archives.  Maybe gmail is filtering their own mistakes?

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



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread AJ Spagnoletti

On 5/30/06, Teresa and Dale [EMAIL PROTECTED] wrote:

Neil Bothwick wrote:

On Tue, 30 May 2006 18:56:33 -0500, Teresa and Dale wrote:



And then you see that Daniel, your second candidate for the job hit the
send button 5 times...

;) couldn't resist.




I noticed that too.  What's up with that?  LOL



Possibly a gmail glitch, as all five copies had the same Message-ID. I
was about to post a sarcastic comment about the multiple copies, when I
noticed that it was possibly not Daniel's fault.


Could be a gmail glitch, I only received the email once in my inbox,
and I use gmail so whatevers going on Im not seeing it.

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



Re: [gentoo-user] Problems after upgrading

2006-05-30 Thread Richard Fish

On 5/28/06, Colleen Beamer [EMAIL PROTECTED] wrote:

Hi all,

Yesterday, among the packages in my upgrade list was kde-3.5.  After
getting the problem with perl-cleaner solved (thanks to the help on this
list), the upgrade went apparently smoothly.

According to what I read in some of the Gentoo documentation after
booting into kde-3.5, I had to rebuild some of the packages against
kde-3.5 in order for them to work, for example amarok.  The rebuild of
this went fine.  I can listen to my music collection with amarok.  I can
play CD's with kscd.  The problem seems to be with kaudio creator.  And
it is acting erratically.

First, when I tried to rip a cd, it wouldn't encode it, nor would it let
me configure the encoder (oggenc).  I'm not sure how, but somehow, I got
passed that, but the application would freeze part way through the
ripping process.  When I got the message that the application was not
responding and I responded affirmatively when asked if I wanted to
terminate it, ps -ax still showed the application as running and I
couldn't kill it with kill -9.  At this point, if I continued using the
computer without a reboot, inevitably some other application would
freeze up on me.  However, if I rebooted and didn't use kaudiocreator
again, everything seems to be fine.

This time, I did check the list archives, but didn't notice anything
relevant.  I checked the bug list as well and there appears to be a
couple of kdemultimedia bugs that have been reported.  Whether or not my
problem has something to do with the kdemultimedia bugs, I'm not sure.
However, if anyone has any ideas here, I am open to suggestions.


Nothing obvious comes to mind, except checking dmesg (or
/var/log/messages) for anything ominous occuring at the time of the
trouble.  You could also check ~/.xsession-errors for any error
messages from application(s).

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



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Teresa and Dale
Richard Fish wrote:

 On 5/30/06, Teresa and Dale [EMAIL PROTECTED] wrote:

 I was wondering about that.  I have noticed that others do that
 sometimes too.  That made me wonder about his too.


 I'm a gmail user, even though my address isn't a @gmail.com.  I would
 definitely appreciate it if you let me know if you see this from any
 of my postings.

 BTW, I only see one of Daniel's email, even though it clearly shows up
 5 times in the archives.  Maybe gmail is filtering their own mistakes?

 -Richard


Someone was explaining this a while back but it went over my head
completely.  It happens a lot and some email programs, since they have
the same ID thing, will filter them out.  Anybody else know why they do
this that can explain it for us little minons?

Dale
:-)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Advice to maximizeSoftware Raid 1 speed.

2006-05-30 Thread Richard Broersma Jr
I am rebuilding my raid partition using mdadm that /home mounts to.  It was a 3 
disk raid 5 but I
was having problems keeping it synced during heavy writes.

Basically I want a Raid 1 partition w/ 1 hot spare. each drive is 300GB

Does anyone have advice on the parameter I should use to achieve maximum 
reliablity and speed?

Regards,

Richard Broersma Jr.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] For the benefit of John Laremore

2006-05-30 Thread Daniel da Veiga

On 5/30/06, Teresa and Dale [EMAIL PROTECTED] wrote:

Richard Fish wrote:

 On 5/30/06, Teresa and Dale [EMAIL PROTECTED] wrote:

 I was wondering about that.  I have noticed that others do that
 sometimes too.  That made me wonder about his too.


 I'm a gmail user, even though my address isn't a @gmail.com.  I would
 definitely appreciate it if you let me know if you see this from any
 of my postings.

 BTW, I only see one of Daniel's email, even though it clearly shows up
 5 times in the archives.  Maybe gmail is filtering their own mistakes?

 -Richard


Someone was explaining this a while back but it went over my head
completely.  It happens a lot and some email programs, since they have
the same ID thing, will filter them out.  Anybody else know why they do
this that can explain it for us little minons?

Dale
:-)



I didn't understand why the hit 5 times button stuff on me. So,
checked gmail, and voilá, like someone said, its filtering its own
mistakes. Its clearly a problem with gmail, and now I'm concerned
that most of my emails may have this problems. But, as someone also
clearly posted, they are all the exact same message, I guess gmail
just assumed a mistake when sending and retried it till get a success
confirmation (wich occured by the fifth message). I'm sorry for that,
but as clearly stated, it was not my fault.

Maybe something regarding my proxy at work, because this was the first
time I posted from work... Dunno. Anyway, I'm sorry again. But you
Iain Buchanan, I won't forgive you! :-) At least till your mail client
do something stupid *lol*

Please let me now if this happens again, and I'll post a warning both
to the Gmail Team and to the administrator of my proxy server.

Thanks,

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] switching arch from stable to testing?

2006-05-30 Thread Hemmann, Volker Armin
On Wednesday 31 May 2006 02:47, Bo Ørsted Andresen wrote:
 Wednesday 31 May 2006 02:25 skrev Hemmann, Volker Armin:
  and after that:
  env-update
  source /etc/profile

 env-update update is for global environment changes which are made
 in /etc/env.d/*. It has got nothing to do with /etc/make.conf. All he has
 to do is add the ACCEPT_KEYWORDS to /etc/make.conf.

good to know.

I always do env-update after changes to /etc, just to be sure, that I don't 
forget it, once it is really needed.;)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] /etc/login.defs

2006-05-30 Thread Leandro Melo de Sales

I updated some programs and after this, everytime I go to a terminal,
type my username I got the following messages:

configuration error - unknown item 'FAILLOG_ENAB' (notify administrator)
configuration error - unknown item 'LASTLOG_ENAB' (notify administrator)
configuration error - unknown item 'MOTD_FILE' (notify administrator)
configuration error - unknown item 'FTMP_FILE' (notify administrator)
configuration error - unknown item 'ENV_ROOTPATH' (notify administrator)
configuration error - unknown item 'PASS_MIN_LEN' (notify administrator)
configuration error - unknown item 'CHFN_AUTH' (notify administrator

How can I solve this?

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