From owner-freebsd-usb@FreeBSD.ORG Tue Mar 20 15:49:54 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 105CD106566C for ; Tue, 20 Mar 2012 15:49:54 +0000 (UTC) (envelope-from fabiodive@gmail.com) Received: from mail-qc0-f182.google.com (mail-qc0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA2378FC0C for ; Tue, 20 Mar 2012 15:49:53 +0000 (UTC) Received: by qcsg15 with SMTP id g15so99333qcs.13 for ; Tue, 20 Mar 2012 08:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=GLl7zUIO3BRWuLM6YfXh1a3XbrC1xxBxLFkiGAxO7Q4=; b=Zgfeu8b5APC9Mv43LVYpBmo60F7rAxqNVmEMAEjdBOiy+4Me5OgdoAjRGzwqj9gKrm euk2wNlK4Yj0xbSD6r1q0k5ZYG/R+ZKCkxCHY60TGOtlaoR3TY1+8ZdheS0Gn3TaGfMw kw0q+hfPC5r/jKBUN4sAmcEV96D9NDYKlBTgd/LPxv4LLmYiE/1eNibGONkEzYhaVmDa TR2hZotzlJqx7FrQVx7qyxzmehRjReNC4Vfko6wChoxgRB+TdRVdzCFNPX/FgU7NWf6Q VRdudU36/aFwyqdS3UqRa8iFtEpB0hgfs7aftKQ3SDUiqyLgi4YD/Bi6iSAfKIzW8R26 8Mgg== MIME-Version: 1.0 Received: by 10.224.205.130 with SMTP id fq2mr1382608qab.53.1332258593082; Tue, 20 Mar 2012 08:49:53 -0700 (PDT) Received: by 10.229.163.204 with HTTP; Tue, 20 Mar 2012 08:49:53 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Mar 2012 15:49:53 +0000 Message-ID: From: Fabio Dive To: Warren Block Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-usb@freebsd.org Subject: Re: USB serial adapter, cu write: Device not configured X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 15:49:54 -0000 I forget to remember that I am receiving the output of the remote device if I bootstrap it, I even receive the login prompt, but I am not able to transmit, hitting a key produce: write: Device not configured thank you f. On Tue, Mar 20, 2012 at 15:23, Warren Block wrote: > On Sun, 18 Mar 2012, Warren Block wrote: > >> On Sun, 18 Mar 2012, Fabio Dive wrote: >> >>> Hello people! >>> >>> I write you because I have got a problem with the uplcom driver >>> on FreeBSD 9.0, I tried a lot of different things, read all I found, >>> manpages, forums, irc, google but still not able to solve my problem. >>> >>> I need to connect to my remote Alix board, >>> the remote console setup is 19200 8N1. >>> I am using a short USB Prolific Tec.. serial cable adapter with a >>> NULL modem cable, the last one plugged one side to the Alix board, >>> the other side to the adapter cable. >>> >>> Under Linux Debian everything is fine, so the hardware and cables >>> should be ok, under Linux I used minicom and cu and tip without problem= s. >>> With FreeBSD and NetBSD, big problems..the result is always >>> the same, I can receive but I cannot transmit. >>> >>> (working as root) >>> *cu -t -s 19200 -l /dev/cuaU0 >>> write: Device not configured >>> (I can't transmit but I can receive the output if I reboot the remote >>> alix board) >> >> >> Add the user to the dialer group. =C2=A0If that doesn't do it, make sure= the >> user has write permission to the USB device and /dev/cuaU0. > > > Managed to locate my PL2303 cable, and it works on 9-stable amd64 built > yesterday: > > =C2=A0% cu -l /dev/cuaU0 -s 19200 > =C2=A0can't open log file /var/log/aculog. > =C2=A0Connected > =C2=A0AT > =C2=A0OK > =C2=A0~ > =C2=A0[EOT] > > I typed the "AT". =C2=A0If the USB cable is disconnected and reconnected = while cu > still has it open, typing a character produces > > =C2=A0write: Device not configured > > because the device disappeared when the USB cable was unplugged. =C2=A0Th= e send > and receive LEDs on this modem also both go on, meaning some data is bein= g > continuously sent and echoed. > > /etc/devfs.rules (just the USB ones) > > =C2=A0[localrules=3D10] > =C2=A0add path 'ugen*' mode 0660 group operator > =C2=A0add path 'usb/*' mode 0660 group operator > > The user is a member of both dialer and operator groups. > > If it still does not work for you, check loader.conf and rc.conf for > nonstandard settings.