X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.1 required=5.0 tests=BAYES_20,MSGID_SPAM_CAPS X-Spam-Check-By: sourceware.org X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtoMAImet0ukDzvj/2dsb2JhbACCMI0jizuBLrEdgmkIghYE From: Robrecht Dewaele To: cygwin AT cygwin DOT com Date: Sun, 04 Apr 2010 05:56:23 +0200 X-sender-IP: 134.184.49.30 Subject: Re: unable to set icrnl (stty -F /dev/ttyS2 icrnl) for an ftdi device Message-Id: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 4/3/2010 5:55 PM, Robrecht Dewaele wrote: >> I'm using cygwin 1.7.2 on Windows 7, and I am unable to set the icrnl flag for >> /dev/ttyS2 as shown at the bottom of my message. The device attached to ttyS2 is a ARM development board which uses an ftdi chip for serial communication over USB. >> (The device is connected with USB, and the driver creates a virtual com port.) > Are you running them as Administrator? (UAC or no UAC, this matters.) > -- > ~ > Morgan Gangwere Yes, the user account I'm running this on is an administrator account. Running cygwin as administrator (with right-click, run as ...) does not change the behavior. I must add that I am able to successfully change the baud rate, but not able to change most of the other flags. Changing icrnl does not render an error, but still nothing changed (see below). (this is on a Windows 7 VM, other HW is the same) robbe AT eagle764 ~ $ stty -F /dev/ttyS2 onlcr robbe AT eagle764 ~ $ stty -F /dev/ttyS2 speed 9600 baud; line = 0; intr = ; quit = ; erase = ; kill = ; eof = ; swtch = ; susp = ; rprnt = ; werase = ; lnext = ; flush = ; min = 0; time = 0; -cread -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple