Jump to content

Photo

smdev guide (eudev alternative)

smdev eudev udev device manager

1 reply to this topic

#1
causes

causes

    Newbie

  • Members
  • Pip
  • 5 posts
  • LocationFinland

Smdev

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/c...ev-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.

/etc/portage/make.conf

USE="$USE -udev -gudev"

 

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

/etc/portage/make.conf

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

/etc/X11/xorg.conf.d/30-keyboard.conf

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

/etc/X11/xorg.conf.d/40-touchpad.conf
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%"
EndSection
 

/etc/X11/xorg.conf.d/50-mouse.conf
Section "InputDevice"
        identifier "Mouse0"
        driver "mouse"
        option "AutoServerLayout" "on"
        option "device" "/dev/input/mice"
EndSection

 

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.



#2
causes

causes

    Newbie

  • Members
  • Pip
  • 5 posts
  • LocationFinland

smdev can now be found from Funtoo portage tree.

 

Wiki page for smdev:

http://www.funtoo.org/Package:Smdev





Reply to this topic



  



Also tagged with one or more of these keywords: smdev, eudev, udev, device manager

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users