linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurentp@cse-semaphore.com>
To: linuxppc-dev@ozlabs.org
Cc: Jean-Michel Hautbois <jhautbois@gmail.com>
Subject: Re: [MPC8272ADS]Can not configure the ttyCPM0
Date: Fri, 13 Mar 2009 15:00:47 +0100	[thread overview]
Message-ID: <200903131500.51446.laurentp@cse-semaphore.com> (raw)
In-Reply-To: <8cad0aa0903130638w6fab6299kcd23d92d4c2d0a8@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1406 bytes --]

Hi Jean-Michel,

On Friday 13 March 2009 14:38:55 Jean-Michel Hautbois wrote:
> Hi all !
>
> I am currently facing a big problem on my MPC8272ADS development board.
> I have tried to use the /dev/ttyCPM1 port in order to send data over
> the serial cable to another device.
>
> This is just not working but nothing is sent, my DTR signal is down:
> > cat /proc/tty/driver/ttyCPM
>
> 0: uart:CPM UART mmio:0xF0011A00 irq:40 tx:296 rx:0 RTS|CTS|DTR|DSR|CD
> 1: uart:CPM UART mmio:0xF0011A60 irq:43 tx:0 rx:0 CTS|DSR|CD
>
> So, I have tried to use the serial port /dev/ttyCPM0. It is
> successfully sending out my bytes, but I can't configure it !!
> When I am trying to use the tcsetattr() function, I don't have any
> error, but the signal is always the same (no effect, if you prefer).
>
> I have tried to disable the kernel console output, but it is not
> working, either...

Support for the modem control lines has been added in v2.6.27-rc2. You will 
need to declare the modem control lines in your device tree. See 
Documentation/powerpc/dts-bindings/fsl/cpm_qe/serial.txt for more information.

Please note that hardware flow control is not supported by the CPM UART driver 
yet.

Best regards,

-- 
Laurent Pinchart
CSE Semaphore Belgium

Waterloo Office Park
Building M
Dreve Richelle, 161
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
F +32 (2) 387 42 75

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2009-03-13 14:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-13 13:38 [MPC8272ADS]Can not configure the ttyCPM0 Jean-Michel Hautbois
2009-03-13 14:00 ` Laurent Pinchart [this message]
2009-03-13 14:20   ` Jean-Michel Hautbois
2009-03-13 14:38     ` Laurent Pinchart

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=200903131500.51446.laurentp@cse-semaphore.com \
    --to=laurentp@cse-semaphore.com \
    --cc=jhautbois@gmail.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).