LinuxQuestions.org Member Success StoriesJust spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

3. Video.
This notebook has a nice 1920x1080 screen. It also has dual video card - something integrated and less power hungry from Intel and Nvidia GeForce for providing better performance when needed. I only use Intel - I find 10 FPS as the lowest value for Menger Sponge screensaver with 300+K polygons (4th level) acceptable, and TORCS and Extreme TuxRacer work fine with Intel card. So I need to configure Intel card and switch off power to Nvidia one.

i915 module handles both framebuffer and X11, thanks to Kernel Mode Setting (KMS). High resolution makes some larger console font, like iso01-12x22 desirable (using setfont). Of course, when I want full UTF-8 output in the framebuffer console along with configurable TrueType/OpenType font I use fbterm. MPlayer in framebuffer and "links -g" work fine, too; sometimes you may need to check that /dev/fb0 and /dev/tty1 are accessible to current user. XRandR works without any effort for VGA output.

For turning off Nvidia power, I use acpi_call module from https://github.com/mkottman/acpi_call . \_SB.PCI0.PEG1.GFX0.DOFF method from the test script works; notice that \_SB.PCI0.PEG1.GFX0._OFF reports success but power is still drawn.

Well, I do ensure that I execute the command when no program has had a chance to open sound device. I heard Ubuntu uses PulseAudio by default, so most most of the time audio output is "in use" by the idling PA daemon. You could ask in Ubuntu subforum how to pass the parameters to kernel modules when they are loaded - I assume there is a configuration file, but I have no idea how it is called.

The only thing you care about is that snd-hda-intel module gets

Code:

model=auto position_fix=0

parameters last time it is loaded.

Maybe you could create some upstart job that runs before pulseaudio and reloads the module with correct parameters.

The speaker/headphone/microphone problems seems very kernel-version-dependent. With 2.6.38 I fail to have speaker and microphone working at once, but I don't care about that usecase too much and I hope it will work better with 2.6.39... Load_Cycle_Count is a widespread problem and it is the duty of each of us to spread the word whenever we talk about configuring hardware in Linux...

Well, with 2.6.39 it doesn't work out of the box, either. If you specify model=auto, you get your speaker working, if you do not - you get your microphone working, and headphones work fine either way. I don't have a use case where it would be a real problem, though.

How do I "only use" intel graphics? first of all, how do I know which one is currently working? I know I could turn off nvidia graphics with with the acpi_call link, but I think it hasn't worked for me..

As I said, if (with 2.6.39) you simply reload snd and snd-pcm and and-hda-intel without parameters to modules, microphone will work but speaker won't. I failed (so far) to find parameter set that would fix it. On the other hand, I usually don't use microphone and speaker together, so I gave up quite quickly.