Comment 229 for bug 1728012

Revision history for this message
PeterPall (peterpall) wrote :

@Luca-mg: What your computer sees is the following:
 - You attach a device whose USB ID doesn't match any udev rule => the device is accessible for the root user only.
 - then you as the root user start a program that uploads something to the device.
 - the device disconnects and
 - a new device connects, this time using an USB ID there is an udev rule for. This rule tells the device is a scanner. You are in the group "scanner" => You can use it without root rights.

What you need is an udev rule that tells the system that the USB ID your device has before its firmware is uploaded is a scanner, too. As soon as udev knows that this device is a scanner it will give you the necessary rights to upload the firmware without being root.