Menu

#29 cu device support for serial.tools.list_ports.comports()

closed
None
5
2015-09-22
2012-05-10
No

List com ports only lists the tty devices not the cu devices.

I would like the list to include /dev/cu* devices optionally.

serial.tools.list_ports.comports(devices=('cu', 'tty'))
defaulting to ('tty',)

Discussion

  • Chris Liechti

    Chris Liechti - 2015-08-06
    • status: open --> pending
    • assigned_to: Chris Liechti
    • Group: --> Next Release (example)
     
  • Chris Liechti

    Chris Liechti - 2015-08-06

    to which platform would that apply? OSX? posix in general?

    linux, OSX (and windows) now have dedicated port listing functions where it should not be needed to "patch" the list of names.

     
  • Chris Liechti

    Chris Liechti - 2015-09-22
    • status: pending --> closed
     
  • Chris Liechti

    Chris Liechti - 2015-09-22

    OSX has it own list_ports function for some time
    current implementation at https://github.com/pyserial/pyserial

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.