Android auto allow access to USB device

Hi

We're using SOTI Mobicontrol on Zebra TC56 and VC80X with Android 8.1. I have the devices locked down and only allow one custom app. This app uses a USB camera and a USB RTK GNSS receiver.

The problem is, every time the Zebra is rebooted, it asks if I want to allow the app access to the USB devices. Checking the box "Use by default for this USB device" doesn't help as the camera gets a new ID on every reboot.

Is there a way to auto allow access to USB devices, or to disable the USB security completely so the user don't see any dialog boxes?

Also, it asks if I want to automatically open the app when the USB device is connected, It would be nice if I could get rid of this dialog box as well.

5 years ago
Android
ANSWERS
J
JVMOD@SOTI
5 years ago

Hello Asbjorn,

Thank you for your post, please provide a screenshot of the pop-up you see. 

Regards,

A
Asbjørn
4 years ago

Hi, better late than never :)

Message

RC
Raymond Chan Diamond Contributor
4 years ago

Why does the camera get a new ID on every reboot?   What ID are you talking about?  I presume you are not talking about the USB vendor and product ID's, which should be fixed for a particular USB hardware?

A
Asbjørn
4 years ago

It's just my assumption that it gets a new ID as the Zebra doesn't remember the setting after a reboot or after disconnecting and reconnecting the camera, even if I check "Use by default for this USB device".

A
Asbjørn
4 years ago

The USB device and vendor IDs are not unique, the Zebra device assigns a unique ID to the USB device so the system can differentiate it from an identical USB device.

RC
Raymond Chan Diamond Contributor
4 years ago

I am not quite sure if the ID you mentioned actaully refers to something else.  From where did you see the camera getting your so-called different ID's after each reboot? What are the format of such ID's?  Could you show any screenshot? 

All CERTIFIED USB hardware product saleable on the market should have fixed and unique vendor ID and product ID, when such hardware gets certified with USB Consortium   If you are using a software-based product (likely for product development or for fun, and not meant for CERTIFIED product to be sold), then it can report any PID or VID to the USB host it connects to.

MD
Matt Dermody Diamond Contributor
4 years ago
A
Asbjørn
4 years ago

Thanks Matt, unfortunately MX 10.4 is not available for Zebra VC80X yet, the latest version is 10.2.0.25.

Do you know when it's expected to be released?