Hi Peter, On 03/04/2015 15:45, Peter Hurley wrote:
The line discipline is always notified of line rate changes via the set_termios() method, so if you add that to the hci_ldisc, you'll be able to keep the BT device in sync with your vendor-specific commands.
If I'm not wrong, line discipline is notified after the tty termios change. So, it's too late to send the HCI change speed command. Moreover, user space is not aware of the device behavior, the driver should be the only one to manage the device and its serial link. Here, user space is just a bootstrap which hands over to the driver. Regards, Loic -- Intel Open Source Technology Center http://oss.intel.com/ -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html