lsusb | lsusb command for Mac OS X
kandi X-RAY | lsusb Summary
kandi X-RAY | lsusb Summary
This is an utility to easily list USB devices in Mac OS X, just like the lsusb command in Linux. It leverages the data from the system_profiler SPUSBDataType built-in command available in Mac. You can type lsusb -v to get the unmodified output of system_profiler SPUSBDataType.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of lsusb
lsusb Key Features
lsusb Examples and Code Snippets
Community Discussions
Trending Discussions on lsusb
QUESTION
I am trying to get my BeagleBone Black to post to my monitor, to be able to use it as a stand-alone PC.
This was possible with the image that the BeagleBone shipped with.
I have just installed a new image on my BeagleBone Black Rev C.
The new image is AM3358 Debian 10.3 2020-04-06 4GB SD IoT.
I am able to SSH to it using PuTTY, and this way I have succesfully performed some actions with it, like using wget to download files from Google Drive etc.
So it seems like the board is working well, and that the HDMI output is disabled somewhere.
I have copied the contents of the uEnv.txt-file below, to show that the lines regarding disabling of video are commented out:
...ANSWER
Answered 2022-Jan-16 at 20:12I solved the problem, following a solution found here.
The solution was to run a kernel update:
QUESTION
I am working with an FTDI device that has native software for Windows, but nothing available for Linux. I am trying to read data from the device using pylibftdi
. I would like to translate C# code
that is provided by the device manufacturer and purportedly works (unclear if this is true) but have not been successful. So far I have done the following:
Installed the Linux D2XX drivers based on these instructions. Installation was successful.
Followed the directions here and here to enable the FTDI device to connect to the Linux system.
After plugging the FTDI device into the Linux system USB port:
ANSWER
Answered 2022-Jan-05 at 19:58As response to the comment and as an follow up answer:
I cannot confirm the claim that D2XX is more reliable than the VCP from personal experience and the second one is only partially correct: one can e.g. use the VID:PID combination in most cases IIRC.
I would highly recommend to stick to the easier VCP + pyserial solution. But if you really want (or need to) use pylibftdi, you can take a look at https://github.com/codedstructure/pylibftdi/blob/4662ebe069eefd5a89709d4165e3be808cad636c/docs/advanced_usage.rst - it describes how to access none exposed functionality directly. The naming is slightly different e.g. ftdi_setflowctrl instead of SetFlowControl but you will figure it out. Just check https://www.intra2net.com/en/developer/libftdi/documentation/ftdi_8c.html .
QUESTION
I'm implementing USB web cam on top of Atmega32U4.
I think I managed to implement transactions on the control endpoint, more or less correctly, as all the descriptors are transited and device reports correctly in the system.
Issue is when I'm trying to send video data out of the device, as nothing seems to go through.
The way I implemented data transmission (according to section 22.14 of datasheet) is as follows:
...ANSWER
Answered 2021-Dec-30 at 16:58The reason why uvc driver is not pulling any data for the device, is that you set dwMaxVideoFrameSize
and dwMaxPayloadTransferSize
to 0
. Set it to value high enough for your case and it will work.
QUESTION
Is there a way with pyusb to unbind a USB device?
I know using the following bash
the USB is unbound.
ANSWER
Answered 2021-Dec-03 at 19:31A quick search of the PyUSB code makes it seem like there is no feature for binding or unbinding. So PyUSB is not the answer.
However, you don't need to use Bash to unbind a device. Python has a standard library that lets you get directory listings, read files, and write to files, so you can just use Python's standard library instead of Bash.
QUESTION
Thank you for watching this.
I'm having difficulties with my BBB on CAN communication like for months... I'd be really pleased if you could give me just a little help!
I'm working on CAN protocol between BBB and another CAN device. The another device is confirmed to be working alright with CAN. I'm using my BBB with Cloud9 platform on windows laptop, and on the another device, it's using CAN0.
I have set the 'config-pin' on BBB like below using CAN1, and I tried 'cansend' utility. The bitratre value on the another device is also set to be equal.
...ANSWER
Answered 2021-Aug-07 at 03:47Some help on can or socketCAN will be found here for the BBB or other family board:
QUESTION
I'm trying to build this example for my ECP5 evaluation board. It runs fine until the upload to the FPGA is supposed to start. It then gives me this error:
...ANSWER
Answered 2021-Nov-10 at 11:49I needed to add permissions to access the device for the non-root users. I did this by creating the file /etc/udev/rules.d/ecp5.rules with the following contents:
QUESTION
Out of interest and learning purposes I have built Linux from scratch (LFS+BLFS, both version 10.0) according to the descriptions on www.linuxfromscratch.org.
In general the OS can boot and I can basically work with it. There are a few things which are not smooth, therefore I would like to address the experts here.
I would like to get going the AVRDragon, a programmer for Atmel microcontrollers. To use it on Linux, I work with the program "avrdude". My goal is to learn how avrdude works and interacts with the OS. Therefore I would like to build it from source with debug information.
For building avrdude from source, libusb/libusb_1_0 and libelf are required. I understand that libusb_1_0 was installed with BLFS. avrdude asks for either libusb and/or libusb_1_0. I cannot say if there is a problem with having only libusb_1_0. (libusb_1_0 is newer than libusb, isn't it?) Additionally I have installed libelf (since libelf is installed, I cannot build the kernel anymore, but this should not be a problem for now). In the kernel, USB support is enabled (Device Drivers -> USB Support -> Support for Host-side USB).
I have created a udev rule:
...ANSWER
Answered 2021-Oct-20 at 21:03Apparently, for full functionality you need both libusb-1.0 and libusb-0.1. The configure.ac
script defines HAVE_LIBUSB_1_0
only for the former and HAVE_LIBUSB
for the latter, while the *.c
files containing your error message only check for HAVE_LIBUSB
.
While current BLFS doesn't have instructions to build libusb-0.1, you can see them for libusb-0.1.12 in BLFS 6.3.
QUESTION
I am running Vmware vm with Ubuntu 18 OS on a Window 10 system. A USB bluetooth device is plug in this Machine. Now I want to control this bluetooth device in Ubuntu 18 VM, but failed.
In Ubuntu VM, I can get bluetooth hardware info through:
...ANSWER
Answered 2021-Oct-05 at 06:10Question fixed, original solution is post here.
To use a USB bluetooth from VMware guest OS, we can not share bluetooth to guest, we should connect the removeable bluetooth device to guest directly.
QUESTION
I try to read out the output of a command executed in QProcess
. I don't get the connection working between QProcess
's finished signal and a finished handler.
I tried several different ways of connecting to QProcess
finished signal but no luck so far. I know that the process executes because it prints the output in the GUI's console and that the process finishes because it passes the waitForFinished
method from sequential API.
Why does my code not hit onFinish
or onFinishNoPams
?
header:
...ANSWER
Answered 2021-Aug-31 at 20:45QProcess::execute() is a static method that starts the external process and waits for its completion in a blocking way. It has nothing to do with your m_process variable. What you want to use is QProcess::start().
QUESTION
I am trying to program the STM32F401 flash on our board in DFU mode. I am using the dfu-util tool in my linux computer.For my project requirements the BOOT 0 pin is always kept high throughout the process.
I am using the following command to flash and jump to application code.
...ANSWER
Answered 2021-Aug-30 at 08:25I found the issue. I had to uncomment the define USER_VECT_TAB_ADDRESS
in the system_stm32f4xx.c file.
Basically what was happening was that bootloader was looking for a loadable vector address from the flash application. With the USER_VECT_TAB_ADDRESS
commented the pointer to the vector address kept pointing to the bootloader vector table effectively crashing the flash application resetting the controller. With the BOOT 0 pin high it kept loading into bootloader with each reset.
More information about this is available in this similar question: STM32G474 bootloader exit
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install lsusb
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page