Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #511280 > unrolled thread

FTDI chips VCP or VX drivers

Started by"mook Jonhon" <mook@mook.net>
First post2018-07-17 23:53 +0000
Last post2018-07-18 15:22 -0700
Articles 20 on this page of 78 — 21 participants

Back to article view | Back to sci.electronics.design


Contents

  FTDI chips   VCP or VX drivers "mook Jonhon" <mook@mook.net> - 2018-07-17 23:53 +0000
    Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-18 10:21 +0100
      Re: FTDI chips VCP or VX drivers jack4747@gmail.com - 2018-07-18 02:42 -0700
        Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-18 11:01 +0100
      Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-18 09:14 -0400
        Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-18 18:12 +0000
          Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-18 17:58 -0400
            Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-19 00:07 +0100
              Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 08:23 +0000
              Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 08:05 -0400
                Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 12:21 +0000
                  Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 08:35 -0400
                    Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-19 14:00 +0000
                      Re: FTDI chips VCP or VX drivers gnuarm.deletethisbit@gmail.com - 2018-07-19 08:05 -0700
                        Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-19 15:38 +0000
                          Re: FTDI chips VCP or VX drivers gnuarm.deletethisbit@gmail.com - 2018-07-19 12:56 -0700
                      Re: FTDI chips VCP or VX drivers Johnny B Good <johnny-b-good@invalid.ntlworld.com> - 2018-07-19 18:22 +0000
                      Re: FTDI chips VCP or VX drivers Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-07-19 11:37 -0700
                        Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-19 19:20 +0000
                          Re: FTDI chips VCP or VX drivers Lasse Langwadt Christensen <langwadt@fonz.dk> - 2018-07-19 12:39 -0700
                            Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 03:45 +0000
                              Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-21 17:20 -0400
                                Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-22 03:05 +0000
                                  Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-22 15:28 -0400
                                    Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-22 19:44 +0000
                                      Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-22 20:43 -0400
                        Re: FTDI chips VCP or VX drivers Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-19 21:54 +0200
                      Re: FTDI chips VCP or VX drivers Jasen Betts <jasen@xnet.co.nz> - 2018-07-20 06:11 +0000
                        Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 06:53 +0000
                          Re: FTDI chips VCP or VX drivers Jasen Betts <jasen@xnet.co.nz> - 2018-07-20 11:05 +0000
                            Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 12:21 +0000
                        Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 07:31 +0000
                    Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-19 07:48 -0700
                      Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 12:05 -0400
                        Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 16:40 +0000
                          Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-20 19:03 -0400
                            Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-21 10:13 +0000
                              Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-21 14:08 -0400
                            Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-21 17:33 -0400
                    Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-19 11:15 -0400
                Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-19 22:50 +0100
                  Re: FTDI chips VCP or VX drivers pcdhobbs@gmail.com - 2018-07-19 15:38 -0700
                  Re: FTDI chips VCP or VX drivers <698839253X6D445TD@nospam.org> - 2018-07-20 03:45 +0000
                    Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-20 08:51 +0100
            Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highland_snip_technology.com> - 2018-07-18 17:25 -0700
              Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 08:21 +0000
                Re: FTDI chips VCP or VX drivers "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-19 08:06 -0500
                  Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 16:08 +0000
                  Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 12:12 -0400
                    Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 16:41 +0000
                      Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-20 19:05 -0400
                        Re: FTDI chips VCP or VX drivers "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-20 18:29 -0500
                          Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-21 17:02 -0400
                            Re: FTDI chips VCP or VX drivers Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-22 00:04 +0200
                              Re: FTDI chips VCP or VX drivers Neon John <no@never.com> - 2018-07-22 16:15 -0400
                                Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-22 14:45 -0700
                                Re: FTDI chips VCP or VX drivers Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2018-07-24 23:59 +0200
                                  Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-25 07:27 +0000
                              Re: FTDI chips VCP or VX drivers DecadentLinuxUserNumeroUno@decadence.org - 2018-08-01 01:49 +0000
                        Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-21 10:16 +0000
                          Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-21 14:07 -0400
                            Re: FTDI chips VCP or VX drivers "Tim Williams" <tiwill@seventransistorlabs.com> - 2018-07-21 15:28 -0500
                            Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-22 18:15 +0000
                              Re: FTDI chips VCP or VX drivers pcdhobbs@gmail.com - 2018-07-22 11:25 -0700
                                Re: FTDI chips VCP or VX drivers Jeff Liebermann <jeffl@cruzio.com> - 2018-07-22 14:06 -0700
                                  Re: FTDI chips VCP or VX drivers pcdhobbs@gmail.com - 2018-07-22 15:41 -0700
                                    Re: FTDI chips VCP or VX drivers Jeff Liebermann <jeffl@cruzio.com> - 2018-07-22 20:22 -0700
                        Re: FTDI chips VCP or VX drivers Terry Newton <nbill@bellsouth.net> - 2018-07-31 18:36 +0000
                          Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-31 15:43 -0400
                          Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-31 21:07 +0000
                            Re: FTDI chips VCP or VX drivers dplatt@coop.radagast.org (Dave Platt) - 2018-07-31 14:20 -0700
                Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-19 06:36 -0700
              Re: FTDI chips VCP or VX drivers Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2018-07-19 08:07 -0400
                Re: FTDI chips VCP or VX drivers John Larkin <jjlarkin@highlandtechnology.com> - 2018-07-19 06:42 -0700
        Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-18 22:36 +0100
          Re: FTDI chips VCP or VX drivers Rob <nomail@example.com> - 2018-07-19 08:30 +0000
            Re: FTDI chips VCP or VX drivers Clive Arthur <cliveta@nowaytoday.co.uk> - 2018-07-19 10:17 +0100
        Re: FTDI chips VCP or VX drivers "John Miles, KE5FX" <jmiles@gmail.com> - 2018-07-18 15:22 -0700

Page 2 of 4 — ← Prev page 1 [2] 3 4  Next page →


#511504 — Re: FTDI chips VCP or VX drivers

From<698839253X6D445TD@nospam.org>
Date2018-07-20 03:45 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pirlvh$17iq$2@gioia.aioe.org>
In reply to#511463
Lasse Langwadt Christensen wrote:
>you'll also need to get the netmask right, I think most people use DHCP
>which solves that but leaves you with trying to figure out what IP

First thing I always do is disable DHCP everywhere.
So silly.
It may be different with WiFi, but WiFi is, at least these days,
totaly insecure, and should be avoided if possible.

[toc] | [prev] | [next] | [standalone]


#511698 — Re: FTDI chips VCP or VX drivers

FromNeon John <no@never.com>
Date2018-07-21 17:20 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<cbs3ld1htas10ve1upmc0ckj9l7so09iq5@4ax.com>
In reply to#511504
On Fri, 20 Jul 2018 03:45:54 GMT, <698839253X6D445TD@nospam.org>
wrote:

>Lasse Langwadt Christensen wrote:
>>you'll also need to get the netmask right, I think most people use DHCP
>>which solves that but leaves you with trying to figure out what IP
>
>First thing I always do is disable DHCP everywhere.
>So silly.

Yeah, such a silly thing to do.  It must be fun to grant access to a
friend or client.  Sheesh.

>It may be different with WiFi, but WiFi is, at least these days,
>totaly insecure, and should be avoided if possible.

Totally insecure?  Silly rabbit.  WPA2 serves maybe 99% of peoples'
needs.

I live in a remote fishing camp "resort".  There are maybe 200 people
here on any given weekend.  I sell Internet access.  I use a combo of
WPA2 and MAC security on the APs and a user/password on the main
server.  Been doing it about 5 years with no problems.  I've logged a
few hacking attempts but none succeeded.

I use the GRACE sharing application, modified to fit my application.
GRACE allows one to pre-print user/pw tokens.  This allows the store
to sell 3 day and 1 month tokens without my involvement.

A very satisfactory setup.

John

John DeArmond
http://www.neon-john.com
http://www.tnduction.com 
Tellico Plains, Occupied TN
See website for email address

[toc] | [prev] | [next] | [standalone]


#511712 — Re: FTDI chips VCP or VX drivers

From<698839253X6D445TD@nospam.org>
Date2018-07-22 03:05 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pj0sco$1hnn$1@gioia.aioe.org>
In reply to#511698
Neon John wrte:
>Totally insecure?  Silly rabbit.  WPA2 serves maybe 99% of peoples'
>needs.
>
>I live in a remote fishing camp "resort".  There are maybe 200 people
>here on any given weekend.  I sell Internet access.  I use a combo of
>WPA2 and MAC security on the APs and a user/password on the main
>server.  Been doing it about 5 years with no problems.  I've logged a
>few hacking attempts but none succeeded.
>
>I use the GRACE sharing application, modified to fit my application.
>GRACE allows one to pre-print user/pw tokens.  This allows the store
>to sell 3 day and 1 month tokens without my involvement.
>
>A very satisfactory setup.
>
>John

Limited view of reality.
Any wireless network can be jammed by even the simplest technology.
Permanently destroyed by EMP.
Infiltrated.
Take a moment and type in google:
  WPA2 hacked

Old hat.

For toy applications it may or may not do.
:-)
I would not send any sensitive data over it.

[toc] | [prev] | [next] | [standalone]


#511753 — Re: FTDI chips VCP or VX drivers

FromNeon John <no@never.com>
Date2018-07-22 15:28 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<0ri9ldt51pojoclkq1t2tvg740f5a2date@4ax.com>
In reply to#511712
On Sun, 22 Jul 2018 03:05:26 GMT, <698839253X6D445TD@nospam.org>
wrote:

>Neon John wrte:
>>Totally insecure?  Silly rabbit.  WPA2 serves maybe 99% of peoples'
>>needs.
>>
>>I live in a remote fishing camp "resort".  There are maybe 200 people
>>here on any given weekend.  I sell Internet access.  I use a combo of
>>WPA2 and MAC security on the APs and a user/password on the main
>>server.  Been doing it about 5 years with no problems.  I've logged a
>>few hacking attempts but none succeeded.
>>
>>I use the GRACE sharing application, modified to fit my application.
>>GRACE allows one to pre-print user/pw tokens.  This allows the store
>>to sell 3 day and 1 month tokens without my involvement.
>>
>>A very satisfactory setup.
>>
>>John
>
>Limited view of reality.

No, just a rational view.

>Any wireless network can be jammed by even the simplest technology.

Yes, I once demonstrated to a friend who owns a burglar alarm business
that I could jam an entire wireless system from the street using a
microwave oven with the door removed, operated on an inverter and held
up to the passenger side window.

What's your point?  Jamming is a DOS attack and not a security
vulnerability.  Are you one of those whose irrational hubris leads you
believe that you're so important so as to think that you'd be targeted
specifically?
>Permanently destroyed by EMP.

Really?  Do you know anything about EMP?  Describe to me how anyone
short of a government could generate an EMP intense enough to do that.
And how do you think your wired networks would behave?  Think you
might be personally targeted? Again, more hubris to think that you are
so special that you would be specifically targeted.  Finally, what
relationship do you think EMP relates to the average user?

>Infiltrated.

Yeah, probably by the government.  So?  A vanishingly few people have
to worry about this.  A civilian lab experiment?  Not interested.

>Take a moment and type in google:
>  WPA2 hacked
>
>Old hat.

Yep, KRACK is a few years old but it is not a threat to the average
user.  A cracker must target a specific AP for the vulnerability to
matter.

Here's a rational article on KRACK and the minimal risk it poses

https://www.technobuffalo.com/2017/10/16/wpa2-hacked-krack-wireless/

I've already received patch updates to my HughsNet satellite
modem/router and to Ubuntu.  KRACK is now ancient history in my world.

>I would not send any sensitive data over it.

You're an extreme outlier paranoid extremist.  If you were in
medicine, you'd treat the common cold with the same severity as say,
MERSA.  I pity the people who receive advice from you.

