Re: FTDI_SIO: digital radio device not working after upgrade from 2.6.34 to 2.6.36

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

 



Quoting Sergey Vlasov <vsu@xxxxxxxxxxx>:

TIOCMBIS with zero argument won't do anything.  If you need to lower
DTR and RTS, you need to call TIOCMBIC instead:

	int mask = TIOCM_DTR | TIOCM_RTS;
	ioctl(tty_fd, TIOCMBIC, &mask);


Thankyou Rob and Sergey, that makes perfect sense once you realise what
the 'S' and 'C' in TIOCMBIS/TIOCMBIC mean. :)

My application code is now working in an unpatched 2.6.38 kernel.

Cheers,
Steve

--
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