GoboLinux DownloadsDocumentationCommunityRecipesPackagesScreenshots

Article | Discussion | Edit | History

Hardware configuration

From GoboLinux Knowledge Base

Jump to: navigation, search

Home


Concepts

The GoboLinux way
Filesystem hierarchy

Installing

GoboLinux
Rootless

Managing software

Packages
Compiling from source
Writing recipes

Configuring

The boot process
Hardware

Other topics

Howtos
Reference


Most part of hardware configuration is currently managed by Udev. Together with Module-Init-Tools, Udev gets information emitted by the kernel and loads the associated module for each device it's told about.

This section of the documentation explains how to configure your system to fine tune these automatic detections, pass extra parameters to your modules and have some of them blacklisted.

The following sub-sections are available:

[edit] Video cards

Video cards are automatically detected during GoboLinux installation. Xorg makes use of the most optimized driver available for your card, but that doesn't include proprietary drivers.

There are some scripts written to aid on the support for these devices, though. For instance, Nvidia drivers can be installed from the InstallNvidia script or by typing Compile Nvidia. Please make sure that you have Kernel-Headers installed before attemping to install the drivers.

[edit] Printers

GoboLinux comes with CUPS installed by default.

[edit] Audio

Note that ALSA is muted by default, to automatically save and restore changes done in e.g. alsamixer, add these lines to your boot scripts.

  • Init:
    Exec "Restoring ALSA settings..."     alsactl restore
    
  • Done:
    Exec "Storing ALSA settings..."       alsactl store
    

If your soundcard does not support hardware mixing of multiple streams, you can use ALSA's software mixer, dmix. Configure your $HOME/.asoundrc like this:

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

pcm.dsp {
   type plug
   slave.pcm "dmixer"
}

pcm.dmixer  {
   type dmix
   ipc_key 1024
   slave {
      pcm "hw:0,0"
      period_time 0
      period_size 2048
      buffer_size 8192
      rate 44100
   }
   bindings {
      0 0
      1 1
   }
}

ctl.dmixer {
   type hw
   card 0
}
Personal tools