New issue
Advanced search Search tips

Issue 738942 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Aug 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

chrome.usb.claimInterfaces fails to claim interface

Reported by supp...@lookingglassnetwork.com, Jul 3 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Platform: 9460.60.0 (Official Build) stable-channel ninja

Steps to reproduce the problem:
1. Have a Chrome app running in kiosk mode.
2. Make a call to chrome.usb.findDevices with applicable VID and PID for touchscreen device we are trying to control
3. Make a call to chrome.usb.listInterfaces to list all available interfaces for above found device
4. Make a call to chrome.usb.claimInterface to claim an available interface before sending command(s)

What is the expected behavior?
The chrome.usb.claimInterfaces should return successfully.

What went wrong?
The chrome.usb.claimInterfaces throws a runtime error ("Error claiming interface.").

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 59.0.3071.91  Channel: stable
OS Version: 59.0.3071.91
Flash Version: 

We have added the following permissions to our manifest file:

"usb", {"usbDevices": [
 {"interfaceClass": 0},
 {"interfaceClass": 2},
 {"interfaceClass": 3},
 {"interfaceClass": 5},
 {"interfaceClass": 9},
 { "vendorId": 1046, "productId": 4352 }
]},
"hid"

We have whitelisted the VID:PID combo within the enterprise admin console and made sure the device has the latest policy.

This is the output from dmesg when trying to run the chrome.usb.claimInterfaces command:

[12129.403508] hid-multitouch 0003:0416:1100.004E: usb_submit_urb(ctrl) failed: -1
[12129.403550] hid-multitouch 0003:0416:1100.004E: timeout initializing reports
[12129.403773] input: Anapex Inc. AP8451 Touch as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/input/input83
[12129.404130] hid-multitouch 0003:0416:1100.004E: input,hiddev0,hidraw0: USB HID v1.11 Device [Anapex Inc. AP8451 Touch] on usb-0000:00:14.0-3/input0
[12129.405257] input: Anapex Inc. AP8451 Touch as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/input/input84
[12129.405688] hid-generic 0003:0416:1100.004F: input,hidraw1: USB HID v1.11 Mouse [Anapex Inc. AP8451 Touch] on usb-0000:00:14.0-3/input1
[12129.507893] frecon(183): Evdev device /dev/input/js0 grabbed by another process
 
Please remove  Issue 738922 , as this has the correct/latest information (wasn't sure how to delete the other issue).
 Issue 738922  has been merged into this issue.
Components: -Blink>USB Platform>Apps>API>USB
Labels: Needs-Feedback
Please provide the output from chrome://device-log with all the log levels enabled (up to "Debug") and only the "USB" category enabled.
Project Member

Comment 4 by sheriffbot@chromium.org, Aug 7 2017

Status: Archived (was: Unconfirmed)
No feedback was received in the last 30 days from reporter "support@lookingglassnetwork.com", so archiving this. Please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment