usb

HTC Desire usb connection issue with Ubuntu 10.04

℡╲_俬逩灬. 提交于 2019-12-11 05:37:54
问题 I want to connect my HTC Desire with Ubuntu 10.04 for app debugging. But i am getting the following message upon running the command adb devices List of devices attached ???????????? no permissions I have tried the steps on the following link, but no success http://developer.android.com/guide/developing/device.html#setting-up Can anyone help me to resolve the issue? 回答1: First of all check if you have a rule for HTC devices. Here is good script for this. Then check if device allowed for

Java applet with usb access in Windows and Linux

删除回忆录丶 提交于 2019-12-11 05:28:44
问题 We're developing a kind of gadget with usb connection but would not to force our users to install any driver and program in their computers, so... ¿it's possible to develop a java applet that work in linux and windows and have usb access? (We're java developers but nerver before worked with applets) 回答1: I guess you have chosen a USB API. This is one option. The steps you have to take in order to make it work as an applet are: digitally sign the applet - it would require permissions to use

Cannot access USB UART in VirtualBox Guest on macos Host

自作多情 提交于 2019-12-11 05:05:20
问题 I've created a virtualbox via docker-machine: $ docker-machine create --driver virtualbox default Within the Guest-OS I'd like to access my USB-Serial device, which is a Nordic nRF52840 DevKit, which is listed in macos as /dev/tty.usbmodem144241 . However, this device is not listed as USB device by virtualbox. I've also tried adding the devices as a Serial Port with the Port Mode "Host-Device" as described in this link, but without any success: If I add the Serial Port as .tty-usbmodem the

Change/Override Trinket (attiny85) USB identification name, device name

萝らか妹 提交于 2019-12-11 04:59:23
问题 The AdaFruit 'Trinket' library identifies itself as "Trinket HID Combo" when using as USB Keyboard. Is it possible to change this name to more useful name (with some code, constant etc)? I'm using Arduino 1.0.4 IDE. Take a look in the source of this library but cannot find this name hard coded. Any ideas to override this? 回答1: You have to change the Trinket library. Search for USB_CFG_DEVICE_NAME in usbconfig.h #define USB_CFG_DEVICE_NAME 'T', 'r', 'i', 'n', 'k', 'e', 't', ' ', 'H', 'I', 'D',

UsbInterface null for except 1 device

萝らか妹 提交于 2019-12-11 04:42:36
问题 This way I found solution to recognize if the connected device is storage device. I am following this thesis to understand how the USB Communication with Storage device is done. But the main problem I faced is that For all the connected device except the last connected device I am not getting the UsbInterface and so the related UsbEndPoints. Now How can I recognize all other connected storage device. When 3 devices are connected the log I got is: found usb device: UsbDevice[ mName=/dev/bus

Linux OTG port screwing up my other host port

落花浮王杯 提交于 2019-12-11 04:33:42
问题 I've got a Variscite VAR-SOM-MX6 running a Linux 3.0.35 kernel, with two USB ports. The first port is an OTG port connected to an external mini-OTG jack. The second is an internal host port going to a hub chip, and then to some other devices. If I've got an OTG cable plugged into the first port, telling it to be a host, then everything works fine. If I have a regular cable, or no cable at all, plugged in, then the second host port doesn't enumerate properly. There doesn't have to be anything

I cannot mimic sniffed urb interruption using libusb for Ruby

谁说胖子不能爱 提交于 2019-12-11 04:25:26
问题 Sniffed URB_INTERRUPTions I sniffed communication between some application (SoundLab) and device (sonometer with usb). I found a packet responsible for returning current state: USB URB [Source: host] [Destination: 1.1.2] USBPcap pseudoheader length: 27 IRP ID: 0xffff858d126f4a60 IRP USBD_STATUS: USBD_STATUS_SUCCESS (0x00000000) URB Function: URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER (0x0009) IRP information: 0x00, Direction: FDO -> PDO 0000 000. = Reserved: 0x00 .... ...0 = Direction: FDO ->

USB USPS Postage Scale API

只愿长相守 提交于 2019-12-11 04:23:05
问题 I'm trying to integrate a USPS postage scale with a C# application and I'm having no luck. I actually have 2 scales, one is a Mettler Toledo PS60 and the other is the USPS PS-100 (http://www.measurement-ltd.com/ps-100-det.html). The MT scale works beautifully with Mike O'Brien's HidLibrary (https://github.com/mikeobrien/HidLibrary). However, the USPS scale does not (Please note that this is NOT the Stamps.com scale, which DOES appear to work with the HidLibrary). I know the scale is working

How to do “make drivers/usb/storage/usb-storage.ko”

筅森魡賤 提交于 2019-12-11 04:01:12
问题 How can I compile usb-storage.ko (only) from kernel source tree ? Running kernel version: 2.6.35-22-generic (uname -r) Source version: linux-2.6.35 Doing modprobe usb-storage gives the below error. FATAL: Error inserting usb_storage (/lib/modules/2.6.35-22-generic/kernel/drivers/usb/storage/usb-storage.ko): Invalid module format Doing insmod gives the below error. insmod: error inserting 'drivers/usb/storage/usb-storage.ko': -1 Invalid module format dmesg gives as below. usb_storage: no

Use iSerialNumber USB device descriptor to uniquely identify GoPro Camera

强颜欢笑 提交于 2019-12-11 03:58:47
问题 The field I'm interested is iSerial from the output of: lsusb -d <idVendor>:<idProduct> -v Example output of a non-unique iSerialNumber: Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 bDeviceClass 239 Miscellaneous Device bDeviceSubClass 2 ? bDeviceProtocol 1 Interface Association bMaxPacketSize0 64 idVendor 0x0402 ALi Corp. idProduct 0x9665 Gateway Webcam bcdDevice 0.09 iManufacturer 3 iProduct 1 iSerial 0 <-- Three string descriptors exist to provide details of the manufacturer