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
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this