https://bugzilla.novell.com/show_bug.cgi?id=218393 ------- Comment #28 from jsmeix@novell.com 2006-12-04 02:29 MST ------- For the log: Regarding the problem described since comment #19: I asked our HAL expert: ------------------------------------------------------------------------- according to https://bugzilla.novell.com/show_bug.cgi?id=218393#c19 and the subsequent comments, it seems HAL does not notice when fdi files are changed during runtime. For example the YaST scanner configuration adds entries to /etc/hal/fdi/policy/10osvendor/80-scanner.fdi to grant normal user access to scanners (via hal-resmgr). How can I trigger HAL to notice a changed fdi file or how can I let HAL re-process a particular fdi file? Note that unplug and replug of the device is not possible for SCSI scanners during runtime (and even for USB scanners it would be not nice when the YaST scanner configuration would have to tell the user that he must unplug and replug the device to the USB). ------------------------------------------------------------------------- His answer: --------------------------------------------------------------------------- IIRC: there is currently no mechanism in HAL to detect a change in a fdi-file while HAL is running and apply this changes to a related device which is already processed. You can do this: - remove and readd the device, hal should read the new fdi-file or: - you can try to call (replace $device_UDI with the udi of your device): dbus-send --system --print-reply --dest=org.freedesktop.Hal \ $device_UDI org.freedesktop.Hal.Device.Rescan IMO some automatic magic would be not the best idea, because you can't say which device is effected by a change in a fdi-file and hence HAL need to reprocess _all_ devices. A restart of HAL or a manually triggered rescan should be much better in this case. --------------------------------------------------------------------------- I will have a look at the "dbus-send" stuff - perhaps this may lead to a solution for the next openSUSE version? -- 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.