WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: UDEV rules problem  (Read 1890 times)

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
UDEV rules problem
« on: September 11, 2012, 10:28:21 AM »
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.


Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: UDEV rules problem
« Reply #1 on: September 11, 2012, 10:38:34 AM »
Why don't you just put it in ~/.X.d ?

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11246
Re: UDEV rules problem
« Reply #2 on: September 11, 2012, 10:40:50 AM »
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

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: UDEV rules problem
« Reply #3 on: September 11, 2012, 10:46:16 AM »
Yes, but should I have to. Udev is suppose to take care of this at start-up. It does so for manu other harware.

Offline mbertrand

  • Full Member
  • ***
  • Posts: 225
Re: UDEV rules problem
« Reply #4 on: September 11, 2012, 10:59:09 AM »
Why don't you just put it in ~/.X.d ?
I need this processed bfore x is started

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11246
Re: UDEV rules problem
« Reply #5 on: September 11, 2012, 11:03:10 AM »
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