Re: [PATCH] usb: serial: mos7840.c Support RS485 mode in B&B Electronics USOPTL4-4P and USOPTL4-2P

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2016-03-01 at 09:54 -0800, amarburg@xxxxxxxxxxxxxxxxxx wrote:
> From: Aaron Marburg <amarburg@xxxxxxxxxxxxxxxxxx>
> 
> The USOPTL4-4P and USOPTL4-2P USB-to-quad/dual RS-485/422 hubs use the 
> Moschip 7840/7820.   For correct operation in RS-485, the chip must be 
> configured in “RS-485 mode” through the scratchpad register as per the 
> datasheet. This strobes the DTR line on transmission, enabling the driver 
> on the RS485 transceiver chip.

I think if you include a config option to do this, you should
also enable the canonical way of using an ioctl(). That means
you need to support rs485_config().

	Regards
		Oliver


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux