Jump to content
funtoo forums
Sign in to follow this  

smdev guide (eudev alternative)

Recommended Posts


Smdev is simple device manager. It's alternative to udev, eudev and mdev. I maintain smdev ebuilds on my overlay[1]. I have working keyboard, mouse, touchpad, trackpoint, sound, graphics, wifi, hotplug and module autoloading with the default config and initscript that comes with the ebuild.


[1] https://github.com/causes-/causelay/blob/master/sys-fs/smdev/smdev-0.2.2.ebuild


Migrate guide from eudev

Here is migrate guide away from eudev.


First you need to disable udev and gudev use flags.


USE="$USE -udev -gudev"


Then enable keyboard, mouse and synaptics INPUT_DEVICES instead of evdev.


INPUT_DEVICES="keyboard mouse synaptics"


Rebuild world.

# emerge -uavDN @world

# emerge -av --depclean


Configure X.Org to use keyboard/kbd, mouse and synaptics instead of evdev. Use "InputDevice" instead of "InputClass".


Section "InputDevice"
        Identifier "keyboard0"
        Driver "kbd"
        option "AutoServerLayout" "on"
        Option "XkbLayout" "fi"

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%"

Section "InputDevice"
        identifier "Mouse0"
        driver "mouse"
        option "AutoServerLayout" "on"
        option "device" "/dev/input/mice"


Add smdev to sysinit runlevel.

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


Now you are ready to reboot.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this