Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port logging Serial Port via USB with USB expander #460

Closed
humblewizard opened this issue Feb 15, 2015 · 1 comment
Closed

Port logging Serial Port via USB with USB expander #460

humblewizard opened this issue Feb 15, 2015 · 1 comment

Comments

@humblewizard
Copy link

Port logging with node > serialport is not picking up all the ports connected through a USB expander. I have a 1:4 USB expander with a Prolific RS232->USB plugged into each USB port. The Linux OS sees all of the ports:

  $ sudo setserial -g /dev/ttyUSB*
  /dev/ttyUSB0, UART: 16654, Port: 0x0000, IRQ: 0
  /dev/ttyUSB1, UART: 16654, Port: 0x0000, IRQ: 0
  /dev/ttyUSB2, UART: 16654, Port: 0x0000, IRQ: 0
  /dev/ttyUSB3, UART: 16654, Port: 0x0000, IRQ: 0
  /dev/ttyUSB4, UART: 16654, Port: 0x0000, IRQ: 0

However the serialport code only sees one of them:

  com.list(function (err, ports){
   ports.forEach(function(port){
    console.log(port.comName);
    console.log(port.pnpId);
    console.log(port.manufacturer);
   });
   console.log("Finished Port Logging\n\n");
  });

The port it sees changes if I move them around on the expander module. This is a bit of a road block for me right now.

@jacobrosenthal
Copy link
Contributor

Tracking similar issue at #610

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants