Re: [gentoo-user] msfonts

2010-04-27 Thread Alan McKinnon
On Tuesday 27 April 2010 07:45:23 Stroller wrote:
> On 26 Apr 2010, at 20:10, Paul Hartman wrote:
> > 2010/4/26  :
> >> Hello
> >> 
> >> I'm looking for the following fonts.
> >> Could you give me some indications of what packages contain the
> >> following
> >> fonts.
> > 
> > Some from corefonts, others are probably copyrighted by microsoft.
> 
> Corefonts themselves are copyrighted by Microsoft. Microsoft simply
> chose to release them at no charge.


Once, long long ago, Microsoft released the 4 core fonts - Arial, Verdana, and 
two out of the serif fonts Courier, Times New Roman and Georgia - as free to 
use, free to redistribute. The intent seems to have been to allow developers 
to ship these fonts with their apps just in case the user didn't already have 
them.

That license has since changed, but the original license is still valid for 
anyone that received it. So those fonts are still freely available from anyone 
that chooses to mirror them. 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-27 Thread Mark Knecht
On Mon, Apr 26, 2010 at 11:08 PM, Stroller
 wrote:
>
> On 26 Apr 2010, at 14:25, Mark Knecht wrote:
>>
>> ... I have a machine that's a
>> MythTV backend server. It sits quietly in our living room doing it's
>> job, but it only does that roughly 4 hours per day so for 20 hours it
>> wastes electricity. To make more use of the hardware my wife and son
>> use it at times to browse the web. They are used to shutting off other
>> computers and they sometimes make mistakes and shut this machine off
>> so we lose recordings.
>
> In the case of your particular Myth box, it might be worth looking at sleep
> / hibernate / BIOS wake functionality, to save 20 hours' electricity per
> day.
>
> I haven't looked at this in detail, but I think that Myth can write a wake
> up time to the BIOS, say of 5 minutes before the next scheduled recording.
> Thus even if you wife does switch the computer off, it will switch itself on
> again so that you don't miss your show.
>
> Stroller.

Yes, power consumption is very much on my mind these days. All the
light bulbs have been changed. A new pool pump is saving me about
$80-$90/month. I'd like to do a new fridge but that's not for now.

Computers are a big portion of the bill around here and learning how
to reduce power is high on my priorities for the next few months. I'm
not sure how to handle a multi-use box like this. It's an 8-thread i7
processor. I was wondering about powering off certain core when the
machine isn't doing much. Does Intel hardware do that? I need to
determine how much power is in the processor, the chipset, memory, the
disk drives. The machine is 3-drive RAID1 using data center drives.
The WD Green drives just didn't work for RAID. I'm sure 3 drives is
adding to my power consumption, but maybe they can be spun down more
often. Myth recordings are currently stored on an external USB drive,
so that's more power.

The problem with this machine is that it's a desktop watching
recordings during the day and from 7PM to maybe 3AM it's generally
busy recording things. However the TV setup in this house is changing.
I'm dropping cable and going with satellite. They provide their own
DVR so maybe I'll drop Myth for a while if things work out. That would
simplify things, assuming their DVR doesn't consume huge amounts of
power. Their DVR supports watching on a Windows PC so I can probably
us their app in VMWare which I already use for NetFlix.

I appreciate the ideas. I'll likely be asking questions in this area
over the next few months.

Cheers,
Mark



[gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
I have an optical out on my on-board Intel Hi Def audio controller
(also an Intel motherboard) and wanted to route the optical output to
my receiver, so I could play internet radio on my home audio system.
I got everything plugged in, but the receiver didn't pick up any
signal (I made sure all the right settings are selected on the
receiver).

So my question...  Is optical output supported in ALSA and the driver
for Intel High Definition audio controller?  Do I have to compile with
any specific flags to get it working?



Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-27 Thread Peter Humphrey
On Monday 26 April 2010 18:59:26 Dale wrote:

> Apparently something got changed with a update.  I tried to run
> hp-setup a bit ago and it failed too.  It gave this error:
> 
> No protocol specified
> hp-setup: cannot connect to X server :0.0
> 
> I'm running this in a Konsole, part of KDE, so just where would I set
> this up?  I don't usually have to mess with it and it "just works". 
> I'm on KDE 4.4.2.  Maybe this is a "feature" of KDE4 until it gets
> "fixed".   ;-)

