Tiny Core Base > TCB Q&A Forum
USB dongle in TCL/VritualBox
bergtwvd:
I am running TCL inside VirtualBox (VB) from docker.com, on Windows 7.
I have installed a (Java) application in TCL that requires a USB dongle in order to run.
VB sees the dongle and I have configured VB to filter on this dongle.
Now, the problem is:
The key activator of the application in TCL does not see the dongle. Get the following error:
Hardware verification failed: The correct hardware for this license could not be detected: No USB Dongle of the correct type detected.(Error Code: 401, Extended Error Code: 0)
Running the command dmesg I see:
on plugging in the USB dongle:
usb 2-1: new full-speed USB device number 10 using ohci-pci
usbhid 2-1:1.0: couldn't find an input interrupt endpoint
on remove of the USB dongle:
usb 2-1: USB disconnect, device number 10
Does TCL support USB dongles in combination with VB?
Basically, how can this be resolved?
Thanks!
TB.
bergtwvd:
Version:
docker@boot2docker:~$ uname -a
Linux boot2docker 3.18.5-tinycore64 #1 SMP Sun Feb 1 06:02:30 UTC 2015 x86_64 GNU/Linux
gerald_clark:
Neither VB nor your java application are are Core issues.
You should take it up with VB.
bergtwvd:
I could go to VB, but most likely they point me back to TCL.
Still, I would like to explore and understand the problem more clearly. Anyone seen something like this before?
I see that VB picks up the USB dongle, and I see that the USB dongle is visible inTCL.
E.g. when I go to /sys/bus/usb/devices I see:
(before USB dongle is plugged in):
[ root@5b98944bf55f:/sys/bus/usb/devices ]$ ls
1-0:1.0 2-0:1.0 usb1 usb2
(after plugin):
[ root@5b98944bf55f:/sys/bus/usb/devices/2-1 ]$ dmesg | tail -2
usb 2-1: new full-speed USB device number 17 using ohci-pci
usbhid 2-1:1.0: couldn't find an input interrupt endpoint
[ root@5b98944bf55f:/sys/bus/usb/devices ]$ ls
1-0:1.0 2-0:1.0 2-1 2-1:1.0 usb1 usb2
(next):
[ root@5b98944bf55f:/sys/bus/usb/devices ]$ cd 2-1
[ root@5b98944bf55f:/sys/bus/usb/devices/2-1 ]$ ls
2-1:1.0/ bMaxPower dev manufacturer serial
authorized bNumConfigurations devnum maxchild speed
avoid_reset_quirk bNumInterfaces devpath port subsystem
bConfigurationValue bcdDevice driver power/ uevent
bDeviceClass bmAttributes ep_00/ product urbnum
bDeviceProtocol busnum idProduct quirks version
bDeviceSubClass configuration idVendor removable
bMaxPacketSize0 descriptors ltm_capable remove
[ root@5b98944bf55f:/sys/bus/usb/devices/2-1 ]$ cat product
HID Dongle
So I wonder what the the dmesg message "usbhid 2-1:1.0: couldn't find an input interrupt endpoint" means,
and if it effects / relates to the problem reading the dongle.
curaga:
Try TC on real hw, compare the kernel messages and device nodes.
Navigation
[0] Message Index
[#] Next page
Go to full version