Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: mbertrand on September 11, 2012, 01:28:21 PM

Title: UDEV rules problem
Post by: mbertrand on September 11, 2012, 01:28:21 PM
I have a rule to make touch screen persistent. It is not working at boot but after boot if I call 'sudo udevadm trigger' it works.
Anyone know why. I've been working on this for over a month and getting no where. In Debian sqeeze the same rule worked.

Title: Re: UDEV rules problem
Post by: gerald_clark on September 11, 2012, 01:38:34 PM
Why don't you just put it in ~/.X.d ?
Title: Re: UDEV rules problem
Post by: Rich on September 11, 2012, 01:40:50 PM
Hi mbertrand
Have you tried adding  udevadm trigger  to your  /opt/bootlocal.sh? If that fails, Try placing a script in ~/.X.d that contains:
Code: [Select]
sudo udevadm trigger
Title: Re: UDEV rules problem
Post by: mbertrand on September 11, 2012, 01:46:16 PM
Yes, but should I have to. Udev is suppose to take care of this at start-up. It does so for manu other harware.
Title: Re: UDEV rules problem
Post by: mbertrand on September 11, 2012, 01:59:09 PM
Why don't you just put it in ~/.X.d ?
I need this processed bfore x is started
Title: Re: UDEV rules problem
Post by: Rich on September 11, 2012, 02:03:10 PM
Hi mbertrand
If the rule and/or touch screen require X to be running in order to function, then yes, you have to. Also, I seem
to recall reading in the forums, if you add a rule, you still have to tell udev to update itself.
Quote
I need this processed bfore x is started
Then put it in  /opt/bootsync.sh