On Sunday 07 August 2016 05:07:06 Nicklas Karlsson wrote: > Listed by some kind of ID I remember it was. For profibus RS-485 over > profibus I think it should be even parity but have no idea if this is > common for other RS-485 use.
In the /dev/serial/by-id, I have a file named: usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 I tried to cat it, but thats obviously the port itself, so cat is stuck waiting for an input. I take it that is the link I should use to talk/listen to it. For testing purposes, I could hack up some command strings with a hex editor, if I can find a calc that does one byte xor's for one of the bytes, and an add, throw away the carry, for the next byte. Those are its error protections. The next question then is what module should I do a loadusr or a loadrt to use it? Or is this "fake" version with only 34 control registers an orphan? The wiki has .py code for a couple modules intended for something like a VFD. I've looked at the code without a glimmer of understanding. The wiki also does not demo a connection between the .py code and linuxcnc. So I assume its thru pyvcp? Does anyone know who wrote those 2 files? > On Sat, 6 Aug 2016 22:33:30 -0400 > > Gene Heskett <[email protected]> wrote: > > 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. So I attempted to set the baud_base for 9600, which needs to be 16x that 9600 or 153600, but that has no effect. gene@GO704:/dev/serial/by-id$ setserial -G usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 uart unknown port 0x0000 irq 0 baud_base 24000000 spd_normal low_latency gene@GO704:/dev/serial/by-id$ setserial usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 baud_base 153600 gene@GO704:/dev/serial/by-id$ setserial -G usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0 uart unknown port 0x0000 irq 0 baud_base 24000000 spd_normal low_latency No error, but no effect either. Me scratches hair and decides to go back to bed. I spent the day yesterday fighting with putting a new tire in the rider, but I'll be switched if I can't get it to seat the new tire's beads. So I'll take it to a place that deals in tires later this morning. Never did get to lay a wrench on the little monster. > > > > 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? > > > > 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. [...] 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
