Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2018 12:28:29 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        "freebsd-arm@freebsd.org" <arm@freebsd.org>
Subject:   solved, was Re: serial on neopi neo
Message-ID:  <421A858F-AC30-4BE5-8641-E7C8DDDA0493@cs.huji.ac.il>
In-Reply-To: <D092D702-D0C8-431F-A727-27674FF5E7AB@cs.huji.ac.il>
References:  <0291231B-F939-4EB9-BD20-AD32B8E768D2@cs.huji.ac.il> <D092D702-D0C8-431F-A727-27674FF5E7AB@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 9 Feb 2018, at 12:02, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>=20
>=20
>=20
>> On 8 Feb 2018, at 17:30, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>>=20
>> hi,
>> after fiddling with the dts file (with the help from Milo), I got 2 =
serial ports to work(apart from the /dev/ttyu0),
>> but not together! ie, if i try each one individually all is ok, but =
once I open both of them, only
>> /dev/ttyu1 works, /dev/ttyu2 hangs (i have yet to see if its the =
output or input)
>>=20
>> any ideas?
>=20
> I have!
>=20
> I=E2=80=99m using the =E2=80=98what i thought=E2=80=99 unused pins =
(CTS/RTS) to drive some leds!
>=20
> I do set, via tcsetattr(3) to ignore these (ie no modem, no flow =
control) but it seems the driver is ignoring this.
> how can I tell the serial/uart to ignore them?

was sent out too early!

doing a cfmakeraw(3) is what screwed me up!
now all is ok!

>=20
>>=20
>> cheers,
>> 	danny
>> PS: I have not tested this on orange* but I suspect it will be the =
same.
>> _______________________________________________
>> freebsd-arm@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to =
"freebsd-arm-unsubscribe@freebsd.org"
>=20
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421A858F-AC30-4BE5-8641-E7C8DDDA0493>