[Bug 205399] New: in HAL fdi file <append key="@info.parent:...> seems not to work
https://bugzilla.novell.com/show_bug.cgi?id=205399 Summary: in HAL fdi file <append key="@info.parent:...> seems not to work Product: SUSE Linux 10.1 Version: Final Platform: i386 OS/Version: SuSE Linux 10.1 Status: NEW Severity: Normal Priority: P5 - None Component: Hotplug AssignedTo: dkukawka@novell.com ReportedBy: jsmeix@novell.com QAContact: qa@suse.de Perhaps I misunderstand the documentation: /usr/share/doc/packages/hal/spec/hal-spec.html#spec-device-info reads in section "Chapter 7. Device Information Files" that <append key="@info.parent:...> should work. But when I use the attached fdi file, I get in lshal the attached result - in particular: ----------------------------------------------------------------------------- udi = '/org/freedesktop/Hal/devices/usb_device_4a9_220e_noserial_usbraw' @info.parent:info.capabilities = {'scanner'} (string list) ----------------------------------------------------------------------------- There seem to be two bugs: 1. The entry is added to the current UDI and not to the UDI of its parent. 2. The new key is prepended with "@info.parent:" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205399 ------- Comment #1 from jsmeix@novell.com 2006-09-13 04:51 MST ------- Created an attachment (id=98562) --> (https://bugzilla.novell.com/attachment.cgi?id=98562&action=view) fdi file -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205399 ------- Comment #2 from jsmeix@novell.com 2006-09-13 04:52 MST ------- Created an attachment (id=98563) --> (https://bugzilla.novell.com/attachment.cgi?id=98563&action=view) output of lshal -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205399 ------- Comment #3 from dkukawka@novell.com 2006-09-14 09:48 MST ------- Yes, looks like a bug to add a @info.parent: key, but not shure if this is really allowed: <append key="@info.parent:info.capabilities" type="strlist">scanner</append> IIRC this was never done by any other fdi file and should not work with the current code in HAL because the match is done to one special device and you can't add here information to an other device other via @. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205399 behlert@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Hotplug |Hotplug Priority|P5 - None |P3 - Medium Product|SUSE Linux 10.1 |openSUSE 10.3 Version|Final |Alpha 0plus ------- Comment #4 from behlert@novell.com 2007-02-15 03:07 MST ------- Let's look at this for 10.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205399 ------- Comment #5 from dkukawka@novell.com 2007-02-24 09:46 MST ------- There is a report and a maybe working patch for the problem (the fdi-directives append and prepend are effected), need to test. For more see this link: https://bugs.freedesktop.org/attachment.cgi?id=8581&action=view -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=205399#c6 Danny Kukawka <dkukawka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Danny Kukawka <dkukawka@novell.com> 2007-08-27 13:25:02 MST --- fixed the problem and submitted to upstream and STABLE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com