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
0
votes
0 answers

Read from HID device

I have remote HID device but seems to be constantly reconnected. Is there a way to use it on linux? For windows computer the driver is available but not for linux. I assume it's possible to be used but doesn't have clue how. I try to list devices…
eSlavko
  • 348
  • 3
  • 12
0
votes
1 answer

Send string from raspberry pi with Python to Arduino for starting led strip. How to select the right USB port?

I try to light up an led strip with Python sending the information to the USB port that has an Arduino and led strip on it. I am having problems with the USB port. I don't know which one is the right one and how can I translate this port to Python…
Daniel IG
  • 31
  • 6
0
votes
1 answer

How to get USB idVendor name and idProduct name in C#

I want to get usb device name like Kingston Technology DataTraveler. Bus 004 Device 014: ID 0951:1666 Kingston Technology DataTraveler 100 G3/G4/SE9 G2 I am using libusb library for this but I was able to obtain idVendor number and idProduct number.…
0
votes
1 answer

Convert weird characters from lsusb output to stlink hla_serial in ruby

I currently use stlink board that have 'weird' iSerial given by lsusb: below an example: lsusb -v -d 0483:3748 | grep iSerial iSerial 3 4ÿkVK607 C iSerial 3 4ÿkVK60'7 C I already got the corresponding hla_serial that…
ludelle
  • 78
  • 5
0
votes
0 answers

razercfg does not recognize Razer BlackWidow V3 Tenkeyless

I got a new keyboard, a Razer BlackWidow V3 Tenkeyless and in lsusb it sahws up like: lsusb Bus 002 Device 004: ID 046d:c534 Logitech, Inc. Unifying Receiver Bus 002 Device 003: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0 Bus 002 Device…
stdcerr
  • 13,725
  • 25
  • 71
  • 128
0
votes
2 answers

Creating a bash script that logs the output of 'watch lsusb' into an empty file

I have an embedded Linux system (running Ubuntu 10) on a microprocessor that has an onboard USB hub (specifically a BeagleBone Black). I made a simple bash script that's supposed to run a command, watch lsusb; and as that runs, my program needs to…
Taylor
  • 3
  • 2
0
votes
0 answers

I am getting error "unable to initialize libusb: -99" on executing lsusb command on WSL2 Ubuntu app on my Windows

I am getting errror "unable to initialize libusb: -99" on executing lsusb command on WSL2 Ubuntu app on my Windows 10 . Please help. I am basically trying to flash Zephyr as simple Hello world application on my reel_board by connecting reel_board…
J R
  • 1
  • 1
  • 3
0
votes
1 answer

Check USB device ID and connected port from C application

I need to be able to identify a plugged USB device (USB3 and/or USB2) and which port is connected to in the hub from a C program. I'm working on a embedded Linux system Yocto based. I'm able to get this info from the command line with lsusb. E.g.…
joe
  • 309
  • 4
  • 16
0
votes
1 answer

How to list all the USB devices (printers) connected on yocto?

I am trying to get a USB printer to work with an embedded system using yocto. I have the cups package added to the yocto image. The lpstat command returns that no default destination is available. I am trying to see if my printer gets listed via…
Vysh
  • 718
  • 1
  • 7
  • 20
0
votes
1 answer

Fastboot doesn't recognize my Asus zenfone2 on my ubuntu14.04

On the normal boot mode, my Asus zenfone2(ZE551ML) running android 5.0 is listed when I type adb devices. Then, I put the phone to the fastboot mode by adb boot bootloader. When the phone is already entering the fastboot mode, fastboot devices…
anthonyaje
  • 77
  • 2
  • 6
0
votes
0 answers

Write a bash script that executes a command when a USB device is plugged in/removed

I'm trying to write a bash script so that Linux resets pulseaudio whenever I plug in or remove my USB DAC. So far it looks like this. #/bin/bash while : do sleep 5 if lsusb | grep YOURID then continue fi WHAT YOU…
0
votes
1 answer

Enable Bluetooth Adapter for BeagleBone Black

I recently bought a USB 2.0 Bluetooth Adapter. It claims to have support from Linux kernels of versions 3.4 and higher. I have a BeagleBone Black with Debian GNU/Linux 7 image and kernel 3.8. I am developing on BeagleBone Black by hosting it through…
Thomas Hsieh
  • 731
  • 1
  • 6
  • 26
0
votes
1 answer

Is there any way to see on linux the USB devices on realtime?

My question is simple, is there a way to see in a terminal what usb devices do I have connected to my computer in real time? I already know lsusb, but it just show me the devices on the moment I ask it, I would like to be able to see if one connects…
Sxubach
  • 364
  • 1
  • 2
  • 13
0
votes
2 answers

How to get usb serial number python

Ive been searching around for a little while and this is winding me up... This was easy in C# :/ Anyways.. I found this code, which is the closest i got, but i suck at Regular Expressions, so if someone could narrow that down for me so it isolates…
amartin94
  • 505
  • 3
  • 19
  • 35
-1
votes
1 answer

How to know what block device correnponds to the lsusb output?

I need the information provides lsusb about Manufacturer company in usb pendrives, but I don't know how to link it with the block device. I'm using dbus and python for getting all information about pendrives connected in the system, but DriveVendor…
Gea Planet
  • 187
  • 1
  • 5
1 2
3