Date: Tue, 20 Mar 2012 15:51:37 +0000 From: Fabio Dive <fabiodive@gmail.com> To: Warren Block <wblock@wonkity.com> Cc: freebsd-usb@freebsd.org Subject: Re: USB serial adapter, cu write: Device not configured Message-ID: <CAK9U=RwO40njNdnJEJCaiafrjyQO83UeBvpQOsGaUZAFhQbfPQ@mail.gmail.com> In-Reply-To: <CAK9U=RwGq%2Bu_%2B7n1BLJTMPX6xhwfbNbxD-q8oHB8qEPyde6rsQ@mail.gmail.com> References: <CAK9U=RxeoHAXa-2cVdY9DRWCSex5jxkuwEzO4EnTWvVrJiNPzw@mail.gmail.com> <alpine.BSF.2.00.1203181254001.85810@wonkity.com> <alpine.BSF.2.00.1203200907000.96368@wonkity.com> <CAK9U=RwGq%2Bu_%2B7n1BLJTMPX6xhwfbNbxD-q8oHB8qEPyde6rsQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <fabiodive@gmail.com> 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 <wblock@wonkity.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAK9U=RwO40njNdnJEJCaiafrjyQO83UeBvpQOsGaUZAFhQbfPQ>