John
John DeArmond
http://www.neon-john.com
http://www.tnduction.com 
Tellico Plains, Occupied TN
See website for email address

[toc] | [prev] | [next] | [standalone]


#511756 — Re: FTDI chips VCP or VX drivers

From<698839253X6D445TD@nospam.org>
Date2018-07-22 19:44 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pj2mrs$hkj$1@gioia.aioe.org>
In reply to#511753
Neon John
>You're an extreme outlier paranoid extremist.

So sad, you did not learn a thing.
Waste of time.

[toc] | [prev] | [next] | [standalone]


#511794 — Re: FTDI chips VCP or VX drivers

FromNeon John <no@never.com>
Date2018-07-22 20:43 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<d39ald1v6mvk4g2sveqv11lbjisa4d4s71@4ax.com>
In reply to#511756
On Sun, 22 Jul 2018 19:44:51 GMT, <698839253X6D445TD@nospam.org>
wrote:

>Neon John
>>You're an extreme outlier paranoid extremist.
>
>So sad, you did not learn a thing.
>Waste of time.

You didn't offer a thing and if you had, nobody would take someone
seriously who is paranoid to hide behind a nym.

Bye
John
John DeArmond
http://www.neon-john.com
http://www.tnduction.com 
Tellico Plains, Occupied TN
See website for email address

[toc] | [prev] | [next] | [standalone]


#511468 — Re: FTDI chips VCP or VX drivers

FromGerhard Hoffmann <ghf@hoffmann-hochfrequenz.de>
Date2018-07-19 21:54 +0200
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<frc8k5FoahjU1@mid.individual.net>
In reply to#511456
Am 19.07.2018 um 20:37 schrieb Lasse Langwadt Christensen:

> 
> but then you need a switch or hub and the guessing game of trying to figure
> out the IP
> 

Now, with the avahi demon installed, you can simply write
"ping MyScope.local" and it will be found if it is on the lan.
Avahi cares about and configures(if needed) only local devices on
your own LAN. Just attach a .local to the device name. It is standard
on Ubuntu & derived systems like Mint, among others.

You could just as well open the web server page of your DSL router box
and see who's there on the lan and what IP address it has been given.

regards, Gerhard

[toc] | [prev] | [next] | [standalone]


#511519 — Re: FTDI chips VCP or VX drivers

FromJasen Betts <jasen@xnet.co.nz>
Date2018-07-20 06:11 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<piruei$50t$2@gonzo.alcatraz>
In reply to#511418
On 2018-07-19, <698839253X6D445TD@nospam.org> <698839253X6D445TD@nospam.org> wrote:
> Phil Hobbs wrote
>>Having the device squirt its ID string out the UART when idle is a 
>>pretty complete solution to those problems.  You just connect, listen 
>>for a bit, then move on.
>
> Actually it is not.
> One problem with the Linux kernel and renumbering /dev/ttyUSB* after a re-connect
> is that the kernel will hang after some reconnects.
> This can happen if there is a bad contact, quite common, an intermittent contact in the USB connector.
> From this follows USB serial devices are a no no for any life support system (or anything critical).
> I have tested this kernel hangup (couple of hundred times does it).
>
> Best is to use ethernet, a TCP or UDP stack is simple to implement and gives you galvanic isolation.
> Or if you must, use POE.

I've seen cisco/linkysys switches crash from reconnects (takes about 50 times power-cycling a raspberry pi)

-- 
     ت

[toc] | [prev] | [next] | [standalone]


#511521 — Re: FTDI chips VCP or VX drivers

From<698839253X6D445TD@nospam.org>
Date2018-07-20 06:53 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pis105$1nrj$1@gioia.aioe.org>
In reply to#511519
Jasen Betts wrote:
>I've seen cisco/linkysys switches crash from reconnects (takes about 50 times power-cycling a raspberry pi)

Have not seen it with my switches, but those are cheap ones, some from ebay...
Plenty of raspies here, 
did you monitor the traffic if it was still asking for the MAC for the 
IP adress?
Sometimes, when for example you switch off the router, it may take up
to maybe a few minutes before you get a reply with the MAC of the requested IP address.
That effect is 100% reproducable.

