Re: [PATCH] USB: serial: ti_usb_3410_5052: Port uart_mode from io_ti.

2017-08-28 Thread Greg KH
On Fri, Aug 18, 2017 at 12:56:59PM +1000, Stuart Longland wrote: > This introduces the `uart_mode` sysfs attribute as seen in the `io_ti` > USB serial driver, allowing this USB serial interface to be switched > between RS-232, 2-wire RS-485 and 4-wire RS-485. > > /sys/class/tty/ttyUSB${num}/device

Re: [PATCH] USB: serial: ti_usb_3410_5052: Port uart_mode from io_ti.

2017-08-19 Thread Stuart Longland
Hi Maksim, On 20/08/17 06:40, Maksim Salau wrote: >> This introduces the `uart_mode` sysfs attribute as seen in the `io_ti` >> USB serial driver, allowing this USB serial interface to be switched >> between RS-232, 2-wire RS-485 and 4-wire RS-485. > > Recently I've discovered a blog post by Greg K

Re: [PATCH] USB: serial: ti_usb_3410_5052: Port uart_mode from io_ti.

2017-08-19 Thread Maksim Salau
Hi Stuart, > This introduces the `uart_mode` sysfs attribute as seen in the `io_ti` > USB serial driver, allowing this USB serial interface to be switched > between RS-232, 2-wire RS-485 and 4-wire RS-485. Recently I've discovered a blog post by Greg Kroah-Hartman on sysfs files [1]. I believe th

Re: [PATCH] USB: serial: ti_usb_3410_5052: Port uart_mode from io_ti.

2017-08-17 Thread Stuart Longland
Hi all, On 18/08/17 12:56, Stuart Longland wrote: > This introduces the `uart_mode` sysfs attribute as seen in the `io_ti` > USB serial driver, allowing this USB serial interface to be switched > between RS-232, 2-wire RS-485 and 4-wire RS-485. > > /sys/class/tty/ttyUSB${num}/device/uart takes a