[BRLTTY] THe log file i sent.

Dave Mielke dave at mielke.cc
Tue Feb 12 08:48:32 EST 2013


Are you familiar with testing patches? If so, could you please test this one 
(attached as pm-init-1.patch)?

Could you also make a log and send it to me so that I can be sure that the 
expected change is correct?

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
EMail: dave at mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.com/
-------------- next part --------------
Index: Programs/usb_serial.c
===================================================================
--- Programs/usb_serial.c	(revision 6853)
+++ Programs/usb_serial.c	(working copy)
@@ -452,12 +452,20 @@
   return usbSetModemState_FTDI(device, state, 1, "RTS");
 }
 
+static int
+usbEnableAdapter_FTDI (UsbDevice *device) {
+  if (!usbSetDtrState_FTDI(device, 1)) return 0;
+  if (!usbSetRtsState_FTDI(device, 1)) return 0;
+  return 1;
+}
+
 static const UsbSerialOperations usbSerialOperations_FTDI_SIO = {
   .setBaud = usbSetBaud_FTDI_SIO,
   .setDataFormat = usbSetDataFormat_FTDI,
   .setFlowControl = usbSetFlowControl_FTDI,
   .setDtrState = usbSetDtrState_FTDI,
-  .setRtsState = usbSetRtsState_FTDI
+  .setRtsState = usbSetRtsState_FTDI,
+  .enableAdapter = usbEnableAdapter_FTDI
 };
 
 static const UsbSerialOperations usbSerialOperations_FTDI_FT8U232AM = {


More information about the BRLTTY mailing list