[prev in list] [next in list] [prev in thread] [next in thread] 

List:       systemd-devel
Subject:    [systemd-devel] Starting touchscreen cal after touchscreen device starts
From:       pderocco () ix ! netcom ! com (Paul D !  DeRocco)
Date:       2013-08-31 6:24:05
Message-ID: A79D5103F364431D83766036D2D1F414 () PAULD
[Download RAW message or body]

I've got a Gumstix system that uses an LCD and a touchscreen, but without
a desktop manager. I've created a service to load touchscreen cal data, or
launch the calibrator program if it doesn't exist, but I can't figure out
how to ensure that it starts after the touchscreen device appears. I think
the standard Gumstix build has the desktop manager launch it, so there's
probably a pretty long chain of dependencies involved when doing it that
way.

My boot log shows the following line when the touchscreen is recognized.

[    9.447113] input: ADS7846 Touchscreen as 
/devices/platform/omap2_mcspi.1/spi_master/spi1/spi1.0/input/input0

Unfortunately, this happens after my touchscreen calibrator service starts
up (and fails).

There doesn't appear to be any automatically generated systemd unit for
this device. What's the best way to ensure that my service is launched
after this device comes online?

-- 

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco at ix.netcom.com 
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic