[dev] [smdev] hotplugging

From: Cág <caoc_AT_riseup.net>
Date: Sat, 25 Jun 2016 23:25:50 +0300

Hi lads,

Could ye please point me to the right solution? I'm trying to replace
udev with
smdev. Typing smdev returns me
"Environment not set up correctly for hotplugging".

 From smdev.c[0] I see that it puts the message if dohotplug() < 0,
though I'm
not really sure what that means.

What I've done:
1. Found mdev-like-a-boss[1] to get some ideas.
2. Created entries in xorg.conf.d: keyboard, touchpad, mouse.
3. Created a script to bind keys in X11 (from mdev-like-a-boss/keymaps)
4. Added this to startup:
mount devpts <- this could be added to fstab though :)
chmod 1777 /dev/shm
/usr/local/bin/smdev
/etc/init.d/keymap.sh

My sound card is not recognised; and, as I said, typing smdev prints me
that message. My Fn keys don't work, but this is due improper keymap.sh,
I suppose. ls -l /dev/snd shows me that owner of the nodes is root of
the
group "root" and not of the group "audio". I use the default
config.h[2].

Thanks,
Cág

[0]:http://git.suckless.org/smdev/tree/smdev.c
[1]:https://github.com/slashbeast/mdev-like-a-boss
[2]:http://git.suckless.org/smdev/tree/config.def.h
Received on Sat Jun 25 2016 - 22:25:50 CEST

This archive was generated by hypermail 2.3.0 : Sat Jun 25 2016 - 22:36:16 CEST