From owner-freebsd-questions@FreeBSD.ORG Wed Mar 13 21:56:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 184F0B38 for ; Wed, 13 Mar 2013 21:56:35 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id ADBDBF52 for ; Wed, 13 Mar 2013 21:56:34 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r2DLuRJA076433 for ; Wed, 13 Mar 2013 21:56:27 GMT (envelope-from freebsd@qeng-ho.org) Message-ID: <5140F60B.20106@qeng-ho.org> Date: Wed, 13 Mar 2013 21:56:27 +0000 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130309 Thunderbird/17.0.4 MIME-Version: 1.0 To: FreeBSD-Questions Subject: Port devel/arduino serial port problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Mar 2013 21:56:35 -0000 I'm trying to get devel/arduino working. Plugging in the USB cable to the Arduino creates /dev/cuaU0* and /dev/ttyU0* and I'm manually changing them to mode 666 while trying to get started so should be able to access them as my normal user. However, the Tools => Serial Port menu item in the Arduino IDE is always greyed out, and whatever I set serial.port to in ~/.arduino/preferences.txt when trying to upload a sketch I always get the error message Serial port '' not found. Any hints and clues would be very welcome. My system is 9.1-RELEASE-p1 and amd64 pkg info arduino shows arduino-1.0.3_1,1 Open-source electronics prototyping platform My /dev with the Arduino plugged in and a chmod a+rw done suitably: fileserver# ls -l /dev/{cua,tty}U* crw-rw-rw- 1 uucp operator 0, 242 Mar 13 21:24 /dev/cuaU0 crw-rw-rw- 1 uucp operator 0, 243 Mar 13 21:24 /dev/cuaU0.init crw-rw-rw- 1 uucp operator 0, 244 Mar 13 21:24 /dev/cuaU0.lock crw-rw-rw- 1 root wheel 0, 239 Mar 13 21:24 /dev/ttyU0 crw-rw-rw- 1 root wheel 0, 240 Mar 13 21:24 /dev/ttyU0.init crw-rw-rw- 1 root wheel 0, 241 Mar 13 21:24 /dev/ttyU0.lock