Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Justin
On 20/04/10 09:47, Helmut Jarausch wrote:
 Hi,
 
 has anybody experience with these new sys-kernel/ck-sources?
 I could only see they have additional patches (in addition to those
 of gentoo-sources).
 But I didn't find which patches and why these have only been applied to
 ck-sources?
 
 Thanks for your opinion,
 Helmut.
 

http://www.linux-magazin.de/NEWS/Con-Kolivas-meldet-sich-mit-neuem-Scheduler-zurueck

http://translate.google.com/translate?js=yprev=_thl=deie=UTF-8layout=1eotf=1u=http%3A%2F%2Fwww.linux-magazin.de%2FNEWS%2FCon-Kolivas-meldet-sich-mit-neuem-Scheduler-zuruecksl=detl=en



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread Daniel Pielmeier
2010/4/19 ubiquitous1980 nixuser1...@gmail.com:
 Recompiled hplip for use with C5180 with new use flag: scanner.  Now
 scanning works, printing does not.  Recompiled with new-hpcups use flag.
 Still not working.  Output from cups web interface:
 /usr/libexec/cups/backend/hp failed

Is it connected via network or usb? Which hplip version? Which cups version?

-- 
Daniel Pielmeier



Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Helmut Jarausch
On 20 Apr, Justin wrote:
 On 20/04/10 09:47, Helmut Jarausch wrote:
 Hi,
 
 has anybody experience with these new sys-kernel/ck-sources?
 I could only see they have additional patches (in addition to those
 of gentoo-sources).
 But I didn't find which patches and why these have only been applied to
 ck-sources?
 
 Thanks for your opinion,
 Helmut.
 
 
 http://www.linux-magazin.de/NEWS/Con-Kolivas-meldet-sich-mit-neuem-Scheduler-zurueck
 
 http://translate.google.com/translate?js=yprev=_thl=deie=UTF-8layout=1eotf=1u=http%3A%2F%2Fwww.linux-magazin.de%2FNEWS%2FCon-Kolivas-meldet-sich-mit-neuem-Scheduler-zuruecksl=detl=en
 

Many thanks, that's very interesting. I'll try this patchset.
Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Re: Where's my wireless AP?

2010-04-20 Thread Mick
On 20 April 2010 02:27, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 I think the proper country code is GB not UK, maybe that's why it didn't work.

 With iw try:

 iw reg set GB

 or in your wpa_supplicant config:

 country=GB


Thanks Paul, good pointer.  It seems that the UK also has GB as well
'UK' as its alpha2 code.  Anyway, I changed 'country=GB' in my
wpa_supplicant but unfortunately it is not being picked up:

# iwlist wlan0 freq
wlan0 11 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  Current Frequency:2.412 GHz (Channel 1)

then:

# iw reg set GB

# iw reg get
country US:
(2402 - 2472 @ 40), (6, 27)
(5170 - 5190 @ 40), (6, 23)
(5190 - 5210 @ 40), (6, 23)
(5210 - 5230 @ 40), (6, 23)
(5230 - 5330 @ 40), (6, 23)
(5735 - 5835 @ 40), (6, 30)

# iw list
Wiphy phy0
Band 1:
Frequencies:
* 2412 MHz [1] (27.0 dBm)
* 2417 MHz [2] (27.0 dBm)
* 2422 MHz [3] (27.0 dBm)
* 2427 MHz [4] (27.0 dBm)
* 2432 MHz [5] (27.0 dBm)
* 2437 MHz [6] (27.0 dBm)
* 2442 MHz [7] (27.0 dBm)
* 2447 MHz [8] (27.0 dBm)
* 2452 MHz [9] (27.0 dBm)
* 2457 MHz [10] (27.0 dBm)
* 2462 MHz [11] (27.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)

Hmm, it's stuck in US mode for some reason.  Firmware?
-- 
Regards,
Mick



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread ubiquitous1980
Hello Daniel

The all-in-one printer is connected via USB.  The following versions are
installed:

net-print/hplip-3.9.12-r1
net-print/cups-1.3.11-r1

Thanks

ubiquitous1...@gmail.com

On 20/04/10 16:59, Daniel Pielmeier wrote:
 2010/4/19 ubiquitous1980 nixuser1...@gmail.com:
   
 Recompiled hplip for use with C5180 with new use flag: scanner.  Now
 scanning works, printing does not.  Recompiled with new-hpcups use flag.
 Still not working.  Output from cups web interface:
 /usr/libexec/cups/backend/hp failed
 
 Is it connected via network or usb? Which hplip version? Which cups version?

   




Re: [gentoo-user] 'wifi' USE flag in firefox

2010-04-20 Thread Mick
On 19 April 2010 15:43, Paul Hartman paul.hartman+gen...@gmail.com wrote:
 On Mon, Apr 19, 2010 at 4:49 AM, Mick michaelkintz...@gmail.com wrote:
 Any idea what the 'wifi' USE flag actually does in
 www-client/mozilla-firefox?  Is it merely to know when the machine is
 on/off line and therefore try to connect to the Internet?

 It enables Necko WiFi (and depends on wireless-tools). What does that
 mean specifically? I don't know, but perhaps it is related to this:

 Introduced in Gecko 1.9.1: Code with UniversalXPConnect privileges
 can monitor the list of available WiFi access points to obtain
 information about them including their SSID, MAC address, and signal
 strength. This capability was introduced primarily to allow WiFi-based
 location services to be used by geolocation services.

Hmm Mozilla's netlib.  I had a look at the slides and bits of the
documentation on the Mozilla website, but I am still not really clear
what it does, or why it is needed.
-- 
Regards,
Mick



Re: [gentoo-user] gentoo-box stopping services

2010-04-20 Thread Stefan G. Weichinger

additional thoughts:

Am 20.04.2010 14:01, schrieb Stefan G. Weichinger:

 I thought maybe the NIC has a problem?
 
 Ethernet controller: Realtek Semiconductor Co., Ltd.
 RTL-8139/8139C/8139C+ (rev 10)
 
 but as it doesn't lose its IP and config I think that is not the case here?

I noticed that both relevant kernel-modules were loaded as noted here:

http://www.mail-archive.com/net...@vger.kernel.org/msg60241.html

I was able to rmmod 8139cp without losing network ...

This might just be a cosmetic issue, I just wanted to add that info.

Stefan



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Joerg Schilling
Dale rdalek1...@gmail.com wrote:

 Used versions
 ---
 mkisofs: 2.1.1a77
 growisofs: 7.1

 growisofs command:
 ---
 /usr/bin/growisofs -Z /dev/hdd=/dev/fd/0 -use-the-force-luke=notray 
 -use-the-force-luke=tty -use-the-force-luke=4gms 
 -use-the-force-luke=tracksize:2295193 -speed=4 
 -use-the-force-luke=bufsize:32m

Well, if your problems are a result from using growisofs, use cdrecord instead 
of growisofs...

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Volker Armin Hemmann
On Dienstag 20 April 2010, Helmut Jarausch wrote:
 Hi,
 
 has anybody experience with these new sys-kernel/ck-sources?
 I could only see they have additional patches (in addition to those
 of gentoo-sources).
 But I didn't find which patches and why these have only been applied to
 ck-sources?
 
 Thanks for your opinion,
 Helmut.

if you have more than 2 cores, you shouldn't use them ;)



[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Harry Putnam
I think you all are missing something... sendmail is better documented
than any of the other pretenders.

Now understand, that I am easily the dullest knife in the drawer on
this list even though by unix/linux standards I'm fairly long in the
tooth having started my computing skills in 1996 and broke in on
redhat at that time (using sendmail).  I'm sad to say, I'm still a
noob in a vast number of areas.

I've used sendmail all that time.  If I can figure out how to use
it It really must not be that hard.  At least not hard to find
piles of help on google.

Admittedly though my usage has always been just a homeboy home lan
administrator so closest I ever come to using sendmail anything like
what its target usage base is, would be a home lan mailhub.

Unless, I'm terribly misinformed, sendmail is still the most commonly
used mta in the unix world of servers.

At least according to http://en.wikipedia.org/wiki/Sendmail

Qmail home page says it is the second most common MTA but doesn't say
who is first its sendmail... I'm pretty sure.

About all the snipes concerning hacking sendmail.cf... I'm sure you
are all aware that any hacking needs to happen in sendmail.mc... then
let m4 sort out sendmail.cf.




Re: [gentoo-user] Updates = slow firefox

2010-04-20 Thread deface
ummm .. ok ? so your using the default xorg.conf .. could be why youve got bad 
performance.

http://www.gentoo.org/doc/en/xorg-config.xml

-
deface



On Apr 19, 2010, at 5:43 PM, Grant wrote:

 did etc-update over write xorg.conf ?
 
 I actually don't use an xorg.conf at all.
 
 - Grant
 
 
 I just updated a lot of packages on my laptop including xorg stuff,
 the intel-drivers, and firefox.  Firefox is running really slowly now,
 with kind of a lag to everything.  Does anyone know of anything to try
 in order to fix it?  Do I need to disable or enable DRI?
 
 - Grant
 
 
 -- 
 Message Cleaned by MailScanner
 http://www.fluxlabs.net
 




Re: [gentoo-user] Re: Where's my wireless AP?

2010-04-20 Thread Paul Hartman
On Tue, Apr 20, 2010 at 5:21 AM, Mick michaelkintz...@gmail.com wrote:
 Hmm, it's stuck in US mode for some reason.  Firmware?

Maybe you're right, I googled and found some info that the old
broadcom driver didn't support channels 12 and 13 for some reason with
certain hardware. However, it appears b43 is the old driver, and the
new one which should support those channels and setting regulatory
domain is the Broadcom STA driver, which is in portage for ~x86 and
~amd64 (net-wireless/broadcom-sta). Try to emerge it, blacklist your
old b43 driver and hope it works. :)

Here's the Broadcom STA docs: http://www.broadcom.com/docs/linux_sta/README.txt

(I don't have a broadcom card so this is all guessing, hope it helps!)



Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Helmut Jarausch
On 20 Apr, Volker Armin Hemmann wrote:
 On Dienstag 20 April 2010, Helmut Jarausch wrote:
 Hi,
 
 has anybody experience with these new sys-kernel/ck-sources?
 I could only see they have additional patches (in addition to those
 of gentoo-sources).
 But I didn't find which patches and why these have only been applied to
 ck-sources?
 
 Thanks for your opinion,
 Helmut.
 
 if you have more than 2 cores, you shouldn't use them ;)

Why, it's said to scale well up to 16 cores (at least)?

Helmut.

-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Paul Hartman
On Mon, Apr 19, 2010 at 8:44 PM, Dale rdalek1...@gmail.com wrote:
 /usr/bin/growisofs -Z /dev/hdd=/dev/fd/0

This part jumps out at me.

Is /dev/hdd your new DVD burner? Is it really IDE and not SATA?

And isn't /dev/fd/0 a floppy device? Are you burning from a floppy to
an IDE drive?



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread Paul Hartman
On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 nixuser1...@gmail.com wrote:
 Hello Daniel

 The all-in-one printer is connected via USB.  The following versions are
 installed:

 net-print/hplip-3.9.12-r1
 net-print/cups-1.3.11-r1

Try to blacklist  rmmod the usblp module. I had to do that for my HP
USB printer to work. Whenever usblp module was loaded, printing
failed... I don't know if it applies to your printer as well, but it's
something easy to try. :)



Re: [gentoo-user] KDE4 doesn't detect power capabilities (hibernate, suspend, battery and frequency scaling)

2010-04-20 Thread Momesso Andrea
On Friday 16 April 2010 08:41:57 Yoav Luft wrote:
 After some experiments with the ndiswrapper driver, KDE4 stopped
 providing a frontend to various power capabilities. It doesn't detect
 the battery, it doesn't offer suspend or hibernate it the shutdown
 script, et cetera. The battery properties are still accessable through
 /sys/class/power/BAT1 and I can still suspend and hibernate using
 pm-suspend and pm-hibernate.
 I would like use KDE's frontend, though, as finding out how long the
 battery can hold from reading it's voltage isn't the most comfortable
 thing.

Make sure that the hald daemon starts before kde does.

---
TopperH
http://topperh.blackmamba.kicks-ass.org



[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Harry Putnam
Grant Edwards grant.b.edwa...@gmail.com writes:

 On 2010-04-20, Harry Putnam rea...@newsguy.com wrote:

 About all the snipes concerning hacking sendmail.cf... I'm sure you
 are all aware that any hacking needs to happen in sendmail.mc... then
 let m4 sort out sendmail.cf.

 IOW, sendmail has a configuration file so incomprehensible that the
 configuration file needs a configuration file.

Internet mail is quite complex, yes.




Re: [gentoo-user] sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Volker Armin Hemmann
On Dienstag 20 April 2010, Helmut Jarausch wrote:
 On 20 Apr, Volker Armin Hemmann wrote:
  On Dienstag 20 April 2010, Helmut Jarausch wrote:
  Hi,
  
  has anybody experience with these new sys-kernel/ck-sources?
  I could only see they have additional patches (in addition to those
  of gentoo-sources).
  But I didn't find which patches and why these have only been applied to
  ck-sources?
  
  Thanks for your opinion,
  Helmut.
  
  if you have more than 2 cores, you shouldn't use them ;)
 
 Why, it's said to scale well up to 16 cores (at least)?
 
 Helmut.

different people had different results. 



[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Grant Edwards
On 2010-04-20, Harry Putnam rea...@newsguy.com wrote:
 Grant Edwards grant.b.edwa...@gmail.com writes:

 On 2010-04-20, Harry Putnam rea...@newsguy.com wrote:

 About all the snipes concerning hacking sendmail.cf... I'm sure you
 are all aware that any hacking needs to happen in sendmail.mc... then
 let m4 sort out sendmail.cf.

 IOW, sendmail has a configuration file so incomprehensible that the
 configuration file needs a configuration file.

 Internet mail is quite complex, yes.

Yet all of the other popular MTAs seem to have human-readable
configuration files and don't need a meta-configuration-file/language
to generate their configuration files.

-- 
Grant Edwards   grant.b.edwardsYow! Where does it go when
  at   you flush?
  gmail.com




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Grant Edwards
On 2010-04-20, Harry Putnam rea...@newsguy.com wrote:

 About all the snipes concerning hacking sendmail.cf... I'm sure you
 are all aware that any hacking needs to happen in sendmail.mc... then
 let m4 sort out sendmail.cf.

IOW, sendmail has a configuration file so incomprehensible that the
configuration file needs a configuration file.

QED

-- 
Grant Edwards   grant.b.edwardsYow! Do you guys know we
  at   just passed thru a BLACK
  gmail.comHOLE in space?




[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-20 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 The 'new' way of setting it up without a xorg.conf file is to set it up in 
 your /etc/hal/fdi/policy/10-keymap.fdi like so:

  merge key=input.xkb.options type=stringterminate:ctrl_alt_bksp/merge

 Read more details here:

 http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml

I am running hal, but if I enter the suggested line:

   (all on one line [wrapped for mail here])
   merge key=input.xkb.options  
type=stringterminate:ctrl_alt_bksp/merge

into /etc/hal/fdi/policy/10-keymap.fdi

And it is the only line in there.
 (Maybe there is supposed to be some header type lines above it?)

C+A+bkspc still doesn't kill X.   

It seems to have no effect at all when in xorg.conf as suggested or
/etc/hal/fdi/policy/10-keymap.fdi as suggested.

----   ---=---   -   

The only things I've tried that work are
1) From that same page of tips:
  setxkbmap -option terminate:ctrl_alt_bksp 
   That kills X instantly

2) my own concoction:
 kill -TERM `ps wwaux|awk '/[X].*noliste[n]/{print $2}'`

  Also instantly kills X







Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Joerg Schilling
Paul Hartman paul.hartman+gen...@gmail.com wrote:

 On Mon, Apr 19, 2010 at 8:44 PM, Dale rdalek1...@gmail.com wrote:
  /usr/bin/growisofs -Z /dev/hdd=/dev/fd/0

 This part jumps out at me.

 Is /dev/hdd your new DVD burner? Is it really IDE and not SATA?

 And isn't /dev/fd/0 a floppy device? Are you burning from a floppy to
 an IDE drive?

/dev/fd/0 is /dev/stdin

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Paul Hartman
On Tue, Apr 20, 2010 at 10:38 AM, Joerg Schilling
joerg.schill...@fokus.fraunhofer.de wrote:
 Paul Hartman paul.hartman+gen...@gmail.com wrote:

 On Mon, Apr 19, 2010 at 8:44 PM, Dale rdalek1...@gmail.com wrote:
  /usr/bin/growisofs -Z /dev/hdd=/dev/fd/0

 This part jumps out at me.

 Is /dev/hdd your new DVD burner? Is it really IDE and not SATA?

 And isn't /dev/fd/0 a floppy device? Are you burning from a floppy to
 an IDE drive?

 /dev/fd/0 is /dev/stdin

I learned something new, thanks :)



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Mike Edenfield
On 4/20/2010 11:01 AM, Paul Hartman wrote:
 On Mon, Apr 19, 2010 at 8:44 PM, Dale rdalek1...@gmail.com wrote:
 /usr/bin/growisofs -Z /dev/hdd=/dev/fd/0

 And isn't /dev/fd/0 a floppy device? Are you burning from a floppy to
 an IDE drive?

/dev/fd0 is a floppy.  /dev/fd/0 is file descriptor 0 for the current
process -- stdin.





[gentoo-user] sci-physics/root slotting?

2010-04-20 Thread daid kahl
Hello,

For anyone who uses the data analysis framework ROOT developed mainly
at CERN (sorry, I didn't name it 'root'), I can imagine that slotting
would be an extremely useful feature.

Anyone who doesn't use or know root, but has experience or opinions on
how or when slots should be used, your feedback would be appreciated,
too.

All kinds of macros and libraries will go bonkers on the wrong
version, and there are even binary linux executables out there that
want certain versions installed.  It's a pity I didn't think of this a
few years ago.

It occurred to me tonight that adding slotting should be easy and very
useful.  I've never added slotting, but I'm already running root as a
local overlay because I need root-5.20 (with patches from 5.22+ to
keep my system otherwise current!), and so I'm going to give it a go
at least for myself.  Actually, few of the people I know in physics
run Gentoo, but they also complain about root versions.  Maybe I at
least have an argument that would compel anyone to switch to Gentoo if
we get slots running.

If this seems like a good feature request, I'll put a modified ebuild
on bugzilla for all present root versions after I can test it (may
take a few days, since root isn't a quick compile and I have physics
to do).

Obviously, if this happens, I need to consider a bugzilla feature
request on eselect as well, or make eselect-root.  Never touched that
source either, but I will, if nothing else, be hacking together an
eselect-root shell script for myself.  If I manage to modify the
eselect source, then at least I might be more deserving of the
ChangeLog credit, since I don't think making the number for slot
non-zero in a few ebuilds really qualifies as real work.  Might also
need the multislot use flag.

Anyone out there interested in this or have some feedback for me?  If
it's only me, I'm hesitant to submit it to bugzilla (no sooner than
next week), but I'll be running it as local ebuilds as slots from here
on out.

Regards,
daid



Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-20 Thread Daniel Pielmeier
Paul Hartman schrieb am 20.04.2010 17:03:
 On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 nixuser1...@gmail.com wrote:
 Hello Daniel

 The all-in-one printer is connected via USB.  The following versions are
 installed:

 net-print/hplip-3.9.12-r1
 net-print/cups-1.3.11-r1
 
 Try to blacklist  rmmod the usblp module. I had to do that for my HP
 USB printer to work. Whenever usblp module was loaded, printing
 failed... I don't know if it applies to your printer as well, but it's
 something easy to try. :)
 
 

I do not own an all-in-one printer so I can not test, but if Paul's suggestions
do not work can you tell me the permissions of your device.

lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsusb tells you to which bus the printer is attached. In my case it is Bus 001
and Device 002 so I have the following device /dev/bus/usb/001/002

ls -al /dev/bus/usb/001/002
crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002

There should also be a /dev/usb/lp0

ls -al /dev/usb/lp0
crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0

Do you have the same permissions or do they differ?

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature


[gentoo-user] In which order services are started?

2010-04-20 Thread Jarry

Hi,
$SUBJECT says it all:

Is there any way to find out in which order services are
started during boot-up (except for looking at boot-up
screen and making notes)?

I tried to figure it out looking into /etc/init.d scripts,
but there are a lot of depend/need/use/before statements,
so I quicky lost trace...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.




Re: [gentoo-user] Updates = slow firefox

2010-04-20 Thread Bartosz Szatkowski
Dnia 2010-04-19, pon o godzinie 20:24 -0500, deface pisze:
 ummm .. ok ? so your using the default xorg.conf .. could be why youve got 
 bad performance.
 
 http://www.gentoo.org/doc/en/xorg-config.xml
 
 -
 deface
But the new version of xorg (from circa 1.7) dont really need xorg.conf,
moreover its discouraged to use one. (or just i think so)

