From: Oleg Kravchenko <oleg@kaa.org.ua>
To: linux-serial@vger.kernel.org
Subject: gps on /dev/ttyS1
Date: Sat, 03 Jan 2009 16:08:24 +0200 [thread overview]
Message-ID: <495F7158.8060504@kaa.org.ua> (raw)
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?
reply other threads:[~2009-01-03 14:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=495F7158.8060504@kaa.org.ua \
--to=oleg@kaa.org.ua \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.