I run hp-setup at a virtual console, no X running. Have you tried that?

-- 
Rgds
Peter.



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-27 Thread Paul Hartman
On Tue, Apr 27, 2010 at 10:21 AM, Mark Knecht  wrote:
> Computers are a big portion of the bill around here and learning how
> to reduce power is high on my priorities for the next few months. I'm
> not sure how to handle a multi-use box like this. It's an 8-thread i7
> processor. I was wondering about powering off certain core when the
> machine isn't doing much. Does Intel hardware do that? I need to
> determine how much power is in the processor, the chipset, memory, the
> disk drives. The machine is 3-drive RAID1 using data center drives.
> The WD Green drives just didn't work for RAID. I'm sure 3 drives is
> adding to my power consumption, but maybe they can be spun down more
> often. Myth recordings are currently stored on an external USB drive,
> so that's more power.

Supposedly enabled and idle cores use even less power than disabled
cores because of the way the i7 handles C6 state. Intel claims power
usage in this state is approximately zero (not even any leakage).

Enable C1E and EIST in your BIOS (they are powersaving options),
enable CPU frequency scaling in your Kernel and use ondemand governor
(As you would on a laptop). Disable unused network interfaces or SATA
controllers etc. in BIOS.

NVidia cards using the proprietary drivers have powersaving and
underclocking options (enable the option "Coolbits" in your xorg.conf
and then use nvidia-settings to see these extra options)

I don't know if PSUs consume more power than necessary. For example if
you have a 650W power supply but could have gotten by with 380W, could
you save energy by using the smaller one? I'm not an electrical
engineer. :)

My new system has Samsung drives that seem to have a pretty aggressive
spindown time (at least compared to my old ones, which never
spundown). I was concerned about this in my RAID5 but what I have
really learned was how often my disks are idle. The spindown isn't so
aggressive that it happens while I'm actively using the system.

I am curious if enabling laptop-mode would have any positive effect on
a desktop that has these CPU & HDD power saving features? Or perhaps
disabling swap entirely and putting temp directories in /dev/shm.
Basically the same kind of techniques people having been using on
laptops for years to reduce disk activity and power consumption. It's
an experiment for a rainy day :)



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Paul Hartman
On Tue, Apr 27, 2010 at 10:33 AM, Denis  wrote:
> I have an optical out on my on-board Intel Hi Def audio controller
> (also an Intel motherboard) and wanted to route the optical output to
> my receiver, so I could play internet radio on my home audio system.
> I got everything plugged in, but the receiver didn't pick up any
> signal (I made sure all the right settings are selected on the
> receiver).
>
> So my question...  Is optical output supported in ALSA and the driver
> for Intel High Definition audio controller?  Do I have to compile with
> any specific flags to get it working?

Check the file /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt
and maybe you need to specify which model of HD-Audio chip your're
using to enable the extra ports. I've never had much success with
"auto" actually autodetecting the proper set-up.



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Paul Hartman
On Tue, Apr 27, 2010 at 10:54 AM, Paul Hartman
 wrote:
> On Tue, Apr 27, 2010 at 10:33 AM, Denis  wrote:
>> I have an optical out on my on-board Intel Hi Def audio controller
>> (also an Intel motherboard) and wanted to route the optical output to
>> my receiver, so I could play internet radio on my home audio system.
>> I got everything plugged in, but the receiver didn't pick up any
>> signal (I made sure all the right settings are selected on the
>> receiver).
>>
>> So my question...  Is optical output supported in ALSA and the driver
>> for Intel High Definition audio controller?  Do I have to compile with
>> any specific flags to get it working?
>
> Check the file /usr/src/linux/Documentation/sound/alsa/HD-Audio-Models.txt
> and maybe you need to specify which model of HD-Audio chip your're
> using to enable the extra ports. I've never had much success with
> "auto" actually autodetecting the proper set-up.

Also, the digital output may show up as a different playback device in
ALSA, so you may need to specify this in whatever program you're
using. For example:

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC889 Digital [ALC889 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0



Re: [gentoo-user] Re: elogviewer and something odd with equery

2010-04-27 Thread Dale

Peter Humphrey wrote:

On Monday 26 April 2010 18:59:26 Dale wrote:

   

Apparently something got changed with a update.  I tried to run
hp-setup a bit ago and it failed too.  It gave this error:

No protocol specified
hp-setup: cannot connect to X server :0.0

I'm running this in a Konsole, part of KDE, so just where would I set
this up?  I don't usually have to mess with it and it "just works".
I'm on KDE 4.4.2.  Maybe this is a "feature" of KDE4 until it gets
"fixed".   ;-)
 

I run hp-setup at a virtual console, no X running. Have you tried that?

   


I haven't but I guess I could.  Things is, there is more than just 
hp-setup that needs to be run from time to time.


I did open a Konsole as user then su to root.  That worked fine.  I 
could run elogviewer too.  Now to just figure out a way to get the other 
to work the way it used to.


I hope I don't have to install KDE3 and figure out how it was set up to 
work.


Dale

:-)  :-)



Re: [gentoo-user] Constraining X display resolutions

2010-04-27 Thread Peter Humphrey
On Tuesday 27 April 2010 00:18:19 Frank Steinmetzger wrote:

> You haven't told us what kind of monitor that is,

Because it isn't pertinent to what I asked.

> but it sounds like it's a flatscreen. In that case you should definitely
> run it on its native resolution, or else your display will ... strain
> your eyes far more.

It doesn't. I've always had blurred vision (myopia in one eye and 
astigmatism in the other, both fairly severe) and I'm better at 
resolving blurred images than picking detail out of small ones. I'm 
trying to reduce the neck-ache caused by straining forwards to see the 
screen.

> However, Linux GUIs are very good at geometric upscaling, so I suggest
> increasing font and icon sizes.

I'll try that anyway; it may give me a better compromise. Thanks.

-- 
Rgds
Peter.



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
> Also, the digital output may show up as a different playback device in
> ALSA, so you may need to specify this in whatever program you're using

Thanks, Paul, I will check that out.  I am mostly interested in
streaming audio from browser, stuff like Pandora radio and what have
you.  Otherwise, I use Audacious when I'm not streaming.



Re: [gentoo-user] Updates = slow firefox

2010-04-27 Thread Bartosz Szatkowski
Dnia 2010-04-26, pon o godzinie 19:10 -0700, Grant pisze:
> >> >> Strangely, now my laptop's brightness adjustment doesn't work via the
> >> >> keyboard shortcuts.  Any ideas on that?
> >> >>
> >> >> - Grant
> >> >>
> >> > Please share the beast model :P (or maybe ive missed it).
> >> > in kernel config You have multiple option for backlight eg. for thinkpad
> >> > there is extra one in "thinkpad specific acpi" maybe You have something
> >> > similar for Yours stuff.
> >>
> >> It's a Dell Vostro 1320.  The keyboard shortcuts to change brightness
> >> were working great until I enabled DRM in the kernel.  Can you tell me
> >> where in the kernel those options can be found, or part of the
> >> variable name that defines them?
> >>
> > Try running xev and punching brightness keys, if you would see
> > "effects" (some text in terminal) then its OK :P You should change the
> > Acpi configs (etc/acpi/) or Gnome/KDE/Xfce/... bindings.
> 
> I do see text in xev when pressing the brightness keys.
> 
> > (if You dont know it already)
> > For acpi config You'll need "event id" try running acpi_listen.
> > eg. /etc/acpi/events/sleep:
> > event=ibm/hotkey HKEY 0080 1004
> > action=/etc/acpi/actions/sleep.sh
> >
> > and into actions you put scripts, try using xbacklight.
> 
> You think I should use xbacklight or similar even though it was
> working on its own before?
> 
> - Grant
> 
> 
> > If You wouldn't have any reaction in xev and acpi_listen i check the
> > option in kernel.
> 
I think that its better to have things done even if would be around then
dont done it at all. :)
-- 
Bartosz Szatkowski
KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70

The freedom to run a program, for any purpose (freedom 0)




Re: [gentoo-user] Updates = slow firefox

2010-04-27 Thread Grant
>> >> >> Strangely, now my laptop's brightness adjustment doesn't work via the
>> >> >> keyboard shortcuts.  Any ideas on that?
>> >> >>
>> >> >> - Grant
>> >> >>
>> >> > Please share the beast model :P (or maybe ive missed it).
>> >> > in kernel config You have multiple option for backlight eg. for thinkpad
>> >> > there is extra one in "thinkpad specific acpi" maybe You have something
>> >> > similar for Yours stuff.
>> >>
>> >> It's a Dell Vostro 1320.  The keyboard shortcuts to change brightness
>> >> were working great until I enabled DRM in the kernel.  Can you tell me
>> >> where in the kernel those options can be found, or part of the
>> >> variable name that defines them?
>> >>
>> > Try running xev and punching brightness keys, if you would see
>> > "effects" (some text in terminal) then its OK :P You should change the
>> > Acpi configs (etc/acpi/) or Gnome/KDE/Xfce/... bindings.
>>
>> I do see text in xev when pressing the brightness keys.
>>
>> > (if You dont know it already)
>> > For acpi config You'll need "event id" try running acpi_listen.
>> > eg. /etc/acpi/events/sleep:
>> > event=ibm/hotkey HKEY 0080 1004
>> > action=/etc/acpi/actions/sleep.sh
>> >
>> > and into actions you put scripts, try using xbacklight.
>>
>> You think I should use xbacklight or similar even though it was
>> working on its own before?
>>
>> - Grant
>>
>>
>> > If You wouldn't have any reaction in xev and acpi_listen i check the
>> > option in kernel.
>>
> I think that its better to have things done even if would be around then
> dont done it at all. :)

Yes but I think I should find the built-in mechanism which was
allowing it to work before instead of writing my own script to make it
work.  Don't you think so?

- Grant



Re: [gentoo-user] gnome login panel how to disable restart and shutdown buttons

2010-04-27 Thread Mark Knecht
On Tue, Apr 27, 2010 at 8:50 AM, Paul Hartman
 wrote:
> On Tue, Apr 27, 2010 at 10:21 AM, Mark Knecht  wrote:
>> Computers are a big portion of the bill around here and learning how
>> to reduce power is high on my priorities for the next few months. I'm
>> not sure how to handle a multi-use box like this. It's an 8-thread i7
>> processor. I was wondering about powering off certain core when the
>> machine isn't doing much. Does Intel hardware do that? I need to
>> determine how much power is in the processor, the chipset, memory, the
>> disk drives. The machine is 3-drive RAID1 using data center drives.
>> The WD Green drives just didn't work for RAID. I'm sure 3 drives is
>> adding to my power consumption, but maybe they can be spun down more
>> often. Myth recordings are currently stored on an external USB drive,
>> so that's more power.
>
> Supposedly enabled and idle cores use even less power than disabled
> cores because of the way the i7 handles C6 state. Intel claims power
> usage in this state is approximately zero (not even any leakage).
>
> Enable C1E and EIST in your BIOS (they are powersaving options),
> enable CPU frequency scaling in your Kernel and use ondemand governor
> (As you would on a laptop). Disable unused network interfaces or SATA
> controllers etc. in BIOS.
>
> NVidia cards using the proprietary drivers have powersaving and
> underclocking options (enable the option "Coolbits" in your xorg.conf
> and then use nvidia-settings to see these extra options)
>
> I don't know if PSUs consume more power than necessary. For example if
> you have a 650W power supply but could have gotten by with 380W, could
> you save energy by using the smaller one? I'm not an electrical
> engineer. :)
>
> My new system has Samsung drives that seem to have a pretty aggressive
> spindown time (at least compared to my old ones, which never
> spundown). I was concerned about this in my RAID5 but what I have
> really learned was how often my disks are idle. The spindown isn't so
> aggressive that it happens while I'm actively using the system.
>
> I am curious if enabling laptop-mode would have any positive effect on
> a desktop that has these CPU & HDD power saving features? Or perhaps
> disabling swap entirely and putting temp directories in /dev/shm.
> Basically the same kind of techniques people having been using on
> laptops for years to reduce disk activity and power consumption. It's
> an experiment for a rainy day :)
>
>

Really great info and ideas Paul. Thanks.

I've been playing a lot with power measurements here in my home
office. I've got three machines each with their own UPS, two internet
connections, 5 monitors, a couple of switches. It all adds up. It's
been interesting to look at where the power goes.

Keep in mind that my incremental power costs right now are $0.42/KWH.
For monthly costs I use 24*365/12 = 730 hours/month.

1) Everything shut off except the power strip plugged into the wall. 5
Watts. Just this power strip plugged into the wall driving 3 UPS's
that are turned off costs me $1.53/month. For a power strip? (It has a
green and red light!)

2) With all the computers and monitors turned off but the UPS's
powered on I used about 25 Watts, so that's about $7.50/month.

3) At idle the laptop uses 75 Watts with no external monitors, 125
Watts with a 23" external monitor. IF I have it on 16 hours/ day
that's about 2KWH per day or 61KWH/month for a $25 bill.

4) My new i5-661 desktop driving two external monitors actually uses
the same 125 Watts as the laptop so that's another $25/month.

5) My new number cruncher based on the i7-980x with 12GB DRAM, 5 hard
drives and two external monitors is about double that at 260 Watts.
Simply for power consumption reasons I cannot afford to run it 16
hours per day, and I don't need it that much anyway, so I only turn it
on when I have a few days worth of number crunching to do. It's
probably costing me $10-$20/month since it's on less than 20% of the
time.

All in all it turns out I'm spending close to $75/month ($1K/year)
just in my office!

Getting power down is important to me!

- Mark



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
I also had:

 aplay -l

 List of PLAYBACK Hardware Devices 
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I basically emerged alsa-plugins and went through alsaconfig document
again, followed by mixer settings to make certain all channels are
unmuted.  I looked at the sound card ports, and the optical was lit up
red, so I connected it to the receiver, and it works now!

Thanks :-)



Re: [gentoo-user] Updates = slow firefox

2010-04-27 Thread Bartosz Szatkowski
Dnia 2010-04-27, wto o godzinie 10:37 -0700, Grant pisze:
> >> >> >> Strangely, now my laptop's brightness adjustment doesn't work via the
> >> >> >> keyboard shortcuts.  Any ideas on that?
> >> >> >>
> >> >> >> - Grant
> >> >> >>
> >> >> > Please share the beast model :P (or maybe ive missed it).
> >> >> > in kernel config You have multiple option for backlight eg. for 
> >> >> > thinkpad
> >> >> > there is extra one in "thinkpad specific acpi" maybe You have 
> >> >> > something
> >> >> > similar for Yours stuff.
> >> >>
> >> >> It's a Dell Vostro 1320.  The keyboard shortcuts to change brightness
> >> >> were working great until I enabled DRM in the kernel.  Can you tell me
> >> >> where in the kernel those options can be found, or part of the
> >> >> variable name that defines them?
> >> >>
> >> > Try running xev and punching brightness keys, if you would see
> >> > "effects" (some text in terminal) then its OK :P You should change the
> >> > Acpi configs (etc/acpi/) or Gnome/KDE/Xfce/... bindings.
> >>
> >> I do see text in xev when pressing the brightness keys.
> >>
> >> > (if You dont know it already)
> >> > For acpi config You'll need "event id" try running acpi_listen.
> >> > eg. /etc/acpi/events/sleep:
> >> > event=ibm/hotkey HKEY 0080 1004
> >> > action=/etc/acpi/actions/sleep.sh
> >> >
> >> > and into actions you put scripts, try using xbacklight.
> >>
> >> You think I should use xbacklight or similar even though it was
> >> working on its own before?
> >>
> >> - Grant
> >>
> >>
> >> > If You wouldn't have any reaction in xev and acpi_listen i check the
> >> > option in kernel.
> >>
> > I think that its better to have things done even if would be around then
> > dont done it at all. :)
> 
> Yes but I think I should find the built-in mechanism which was
> allowing it to work before instead of writing my own script to make it
> work.  Don't you think so?
> 
> - Grant
> 
Try built in Gnome\Kde\Xfce(etc) bindings i had some troubles (in xfce)
- keys with names XF86* starts to randomly changes names or disappear
from configs ... maybe its Your case too.
-- 
Bartosz Szatkowski
KeyFP: 1568 D5A7 B14C 0727 1C61 ACFB ABDE C08A DDB7 1F70

The freedom to improve the program, and release your improvements to the
public, so that the whole community benefits (freedom 3)




Re: [gentoo-user] AT&T DSL + Westell modem/router = Gentoo woes

2010-04-27 Thread Mick
On Tuesday 27 April 2010 03:02:54 Grant wrote:

> > I am not familiar with the modem in question, but if you are using your
> > own router the modem should be set up in fully bridged mode and the PPPoE
> > authentication will be managed by your Gentoo router.

> Thanks Mick.  The Westell does have an option to take PPPoE off of the
> device and I'd like to set that up soon.

Right, without the PPPoE disabled the modem operates in a half-bridged mode 
(essentially it is a router running dhcp and 1:1 NAT).  I would disable NAT, 
dhcp and PPPoE on the modem so that it is in fully-bridged mode and then see 
if the problem is resolved. Your symptoms are typical of a half-bridged router 
and a dynamic IP address from the ISP.  Usually, the client on the LAN does 
not know when the ISP's WAN side IP address has changed and will not pick up 
the new address until the dhcp lease on the client has expired.  To overcome 
this botched implementation the half-bridged modem has a short lease. This 
doesn't always work, as I suspect is the case here.

HTH.
-- 
Regards,
Mick


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


Re: [gentoo-user] Constraining X display resolutions

2010-04-27 Thread Mick
On Tuesday 27 April 2010 17:06:07 Peter Humphrey wrote:
> On Tuesday 27 April 2010 00:18:19 Frank Steinmetzger wrote:
> > You haven't told us what kind of monitor that is,
> 
> Because it isn't pertinent to what I asked.
> 
> > but it sounds like it's a flatscreen. In that case you should definitely
> > run it on its native resolution, or else your display will ... strain
> > your eyes far more.
> 
> It doesn't. I've always had blurred vision (myopia in one eye and
> astigmatism in the other, both fairly severe) and I'm better at
> resolving blurred images than picking detail out of small ones. I'm
> trying to reduce the neck-ache caused by straining forwards to see the
> screen.
> 
> > However, Linux GUIs are very good at geometric upscaling, so I suggest
> > increasing font and icon sizes.
> 
> I'll try that anyway; it may give me a better compromise. Thanks.

I've had the same problem on a high resolution (1920x1080), small size screen 
(15.6").  The characters are tiny and anything else but native resolution 
makes images and characters blurred.  The solution was to increase the font 
size on the terminals and KDE apps.  However, I don't know how to make the 
characters in the Firefox menus and body larger.  Am I supposed to run 
gconftool-2 with some esoteric options?

-- 
Regards,
Mick


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


Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Paul Hartman
On Tue, Apr 27, 2010 at 3:03 PM, Denis  wrote:
> I also had:
>
>  aplay -l
>
>  List of PLAYBACK Hardware Devices 
> card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
> card 0: Intel [HDA Intel], device 1: STAC92xx Digital [STAC92xx Digital]
>  Subdevices: 1/1
>  Subdevice #0: subdevice #0
>
> I basically emerged alsa-plugins and went through alsaconfig document
> again, followed by mixer settings to make certain all channels are
> unmuted.  I looked at the sound card ports, and the optical was lit up
> red, so I connected it to the receiver, and it works now!
>
> Thanks :-)

Great! Glad you got it going. I've never tried the digital port.



Re: [gentoo-user] Intel High Definition on-board sound controller - optical out working?

2010-04-27 Thread Denis
On Tue, Apr 27, 2010 at 6:58 PM, Paul Hartman
 wrote:
>
> Great! Glad you got it going. I've never tried the digital port.

It's pretty cool!  I never thought I'd use it until I got a receiver
that got optical in, and it's a nice solution for routing internet and
computer music to home stereo - sounds really good, actually :-)

Looks like Gentoo has it together for making use of the digital port
without having to doctor any config files or module loading options
for Intel HDA, other than emerging alsa-plugins and making sure
alsamixer has all the relevant ports unmuted.



[gentoo-user] two version of the same lib at the same time...possible?

2010-04-27 Thread meino . cramer

Hi,

for haveing both useable I need to have two different versions
of x264 on my system.

Is this possible in any way?

Best regards,
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] backup to a cold-swap drive

2010-04-27 Thread Iain Buchanan
Hi,

A winblows colleague said he uses a utility to backup his internal hard
drive to an external disk, such that if his internal disk fails he can
replace it with the external disk and continue straight away.

Since I go to weird locations with unreliable power and sometimes drop
my laptop I thought it should be simple to do the same in Linux.  I have
an external disk the same size, but now what?

  * I want to copy changes intelligently (ie. no dd, gparted, or
Ghost4Linux).
  * I want to copy a specific device only (no usb keys, etc) to a
specific external device.
  * Windows partitions can be ignored.
  * It doesn't matter if the copy is not unmounted properly, eg. if
