I'm struggelig getting connection of the usb interface in Ubuntu 13.10. The application has called the onClaimed callback, but inspecting the
tail -f /var/log/syslog
gives
ThinkPad-T60 kernel: [ 8781.137407] usb 2-2: usbfs: process 7832 (Chrome_FileThre) did not claim interface 0 before use
lsusb | grep Dynastream
Bus 002 Device 017: ID 0fcf:1008 Dynastream Innovations, Inc. Mini stick Suunto
lsusb -v | grep Dynastream gives
ThinkPad-T60:~$ lsusb -v | grep Dynastream
Couldn't open device, some information will be missing
(repeated 6 times)
Bus 002 Device 017: ID 0fcf:1008 Dynastream Innovations, Inc. Mini stick Suunto
idVendor 0x0fcf Dynastream Innovations, Inc.
iManufacturer 1 Dynastream Innovations
Couldn't open device, some information will be missing
console.log from web app:
1391254636885 "Interface number 0 claimed" "in" Object {address: 1, direction: "in", maximumPacketSize: 64, pollingInterval: 1, type: "bulk"…}
- address: 1
- direction: "in"
- maximumPacketSize: 64
- pollingInterval: 1
- type: "bulk"
- usage: "data"
- __proto__: Object
"out" Object {address: 1, direction: "out", maximumPacketSize: 64, pollingInterval: 1, type: "bulk"…}
I've tried with usbmon and starting the app
sudo cat /sys/kernel/debug/usb/usbmon/2u >2u.mon.out
but the file is 0 bytes, so there is apparently nothing happening on bus 2
So I am in a situation where the interface seems to be claimed by the app, but really it not claimed libusbx/os. Anyone knows what might be the problem here, is there something about security (root vs normal user access to the device)?