From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15264 invoked by alias); 22 Jan 2004 12:37:29 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 15177 invoked from network); 22 Jan 2004 12:37:28 -0000 Received: from unknown (HELO web2.pop-siegen.de) (62.157.218.9) by sources.redhat.com with SMTP; 22 Jan 2004 12:37:28 -0000 Received: (qmail 8770 invoked from network); 22 Jan 2004 12:54:02 -0000 Received: from gw-gdsys.gdsys.de (HELO 192.168.150.70) (guntermannunddrunck@62.157.218.206) by web2.pop-siegen.de with SMTP; 22 Jan 2004 12:54:02 -0000 To: insight@sources.redhat.com From: eibach@gdsys.de Subject: remote serial target - "not a typewriter" failure message Date: Thu, 22 Jan 2004 12:37:00 -0000 Priority: normal X-David-Sym: 0 X-David-Flags: 33554432 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7Bit X-Spam-Status: No, hits=0.6 required=5.5 tests=NO_REAL_NAME,RCVD_NUMERIC_HELO autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on web2.pop-siegen.de X-Spam-DCC: EATSERVER: web2 1166; Body=1 Fuz1=1 Fuz2=1 X-Spam-Level: X-SW-Source: 2004-q1/txt/msg00025.txt.bz2 Hi, the latest cygwin versions have the problem, that com1 as a portname is nor more recognized, instead you can use /dev/com1. That causes trouble if you use the "Target Settings"-menu in insight. I would suggest the following patch to solve the problem: diff -Naur original/targetselection.itb fixed/targetselection.itb --- original/targetselection.itb 2004-01-22 10:03:22.096390400 +0100 +++ fixed/targetselection.itb 2004-01-22 12:45:33.729792000 +0100 itcl::body TargetSelection::default_port {} { global tcl_platform switch -regexp $tcl_platform(os) { - Windows { set port com1 } + Windows { set port /dev/com1 } Linux { set port /dev/ttyS0 } SunOS { set port /dev/ttya } AIX { set port /dev/foo1 } # Failed. Find out why. if {[string first "permission denied" $msg] != -1} { # Port is there, but busy right now. That's OK. - lappend plist com$i + lappend plist /dev/com$i } elseif {$i > 4} { # if we've scanned the first 4 ports, then quit when we find no more set quit 1 } else { # We got it. Now close it and add to list. close $fd - lappend plist com$i + lappend plist /dev/com$i } } return $plist Regards, Dirk