diff -up sane-backends-1.0.19/tools/sane-desc.c.policykit sane-backends-1.0.19/tools/sane-desc.c --- sane-backends-1.0.19/tools/sane-desc.c.policykit 2007-07-29 20:39:54.000000000 +0200 +++ sane-backends-1.0.19/tools/sane-desc.c 2008-02-13 10:18:23.000000000 +0100 @@ -3226,7 +3226,7 @@ print_udev (void) } } printf ("\n"); - printf ("SYSFS{idVendor}==\"%s\", SYSFS{idProduct}==\"%s\", MODE=\"0664\", GROUP=\"scanner\", ENV{libsane_matched}=\"yes\"\n", + printf ("SYSFS{idVendor}==\"%s\", SYSFS{idProduct}==\"%s\", MODE=\"0664\", ENV{libsane_matched}=\"yes\"\n", usbid->usb_vendor_id + 2, usbid->usb_product_id + 2); usbid = usbid->next; } @@ -3278,8 +3278,17 @@ print_hal (void) usbid_type *usbid = create_usbids_table (); printf ("\n"); printf ("\n"); - printf (" \n"); - printf (" \n"); + printf (" \n\n"); + printf (" \n"); + printf (" \n"); + printf (" \n"); + printf (" access_control\n"); + printf (" linux.device_file\n"); + printf (" scanner\n"); + printf (" \n"); + printf (" \n\n"); + printf (" \n"); + printf (" \n"); while (usbid) { manufacturer_model_type * name = usbid->name; @@ -3295,10 +3304,12 @@ print_hal (void) i++; } printf (" -->\n"); - printf (" \n", usbid->usb_vendor_id); - printf (" \n", usbid->usb_product_id); - printf (" scanner\n"); - printf (" proprietary\n"); + printf (" \n", usbid->usb_vendor_id); + printf (" \n", usbid->usb_product_id); + printf (" access_control\n"); + printf (" linux.device_file\n"); + printf (" scanner\n"); + printf (" hal-usb-scanner-add\n"); printf (" \n"); printf (" \n"); usbid = usbid->next;