* gps on /dev/ttyS1
@ 2009-01-03 14:08 Oleg Kravchenko
0 siblings, 0 replies; only message in thread
From: Oleg Kravchenko @ 2009-01-03 14:08 UTC (permalink / raw)
To: linux-serial
Hello! I have gps device on ttyS1, but to use I must enable it by i2c-tools:
$ i2cset -y 0 0x20 2 0x80 b 0x80
and disable:
$ i2cset -y 0 0x20 2 0x0 b 0x80
I want add some wrapper code to start gps device when ttyS1 is open and
shutdown device on close.
How is is easy to do?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-01-03 14:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-03 14:08 gps on /dev/ttyS1 Oleg Kravchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox