USB Device (OTG) access from QML app
-
Hi all,
i'm trying to do an application to use my USB endoscope (ie: a webcam) from my Tablet m10 FHD (running UBports ota 3).
The endoscope is connected with micro usb cable. OTG is supported by the tablet (with "fdisk -l" i can see a connected generic USB pendrive).
Running my App from notebook (ubutnu 16.04) i can use all all the webcam (embedded an the endoscope).
Deploying App on tablet, i can see (and use) only the two embedded camera (front and back) not the one of the endoscope (is not listed as available camera).
I'm using the QtMultimedia Camera QML API (https://api-docs.ubports.com/sdk/apps/qml/QtMultimedia/Camera.html)
I have added the "Camera" permission and done some experiments with other permissions and added for test something like this in apparmor file:
"read_path": [
"@{PROC}/bus/usb/",
"@{PROC}/bus/usb/"
]but with the same result: only two camera are shown as available.
Someone have an idea, suggestion, example how to solve ... ?Thank you very much
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login