[gentoo-user] Qemu-KVM on amd64: clock in Windows guest

2011-02-11 Thread Stefan G. Weichinger

Greets,

does anyone else run KVM on gentoo as well?

I delivered a amd64-server these days and a Win7-pro-guest runs on it.

Now they tell me they have clock issues in the guest :-(

I found

http://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/chap-Virtualization-KVM_guest_timing_management.html

and ran bcdedit /set {default} USEPLATFORMCLOCK on, didn't help, even
after reboot. Does it really have to say {default} ??

I don't know where to start.

The host kernel provides /dev/rtc, does currently have CPU_FREQ=y, but
afai understand I don't use that behavior (no driver or governor loaded).

Is CONFIG_HPET needed? -

# grep -i hpet .config
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_HPET is not set

-

A kind of workaround is maybe using ntp in the guest?
I will try that asap.

Thanks for any help on this!

Stefan



Re: [gentoo-user] Qemu-KVM on amd64: clock in Windows guest

2011-02-11 Thread Stefan G. Weichinger
Am 11.02.2011 10:12, schrieb Stefan G. Weichinger:

 Now they tell me they have clock issues in the guest :-(

[...]

 I don't know where to start.

Another fact:

When I access the guest via RDP, it is slower than when I access it via
the libvirt-console (which in fact is VNC, right?)

hmm




Re: [gentoo-user] Qemu-KVM on amd64: clock in Windows guest

2011-02-11 Thread Petri Rosenström
On Fri, Feb 11, 2011 at 11:12 AM, Stefan G. Weichinger li...@xunil.at wrote:

 Greets,

 does anyone else run KVM on gentoo as well?

 I delivered a amd64-server these days and a Win7-pro-guest runs on it.

 Now they tell me they have clock issues in the guest :-(

 I found

 http://docs.fedoraproject.org/en-US/Fedora/13/html/Virtualization_Guide/chap-Virtualization-KVM_guest_timing_management.html

 and ran bcdedit /set {default} USEPLATFORMCLOCK on, didn't help, even
 after reboot. Does it really have to say {default} ??

 I don't know where to start.

 The host kernel provides /dev/rtc, does currently have CPU_FREQ=y, but
 afai understand I don't use that behavior (no driver or governor loaded).

 Is CONFIG_HPET needed? -

 # grep -i hpet .config
 CONFIG_HPET_TIMER=y
 CONFIG_HPET_EMULATE_RTC=y
 # CONFIG_HPET is not set

 -

 A kind of workaround is maybe using ntp in the guest?
 I will try that asap.

 Thanks for any help on this!

 Stefan



Hi,

I use kvm on gentoo, I really don't use the clock on the windows
guests (I don't use windows vm) :). But I could guess that the issue
might be with localtime, so you could try using  -rtc base=localtime
parameter with starting the windows host.

Best regards
Petri



Re: [gentoo-user] Qemu-KVM on amd64: clock in Windows guest

2011-02-11 Thread Stefan G. Weichinger
Am 11.02.2011 10:46, schrieb Petri Rosenström:

 I use kvm on gentoo, I really don't use the clock on the windows
 guests (I don't use windows vm) :). But I could guess that the issue
 might be with localtime, so you could try using  -rtc base=localtime
 parameter with starting the windows host.

Where to put that? Can I somehow set that with virt-manager or where to
edit that?

We have the benchmark that one app-logo should be shown for 2 secs
when opening the app.

If I access the VM by virt-manager alone, it is OK. And the clock does
not drift.

As soon as the other guy connects via RDP or netviewer it gets bad.

The logo stays there for about 10 sec or so ... and the clock gets slooower.

S



Re: [gentoo-user] Qemu-KVM on amd64: clock in Windows guest

2011-02-11 Thread Stefan G. Weichinger
Am 11.02.2011 10:46, schrieb Petri Rosenström:

 I use kvm on gentoo, I really don't use the clock on the windows
 guests (I don't use windows vm) :). But I could guess that the issue
 might be with localtime, so you could try using  -rtc base=localtime
 parameter with starting the windows host.

I find that in virt-manager as well, it is set to localtime.
Next there is ACPI and APIC  both inactive? Should I change that??



[gentoo-user] using meld with cfg-update -u

2011-02-11 Thread Allan Gottlieb
I have been using cfg-update quite happily for a good while.
I appreciate its automatically doing simple updates.

For any that it can't do automatically, I have done them manually
(using emacs/ediff).  I decided to try meld instead (I use gnome).

It does make everything clear, but something seems wrong.  Cfg-update
keeps a backup containing the previous version of the file.  When
cfg-update invokes meld, the three relevant versions are displayed
in meld's window like this

current backup  new (._*)

I believe I want the final state to be
  backup = current
and
  current = merger of current and new

But current and new are not adjacent on the meld so I don't see how to
do this using the fancy meld mouse actions.  It seems to me, I want meld
to display

backupcurrentnew

then, for each change that I want from new, I push new version to
current.
But I don't see how to have cfg-update call meld in this order and I
don't see how to have meld swap the two left panes.
(I am assuming that cfg-update will arrange that when I am finished
backup = current-before-meld.
If not, I can do this in meld)

Can someone tell me how to get the configuration I want or explain why
the configuration I get is actually what I (should) want.

thanks,
allan




Re: [OT] Re: [gentoo-user] Avoiding HAL

2011-02-11 Thread Peter Humphrey
On Tuesday 08 February 2011 01:00:11 Keith Dart wrote:

 That really sounds like flaky hardware, possibly bad memory. try
 running memtest86+. Let it run overnight.

That's what I thought. I have run memtest86+ overnight, but of course it 
didn't find anything.

As Gentoo seems to be immune to this problem, I assume that other kernels 
are setting some parameters that push the hardware to its limit, so the next 
thing I'll try is to detune the performance somewhat. Trouble is, the BIOS 
setup screens have so many parameters to adjust that I don't know where to 
start.

-- 
Rgds
Peter.



Re: [gentoo-user] glibc 2.13 warning

2011-02-11 Thread Volker Armin Hemmann
On Thursday 10 February 2011 18:24:51 Neil Bothwick wrote:
 On Thu, 10 Feb 2011 09:10:06 -0800 (PST), Volker Armin Hemmann wrote:
   The trouble is that binpkgs keep a copy of the ebuild in them, so
   even if you remove the downgrade check fro the in-tree ebuild, it
   still fails. That one had me scratching my head for a few minutes.
  
  what happens if you remove the entry in /var/db?
  From gentoo's point of view, glibc suddenly is not installed. You are
  free to choose a version.
 
 That's a good question, I had assumed it was getting the info from the
 binpkg, but a grep of the entry in /var/db shows no sign of the warning
 message (it's not in the ebuild but in an eblit file) so removing
 the db entry would appear to be fruitless.

wtf?

no, the 2.12.1 binpackage does not know which versions are installed. It just 
includes a version check.
If no glibc is installed (and removing the /var/db/pkg/sys-libs/glibc-2.13 
directory = no glibc installed) then you are free to install any binpkg you 
want.

Or, you know, just extract ld.so from a tarball, copy it into /lib, and un-
prelink your system. Then re-install 2.13. Problem solved.



[gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread meino . cramer
Hi,

I have a problem here...(as you may have already guessed...;)

I have an old PS/2 keyboard, which I do love a lot. This PS/2-
keyboard is connected via a Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter
to an USB-port of my ASUS Corsshair IV formula board.

When Linux is running I have not a single problem with this setup...
BUT entering the bootselector via F8 while BIOS is coming up is
to 99% impossible. I managed that only once.
On the other hand: Entering BIOS with F1 is not simple and often
requires several boots, but it is possible.

What can I do to make F8/the bootselector work?

Thank you very much for any help in advance!
Have a nice weekend!
Best regards,
mcc







Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread Paul Hartman
On Fri, Feb 11, 2011 at 11:59 AM,  meino.cra...@gmx.de wrote:
 Hi,

 I have a problem here...(as you may have already guessed...;)

 I have an old PS/2 keyboard, which I do love a lot. This PS/2-
 keyboard is connected via a Chesen Electronics Corp. PS/2 Keyboard+Mouse 
 Adapter
 to an USB-port of my ASUS Corsshair IV formula board.

 When Linux is running I have not a single problem with this setup...
 BUT entering the bootselector via F8 while BIOS is coming up is
 to 99% impossible. I managed that only once.
 On the other hand: Entering BIOS with F1 is not simple and often
 requires several boots, but it is possible.

 What can I do to make F8/the bootselector work?

At my job we have some Dell computers, where the USB keyboard doesn't
respond for more than 1 minute after the machine boots UNLESS it is
plugged into a specific USB port. So maybe you can try to use
different ports, just in case it's a similar problem.



Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread meino . cramer
Paul Hartman paul.hartman+gen...@gmail.com [11-02-11 19:24]:
 On Fri, Feb 11, 2011 at 11:59 AM,  meino.cra...@gmx.de wrote:
  Hi,
 
  I have a problem here...(as you may have already guessed...;)
 
  I have an old PS/2 keyboard, which I do love a lot. This PS/2-
  keyboard is connected via a Chesen Electronics Corp. PS/2 Keyboard+Mouse 
  Adapter
  to an USB-port of my ASUS Corsshair IV formula board.
 
  When Linux is running I have not a single problem with this setup...
  BUT entering the bootselector via F8 while BIOS is coming up is
  to 99% impossible. I managed that only once.
  On the other hand: Entering BIOS with F1 is not simple and often
  requires several boots, but it is possible.
 
  What can I do to make F8/the bootselector work?
 
 At my job we have some Dell computers, where the USB keyboard doesn't
 respond for more than 1 minute after the machine boots UNLESS it is
 plugged into a specific USB port. So maybe you can try to use
 different ports, just in case it's a similar problem.
 

Hi Paul,

Thanks for your reply !

...oh! Do you know, how many USB ports that board has? ;) :)

I think the next two days I will reboot day and night ;)

Have a nice weekend!
mcc




Re: [gentoo-user] Qemu-KVM on amd64: clock in Windows guest

2011-02-11 Thread Stefan G. Weichinger
Am 11.02.2011 11:39, schrieb Stefan G. Weichinger:

 The logo stays there for about 10 sec or so ... and the clock gets slooower.

It *seems* solved now.

Enabled high res timers in host-kernel and DISabled internet time
(=ntp-client) in Windows7-guest. Now it is quicker and no drifting clock
(watched it 20 mins per RDP).

We'll see what the customer says ;-)

S



Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread Volker Armin Hemmann
On Friday 11 February 2011 18:59:39 meino.cra...@gmx.de wrote:
 Hi,
 
 I have a problem here...(as you may have already guessed...;)
 
 I have an old PS/2 keyboard, which I do love a lot. This PS/2-
 keyboard is connected via a Chesen Electronics Corp. PS/2 Keyboard+Mouse
 Adapter to an USB-port of my ASUS Corsshair IV formula board.
 
 When Linux is running I have not a single problem with this setup...
 BUT entering the bootselector via F8 while BIOS is coming up is
 to 99% impossible. I managed that only once.
 On the other hand: Entering BIOS with F1 is not simple and often
 requires several boots, but it is possible.
 
 What can I do to make F8/the bootselector work?
 
 Thank you very much for any help in advance!
 Have a nice weekend!
 Best regards,
 mcc

go into bios, turn on legacy support. Btw, are there no ps/2 ports? Oh - and 
using a 'pure' usb keyboard for entering bios might be needed.



[gentoo-user] Chromium requires threads flag

2011-02-11 Thread James
Hello,

I have nptl and nptlonly set in my make.conf file.
I thought that was the best setting for threading.


Now, I want to install the Chromium web browser.
It is asking me to the set the +threads flag for ffmpeg,
before www-client/chromium can be installed. OK
no problem on a per package basis.

But, this has made me think. Is setting nptl and
nptl globally (in make.conf) the best idea? 

Should the threads flag also be set globally, or just 
on a per package basis? Maybe nptl and threads
and not set nptlonly?

I thought nptl and nptl was the end of the
requirements, but running this command:

euse -i threads
Here is a curious response; ffmpeg does not get 
listed (as it is not built with the threads flag)?

euse -I threads

I see lots of packages where the flag threads
is being used including ffmpeg.


Some discussion and guidance as to how best
to set the flags [nptl, nptlonly and threads]
(any others related to threading) would be
appreciated.


James






Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread meino . cramer
Volker Armin Hemmann volkerar...@googlemail.com [11-02-11 19:56]:
 On Friday 11 February 2011 18:59:39 meino.cra...@gmx.de wrote:
  Hi,
  
  I have a problem here...(as you may have already guessed...;)
  
  I have an old PS/2 keyboard, which I do love a lot. This PS/2-
  keyboard is connected via a Chesen Electronics Corp. PS/2 Keyboard+Mouse
  Adapter to an USB-port of my ASUS Corsshair IV formula board.
  
  When Linux is running I have not a single problem with this setup...
  BUT entering the bootselector via F8 while BIOS is coming up is
  to 99% impossible. I managed that only once.
  On the other hand: Entering BIOS with F1 is not simple and often
  requires several boots, but it is possible.
  
  What can I do to make F8/the bootselector work?
  
  Thank you very much for any help in advance!
  Have a nice weekend!
  Best regards,
  mcc
 
 go into bios, turn on legacy support. Btw, are there no ps/2 ports? Oh - and 
 using a 'pure' usb keyboard for entering bios might be needed.
 

Hi Volker,

...yes, there is a ps/2 port...but this keyboard is that old, that it is
recommended NOT to connect the keyboard to ANY modern PS/2
connector, since it does not comply to the standard very well.
I choose exactly this adapter, because it is known to work with the
keyboards way of PS/2. If there is a little chance to enter BIOS and
the BOOTSELECTOR using this keyboard I want really to avoid the hassle 
of having two boards connected to my PC (and wasting a USB port,
too). 

Have a nice weekend!
mcc




Re: [gentoo-user] Chromium requires threads flag

2011-02-11 Thread Alan McKinnon
Apparently, though unproven, at 20:56 on Friday 11 February 2011, James did 
opine thusly:

 Hello,
 
 I have nptl and nptlonly set in my make.conf file.
 I thought that was the best setting for threading.
 
 
 Now, I want to install the Chromium web browser.
 It is asking me to the set the +threads flag for ffmpeg,
 before www-client/chromium can be installed. OK
 no problem on a per package basis.
 
 But, this has made me think. Is setting nptl and
 nptl globally (in make.conf) the best idea?
 
 Should the threads flag also be set globally, or just
 on a per package basis? Maybe nptl and threads
 and not set nptlonly?
 
 I thought nptl and nptl was the end of the
 requirements, but running this command:
 
 euse -i threads
 Here is a curious response; ffmpeg does not get
 listed (as it is not built with the threads flag)?
 
 euse -I threads
 
 I see lots of packages where the flag threads
 is being used including ffmpeg.
 
 
 Some discussion and guidance as to how best
 to set the flags [nptl, nptlonly and threads]
 (any others related to threading) would be
 appreciated.

USE=nptl means build the  New Posix Thread Library.
USE=nptlonly means only built NPTL, not the old Linux Threads

These should be global in scope

USE=threads is best per package as some packages support it but don't play 
nice with it. You could set it globally and disable it per-package, or do it 
the other way round if you please.

AFAIR nptlonly has done nothing for ages. When was LinuxThreads removed from 
glibc? Sometime around 2.6 or 2.7?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread Volker Armin Hemmann
On Friday 11 February 2011 20:15:56 meino.cra...@gmx.de wrote:
 Volker Armin Hemmann volkerar...@googlemail.com [11-02-11 19:56]:
  On Friday 11 February 2011 18:59:39 meino.cra...@gmx.de wrote:
   Hi,
   
   I have a problem here...(as you may have already guessed...;)
   
   I have an old PS/2 keyboard, which I do love a lot. This PS/2-
   keyboard is connected via a Chesen Electronics Corp. PS/2
   Keyboard+Mouse Adapter to an USB-port of my ASUS Corsshair IV
   formula board.
   
   When Linux is running I have not a single problem with this setup...
   BUT entering the bootselector via F8 while BIOS is coming up is
   to 99% impossible. I managed that only once.
   On the other hand: Entering BIOS with F1 is not simple and often
   requires several boots, but it is possible.
   
   What can I do to make F8/the bootselector work?
   
   Thank you very much for any help in advance!
   Have a nice weekend!
   Best regards,
   mcc
  
  go into bios, turn on legacy support. Btw, are there no ps/2 ports? Oh -
  and using a 'pure' usb keyboard for entering bios might be needed.
 
 Hi Volker,
 
 ...yes, there is a ps/2 port...but this keyboard is that old, that it is
 recommended NOT to connect the keyboard to ANY modern PS/2
 connector, since it does not comply to the standard very well.
 I choose exactly this adapter, because it is known to work with the
 keyboards way of PS/2. If there is a little chance to enter BIOS and
 the BOOTSELECTOR using this keyboard I want really to avoid the hassle
 of having two boards connected to my PC (and wasting a USB port,
 too).
 
 Have a nice weekend!
 mcc

well, why do you need the bootselector anyway? And have you tried to connect 
the keyboard? What could happen? blown fuse on the board?



Re: [gentoo-user] PDF: convert to grayscale

2011-02-11 Thread Michael Orlitzky
On 02/08/11 08:50, Nuno J. Silva wrote:
 Does anyone know a tool (other than ghostscript) that is able to convert
 a PDF (or postscript) to grayscale?

A laserjet? =)



[gentoo-user] Re: PDF: convert to grayscale

2011-02-11 Thread Grant Edwards
On 2011-02-08, Nuno J. Silva nunojsi...@ist.utl.pt wrote:
 Does anyone know a tool (other than ghostscript) that is able to convert
 a PDF (or postscript) to grayscale?

 Ghostscript does this, but is unable to convert gradients and fills
 (they're replaced by bitmaps) which results in a too big file unless I
 drastically reduce quality.

I don't understand what you're asking for.  What sort of output format
do you want (raster, vector, ???)?

-- 
Grant Edwards   grant.b.edwardsYow! Send your questions to
  at   ``ASK ZIPPY'', Box 40474,
  gmail.comSan Francisco, CA 94140,
   USA




Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread meino . cramer
Volker Armin Hemmann volkerar...@googlemail.com [11-02-11 21:20]:
 On Friday 11 February 2011 20:15:56 meino.cra...@gmx.de wrote:
  Volker Armin Hemmann volkerar...@googlemail.com [11-02-11 19:56]:
   On Friday 11 February 2011 18:59:39 meino.cra...@gmx.de wrote:
Hi,

I have a problem here...(as you may have already guessed...;)

I have an old PS/2 keyboard, which I do love a lot. This PS/2-
keyboard is connected via a Chesen Electronics Corp. PS/2
Keyboard+Mouse Adapter to an USB-port of my ASUS Corsshair IV
formula board.

When Linux is running I have not a single problem with this setup...
BUT entering the bootselector via F8 while BIOS is coming up is
to 99% impossible. I managed that only once.
On the other hand: Entering BIOS with F1 is not simple and often
requires several boots, but it is possible.

What can I do to make F8/the bootselector work?

Thank you very much for any help in advance!
Have a nice weekend!
Best regards,
mcc
   
   go into bios, turn on legacy support. Btw, are there no ps/2 ports? Oh -
   and using a 'pure' usb keyboard for entering bios might be needed.
  
  Hi Volker,
  
  ...yes, there is a ps/2 port...but this keyboard is that old, that it is
  recommended NOT to connect the keyboard to ANY modern PS/2
  connector, since it does not comply to the standard very well.
  I choose exactly this adapter, because it is known to work with the
  keyboards way of PS/2. If there is a little chance to enter BIOS and
  the BOOTSELECTOR using this keyboard I want really to avoid the hassle
  of having two boards connected to my PC (and wasting a USB port,
  too).
  
  Have a nice weekend!
  mcc
 
 well, why do you need the bootselector anyway? And have you tried to connect 
 the keyboard? What could happen? blown fuse on the board?
 

Hi Volker,

The bootselector normally is used to select between different bootable
devices which are together connected to the PC at the same time.
Very handy!

One question remains to be answered for you: 
What could happen, when attaching a badly confirming device to a motherboard?

In the simplest case: nothing and it does not work.

Worst case is to kill the PS/2-chip attached to the PS/2 jack on the
motherboard.

Something with which I do not want to experiment with. 
Especially because I know from others, that this risk is real.

Normally I try to evaluate the risk of my acting in beforehand -- 
especially if it is that easy like in this case: asking people, 
which wants to give helpful answers. But not any given answer is 
that helpful, you know?

Have a nice weekend!
mcc




Re: [gentoo-user] PDF: convert to grayscale

2011-02-11 Thread Alex Schuster
Grant Edwards writes:

 On 2011-02-08, Nuno J. Silva nunojsi...@ist.utl.pt wrote:
  Does anyone know a tool (other than ghostscript) that is able to
  convert a PDF (or postscript) to grayscale?
  
  Ghostscript does this, but is unable to convert gradients and fills
  (they're replaced by bitmaps) which results in a too big file unless I
  drastically reduce quality.
 
 I don't understand what you're asking for.  What sort of output format
 do you want (raster, vector, ???)?

I think he wants the same PDF as the original file. Only in grayscale.

This is one method to do this, but it needs Acrobat 8 Professional:
http://blog.gilbertconsulting.com/2007/05/convert-color-pdf-to-grayscale.html

Wonko



Re: [gentoo-user] Chromium requires threads flag

2011-02-11 Thread Mike Gilbert
On Fri, Feb 11, 2011 at 1:56 PM, James wirel...@tampabay.rr.com wrote:
 But, this has made me think. Is setting nptl and
 nptl globally (in make.conf) the best idea?

 Should the threads flag also be set globally, or just
 on a per package basis? Maybe nptl and threads
 and not set nptlonly?


I have threads set globally in make.conf and haven't run into any
issues. nptl and nptlonly are set via make.defaults in amd64 profile.

It doesn't seem like too many of the packages I actually use have a
threads use flag:

floppym@naomi ~ % equery hasuse threads | cat
app-arch/xz-utils-5.0.1
app-emulation/wine-1.3.13
dev-cpp/clucene-0.9.21b-r1
dev-cpp/libthrowable-1.1.0
dev-lang/python-2.6.6-r1
dev-lang/python-2.7.1
dev-lang/python-3.1.2-r4
dev-lang/ruby-1.8.7_p302
dev-lang/tcl-8.5.8-r1
dev-lang/tk-8.5.8-r1
dev-libs/beecrypt-4.1.2-r1
dev-vcs/git-1.7.3.4-r1
media-libs/libvpx-0.9.5
media-libs/x264-0.0.20101029
media-video/ffmpeg-0.6_p25767
net-analyzer/wireshark-1.4.3
net-dns/bind-9.7.2_p3-r3
net-print/cups-1.4.6

I'm sure many other packages use threads, but it isn't optional.



Re: [gentoo-user] PDF: convert to grayscale

2011-02-11 Thread Paul Hartman
On Tue, Feb 8, 2011 at 7:50 AM, Nuno J. Silva nunojsi...@ist.utl.pt wrote:
 Does anyone know a tool (other than ghostscript) that is able to convert
 a PDF (or postscript) to grayscale?

 Ghostscript does this, but is unable to convert gradients and fills
 (they're replaced by bitmaps) which results in a too big file unless I
 drastically reduce quality.

Are you the creator of the document and want to save the original as
greyscale, or you want to convert an already existing PDF?

If the latter I think the easy way is to use ghostscript (pdf2ps) to
render it as greyscale postscript. Then you could convert the PS back
to PDF if you need to. But if you already tried that, then, I don't
know...



Re: [gentoo-user] PDF: convert to grayscale

2011-02-11 Thread Matthew Summers
On Fri, Feb 11, 2011 at 4:07 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Tue, Feb 8, 2011 at 7:50 AM, Nuno J. Silva nunojsi...@ist.utl.pt wrote:
 Does anyone know a tool (other than ghostscript) that is able to convert
 a PDF (or postscript) to grayscale?

 Ghostscript does this, but is unable to convert gradients and fills
 (they're replaced by bitmaps) which results in a too big file unless I
 drastically reduce quality.

 Are you the creator of the document and want to save the original as
 greyscale, or you want to convert an already existing PDF?

 If the latter I think the easy way is to use ghostscript (pdf2ps) to
 render it as greyscale postscript. Then you could convert the PS back
 to PDF if you need to. But if you already tried that, then, I don't
 know...



Use the GIMP, Luke. I have to do this all the time with forms and
such. The GIMP imports PDF files nicely, and I usually print the file
to PDF after I am done. Now, if you have a many page document, the
GIMP will import each page as a layer which can make it a pain to have
to manually print each layer as a separate pdf, but ya do what ya
gotta do. I also like PDFShuffler for managing/mangling pdf files. Its
in portage by the way.

HTH,
quantum
-- 
Matthew W. Summers



Re: [gentoo-user] PS/2-USB-Keyboard and the BIOS

2011-02-11 Thread Volker Armin Hemmann
On Friday 11 February 2011 22:04:22 meino.cra...@gmx.de wrote:
 Volker Armin Hemmann volkerar...@googlemail.com [11-02-11 21:20]:
  On Friday 11 February 2011 20:15:56 meino.cra...@gmx.de wrote:
   Volker Armin Hemmann volkerar...@googlemail.com [11-02-11 19:56]:
On Friday 11 February 2011 18:59:39 meino.cra...@gmx.de wrote:
 Hi,
 
 I have a problem here...(as you may have already
 guessed...;)
 
 I have an old PS/2 keyboard, which I do love a lot. This
 PS/2-
 keyboard is connected via a Chesen Electronics Corp. PS/2
 Keyboard+Mouse Adapter to an USB-port of my ASUS Corsshair
 IV
 formula board.
 
 When Linux is running I have not a single problem with this
 setup... BUT entering the bootselector via F8 while BIOS is
 coming up is to 99% impossible. I managed that only once.
 On the other hand: Entering BIOS with F1 is not simple and
 often
 requires several boots, but it is possible.
 
 What can I do to make F8/the bootselector work?
 
 Thank you very much for any help in advance!
 Have a nice weekend!
 Best regards,
 mcc

go into bios, turn on legacy support. Btw, are there no ps/2
ports? Oh - and using a 'pure' usb keyboard for entering bios
might be needed.
   
   Hi Volker,
   
   ...yes, there is a ps/2 port...but this keyboard is that old, that
   it is recommended NOT to connect the keyboard to ANY modern PS/2
   connector, since it does not comply to the standard very well.
   I choose exactly this adapter, because it is known to work with the
   keyboards way of PS/2. If there is a little chance to enter BIOS
   and
   the BOOTSELECTOR using this keyboard I want really to avoid the
   hassle
   of having two boards connected to my PC (and wasting a USB port,
   too).
   
   Have a nice weekend!
   mcc
  
  well, why do you need the bootselector anyway? And have you tried to
  connect the keyboard? What could happen? blown fuse on the board?
 
 Hi Volker,
 
 The bootselector normally is used to select between different bootable
 devices which are together connected to the PC at the same time.
 Very handy!
 
 One question remains to be answered for you:
 What could happen, when attaching a badly confirming device to a
 motherboard?
 
 In the simplest case: nothing and it does not work.
 
 Worst case is to kill the PS/2-chip attached to the PS/2 jack on the
 motherboard.
 
 Something with which I do not want to experiment with.
 Especially because I know from others, that this risk is real.
 
 Normally I try to evaluate the risk of my acting in beforehand --
 especially if it is that easy like in this case: asking people,
 which wants to give helpful answers. But not any given answer is
 that helpful, you know?

well, it is not like you have much alternatives left, do you? you can either:
try a different keyboard
try a different adaptor
or
connect the keyboard directly.

any way. changing 'usb legacy support' from 'disabled' or 'auto' to 'enabled' 
might help you.



Re: [gentoo-user] glibc 2.13 warning

2011-02-11 Thread Neil Bothwick
On Fri, 11 Feb 2011 17:32:20 +0100, Volker Armin Hemmann wrote:

 no, the 2.12.1 binpackage does not know which versions are installed.
 It just includes a version check.
 If no glibc is installed (and removing
 the /var/db/pkg/sys-libs/glibc-2.13 directory = no glibc installed)
 then you are free to install any binpkg you want.

Ah, I see what you're getting at now. That should have worked.

 Or, you know, just extract ld.so from a tarball, copy it into /lib, and
 un- prelink your system. Then re-install 2.13. Problem solved.

Except the problem with the binpkg was most significant on the system
without prelinking, the one that broke Postfix. I did consider unpacking
the glibc-2.12 binpkg to / then re-emerging 2.12 to clean up.


signature.asc
Description: PGP signature


[gentoo-user] For net-print/hplip users

2011-02-11 Thread walt

I've just spent an annoying two days trying to un-break my HP multifunction
printer/fax/scanner, and I hope I can spare some of you the same trouble.

My symptoms were that I couldn't send a fax using hp-sendfax, which has been
working very well for years -- until now.

After much floundering I finally tried deleting my existing cups printers
and allowing hp-setup to create new ones.  All better now :)

There may be more than one way to delete cups printers, I dunno, but I used
the cups http interface by typing 'http://localhost:631' in my firefox URL bar
(cupsd must be running for this to work).




Re: [gentoo-user] For net-print/hplip users

2011-02-11 Thread Dale

walt wrote:
I've just spent an annoying two days trying to un-break my HP 
multifunction

printer/fax/scanner, and I hope I can spare some of you the same trouble.

My symptoms were that I couldn't send a fax using hp-sendfax, which 
has been

working very well for years -- until now.

After much floundering I finally tried deleting my existing cups printers
and allowing hp-setup to create new ones.  All better now :)

There may be more than one way to delete cups printers, I dunno, but I 
used
the cups http interface by typing 'http://localhost:631' in my firefox 
URL bar

(cupsd must be running for this to work).



I have found in the past that anytime I update hp* or cups, I need to 
delete and set up my printer again.  Sometimes it works but is flakey 
and sometimes it doesn't print at all.  Deleting and adding again is the 
only fix I have found that works.


Sort of weird how that works tho.

Dale

:-)  :-)



Re: [OT] Re: [gentoo-user] Avoiding HAL

2011-02-11 Thread Keith Dart
=== On Fri, 02/11, Peter Humphrey wrote: ===
 As Gentoo seems to be immune to this problem, I assume that other
 kernels are setting some parameters that push the hardware to its
 limit, so the next thing I'll try is to detune the performance
 somewhat. Trouble is, the BIOS setup screens have so many parameters
 to adjust that I don't know where to start.

===

Start by resetting to all defaults.. ;-) Many motherboards these days
support unsafe settings (overclocking, etc.) and warn you that you
can destabilize your board. If you, or anyone else, has ever tweaked
those it may be unstable. So try all defaults, or safe settings first
if you haven't already.


-- Keith Dart

-- 

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



Re: [gentoo-user] For net-print/hplip users

2011-02-11 Thread Daniel Pielmeier
walt schrieb am 12.02.2011 00:15:
 I've just spent an annoying two days trying to un-break my HP 
 multifunction printer/fax/scanner, and I hope I can spare some of
 you the same trouble.
 
 My symptoms were that I couldn't send a fax using hp-sendfax, which 
 has been working very well for years -- until now.
 
 After much floundering I finally tried deleting my existing cups 
 printers and allowing hp-setup to create new ones.  All better now 
 :)
 
 There may be more than one way to delete cups printers, I dunno, but 
 I used the cups http interface by typing 'http://localhost:631' in my
 firefox URL bar (cupsd must be running for this to work).

From the hplip ebuild:

elog You should run hp-setup as root if you are installing hplip for
the first time,
elog and may also need to run it if you are upgrading from an earlier
version.


This message is there for a reason!

-- 
Daniel Pielmeier



signature.asc
Description: OpenPGP digital signature