solved, was Re: serial on neopi neo

Daniel Braniss danny at cs.huji.ac.il
Fri Feb 9 10:28:35 UTC 2018



> On 9 Feb 2018, at 12:02, Daniel Braniss <danny at cs.huji.ac.il> wrote:
> 
> 
> 
>> On 8 Feb 2018, at 17:30, Daniel Braniss <danny at cs.huji.ac.il> wrote:
>> 
>> 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)
>> 
>> any ideas?
> 
> I have!
> 
> I’m using the ‘what i thought’ unused pins (CTS/RTS) to drive some leds!
> 
> 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!

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



More information about the freebsd-arm mailing list