Chrome experimental USB api does not find any device connected

1,756 views
Skip to first unread message

Dorijan Jelincic

unread,
Aug 30, 2012, 10:24:12 AM8/30/12
to chromi...@chromium.org
Hi to all...
I want to develop Chrome app that would get data from one USB device that I developed (it is a v-usb atmega device) and I managed to get it work in Visual studio.
However, when I try to find it with chrome, I got device not found. As an example I am using https://github.com/GoogleChrome/chrome-app-samples/tree/master/usb/knob and only changed pids and vids, so my code is like this: 
var POWERMATE_VENDOR_ID = 0x16C0;
var POWERMATE_PRODUCT_ID = 0x05DC;

//USB\VID_16C0&PID_05DC\5&255987D3&0&2

In my device manager, I got it under other devices:
The drivers for this device are not installed. (Code 28)

There is no driver selected for the device information set or element.

I suppose this is the way it shoud be?

So I am wondering what am I doing wrong?
Thank you.
Dorijan

Paul Lewis

unread,
Aug 30, 2012, 12:36:06 PM8/30/12
to chromi...@chromium.org
Hi Dorijan,

Is the device registered as an HID (Human Interface Device) at all? If so, that would potentially prevent the device from working as at present Chrome's USB support does not include HIDs. Other things that may be worth checking would be that the device isn't in use by another process or application.

As you say it doesn't show as having drivers, although I don't believe that should prevent it from being detected. Do you have access to another machine running OSX or Linux for comparison?

Thanks,
Paul

Dorijan Jelincic

unread,
Aug 30, 2012, 12:44:50 PM8/30/12
to chromi...@chromium.org
Hi..
This device is not registred at all, but I can install driver...
here is how it is seen in Windows 7

Paul Lewis

unread,
Aug 31, 2012, 9:50:17 AM8/31/12
to chromi...@chromium.org
Hi Dorijan,

OK, and do you by chance have access to another machine (ideally running a different OS) to double check? It's difficult to determine from this whether the issue is specific to Windows, the device or Chrome itself.

Thanks.
Paul

Fabian

unread,
Oct 11, 2012, 1:29:56 PM10/11/12
to chromi...@chromium.org
Hello,

Support for HID (Human Interface Devices) is not implemented (yet)? Which kind of devices are supported at present in the latest Chome (Canary) version? Are there any differences between Windows, Mac & Linux?

Thanks,
Fabian

Renato Mangini

unread,
Oct 11, 2012, 2:32:28 PM10/11/12
to Fabian, chromi...@chromium.org

Fabian,

The issue with HID in OSX is described in this bug: http://code.google.com/p/chromium/issues/detail?id=131908

USB support in Chrome Apps relies on libusb library, so in theory any device supported by libusb should be accessible on a Chrome App. Observe that if you have a native driver attached to the device, the device won't be available (see this bug for the reasons, and star it if you think detach_kernel_driver should be exposed)


Renato Mangini | Chrome Developer Advocate | man...@google.com | +55 11 3797-1155



--
You received this message because you are subscribed to the Google Groups "Chromium Apps" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-apps/-/-gyvJNqYVS8J.

To post to this group, send email to chromi...@chromium.org.
To unsubscribe from this group, send email to chromium-app...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-apps/?hl=en.

Amardeep singh

unread,
Nov 13, 2013, 12:09:19 PM11/13/13
to chromi...@chromium.org, Fabian
I am also getting the same problem. Is this issue fixed ? or i am missing something.

Thanks,
Amardeep
Reply all
Reply to author
Forward
0 new messages