From: Stefan Strobl <nst@gersys.de>
To: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: ADS5121 how to use /dev/ttyPSC
Date: Wed, 14 Jan 2009 17:47:41 +0100 [thread overview]
Message-ID: <496E172D.9060304@gersys.de> (raw)
Hi
I'm new to Kernel 2.6 and OF.
I'm using a ADS5121 board with kernel from denx (ads5121 branch from
linux-2.6-denx). According to my dts file both PSC3 and PSC4 should be
accessible through /dev/ttyPSC0 and /dev/ttyPSC1 respectively.
When I simply try to run: "$ echo "Hello" > /dev/ttyPSC*" I can't see
any data coming out from the ports.
And when trying to initialize the ports using termios commands I'm
getting the Error "Inappropriate ioctl for device".
I'm not even getting a negative voltage on the TX Pin (idle state).
But I can see the driver ttyPSC with major 204 in /proc/devices and I
can also open the device successfully. I am also able to configure
either port as CONSOLE in U-Boot so the Hardware is ok.
Any ideas?
Many thanks,
Stefan
next reply other threads:[~2009-01-14 16:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-14 16:47 Stefan Strobl [this message]
2009-01-15 1:30 ` ADS5121 how to use /dev/ttyPSC Matt Sealey
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=496E172D.9060304@gersys.de \
--to=nst@gersys.de \
--cc=linuxppc-dev@ozlabs.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.