On Saturday 06 August 2016 10:01:33 Nicklas Karlsson wrote: > It get listed in /dev but probably as /dev/ttyUSBx. It should also be > possible to access it by serial number or similar so that it does not > move. > It showed up in two places Nicklas, once as a /dev/serial directory, with subdirs by-id and by-path in it and once as /dev/ttyUSB0. I played a bit with setserial -G but couldn't make sense out of the response. I need to set it for 9600-8n1 (I think) according to this teeny booklet.
And the setserial man page has shrunk 10 kilobytes from the 1998 version. Humm, the last time I fired up minicom, it still had the tools to do this, maybe I could cheat and use it? This also showed up at the same time: gene@GO704:~$ ls -l /dev/ptmx crw-rw-rw- 1 root root 5, 2 Aug 6 21:56 /dev/ptmx But setserial just threw up its hands & said "invalid argument". But I see now that the time corresponds to my having to put a fresh AAA in the mouse just a bit ago. I see on our wiki that there is a vfd.py, and a comm.py that looks like it could supply some raw material IF one was a python guru, but you shouldn't use those kinds of words when describing me. Thanks Nicklas. > On Sat, 6 Aug 2016 09:24:22 -0400 > > Gene Heskett <[email protected]> wrote: > > Greetings everybody; > > > > 2 question that I assume are two separate problems. > > > > 1. How is the detected usb port when these things are plugged in, > > linked to become available to hal? > > > > 2. This "fake" vfd I have, is there a way to query it and determine > > if we have a driver for it, or will I have to write a .comp file for > > it. I do have the definitions of both the 13 byte packets sent by > > the inverter, and the 9 byte command strings to be sent to it. > > > > It appears that control by both paths is possible at the same time, > > so one could drive it with a run/stop line, a direction line, and a > > pwmgen output buffered by a cmos stage running on 5.0 volts directly > > into those 3 terminals. However, from the looks of the command > > strings definitions, it looks as if anything one can do from its > > panel buttons, can also be done by the command sent. There is also > > a rather extensive error checking in each string along with a much > > better than a single bit synch sequence. The inverter sends data > > actively, so no need to query it, and apparently receives commands > > asynchronously, eg anytime sent. > > > > So, the first thing I assume is to plug in one of these usb-485 > > converters, and hook it to the + and - terminals on the inverter and > > make data flow. I am assuming its an hid type device. I'll take a > > data cable out and do that plugin bit & see what dmesg says at some > > point today and relate what I see. > > > > Cheers, Gene Heskett > > -- > > "There are four boxes to be used in defense of liberty: > > soap, ballot, jury, and ammo. Please use in that order." > > -Ed Howdershelt (Author) > > Genes Web page <http://geneslinuxbox.net:6309/gene> > > > > -------------------------------------------------------------------- > >---------- _______________________________________________ > > Emc-developers mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/emc-developers > > ---------------------------------------------------------------------- >-------- _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