power is shut of without shutting down.
  * The external disk must be able to be absent

Can md use one internal and one external disk in a RAID 1 setup, with
the external disk not always there?  Any other suggestions?

thanks :)
-- 
Iain Buchanan 

Better tried by twelve than carried by six.
-- Jeff Cooper




[gentoo-user] Re: two version of the same lib at the same time...possible?

2010-04-27 Thread Nikos Chantziaras

On 04/28/2010 04:35 AM, meino.cra...@gmx.de wrote:


Hi,

for haveing both useable I need to have two different versions
of x264 on my system.

Is this possible in any way?


Not with Portage (it allow you to customize --prefix).  You can have an 
infinite number of them though if you install manually with a different 
./configure --prefix each time.





[gentoo-user] hibernate to ram gives me double vision!

2010-04-27 Thread Mick
This laptop has problems when waking up from hibernate-ram.  If in a console, 
the screen remains blank.  If in X the screen wakes up but there seem to be 
two images of everything, the second displaced to the right of the original 
position by a millimetre or so.

The problem remains if I exit X and restart it.  The only way to fix it is to 
reboot the machine.  This is what the log shows:

Starting suspend at Tue Apr 27 23:05:26 BST 2010
hibernate-ram: [01] Executing CheckLastResume ... 
hibernate-ram: [01] Executing CheckRunlevel ... 
hibernate-ram: [01] Executing LockFileGet ... 
hibernate-ram: [01] Executing NewKernelFileCheck ... 
hibernate-ram: [10] Executing EnsureSysfsPowerStateCapable ... 
hibernate-ram: [11] Executing XHacksSuspendHook1 ... 
hibernate-ram: [19] Executing LogoutPidgin ... 
hibernate-ram: [59] Executing RemountXFSBootRO ... 
hibernate-ram: [89] Executing SaveKernelModprobe ... 
hibernate-ram: [91] Executing ModulesUnloadBlacklist ... 
hibernate-ram: [91] Executing ModulesUnloadBlacklist ... 
hibernate-ram: [95] Executing XHacksSuspendHook2 ... 
hibernate-ram: [98] Executing CheckRunlevel ... 
hibernate-ram: [98] Executing RadeonToolBacklightOff ... 
hibernate-ram: [99] Executing DoSysfsPowerStateSuspend ... 
hibernate-ram: Activating sysfs power state mem ...
hibernate-ram: [98] Executing RadeonToolBacklightOn ... 
hibernate-ram: [90] Executing ModulesLoad ... 
hibernate-ram: [89] Executing RestoreKernelModprobe ... 
hibernate-ram: [85] Executing XHacksResumeHook2 ... 
hibernate-ram: [70] Executing ClockRestore ... 
hibernate-ram: [70] Executing ClockRestore ... 
hibernate-ram: [59] Executing RemountXFSBootRW ... 
hibernate-ram: [19] Executing LoginPidgin ... 
hibernate-ram: [11] Executing XHacksResumeHook1 ... 
hibernate-ram: [01] Executing NoteLastResume ... 
hibernate-ram: [01] Executing LockFilePut ... 
Resumed at Tue Apr 27 23:06:00 BST 2010

Any ideas?
-- 
Regards,
Mick


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


Re: [gentoo-user] Constraining X display resolutions

2010-04-27 Thread Walter Dnes
On Tue, Apr 27, 2010 at 11:02:53PM +0100, Mick wrote

> anything else but native resolution makes images and characters blurred.

  There is one exception to that general rule.  If you divide the X and/or
Y dimensions by a whole number, the result may be blocky fonts, but at
least there is no interpolation.  For a 1920x1080 screen, dimensions like

 960x1080   960x540   960x360
 640x1080   640x540   640x360
 480x1080   480x540   480x360

would involve no interpolation.  Of the possibilities listed, the only
sane ones are 960x1080, 960x540, 640x540, 640x360, and 480x360.  If you
have a VGA input on the LCD monitor, and if you know the monitor's safe
horizontal and vertical frequency ranges, you can go to a site like
http://xtiming.sourceforge.net/cgi-bin/xtiming.pl or
http://amlc.berlios.de/ and generate custom modelines for the reduced
sizes.  You may need "doublescan" for some of the smaller screens.

-- 
Walter Dnes