From owner-freebsd-usb@FreeBSD.ORG Tue Mar 20 15:59:56 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 478BA106564A for ; Tue, 20 Mar 2012 15:59:56 +0000 (UTC) (envelope-from fabiodive@gmail.com) Received: from mail-qa0-f47.google.com (mail-qa0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id EF2828FC15 for ; Tue, 20 Mar 2012 15:59:55 +0000 (UTC) Received: by qatm19 with SMTP id m19so1360404qat.13 for ; Tue, 20 Mar 2012 08:59:55 -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=b0dsNz6DAcU5WynHzGPRCFUxbwcaI/Dm7TUsoUDjElU=; b=0+UMNiukvj9aZejW09v/V0O/fBxxFnn8XwhM84aL33gFNi6xQF3uSS75e5UqdPILwY sUADd4li/cio002WD1lNPcZO6nIMUSRxFtO17cDEm/3cQ4vMihOK9+vzsesS9x1jDyku C9sKLTP2vbDDg6Awt4JDVvRPuo1uEBoS6b+fASXOZjk0FUhe9k51RW4fs6ZPD8Zq0ak4 PdnkHtAXMok/VllNAR2UN+yvlpoziCPYtMC2YNVtmC04+D2omgkx0ztha06N+g/3i/dc JMLmQyrFOI+35ShqRItQekhI+Xro5pXyYg3aISBpz9XtKEQ3SzH6yXnmKEOOQqNlNXiz Ikbw== MIME-Version: 1.0 Received: by 10.229.77.76 with SMTP id f12mr153722qck.91.1332258697844; Tue, 20 Mar 2012 08:51:37 -0700 (PDT) Received: by 10.229.163.204 with HTTP; Tue, 20 Mar 2012 08:51:37 -0700 (PDT) In-Reply-To: References: Date: Tue, 20 Mar 2012 15:51:37 +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:59:56 -0000 the groups of the user seaman are: seaman@bluehouse:~$ groups seaman wheel kmem operator dialer vboxusers usb thank you f. On Tue, Mar 20, 2012 at 15:49, Fabio Dive wrote: > 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 proble= ms. >>>> 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 sur= e 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=A0T= he send >> and receive LEDs on this modem also both go on, meaning some data is bei= ng >> 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.