Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no input devices with devtmpfs #97

Open
suedi opened this issue Feb 17, 2016 · 2 comments
Open

no input devices with devtmpfs #97

suedi opened this issue Feb 17, 2016 · 2 comments

Comments

@suedi
Copy link
Contributor

suedi commented Feb 17, 2016

I have a working system and add only mount -t devtmpfs devtmpfs /dev

I boot and everything seems fine in /dev ( I will check this thouroghly )

However when I start Xorg I get no mouse or keyboard.

After checking I can see /dev/input/by-path and /dev/input/by-id is missing

I don't get the "no pvs" ERROR either that I should have.

Also running

vdevd -1 -l /tmp/vdevd.log -p /tmp/vdevd.pid -c /etc/vdev/vdevd.conf /tmp/dev/

generates link directories in /dev/tmp/input

Allthough without "-1" that is execute it as daemon

vdevd -l /tmp/vdevd.log -p /tmp/vdevd.pid -c /etc/vdev/vdevd.conf /tmp/dev/

Does NOT generates link directories in /dev/tmp/input

No ERROR's in vdevd.log ( other than #96 )

vdevd.log.txt

Any hints on this one?

I can also say that the same behaviour is present on devuan.
EDIT I have problems on devuan but cannot say for sure they are exactly the same!!!!
I started to try and hack in vdev there.

On your local install with vdev are you running devuan or debian

@suedi
Copy link
Contributor Author

suedi commented Feb 18, 2016

I figured it out that I should use

if_exists=run

To run an action allthough it was added by devtmpfs earlier.

These are the ones that I added if_exists=run statements

  • input.act
  • null.act
  • optical.act
  • sound-alsa-control.act
  • sound-audio.act
  • zzz-event-push.act
  • zzz-udev-compat.act

With these I get a working keyboard! However I miss for instance /dev/snd/seq
and got an ERROR on that

ERROR: /bin/chown: cannot access /dev/snd/seq [dev_tree.txt](https://github.com/jcnelson/vdev/files/136583/dev_tree.txt) : No such file or directory

What action creates /dev/snd/seq?

Also as I said I don't get my usual pvs ERROR but probably cause I don't have if_exists= in
disk.act, right?

Could we please have some discussion about what actions would be needed to be run with devtmpfs mounted on /dev?

dev_tree.txt

@fbt
Copy link
Contributor

fbt commented Feb 29, 2016

Maybe detect a devtmpfs and switch to an “always run if exists” mode?
Or! Or, even better, just have a switch that makes all the handlers behave as if “if_exists=run” is set for them? So that we can run vdevd with -1 and that key over a devtmps on boot, then start it normally as a daemon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants