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.

45 questions
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,807
  • 6
  • 38
  • 83
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
  • 9,255
  • 18
  • 61
  • 113
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,643
  • 7
  • 33
  • 60
1
vote
0 answers

What is USB iSereial param

I read topic about iSerial I test my devices to get iSerial for my case. For my JML camera I can get $ lsusb -d 0bda:0567 -v | grep -i serial Couldn't open device, some information will be missing iSerial 2 202001010001 For my…
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
  • 1
  • 3
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…
gmavridakis
  • 368
  • 4
  • 13
1
vote
0 answers

How to deactivate a specific USB port on Android device

I'd like to power on and off a USB device in Android. I know the method on Linux and it is pretty straightforward (see https://loginroot.com/power-off-and-on-usb-device-in-linux-ubuntu/). Unfortunately the command lsusb -t does not work on Android…
Trabool
  • 119
  • 3
1
vote
0 answers

libusb_interrupt_transfer ends with LIBUSB_ERROR_IO

Writting to the device with libusb_interrupt_transfer(...), ends with LIBUSB_ERROR_IO all the time. Libusb version: libusb-1.0.4 STM32F103 code - st example for hid devices Checked: Endpoint in code is set to as in lsusb : 0x81 in usbmon I can see…
pholat
  • 467
  • 5
  • 20
1
vote
3 answers

hot to put a delimiter into output of "lsusb"

I have an "lsusb" output as below: khalemi@hpx:/opt$ lsusb -d 0c2e:0200 Bus 002 Device 004: ID 0c2e:0200 Metrologic Instruments Metrologic Scanner Bus 002 Device 006: ID 0c2e:0200 Metrologic Instruments Metrologic Scanner Q) How can I use "sed" to…
MKhalemi
  • 35
  • 6
1
vote
2 answers

AWK error - syntax error at or near grep

I need to create a script to unbind/bind all usb in one linux machine. For this I need to run: lsusb -t wich returns: root@lsdg7sd-fc:~# lsusb -t /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ohci_hcd/10p, 12M |__ Port 4: Dev 2, If 0,…
Juano7894
  • 703
  • 1
  • 8
  • 21
1
vote
1 answer

Product Id of usb device changes automatically

I am using 2 usb camera in an archlinux system. Everything was running smooth for a very long time but recently a very strange thing started happening. One of the camera's product id changes suddenly. When I see the output in lsusb. lsusb Bus 002…
Gaurav Kumar
  • 153
  • 10
0
votes
0 answers

lsusb to /dev (webcam)

I plugin a webcam. I could see new device with command lsusb lsusb Bus 002 Device 023: ID eb1a:2571 Web Cam But I cannot see any new device in /dev I tested with different webcam and got same issue, so confirmed the problem NOT due to…
user3867146
  • 63
  • 1
  • 2
  • 6
0
votes
0 answers

USB device linux enumeration changes while in operation

I have to push firmware files to multiple usb devices (2 files per device) via ymodem file transfer. However just before uploading the files the device needs to be rebooted to get access to the file transfer menu. Once it reboots the port that it…
Archie
  • 153
  • 9
0
votes
2 answers

Return idVendor, idProduct and endpoints via lsusb

I want to return just some of the data of my lovely printer. (The name always contains STMicroelectronics printer I can print out all plugged USB devices with the lsusb command. This will give me (first line obviously being the printer): Bus 001…
0
votes
0 answers

Why would a device appear in USB-Devices and Dmesg but not in lsusb?

I have a device, a Bk Precision Power Supply I added to my Ubuntu VM according to the instructions found here: https://github.com/vpatron/bk9201_python_demo The purpose is to control the power supply via Python. I can't see the device via lsusb and…
jfwork
  • 3
  • 2