Questions tagged [usb]

HARDWARE QUESTIONS ARE OFF-TOPIC. Consider https://superuser.com if you need USB hardware help. USB is an acronym for Universal Serial Bus, a standard for a serial host-to-device protocol defined by the USB Implementors Forum.

This tag should only be used for programming-related questions involving USB, and not hardware-related questions.

USB is an acronym for Universal Serial Bus, a standard for a serial host-to-device protocol defined by the USB Implementors Forum. Today, it is the most commonly used method for connecting computers to peripherals such as keyboards, printers, phones, and data storage devices.


Versions

  • USB 1 (Full Speed) -- Released in January 1996, USB 1 specified data rates of 1.5 Mbit/s (Low-Bandwidth) and 12 Mbit/s (Full-Bandwidth).
  • USB 2 (High Speed) -- USB 2.0: Released in April 2000. Added higher maximum signaling rate of 480 Mbit/s (effective throughput up to 35 MB/s or 280 Mbit/s) (now called "Hi-Speed").
  • USB 3 (Super Speed) -- USB 3.0 was released in November 2008. The standard claims a theoretical "maximum" transmission speed of up to 5 Gbit/s (625 MB/s).
  • USB 3.1 (Super Speed Plus) -- USB 3.1 was released in July 2013. The standard claims a theoretical "maximum" transmission speed of up to 10 Gbps
  • USB 3.2 (Dual lane Super Speed Plus) -- USB 3.2 was released in September 2017. The standard mainly adds dual lane support on top of USB 3.1. Dual lane can give up to 20 Gbps of speed i.e. 2x of USB 3.1

References


7960 questions
3
votes
2 answers

Can't debug Android: This device cannot start. (Code 10)

I have a brand new Nexus One. I'm trying to follow the directions for installing the USB driver. When I plug in the device, it doesn't start the New Hardware Wizard, as the documentation suggests. I can run hdwwiz.exe to launch it and manually…
Dan Fabulich
  • 37,506
  • 41
  • 139
  • 175
3
votes
2 answers

Linux: Attempting to get joystick vendor and product IDs via ioctl, get EINVAL instead

I'm attempting to read the name, vendor ID and product ID for a USB joystick on Ubuntu (specifically I'm working with a wired Xbox 360 pad on Ubuntu 13.10 x64). I can read the name but when attempting to read the vendor and product IDs I get an…
NoobsArePeople2
  • 1,986
  • 14
  • 21
3
votes
1 answer

Smartcard reader ACR122U has no unique serial number

I am using the PCSC driver and the javax.smartcardio library as the wrapper to the driver. I have 3 ACR122U devices plugged into a Linux (debian) system. I have ran udevadm info on the devices and they all have a serial number of 0. I need to…
Mitch Dart
  • 1,333
  • 1
  • 12
  • 33
3
votes
1 answer

How to fetch data from a usb microphone in c++ or c?

I am working on a project that I need to do some processing with the audio signals obtained from a USB microphone. It would be best to read the original sample readings from the USB port. However, I couldn't find anything very relevant. I am…
return 0
  • 4,226
  • 6
  • 47
  • 72
3
votes
1 answer

Install Android App via USB

I've got a Problem. I am working on a Project where I am using a Programm on the PC to handle different data (which another programm = my android app creates), which i found on the plugged in sd-card of the android device. My aim is now to use the…
Ripei
  • 432
  • 2
  • 8
  • 19
3
votes
1 answer

FindAllAsync can't find device in windows store app

The vendor Id and product Id is being passed to FindAllAsync and there is no device returned from FindAllAsync. We've verified that these are the right device IDs and works on other platforms. It's not a plug and play device. Here is the code…
DllyVar100
  • 41
  • 3
3
votes
0 answers

USB Debugging not working on galaxy s 2 android 4.1.2

I was able to debug to my phone directly before long time, but recently it seems like it doesn't work it works fine with AVD but the My device it doesn't work it (doesn't display the debugging screen) on my device when I plug in the USB. also I…
Ahmad Saleh
  • 879
  • 2
  • 10
  • 20
3
votes
2 answers

Using USB port from c++

i was just wondering if somebody could give me any pointers about how to use USB ports on Ubuntu(and other unix systems) &&/|| (and/or :]) windows. I was trying to googling some stuff up but i failed horribly. Even names of libraries to be used etc…
Arg
  • 1,926
  • 21
  • 32
3
votes
3 answers

ASP.NET/Silverlight Control USB Device

I want to alert a user of a new message using some kind of USB device (e.g. a flashing light). Is it possible to control a USB device from ASP.NET or Silverlight?
DD.
  • 21,498
  • 52
  • 157
  • 246
3
votes
0 answers

Not receiving ACTION_USB_ACCESSORY_ATTACHED unless accessory app is closed

I have my App's manifest set to use the com.android.future.usb.accessory library and filter for USB_ACCESSORY_ATTACHED:
JuJoDi
  • 14,627
  • 23
  • 80
  • 126
3
votes
1 answer

What is USB Interface Subclass 66?

I see this interface subclass specified in the device filter of the USB Host documentation but the int is also not defined in the UsbConstants documentation. There are two scenarios in which I plug in USB. In one, my application is running in the…
JuJoDi
  • 14,627
  • 23
  • 80
  • 126
3
votes
0 answers

PowerShell or C# - Turn off or "sleep" USB port without rebooting

I have a USB 2.0 LED backlit keyboard which continuously has it's LED's on. Unfortunately, the only way to turn off the LEDs is via hotkeys that require a special FN keyboard key (which isn't accessible via keybd_event API or sendkeys…
MKANET
  • 573
  • 6
  • 27
  • 51
3
votes
1 answer

iOS app-level communication over USB

Is it possible to to communicate between MAC/Windows programs and an application on iOS through USB? Requirements: No jailbreak required App store approval I looked into USBMuxConnectByPort and it requires SSH/Jailbreak. Is there any other option?
Paul Knopf
  • 9,568
  • 23
  • 77
  • 142
3
votes
1 answer

Enumerate USB flash drives programatically using libudev in Linux

How can I programmatically enumerate all the USB flash drives using libudev under Linux? I want to get the strings such as '/dev/sdb4' so that I can then use 'mount()' to mount them. I was following the libudev example at…
Wang Tuma
  • 893
  • 5
  • 14
  • 24
3
votes
1 answer

USB 24bits audiostream descriptors

I am working on a demo for an USB headset and I have a question about the audio endpoint descriptors of the USB. I have a working 8-48kHz 16bit audio stream and I can select any sample frequency in the windows properties of an audio device. I use…
Marc.O
  • 125
  • 1
  • 11