Public bug reported: Recent udev in Ubuntu includes nifty permanent mappings for serial devices; for example, my 1wire master shows up as /dev/serial/by-id/usb- FTDI_FT232R_USB_UART_A800bZvc-if00-port0. However, when I try to use this with digitemp:
$ sudo digitemp_DS9097U -w -s /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A800bZvc-if00-port0 DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane GNU Public License v2.0 - http://www.digitemp.com Error, serial port '/dev/serial/by-id/usb-FTDI_FT232R_USB_U' does not exists! Attached is a patch bumping this limit from 39 (40 minus null) chars to 1023 (1024), fixing the problem: $ sudo digitemp_DS9097U -w -s /dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A800bZvc-if00-port0 DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane GNU Public License v2.0 - http://www.digitemp.com Turning off all DS2409 Couplers .. Devices on the Main LAN 28D1483C0200002F : DS18B20 Temperature Sensor 010EBED512000046 : DS2401/DS1990A Serial Number iButton I will be submitting this upstream as well. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: digitemp 3.5.0ds1-1 ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14 Uname: Linux 3.2.0-22-generic x86_64 ApportVersion: 2.0-0ubuntu4 Architecture: amd64 Date: Tue Apr 10 12:12:15 2012 InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 (20120229) ProcEnviron: TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: digitemp UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: digitemp (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/978294 Title: Device name limited to 39 characters To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/digitemp/+bug/978294/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs