Manual udevadm control --reload-rules required for use after install
Task Info (Flyspray) | |
---|---|
Opened By | Oliver Ford (OJFord) |
Task ID | 76987 |
Type | General Gripe |
Project | Community Packages |
Category | Packages |
Version | None |
OS | All |
Opened | 2023-01-02 19:16:35 UTC |
Status | Assigned |
Assignee | Anatol Pomozov (anatolik) |
Assignee | Filipe Laíns (FFY00) |
Details
Description:
After installing the package, in order to actually use it (resolving the error 'insufficient privileges for device' on any command) it is necessary to udevadm control --reload-rules
.
I got there via https://android.stackexchange.com/a/208644/63711, which led me to the source (the suggested rules file doesn't exist), and finally android-udev. A rules file is installed - no need for me to copy into /etc - but not reloaded.
Maybe it makes sense for android-udev not to reload it for you, but android-tools is unusable without it.
Additional info:
- package version(s) 33.0.3-3
- config and/or log files etc.
- link to upstream bug report, if any
Steps to reproduce:
pacman -Sy android-tools
- Connect device by usb
adb shell