Actually this fix seems incorrect for older releases. It adds an
additional bracketed section which is not allowed for by the consumer
and also shifts the -x.y part incorrectly into the third digit field
which could lead to incorrect version matches. Here is some testing
output from the _original_ code:
$ ./X
2.6.1-10.0 -> 2>6>1>-10.0
Kernel version is unsupported (too old, >= 2.6.5 needed)
2.6.39-20.1 -> 2>6>39>-20.1
3.0-5.1 -> >>>
Kernel version is unsupported (too old, >= 2.6.5 needed)
$
>From the code as uploaded in 1:3.2.0-1ubuntu2:
$ ./X
2.6.1-10.0 -> 2>6>.1>1
Kernel version is unsupported (too old, >= 2.6.5 needed)
2.6.39-20.1 -> 2>6>.39>39
Kernel version is unsupported (too old, >= 2.6.5 needed)
3.0-5.1 -> 3>0>>
$
>From the modified fix:
$ ./X
2.6.1-10.0 -> 2>6>1>-10.0
Kernel version is unsupported (too old, >= 2.6.5 needed)
2.6.39-20.1 -> 2>6>39>-20.1
3.0-5.1 -> 3>0>0>-5.1
Will prepare a branch with this applied which should appear connected to
this bug.
** Changed in: lm-sensors-3 (Ubuntu)
Status: Fix Released => In Progress
** Changed in: lm-sensors-3 (Ubuntu)
Assignee: (unassigned) => Andy Whitcroft (apw)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/797001
Title:
sensors-detect won't recognize 3.0 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/lmsensors/+bug/797001/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs