Package: minicom
Version: 2.6.1-1
Severity: normal

Dear Maintainer,

123456789012345678901234567890123456789012345678901234567890123456789012
minicom cuts off the name of the serial device file at the first colon,
so by-path persistent serial device names can't be used; at least not
for USB serial adapters.

I'm using several el-cheapo USB serial adapters that have no serial
number on the same host, so the only way to distinguish them reliably is
to identify them by the physical port of the USB hub they're plugged
into, which is exactly what the /dev/serial/by-path/*usb* symlinks do.

To reproduce:

1. Plug in a USB serial adapter
2. Check /dev/serial/by-path for the device name, e.g.
   /dev/serial/by-path/platform-orion-ehci.0-usb-0:1.1:1.0-port0
3. Create a new minicom configuration file:
   minicom -s P1
4. In "Serial port setup", enter the device name from 2. in
   A - Serial Device.
5. Choose "Exit" (not "Exit from Minicom")
6. The following error message will appear:
   minicom: cannot open /dev/serial/by-path/platform-orion-ehci.0-usb-0: No 
such file or directory


As you can see, minicom cuts off the device name after the first
colon. Shortening the path (for testing purposes) or adding a backslash
for to escape the colon shows the same result.

minicom(1) mentions space, comma and semicolon as special characters in
the device name, but not colon.


-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: armel (armv5tel)

Kernel: Linux 3.2.0-4-kirkwood
Locale: LANG=en_GB, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages minicom depends on:
ii  libc6      2.13-37
ii  libtinfo5  5.9-10

Versions of packages minicom recommends:
ii  lrzsz  0.12.21-5

minicom suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to