Device name limited to 39 characters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
digitemp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Recent udev in Ubuntu includes nifty permanent mappings for serial devices; for example, my 1wire master shows up as /dev/serial/
$ sudo digitemp_DS9097U -w -s /dev/serial/
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://
Error, serial port '/dev/serial/
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/
DigiTemp v3.5.0 Copyright 1996-2007 by Brian C. Lane
GNU Public License v2.0 - http://
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
ProcVersionSign
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)
The attachment "Change /dev max name length from 40 (39) chars to 1024 (1023)" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.
[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]