On Tue, Nov 10, 2015 at 7:02 AM, <florian.feldbaue...@googlemail.com> wrote: > > Hey all, > > I'm currently using the latest Debian Jessie image (2015-11-08) on my > Beaglebone Black. > I want to use UART4 as RS485 interface and use gpio3_19 as DE/RE signal. > > The device tree overlay which I use to configure the pinmux settings can be > found here: > https://github.com/Sillern/BB-RS485/blob/master/BB-RS485-00A0.dts > > When I load this overlay and try to configure the port in my C program, I > always get the error message "inappropriate ioctl for device" > when using the command > ioctl( fd, TIOCSRS485, &rs485conf ) > where rs485conf is a struct serial_rs485 > > The image uses kernel version 4.1.12-ti-r28. Has this kernel version RS485 > support enabled for the UART interfaces? > If not, is there a kernel version (preferable 4.1.X) which supports RS485 on > the UARTs of the BBB?
There are a few patches being discussed, please follow http://www.spinics.net/lists/linux-serial/msg19564.html http://www.spinics.net/lists/linux-serial/ I'd like to backport what ever comes out of above ^ Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.