Grant, try to reemerge firefox (and if You haven't done it already the
x11-drivers/*)

-- 
Bartosz Szatkowski
KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70

There is no system but GNU, and Linux is one of its kernels




Re: [gentoo-user] In which order services are started?

2010-04-20 Thread Bartosz Szatkowski
Dnia 2010-04-20, wto o godzinie 19:47 +0200, Jarry pisze:
 Hi,
 $SUBJECT says it all:
 
 Is there any way to find out in which order services are
 started during boot-up (except for looking at boot-up
 screen and making notes)?
 
 I tried to figure it out looking into /etc/init.d scripts,
 but there are a lot of depend/need/use/before statements,
 so I quicky lost trace...
 
 Jarry
 
You could use the interactive way so you will be prompted to accept
every service starts. You can do this by pouching I during OpenRC
start (or something like this - there is some kind of message, during
OpenRC start, something like Press I for interactive mode)

-- 
Bartosz Szatkowski
KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70

The freedom to study how a program works, and adapt it to your needs
(freedom 1)




Re: [gentoo-user] Updates = slow firefox

2010-04-20 Thread Grant
 ummm .. ok ? so your using the default xorg.conf .. could be why youve got 
 bad performance.

 http://www.gentoo.org/doc/en/xorg-config.xml

 -
 deface
 But the new version of xorg (from circa 1.7) dont really need xorg.conf,
 moreover its discouraged to use one. (or just i think so)

Exactly.

 Grant, try to reemerge firefox (and if You haven't done it already the
 x11-drivers/*)

I re-emerged them with no change.  I do think it has to do with
x11-drivers/xf86-video-intel though.  I've had this problem in the
past, and the solution was to mask
x11-drivers/xf86-video-intel-2.7.1.  Unfortunately, those drivers
don't work with the latest xorg updates and now I'm on
xf86-video-intel-2.9.1.  My wife has an identical laptop with the same
issue.

- Grant



Re: [gentoo-user] Updates = slow firefox

2010-04-20 Thread Bartosz Szatkowski
Dnia 2010-04-20, wto o godzinie 11:51 -0700, Grant pisze:
  ummm .. ok ? so your using the default xorg.conf .. could be why youve got 
  bad performance.
 
  http://www.gentoo.org/doc/en/xorg-config.xml
 
  -
  deface
  But the new version of xorg (from circa 1.7) dont really need xorg.conf,
  moreover its discouraged to use one. (or just i think so)
 
 Exactly.
 
  Grant, try to reemerge firefox (and if You haven't done it already the
  x11-drivers/*)
 
 I re-emerged them with no change.  I do think it has to do with
 x11-drivers/xf86-video-intel though.  I've had this problem in the
 past, and the solution was to mask
 x11-drivers/xf86-video-intel-2.7.1.  Unfortunately, those drivers
 don't work with the latest xorg updates and now I'm on
 xf86-video-intel-2.9.1.  My wife has an identical laptop with the same
 issue.
 
 - Grant
 
Are you using modeset? What about other apps (try some video etc) -
laging to? Check if You have Direct rendering true in out of glxinfo.

-- 
Bartosz Szatkowski
KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70

There is no system but GNU, and Linux is one of its kernels




[gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Nikos Chantziaras

On 04/20/2010 05:41 PM, Helmut Jarausch wrote:

On 20 Apr, Volker Armin Hemmann wrote:

On Dienstag 20 April 2010, Helmut Jarausch wrote:

Hi,

has anybody experience with these new sys-kernel/ck-sources?
I could only see they have additional patches (in addition to those
of gentoo-sources).
But I didn't find which patches and why these have only been applied to
ck-sources?

Thanks for your opinion,
Helmut.


if you have more than 2 cores, you shouldn't use them ;)


Why, it's said to scale well up to 16 cores (at least)?


It's practically *made* for 2 and 4 cores.  Single core enhancements 
were added later.


Volker's recommendations is based on his own tests with the patches. 
I'm on a dual core Intel E6600 and the patches help a big deal to keep 
the GUI responsive and fluid.


Also note that there's much hate and fanboy-ism around this issue. 
Expect people telling you how this is crap, or how the default Linux 
scheduler is crap, etc, without them really having a clue what they're 
talking about.  (I am *not* referring to Volker here, mind you.)





Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Dale

Joerg Schilling wrote:

Dalerdalek1...@gmail.com  wrote:

   

Used versions
---
mkisofs: 2.1.1a77
growisofs: 7.1

growisofs command:
---
/usr/bin/growisofs -Z /dev/hdd=/dev/fd/0 -use-the-force-luke=notray
-use-the-force-luke=tty -use-the-force-luke=4gms
-use-the-force-luke=tracksize:2295193 -speed=4
-use-the-force-luke=bufsize:32m
 

Well, if your problems are a result from using growisofs, use cdrecord instead
of growisofs...

Jörg

   


Well, I didn't tell it to use that either.  I let k3b take care of what 
program to use.  Funny thing is, it appears to have worked later on.


Dale

:-)  :-)



Re: [gentoo-user] In which order services are started?

2010-04-20 Thread Neil Bothwick
On Tue, 20 Apr 2010 19:47:55 +0200, Jarry wrote:

 Is there any way to find out in which order services are
 started during boot-up (except for looking at boot-up
 screen and making notes)?

You could turn on boot logging in rc.conf and look at /var/log/rc.log.


-- 
Neil Bothwick

Experience is what you get when you didn't get what you wanted.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Joerg Schilling
Dale rdalek1...@gmail.com wrote:

  ---
  /usr/bin/growisofs -Z /dev/hdd=/dev/fd/0 -use-the-force-luke=notray
  -use-the-force-luke=tty -use-the-force-luke=4gms
  -use-the-force-luke=tracksize:2295193 -speed=4
  -use-the-force-luke=bufsize:32m
   
  Well, if your problems are a result from using growisofs, use cdrecord 
  instead
  of growisofs...
 
  Jörg
 
 

 Well, I didn't tell it to use that either.  I let k3b take care of what 
 program to use.  Funny thing is, it appears to have worked later on.

There are many cases where growisofs has problems but cdrecord works fine.
This is one reason why newer k3b versions allow you to specify which program
to use.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
   j...@cs.tu-berlin.de(uni)  
   joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily



Re: [gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-20 Thread Mick
On Tuesday 20 April 2010 16:30:18 Harry Putnam wrote:
 Mick michaelkintz...@gmail.com writes:
  The 'new' way of setting it up without a xorg.conf file is to set it up
  in your /etc/hal/fdi/policy/10-keymap.fdi like so:
 
   merge key=input.xkb.options
  type=stringterminate:ctrl_alt_bksp/merge
 
  Read more details here:
 
  http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide
 .xml
 
 I am running hal, but if I enter the suggested line:
 
(all on one line [wrapped for mail here])
merge key=input.xkb.options
 type=stringterminate:ctrl_alt_bksp/merge
 
 into /etc/hal/fdi/policy/10-keymap.fdi
 
 And it is the only line in there.
  (Maybe there is supposed to be some header type lines above it?)
 
 C+A+bkspc still doesn't kill X.
 
 It seems to have no effect at all when in xorg.conf as suggested or
 /etc/hal/fdi/policy/10-keymap.fdi as suggested.
 
 ----   ---=---   -  
 
 The only things I've tried that work are
 1) From that same page of tips:
   setxkbmap -option terminate:ctrl_alt_bksp
That kills X instantly
 
 2) my own concoction:
  kill -TERM `ps wwaux|awk '/[X].*noliste[n]/{print $2}'`
 
   Also instantly kills X

I think you did not read the link properly.  You are meant to copy the 
relevant .fdi file from /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to 
/etc/hal/fdi/policy/10-keymap.fdi and then modify the last paragraph:

merge key=input.xkb.layout type=stringus/merge
  merge key=input.xkb.options 
type=stringterminate:ctrl_alt_bksp/merge
  merge key=input.xkb.variant type=string /

by the adding the above line starting with type= ...

If this is not clear please let me know and I will have to post the whole 
content of the file.
-- 
Regards,
Mick


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


Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Willie Wong
On Tue, Apr 20, 2010 at 10:45:27AM -0500, Paul Hartman wrote:
  /dev/fd/0 is /dev/stdin
 
 I learned something new, thanks :)

To complete your education :) fd stands for file descriptor. 

fd/0 = stdin
fd/1 = stdout
fd/2 = stderr

You can create your own file descriptors and use them to manipulate
opened files. See man bash for more info. (It is, for example,
necessary if you do CLI scripting with a user interface using Dialog.)

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-20 Thread Dale

Joerg Schilling wrote:

Dalerdalek1...@gmail.com  wrote:

   

---
/usr/bin/growisofs -Z /dev/hdd=/dev/fd/0 -use-the-force-luke=notray
-use-the-force-luke=tty -use-the-force-luke=4gms
-use-the-force-luke=tracksize:2295193 -speed=4
-use-the-force-luke=bufsize:32m

 

Well, if your problems are a result from using growisofs, use cdrecord instead
of growisofs...

Jörg


   

Well, I didn't tell it to use that either.  I let k3b take care of what
program to use.  Funny thing is, it appears to have worked later on.
 

There are many cases where growisofs has problems but cdrecord works fine.
This is one reason why newer k3b versions allow you to specify which program
to use.

Jörg

   


It took me a bit to figure it out but I think I have it disabled now.  I 
saw the list but didn't know I could disable anything in the list.  I'll 
test when making my next set of backups.


Dale

:-)  :-)



Re: [gentoo-user] Re: Where's my wireless AP?

2010-04-20 Thread Mick
On Tuesday 20 April 2010 15:25:14 Paul Hartman wrote:
 On Tue, Apr 20, 2010 at 5:21 AM, Mick michaelkintz...@gmail.com wrote:
  Hmm, it's stuck in US mode for some reason.  Firmware?
 
 Maybe you're right, I googled and found some info that the old
 broadcom driver didn't support channels 12 and 13 for some reason with
 certain hardware. However, it appears b43 is the old driver, and the
 new one which should support those channels and setting regulatory
 domain is the Broadcom STA driver, which is in portage for ~x86 and
 ~amd64 (net-wireless/broadcom-sta). Try to emerge it, blacklist your
 old b43 driver and hope it works. :)

Thanks Paul.  This is confusing me ... I thought that the b43 (as opposed to 
the legacy bcm43xx) is the latest in kernel driver and that's why I chose it.  
It is probably still under development.

I am just emerging gentoo-sources-2.6.33-r1 and I'll see if the situation 
improves.  Otherwise I will have to remove it and emerge the proprietary 
drivers instead, until the b43 matures a bit more.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Volker Armin Hemmann
On Dienstag 20 April 2010, Nikos Chantziaras wrote:
 On 04/20/2010 05:41 PM, Helmut Jarausch wrote:
  On 20 Apr, Volker Armin Hemmann wrote:
  On Dienstag 20 April 2010, Helmut Jarausch wrote:
  Hi,
  
  has anybody experience with these new sys-kernel/ck-sources?
  I could only see they have additional patches (in addition to those
  of gentoo-sources).
  But I didn't find which patches and why these have only been applied to
  ck-sources?
  
  Thanks for your opinion,
  Helmut.
  
  if you have more than 2 cores, you shouldn't use them ;)
  
  Why, it's said to scale well up to 16 cores (at least)?
 
 It's practically *made* for 2 and 4 cores.  Single core enhancements
 were added later.
 
 Volker's recommendations is based on his own tests with the patches.
 I'm on a dual core Intel E6600 and the patches help a big deal to keep
 the GUI responsive and fluid.
 
 Also note that there's much hate and fanboy-ism around this issue.
 Expect people telling you how this is crap, or how the default Linux
 scheduler is crap, etc, without them really having a clue what they're
 talking about.  (I am *not* referring to Volker here, mind you.)

to be honest - whenever I try ck patches I see zero improvements - so I stay 
with my usual kernel-policy: the less patches the better and scrap them. 



Re: [gentoo-user] Re: Where's my wireless AP?

2010-04-20 Thread Mick
On Tuesday 20 April 2010 22:24:41 Mick wrote:
 On Tuesday 20 April 2010 15:25:14 Paul Hartman wrote:
  On Tue, Apr 20, 2010 at 5:21 AM, Mick michaelkintz...@gmail.com wrote:
   Hmm, it's stuck in US mode for some reason.  Firmware?
 
  Maybe you're right, I googled and found some info that the old
  broadcom driver didn't support channels 12 and 13 for some reason with
  certain hardware. However, it appears b43 is the old driver, and the
  new one which should support those channels and setting regulatory
  domain is the Broadcom STA driver, which is in portage for ~x86 and
  ~amd64 (net-wireless/broadcom-sta). Try to emerge it, blacklist your
  old b43 driver and hope it works. :)
 
 Thanks Paul.  This is confusing me ... I thought that the b43 (as opposed
  to the legacy bcm43xx) is the latest in kernel driver and that's why I
  chose it. It is probably still under development.
 
 I am just emerging gentoo-sources-2.6.33-r1 and I'll see if the situation
 improves.  Otherwise I will have to remove it and emerge the proprietary
 drivers instead, until the b43 matures a bit more.

OK, the 2.6.33-r1 seems better so far:

# iwlist wlan0 freq
wlan0 14 channels in total; available frequencies :
  Channel 01 : 2.412 GHz
  Channel 02 : 2.417 GHz
  Channel 03 : 2.422 GHz
  Channel 04 : 2.427 GHz
  Channel 05 : 2.432 GHz
  Channel 06 : 2.437 GHz
  Channel 07 : 2.442 GHz
  Channel 08 : 2.447 GHz
  Channel 09 : 2.452 GHz
  Channel 10 : 2.457 GHz
  Channel 11 : 2.462 GHz
  Channel 12 : 2.467 GHz
  Channel 13 : 2.472 GHz
  Channel 14 : 2.484 GHz
  Current Frequency:2.412 GHz (Channel 1)

and 

# iw list
Wiphy phy0
Band 1:
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm) (passive scanning, no IBSS)
* 2472 MHz [13] (20.0 dBm) (passive scanning, no IBSS)
* 2484 MHz [14] (20.0 dBm) (passive scanning, no IBSS)

# iw reg get
country 00:
(2402 - 2472 @ 40), (6, 20)
(2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS

I guess country 00 means no country code?
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Stroller


On 20 Apr 2010, at 14:53, Harry Putnam wrote:


I think you all are missing something... sendmail is better documented
than any of the other pretenders.
...
Unless, I'm terribly misinformed, sendmail is still the most commonly
used mta in the unix world of servers.


I would be surprised if it is better documented or more widely used  
than Postfix.


(Although I have to admit I find Postfix documentation difficult, IMO  
his is because it's so flexible  powerful).


Stroller.
 



Re: [gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Stroller


On 19 Apr 2010, at 22:50, Mick wrote:

...
The problem is that you'll spend an hour or two setting it all up,  
it'll work,
you'll never touch it again.  Then, two years later something will  
require you

to reconfigure it and there will be no way on this earth that you will
remember what you did or why it made any sense at the time!  Ha,  
ha!  :-))


To be fair, is this not mostly the case with the majority of big,  
powerful servers on *nix platforms?


I have certainly found this to be the case with Apache, Postfix and to  
a lesser extend Samba. Oh! Also syslog-ng's filtering options. The  
only text-based configuration file I've found easy to recreate has  
been that of Dovecot.


Stroller.




Re: [gentoo-user] gentoo-box stopping services

2010-04-20 Thread Stroller


On 20 Apr 2010, at 13:01, Stefan G. Weichinger wrote:

...
One of my customers runs an old P3 as a mail-gateway and samba-server
(yeah, I know ...) behind his firewall ...

They simply don't want to swap hardware, they are happy ... until the
following started to happen every week or so:


You emphasise how old the hardware is, but this really isn't a  
problem. As you say, one increasingly fears the death of a system  
which is getting so old, but I have two systems nearly as old running  
for years without hardware problems.


The questions I must ask are:

- How uptodate is the Gentoo software?
- Do you run updates regularly?
- Did you run any shortly before this started occurring?
- Have you run revdep-rebuild and stuff?
- Does the system have sufficient swap?

Stroller.
 



Re: [gentoo-user] Re: Where's my wireless AP?

2010-04-20 Thread Stroller


On 19 Apr 2010, at 23:03, Mick wrote:

...
There might be an option to change the region of your wifi NIC.
Channels 12  13 are legal in Europe, IIRC, but not in the USA.

You should be able to change the channel of the AP - typically they
have a drop-down which will choose either auto or a specific
channel. Likewise I have seen some APs ask what region you're in  
when

they're first setup.


I've set it up for UK so it has 13 channels.  On the other hand  
your hint
pointed me to wpa_supplicant.conf on my laptop, in which I had the  
country
parameter commented out.  I set that up to UK, but it still seems  
to show

11 channels.  :-(

I'll reboot later to see if it makes any odds.


No change :-(

# iwlist wlan0 channel
wlan0 11 channels in total; available frequencies :
 Channel 01 : 2.412 GHz
 Channel 02 : 2.417 GHz
 Channel 03 : 2.422 GHz
 Channel 04 : 2.427 GHz
 Channel 05 : 2.432 GHz
 Channel 06 : 2.437 GHz
 Channel 07 : 2.442 GHz
 Channel 08 : 2.447 GHz
 Channel 09 : 2.452 GHz
 Channel 10 : 2.457 GHz
 Channel 11 : 2.462 GHz
 Current Frequency:2.412 GHz (Channel 1)

Short of hacking the firmware (which even if I knew how to, I am not  
allowed)
or waiting for the linux driver to mature, I am not sure if there's  
anything I

can do.


Can't you just change the channel the AP uses?

If you live somewhere with a high population density, then channel 13  
may be a good one to use to avoid the interference of Sky1234,  
BTHomeHub5678 and all the other free routers supplied by ISPs which  
will tend to default to channels 1, 6 and 11.


However, if you live somewhere with fewer neighbours channel 13 may  
not be necessary. Try a scan for nearby APs, note some sections of  
frequency that are relatively unused [1], reset your router to use  
that channel, reboot it and try it.


Stroller.



[1] Slightly difficult to encapsulate all the criteria for this in  
just a few words, so try a few different channels and write back if  
you need a longer explanation.




Re: [gentoo-user] Re: sys-kernel/ck-sources - why should I use them?

2010-04-20 Thread Stroller


On 20 Apr 2010, at 09:02, Nikos Chantziaras wrote:

...
But I didn't find which patches and why these have only been  
applied to

ck-sources?


They did not get applied to ck-sources.  ck-sources *is* the  
patches.


Hmmm this seems to be an issue of semantics.

When one runs `emerge ck-sources` one presumably will have a set of  
kernel sources with Mr CK's patches applied. I don't suppose that  
`emerge ck-sources` downloads the patches only, and leaves them to be  
applied by hand!


Stroller.





Re: [gentoo-user] 'wifi' USE flag in firefox

2010-04-20 Thread Stroller


On 20 Apr 2010, at 13:17, Mick wrote:

...
Introduced in Gecko 1.9.1: Code with UniversalXPConnect privileges
can monitor the list of available WiFi access points to obtain
information about them including their SSID, MAC address, and signal
strength. This capability was introduced primarily to allow WiFi- 
based

location services to be used by geolocation services.


Hmm Mozilla's netlib.  I had a look at the slides and bits of the
documentation on the Mozilla website, but I am still not really clear
what it does, or why it is needed.



I *believe* that the idea of having geolocation accessible to the  
browser is so that websites should be able to provide locally-relevant  
information.


The classic browser has no idea where you are, so if you open the  
homepage of Starbucks / McDonalds / Burgerking / Tesco / Sainsburys /  
whatever and click on find my nearest store then you'll need to  
enter your zip code in order for the site to provide you that  
information.


I *believe* that a geolocation-aware browser would be able to tell the  
site where you are. So as soon as you open the webpage, the site will  
query your browser, your browser will tell it where you are and an  
AJAXy element on the page would say Your nearest Tesco store is 13th  
Street... Click here for directions.


I'm not really sure how this is supposed to work in practice. It's  
clearly in its early days. This dougt.org guy (discovered by Googling)  
seems to be involved with it on the Mozilla side and one of his blog  
posts links to the W3C Geolocation API Specification, which was only  
finalised 6 months ago.


It says:

   The Geolocation API defines a high-level interface to
   location information associated only with the device hosting
   the implementation, such as latitude and longitude. The API
   itself is agnostic of the underlying location information
   sources. Common sources of location information include
   Global Positioning System (GPS) and location inferred from
   network signals such as IP address, RFID, WiFi and Bluetooth
   MAC addresses, and GSM/CDMA cell IDs, as well as user input.
   No guarantee is given that the API returns the device's
   actual location.

I can see that immediately that it's useful and practical if your GPS  
talks to your browser and thus your location information is returned  
to the website.


In theory one could determine one's location on the basis that the  
locations of Fon_AP_1234, SkyHomebroadband_8797 and SmokyCoffeeShop  
wifi APs, detected by a scan of your laptop's wifi card, are all  
already known. However I am more sceptical about this in practice.


Note that browsers run on mobile phones, which often have GPS built in  
these days, and that GPS chips are nowadays so cheap they could also  
be build into laptops, were there the demand.


We could probably have a much longer discussion of how this could in  
theory all work when it's fully developed, but in practice this USE  
flag probably is of no use to any of us right now (unless, *perhaps*,  
we're installing Gentoo on a mobile phone).


Stroller.




[gentoo-user] xorg-server upgrade

2010-04-20 Thread john
Hello,
After updating my machine which included upgrading
xorg-server-1.7.6. I was left with a none working mouse and
keyboard. After an hour or so of checking I decided to
re-emerge xorg-server again to discover a message to rebuild
x11-drivers. I rebuilt x11-drivers/xf86-input-evdev and mouse
and keyboard worked again.

Question 1
Should x11-drivers/xf86-input-evdev be rebuilt automatically
after xorg-server upgrade? 

Linux/Gentoo appaers to be moving away from xorg.conf and
towards hal/policices. When using proprietary graphics
drivers you also need xorg.conf.

Question 2
Is it possible to use proprietary ati-drivers and
nvidia-drivers wthout having to use xorg.conf. Can this
be done through hal and will this change in the future?

I have tried using x11 radeon driver with built in kernel
direct rendering. The performance of this was relatively poor.
Stellarium would not work, a few games would barely
function. ati-drivers-8.7.2 works well with xorg-server-1.7.6
and cured all these issues but this required unmasking hard
masked package.

Question 3
Sould I expect x11 radeon driver with built in kernel dri to be
as good as fglrx? Direct rendering was running (glxinfo).

Thanks. Hope this is clear
--
John D Maunder
j...@arcticwolf.myzen.co.uk


signature.asc
Description: PGP signature


Re: [gentoo-user] xorg-server upgrade

2010-04-20 Thread Mark Knecht
On Tue, Apr 20, 2010 at 4:05 PM, john j...@arcticwolf.myzen.co.uk wrote:
 Hello,
        After updating my machine which included upgrading
        xorg-server-1.7.6. I was left with a none working mouse and
        keyboard. After an hour or so of checking I decided to
        re-emerge xorg-server again to discover a message to rebuild
        x11-drivers. I rebuilt x11-drivers/xf86-input-evdev and mouse
        and keyboard worked again.

        Question 1
        Should x11-drivers/xf86-input-evdev be rebuilt automatically
        after xorg-server upgrade?


Check out module-rebuild. You put a list of packages in it - evdev,
keyboard, nvidia-drivers, vmware-modules, etc., and then just run it
after an xorg-server upgrade or a kernel change. Once you set it up
you don't have to remember too much about which packages need to be
rebuilt. I just run

module-rebuild -X rebuild

and it all gets done for me.

Hope this helps,
Mark



Re: [gentoo-user] In which order services are started?

2010-04-20 Thread Peter Humphrey
On Tuesday 20 April 2010 20:28:42 Neil Bothwick wrote:
 On Tue, 20 Apr 2010 19:47:55 +0200, Jarry wrote:
  Is there any way to find out in which order services are
  started during boot-up (except for looking at boot-up
  screen and making notes)?
 
 You could turn on boot logging in rc.conf and look at
 /var/log/rc.log.

I think Jarry wanted to know what to tweak to change the order. I wanted 
to know this as well not long ago, but I didn't have the energy to chase 
it. (I wanted gpm to be started earlier in the sequence but without 
putting it in the boot run level.)

-- 
Rgds
Peter.



Re: [gentoo-user] xorg-server upgrade

2010-04-20 Thread Peter Humphrey
On Wednesday 21 April 2010 00:33:19 Mark Knecht wrote:

 Check out module-rebuild. You put a list of packages in it

How and where does one do that?

-- 
Rgds
Peter.



[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-20 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 I think you did not read the link properly.  You are meant to copy
 the relevant .fdi file from
 /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to
 /etc/hal/fdi/policy/10-keymap.fdi and then modify the last
 paragraph:

Yes, I did misread apparently... it doesn't say that at all... maybe
that is why.
 
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml

There is no mention of copying:
   /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
to
  /etc/hal/fdi/policy/10-keymap.fdi 

  [...]

  If you want to make the change permanent, regardless of your desktop
  environment, you have a few more options :

* If you use HAL to manage input devices, copy the following HAL
  fdi snippet into the fdi file from /etc/hal/fdi/policy/ which
  you use to control your keyboard. merge key=input.xkb.options
  type=stringterminate:ctrl_alt_bksp/merge If you do not have
  any custom keyboard rules, you can copy and adapt rules from
  /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

It never names the file... that;
   /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
is to be copied to, or anything about the last paragraph.

I'm sorry to be so dense here... but I'm missing something still.

 merge key=input.xkb.layout type=stringus/merge
   merge key=input.xkb.options 

That second line above  is not present in my copy of:
 /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

Mick wrote:
 type=stringterminate:ctrl_alt_bksp/merge
   merge key=input.xkb.variant type=string /

 by the adding the above line starting with type= ...


I see (showing line numbers 
   from:[...]10osvendor/10-x11-input.fdi

[...]
17 /match
18
19  merge key=input.xkb.layout type=stringus/merge
20 merge key=input.xkb.variant type=string /
21   /match
[...]

So do you mean to replace 19 and 20 with:

,
| merge key=input.xkb.layout type=stringus/merge
| merge key=input.xkb.options type=stringterminate:ctrl_alt_bksp/merge
`

Or add the two in box quote after 19... or what?




[gentoo-user] Re: xorg-server upgrade

2010-04-20 Thread walt

On 04/20/2010 04:05 PM, john wrote:


Linux/Gentoo appaers to be moving away from xorg.conf and
towards hal/policices...


That was true in the past, but no longer.  The recent release of xorg 1.8
specifically says that hal will not be supported in any future xorg versions,
so we should all start looking beyond hal.  Don't spend a lot of effort now
learning about hal because it's on the way out.  (Not many people mourning
it's impending demise, apparently.)




Re: [gentoo-user] xorg-server upgrade

2010-04-20 Thread dan blum
I also upgraded the drivers after a xorg upgrade. The correct drivers need to 
be emerged: ie. x11-drivers/XF86-input_mouse x11-drivers/XF86-input_keyboard + 
the video drivers. If you are not sure what drivers you need, just execute 
qlist /media-video.

--- On Tue, 4/20/10, Peter Humphrey pe...@humphrey.ukfsn.org wrote:

 From: Peter Humphrey pe...@humphrey.ukfsn.org
 Subject: Re: [gentoo-user] xorg-server upgrade
 To: gentoo-user@lists.gentoo.org
 Date: Tuesday, April 20, 2010, 7:05 PM
 On Wednesday 21 April 2010 00:33:19
 Mark Knecht wrote:
 
  Check out module-rebuild. You put a list of packages
 in it
 
 How and where does one do that?
 
 -- 
 Rgds
 Peter.
 
 


  



Re: [gentoo-user] Re: xorg-server upgrade

2010-04-20 Thread Graham Murray
walt w41...@gmail.com writes:

 That was true in the past, but no longer.  The recent release of xorg 1.8
 specifically says that hal will not be supported in any future xorg versions,
 so we should all start looking beyond hal.  Don't spend a lot of effort now
 learning about hal because it's on the way out.  (Not many people mourning
 it's impending demise, apparently.)

And if you use udev then you need an (at least minimal) xorg.conf.