hal: Branch 'master'

Danny Kukawka danny.kukawka at web.de
Mon Oct 27 10:56:49 PDT 2008


Hi,

thats confusing. AFAICS in the code the order of the device handler shouldn't 
matter since hotplug_event_begin_add_dev() matches only a hotplug event 
against the list of the existing device handlers. 

Do you have a log from the situation the problem occurs? I would like to take 
a deeper look at the problem

Danny

On Montag, 27. Oktober 2008, Richard Hughes wrote:
>  hald/linux/device.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> New commits:
> commit 9ef488ecd56ad36e89529fd6c4c50fb856acff49
> Author: Richard Hughes <richard at hughsie.com>
> Date:   Mon Oct 27 17:35:30 2008 +0000
>
>     revert a tiny bit of the device ording change as it breaks printer
> detection
>
>     Plugging in a printer no longer automatically configures a queue
>     because hal
>     is failing to fill in 'printer.*' attributes.
>
>     Patch from Tim Waugh <twaugh at redhat.com> fixes things
>
> diff --git a/hald/linux/device.c b/hald/linux/device.c
> index 7f529f3..b7912ca 100644
> --- a/hald/linux/device.c
> +++ b/hald/linux/device.c
> @@ -4466,8 +4466,8 @@ static DevHandler *dev_handlers[] = {
>  	&dev_handler_sound,
>  	&dev_handler_tape,
>  	&dev_handler_tape390,
> -	&dev_handler_usb,
>  	&dev_handler_usbclass,
> +	&dev_handler_usb,
>  	&dev_handler_usbraw,
>  	&dev_handler_video4linux,
>  	&dev_handler_vio,
> _______________________________________________
> hal-commit mailing list
> hal-commit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/hal-commit




More information about the hal-commit mailing list