If you panic and do a power cycle on the switches it will do a new routing
immediately. 

I am referring to ARP requests:
 07/20-08:43:49.164242 ARP who-has 192.168.178.123 tell 192.168.178.159

I use 'snort' to monitor traffic on the LAN:

 snort -i eth0 -v -d

[toc] | [prev] | [next] | [standalone]


#511544 — Re: FTDI chips VCP or VX drivers

FromJasen Betts <jasen@xnet.co.nz>
Date2018-07-20 11:05 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pisfl9$dk1$1@gonzo.alcatraz>
In reply to#511521
On 2018-07-20, <698839253X6D445TD@nospam.org> <698839253X6D445TD@nospam.org> wrote:
> Jasen Betts wrote:
>>I've seen cisco/linkysys switches crash from reconnects (takes about 50 times power-cycling a raspberry pi)
>
> Have not seen it with my switches, but those are cheap ones, some from ebay...
> Plenty of raspies here, 
> did you monitor the traffic if it was still asking for the MAC for the 
> IP adress?

The switch (a cheap-ish 10/100 8 port desktop switch) lost it's ability to speak ethernet 
on the port that the Raspberry-Pi was connected to, the Pi would try DHCP if we connected
it to a different switch port. the dead port stayed unresponsive until the switch was 
power-cycled.

> Sometimes, when for example you switch off the router, it may take up
> to maybe a few minutes before you get a reply with the MAC of the requested IP address.
> That effect is 100% reproducable.

The router (we were using PC for this task) wasn't having any problems. just the switch.

-- 
     ت

[toc] | [prev] | [next] | [standalone]


#511551 — Re: FTDI chips VCP or VX drivers

From<698839253X6D445TD@nospam.org>
Date2018-07-20 12:21 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pisk79$t63$1@gioia.aioe.org>
In reply to#511544
Jasen Betts wrote:
>The switch (a cheap-ish 10/100 8 port desktop switch) lost it's ability to speak ethernet 
>on the port that the Raspberry-Pi was connected to, the Pi would try DHCP if we connected
>it to a different switch port. the dead port stayed unresponsive until the switch was 
>power-cycled.
..
>The router (we were using PC for this task) wasn't having any problems. just the switch.

The disconnect router was just an example to show it may take some time for the switch / network ARP to 
get the MACs if there are network changes.
I always switch off DHCP, do not see the point of it on a wired LAN with just some devices.

I have 3 rapis online, 1 24/7, and a lot of sensors that use UDP.
Bunch of PCs, cable modem, laptop.. 2 cheap 8 port switches full, some POE channels.
Never a problem with the network as far as I can remember (been running for years in various configurations).
One raspi is web server too, more problems with hackers trying out all sorts of things on the Apache server.
Internet is wild wild west ..

[toc] | [prev] | [next] | [standalone]


#511529 — Re: FTDI chips VCP or VX drivers

From<698839253X6D445TD@nospam.org>
Date2018-07-20 07:31 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<pis36h$1s4r$1@gioia.aioe.org>
In reply to#511519
I am referring to ARP requests:
 07/20-08:43:49.164242 ARP who-has 192.168.178.123 tell 192.168.178.159

I use 'snort' to monitor traffic on the LAN:

 snort -i eth0 -v -d

Or, to see only ARP traffic:

# snort -i eth0 -v -d | grep ARP
07/20-09:21:35.158942 ARP who-has 192.168.178.73 tell 192.168.178.82
07/20-09:21:35.159531 ARP reply 192.168.178.73 is-at B8:27:EB:A:2C:43
07/20-09:21:35.646355 ARP who-has 192.168.178.77 tell 192.168.178.73
07/20-09:21:36.086848 ARP who-has 192.168.178.73 tell 192.168.178.82
07/20-09:21:36.087295 ARP reply 192.168.178.73 is-at B8:27:EB:A:2C:43

Note ...77 is disconnected, system keeps asking for its MAC
...73 is a raspberry
...82 is a sensor that wants to send data to the raspi at ...73

[toc] | [prev] | [next] | [standalone]


#511424 — Re: FTDI chips VCP or VX drivers

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2018-07-19 07:48 -0700
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<i091ld1il3ofmbfigntmeugav8nj4cfl1i@4ax.com>
In reply to#511401
On Thu, 19 Jul 2018 08:35:44 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:

>On 07/19/18 08:21, Rob wrote:
>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>> On 07/18/18 19:07, Clive Arthur wrote:
>>>> On 18/07/2018 22:58, Phil Hobbs wrote:
>>>> <snipped>
>>>>>
>>>>> One approach to the COM port problem is to have the gizmo spit its ID
>>>>> string out the UART periodically when it's idle.  Enumerate the ports,
>>>>> look for the one with a valid ID string, and you're done.
>>>>>
>>>>> Using putty or another terminal emulator would do this the manual way.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Phil Hobbs
>>>>>
>>>>
>>>> Customers want to plug in their very expensive box-of-tricks like it was
>>>> a mouse.  Com ports are great for development, and ideal for cowboys.
>>>>
>>>> Cheers
>>>
>>> Well, if your customers are all on Windows, God bless.  We're an
>>> all-Linux shop here, and our customers are mostly technical folks.
>> 
>> With Linux there still is the problem that by default the system will
>> assign the devices names like /dev/ttyUSB0 /dev/ttyUSB1 etc with a
>> "random" order determined by the order of plugin, and different after
>> a reboot.  When your customer has added your device while something
>> else is already plugged in, it will be /dev/ttyUSB1 but after the
>> next reboot it could be /dev/ttyUSB0 when that first device is not
>> connected during the reboot, or even when it is!  (the two would just
>> swap on reboot)
>> 
>> It is possible to work around this, but the way to do it would be
>> considered "black magic" by most users (writing udev rule files) and
>> before you know, the systemd folks have declared it "deprecated".
>> (as they always do when they find some feature they find difficult
>> to implement in their do-it-all program and don't immediately see
>> the need for in their limited "all users work on a laptop" world)
>> 
>> One place where it is explained:
>> http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/
>> 
>
>Having the device squirt its ID string out the UART when idle is a 
>pretty complete solution to those problems.  You just connect, listen 
>for a bit, then move on.
>
>Cheers
>
>Phil Hobbs

Running a terminal program, that would fill up/scroll the screen.

And make scans slow.


-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [prev] | [next] | [standalone]


#511438 — Re: FTDI chips VCP or VX drivers

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2018-07-19 12:05 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<PIednS5IKpJOK83GnZ2dnUU7-IGdnZ2d@supernews.com>
In reply to#511424
On 07/19/18 10:48, John Larkin wrote:
> On Thu, 19 Jul 2018 08:35:44 -0400, Phil Hobbs 
> <pcdhSpamMeSenseless@electrooptical.net> wrote:
> 
>> On 07/19/18 08:21, Rob wrote:
>>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>>> On 07/18/18 19:07, Clive Arthur wrote:
>>>>> On 18/07/2018 22:58, Phil Hobbs wrote: <snipped>
>>>>>> 
>>>>>> One approach to the COM port problem is to have the gizmo
>>>>>> spit its ID string out the UART periodically when it's
>>>>>> idle.  Enumerate the ports, look for the one with a valid
>>>>>> ID string, and you're done.
>>>>>> 
>>>>>> Using putty or another terminal emulator would do this the
>>>>>> manual way.
>>>>>> 
>>>>>> Cheers
>>>>>> 
>>>>>> Phil Hobbs
>>>>>> 
>>>>> 
>>>>> Customers want to plug in their very expensive box-of-tricks
>>>>> like it was a mouse.  Com ports are great for development,
>>>>> and ideal for cowboys.
>>>>> 
>>>>> Cheers
>>>> 
>>>> Well, if your customers are all on Windows, God bless.  We're
>>>> an all-Linux shop here, and our customers are mostly technical
>>>> folks.
>>> 
>>> With Linux there still is the problem that by default the system
>>> will assign the devices names like /dev/ttyUSB0 /dev/ttyUSB1 etc
>>> with a "random" order determined by the order of plugin, and
>>> different after a reboot.  When your customer has added your
>>> device while something else is already plugged in, it will be
>>> /dev/ttyUSB1 but after the next reboot it could be /dev/ttyUSB0
>>> when that first device is not connected during the reboot, or
>>> even when it is!  (the two would just swap on reboot)
>>> 
>>> It is possible to work around this, but the way to do it would
>>> be considered "black magic" by most users (writing udev rule
>>> files) and before you know, the systemd folks have declared it
>>> "deprecated". (as they always do when they find some feature they
>>> find difficult to implement in their do-it-all program and don't
>>> immediately see the need for in their limited "all users work on
>>> a laptop" world)
>>> 
>>> One place where it is explained: 
>>> http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/
>>>
>>
>>
>>> 
Having the device squirt its ID string out the UART when idle is a
>> pretty complete solution to those problems.  You just connect,
>> listen for a bit, then move on.
>> 
>> Cheers
>> 
>> Phil Hobbs
> 
> Running a terminal program, that would fill up/scroll the screen.

Depends how you do it.  First valid command would turn it off.  Plus if 
you like you could make it all non-printing characters.

> And make scans slow.

Nobody says you can't open all the comm ports at once, so if spits out 
the string every three seconds, you're all connected in three seconds at 
most.

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

[toc] | [prev] | [next] | [standalone]


#511443 — Re: FTDI chips VCP or VX drivers

FromRob <nomail@example.com>
Date2018-07-19 16:40 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<slrnpl1fnc.5bf.nomail@xs9.xs4all.nl>
In reply to#511438
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
> Nobody says you can't open all the comm ports at once, so if spits out 
> the string every three seconds, you're all connected in three seconds at 
> most.

Reading data from a port that is in use disturbs the other user of
the port.  They won't get that data.

[toc] | [prev] | [next] | [standalone]


#511634 — Re: FTDI chips VCP or VX drivers

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2018-07-20 19:03 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<4fOdnZ4xabSl98_GnZ2dnUU7-K2dnZ2d@supernews.com>
In reply to#511443
On 07/19/18 12:40, Rob wrote:
> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>> Nobody says you can't open all the comm ports at once, so if spits out
>> the string every three seconds, you're all connected in three seconds at
>> most.
> 
> Reading data from a port that is in use disturbs the other user of
> the port.  They won't get that data.
> 

You can't open a port that some other process is connected to.  In Linux 
you can open files multiple times from the same process, but not from 
different processes.  Windows enforces that on a per-handle basis rather 
than per-process.

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

[toc] | [prev] | [next] | [standalone]


#511675 — Re: FTDI chips VCP or VX drivers

FromRob <nomail@example.com>
Date2018-07-21 10:13 +0000
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<slrnpl61qh.dff.nomail@xs9.xs4all.nl>
In reply to#511634
Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
> On 07/19/18 12:40, Rob wrote:
>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>> Nobody says you can't open all the comm ports at once, so if spits out
>>> the string every three seconds, you're all connected in three seconds at
>>> most.
>> 
>> Reading data from a port that is in use disturbs the other user of
>> the port.  They won't get that data.
>> 
>
> You can't open a port that some other process is connected to.  In Linux 
> you can open files multiple times from the same process, but not from 
> different processes.  Windows enforces that on a per-handle basis rather 
> than per-process.

In Linux you can open files multiple times from any process, unless
some mechanism is used to prevent it.  For serial ports, the de-facto
standard is to create a "lock file" to reserve the port for your use.
This was first done in UUCP and the lockfile mechanism still refers
to that.

There have been attempts at creating variants of the serial ports device
files that only allow exclusive opens (cua) but they have been abandoned.

In some cases I open a serial port in once process to do the serial I/O
in 3-wire fashion and in another process to use the control lines for
random input or output and it still works fine in the current versions.
If course one process only does read/write and the other only does ioctl
to read or set the control lines.

(no idea if the systemd folks already have plans to deprecate that)

[toc] | [prev] | [next] | [standalone]


#511685 — Re: FTDI chips VCP or VX drivers

FromPhil Hobbs <pcdhSpamMeSenseless@electrooptical.net>
Date2018-07-21 14:08 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<5OCdnZDkoO8o687GnZ2dnUU7-SUAAAAA@supernews.com>
In reply to#511675
On 07/21/2018 06:13 AM, Rob wrote:
> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>> On 07/19/18 12:40, Rob wrote:
>>> Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> wrote:
>>>> Nobody says you can't open all the comm ports at once, so if spits out
>>>> the string every three seconds, you're all connected in three seconds at
>>>> most.
>>>
>>> Reading data from a port that is in use disturbs the other user of
>>> the port.  They won't get that data.
>>>
>>
>> You can't open a port that some other process is connected to.  In Linux
>> you can open files multiple times from the same process, but not from
>> different processes.  Windows enforces that on a per-handle basis rather
>> than per-process.
> 
> In Linux you can open files multiple times from any process, unless
> some mechanism is used to prevent it.  For serial ports, the de-facto
> standard is to create a "lock file" to reserve the port for your use.
> This was first done in UUCP and the lockfile mechanism still refers
> to that.

I obviously mis-remembered, thanks.  Haven't written communications 
software in about a decade.

Cheers

Phil Hobbs

-- 
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC / Hobbs ElectroOptics
Optics, Electro-optics, Photonics, Analog Electronics
Briarcliff Manor NY 10510

http://electrooptical.net
http://hobbs-eo.com

[toc] | [prev] | [next] | [standalone]


#511699 — Re: FTDI chips VCP or VX drivers

FromNeon John <no@never.com>
Date2018-07-21 17:33 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<cv87ldh8adknun8c5gc7u4f5cdkr1p5hbs@4ax.com>
In reply to#511634
On Fri, 20 Jul 2018 19:03:20 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:


>You can't open a port that some other process is connected to.  In Linux 
>you can open files multiple times from the same process, but not from 
>different processes.  Windows enforces that on a per-handle basis rather 
>than per-process.

I think that's true only if you have file locking enabled.  Even then,
I don't think many applications use it.  Libre-office is the only
application I can think of that uses OS locking.

GVIM uses a lock file but offers one the option of overriding it.  And
if something else modifies the file being edited, GVIM detects the
change and asks the user what to do.

My standard development environment is to have the file being edited
opened in 2 instances of GVIM and a terminal from which to run my
compile script (about 10x faster than make).  A second terminal is
open with gdb.

This setup works very smoothly.

John
John DeArmond
http://www.neon-john.com
http://www.tnduction.com 
Tellico Plains, Occupied TN
See website for email address

[toc] | [prev] | [next] | [standalone]


#511428 — Re: FTDI chips VCP or VX drivers

FromNeon John <no@never.com>
Date2018-07-19 11:15 -0400
SubjectRe: FTDI chips VCP or VX drivers
Message-ID<jia1ld1gei7gc52kook5ac6l06i8hq5pir@4ax.com>
In reply to#511401
On Thu, 19 Jul 2018 08:35:44 -0400, Phil Hobbs
<pcdhSpamMeSenseless@electrooptical.net> wrote:


>Having the device squirt its ID string out the UART when idle is a 
>pretty complete solution to those problems.  You just connect, listen 
>for a bit, then move on.

I've never had the described problems running Ubuntu for about 10
years now but I guess it could happen with other distributions.  A
handy thing to know is that the command line program "lsusb" lists
everything connected and details about the connection.

John
John DeArmond
http://www.neon-john.com
http://www.tnduction.com 
Tellico Plains, Occupied TN
See website for email address

[toc] | [prev] | [next] | [standalone]


Page 2 of 4 — ← Prev page 1 [2] 3 4  Next page →

Back to top | Article view | sci.electronics.design


csiph-web