Revision as of 16:49, February 8, 2015 by Causes (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Current Maintainer(s):Ari Malinen
Source Repository:Repository:Causes Overlay

Summary: smdev is a device manager for the Linux kernel. It manages device nodes in the /dev directory.



Keychain 2.8.2 Released

Keychain 2.8.2, a maintenance and bug fix release, is now available.
2015-11-16 by Drobbins

Unfork Tree is Live!

The "unfork" tree is now merged into the main Funtoo Linux tree, and Funtoo Linux is now using shards for core packages, x11 (including media libraries), KDE, GNOME, python and perl.
2015-10-12 by Drobbins

OpenSSH 7 Disables DSA Keys By Default

Please be aware of this important change to avoid getting locked out of your Funtoo server.
2015-10-07 by Drobbins



We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Smdev is simple device manager. It handles device hotplug, module autoloading and managing device nodes. It's alternative to udev, eudev and mdev.


It is recommended to make LiveCD or LiveUSB before rebooting first time with smdev. It is possible that your system goes into unbootable state if something goes wrong. If you wish to remove eudev you should do it after you have made sure everything is working with smdev.

Disable udev USE Flags

First you need to disable udev and gudev use flags.

/etc/portage/make.conf (bash source code)
USE="$USE -udev -gudev"

Configure Input Devices

Then enable keyboard and mouse drivers instead of evdev. For touchpad you can use synaptics driver.

/etc/portage/make.conf (bash source code)
INPUT_DEVICES="keyboard mouse"

Rebuild World

Now you have to rebuild world for new settings to take effect.

# emerge -uavDN @world
# emerge -av --depclean

Emerge smdev

Now you can emerge smdev.

# emerge -av smdev

Configure X.Org

Configure X.Org to use kbd (keyboard) and mouse instead of evdev. Use "InputDevice" instead of "InputClass".

Section "InputDevice"
        Identifier "keyboard0"
        Driver "kbd"
        option "AutoServerLayout" "on"
        Option "XkbLayout" "fi"
Section "InputDevice"
        identifier "Mouse0"
        driver "mouse"
        option "AutoServerLayout" "on"
        option "device" "/dev/input/mice"
Section "InputDevice"
        Identifier "touchpad0"
        Driver "synaptics"
        option "AutoServerLayout" "on"

        Option "HorizTwoFingerScroll" "1"
        Option "VertTwoFingerScroll" "1"

        Option "SoftButtonAreas" "65% 0 0 20% 45% 60% 0 20%"
        Option "AreaTopEdge" "20%"

Add smdev to sysinit runlevel

Now you can add smdev to sysinit runlevel. You also need to remove eudev entries from all runlevels.

# rc-update add smdev sysinit
# rc-update del udev sysinit
# rc-update del udev-mount sysinit
# rc-update del udev-postmount boot