Red Hat Bugzilla – Bug 21482
[patch] "keep" setting does not persist when device comes back.
Last modified: 2014-03-16 22:17:24 EDT
if a device is removed from the system and 'keep configuration' is
selected, kudzu will ask again if the device was present in an intermediate
run but is removed at the current run.
As in: (*= run kudzu)
* laptop in docking station: devices detected, select 'configure'
* laptop out of docking station: missing devices detected, select 'keep'
* laptop in docking station: no message
* laptop out of docking station: missing devices detected again
IMHO there should be a selection for 'keep this time' and for 'always keep'.
Actually, that indicates a bug. Apologies for the late response. Does this
behavior persist in 7.2?
Yes, this behaviour persists in RHL 7.2 (fully updated as of yesterday with RHN)
This still behaves the same in 7.2 and in 7.3.94 ((null)) Public Beta.
1) Plug in a device, reboot, configure device in Kudzu
2) Unplug the device, reboot, select "keep" in Kudzu.
3) Plug, reboot.
4) Unplug, reboot.
Expected: the "keep" setting is remembered, Kudzu does not do anything.
Actual: Kudzu yet again asks whether to keep or remove the configuration.
This is pretty annoying, especially with laptops, where plugging/unplugging
devices is common. Especially annoying with docking stations - there kudzu will
ask the "keep" question for every device on the docking station...
P.S. Updated Severity and priority per notting's "that indicates a bug" comment.
I tend to agree - IMHO it's a bug.
Still there is Psyche...
Still there in Phoebe
Still there with kudzu-1.1.3-1.1
Created attachment 92237 [details]
Patch to kudzu to preserve 'detached' setting
Note that this changes compareDevice to also check the description. I find it
difficult to believe that this should not be checked - certainly I'm not aware
of any device that doesn't return a consistent description. However without it
compareDevice was matching up various completely unrelated USB devices (and
maybe others too).
Well didn't look like it was going to get fixed any other way, so please see the
patch I've added. I can't believe that the only laptop users who find this
behaviour extremely irritating are Aleksey and myself (to the point of me
disabling the kudzu 'service'). I've tested it on my laptop quite a bit and all
seems to work well.
Aleksey - I've rebuilt the RPMs with this patch. Feel free to give them a try.
Notting please review?
It checks the description, ergo, it's not correct for the general case.
As the interactive mode of kudzu has been removed in later releases (such as the
release shipped in FC4), changes in this area aren't planned.