Bug 1022 - Better surface "permission denied" errors
Summary: Better surface "permission denied" errors
Status: CONFIRMED
Alias: None
Product: libsigrok
Classification: Unclassified
Component: Driver: pipistrello-ols (show other bugs)
Version: unreleased development snapshot
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-03 23:56 CEST by Tim 'mithro' Ansell
Modified: 2017-09-03 23:56 CEST (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 'mithro' Ansell 2017-09-03 23:56:01 CEST
When you select a driver as "p-ols" and have the interface as "USB", you click scan, then if you don't have permission to read the usb device nothing appears. You do at some log levels get;
--------------------
sr: [00:19.800244] pipistrello-ols: Failed to open device (-8): unable to fetch product description
sr: [00:19.800275] hwdriver: Scan found 0 devices (p-ols).
--------------------

It would be better if it did something like "Found pipistrello but don't have permission to it" or something...