Questions tagged [lsusb]

lsusb is a utility for displaying information about all USB buses in the system and all devices connected to them. To make use of all the features of this program, you need to have Linux kernel 2.3.15 or newer which supports the /proc/bus/usb interface.

36 questions
105
votes
9 answers

Is there an equivalent of lsusb for OS X

This question seems to be all over google, but the answers all point to using System Profiler. That's nice, but with System Profiler all you get is something that looks like this: DasKeyboard: Product ID: 0x1919 …
Ted Middleton
  • 5,722
  • 9
  • 43
  • 64
7
votes
1 answer

Differentiate multiple USB devices having same Vendor and Product ID

I am writing an application which allows a Linux machine to connect to internet over usb modem. I have multiple usb modems having same vendor and product ID; I cannot differentiate them using lsusb which gives vendor and product ID. Also giving IDs…
denizeren
  • 904
  • 8
  • 19
3
votes
0 answers

How to get USB information by using "lsusb -v" in ADB shell?

I can use lsusb -v command to pull the data about a USB Webcam and I can see all supported formats and resolutions in Terminal (Linux). But I am using an Android device too and I want to connect USB Webcam to that device and to see supported…
3
votes
2 answers

Linux shell get device id from user input

I am working on an install script for a program that needs the device id from lsusb in it's configuration so I was thinking of doing the following: $usblist=(lsusb) #put the list into a array for each line. #use the array to give the user a…
Martinn Roelofse
  • 375
  • 2
  • 3
  • 13
3
votes
1 answer

lsusb: only 1 endpoint available

I am trying to communicate with a device (that has no linux driver) via libusb. I have written a lot of the basic code and used USB snooping software on windows (for which there is a driver) to find out the codes I need to send to it. However, only…
UnknownFury
  • 304
  • 1
  • 10
2
votes
2 answers

Cross-compile using go build CGO_ENABLED - warning: libudev.so.1 not found

I am trying to cross-compile a Golang application for a Raspberry Pi with CGO_ENABLED=1 due to a libusb dependency During compilation I get the error: arm-linux-gnueabihf/bin/ld: warning: libudev.so.1, needed by…
Joseph Roberts
  • 569
  • 3
  • 8
  • 29
2
votes
0 answers

kinect not connecting even though powered

I'm trying to use a kinect xbox360 with ubuntu 12.04 (and eventually ROS). The kinect is plugged in and powered on (blinking green light). When running lsusb, I do not see the expected three Microsoft devices Bus 002 Device 009: ID 045e:02ae…
slow_one
  • 113
  • 3
  • 12
2
votes
1 answer

Use iSerialNumber USB device descriptor to uniquely identify GoPro Camera

The field I'm interested is iSerial from the output of: lsusb -d : -v Example output of a non-unique iSerialNumber: Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 1.10 …
Boggio
  • 1,088
  • 10
  • 14
2
votes
1 answer

How to Find the dev path in which usb device is connected?

I have connected two data cards in my server. One is connected in port dev/ttyUSB2. I want to find the other's port. There are four ports ttyUSB0, ttyUSB1, ttyUSB2, ttyUSB3. I already tried lsusb -vv and found out this: Bus 001 Device 005: ID…
Bikash Dash
  • 85
  • 5
  • 12
2
votes
1 answer

3g Dongle switches to a weird product ID

I am using a TP-Link MA 260 dongle plugged into an OpenWrt device. The dongles has two modes: USB mode: vendor=0x2357 product=0xf000 Modem mode: vendor=0x2357 product=0x9000 Both work as expected in their respective modes and I use usb_modeswitch to…
Mika
  • 5,497
  • 5
  • 33
  • 77
2
votes
0 answers

Samsung devices not showing up on Ubuntu 12.04 lsusb nor adb

I've a Ubuntu 12.04 PC, and for some reason today it stopped detecting my 2 Samsung devices (a Galaxy S3 and a Galaxy Note2 LTE). Neither lsusb nor adb detects them. It still detects my Nexus 5 though. Any help? Thanks.
user1118764
  • 7,817
  • 15
  • 54
  • 94
2
votes
1 answer

How to umount an USB Android device

I've connected my Android tablet to Ubuntu in order to write some code using Intellij. Everything works ok, but now I don't know how to disconnect my tablet. My /media/ and /mnt/ directories are empty and lsusb display this: Bus 008 Device 001: ID…
Marcos
  • 4,607
  • 7
  • 29
  • 57
2
votes
1 answer

USB Vendor and Product ID to Device Binding

I have a USB VID and PID for an attached device on GNU / Linux. 045e:0084, for example. I want the binding so I grep the output of lsusb for the VID:PID and massage it into a format acceptable for udevadm lookup. Finally, I take the basename of the…
Stephen Niedzielski
  • 2,173
  • 1
  • 22
  • 31
1
vote
0 answers

unbinded USB device get automatically bind on linux

I tried to use echo -n '2-2' > /sys/bus/usb/drivers/usb/unbind to unbind a USB device that connects to FTDI chip, but I found that it get auto binded right after I run the command. My lsusb -t looks like: /: Bus 02.Port 1: Dev 1, Class=root_hub,…
Ling Li
  • 11
  • 2
1
vote
1 answer

“adb devices” returns empty “List of devices attached” on Ubuntu

Based on react native documentation (https://facebook.github.io/react-native/docs/running-on-device) I wanted to connect to ADB in my ubuntu vm (Ubuntu 18.04.2 LTS) but my problem is that i keep getting an empty list. So what steps I have followed…
1
2 3