Questions tagged [libusb]

10 questions
19
votes
2 answers

SCardEstablishContext: Service not available

I installed the following packages: libusb-dev libusb++-0.1-4c2 libccid pcscd libpcsclite1 libpcsclite-dev List item libpcsc-perl pcsc-tools But when I send the pcsc_scan command I received the below output : root@bt:/# pcsc_scan PC/SC…
Ebrahim Ghasemi
  • 642
  • 4
  • 12
  • 25
9
votes
2 answers

In systemd service file, how do I say "after USB is ready"?

I have a program running on Raspbian Stretch, talking to a mobile phone via USB, using a specialized protocol implemented on top of libusb. I'd like the program to run on startup, so I make up a systemd service file, but not sure what target it…
Nick Lee
  • 233
  • 1
  • 2
  • 6
4
votes
1 answer

lsusb: unable to initialize libusb: -99

When I try to run lsusb I get the following error: $ lsusb unable to initialize libusb: -99 System details: OS: CentOS 6.5 Kernel: 2.6.32-431.1.2.0.1.el6.x86_64 Installed: libusb-0.1.12-23.el6.x86_64 …
Jonathon Reinhart
  • 3,384
  • 12
  • 35
  • 54
3
votes
1 answer

Give application/user access to USB device

I have a Mono application running on Raspbian that uses a certain USB device through libusb. If I start the application normally it fails to open the device. If I start the application as root (or through sudo) the application successfully opens the…
TheHvidsten
  • 181
  • 2
  • 10
1
vote
1 answer

Rtl-sdr on mac Os X

I'm trying to use my R820T2 dongle as a SDR receiver on my Mac. (to receive ADS-B signals). I've followed the installation as discribed here: http://www.hfunderground.com/wiki/RTL-SDR. When I try to run rtl_test however, it gives me this: Found 1…
Xander
  • 113
  • 7
1
vote
0 answers

Make can't find libusb-1.0 when compiling lm4flash

I'm trying to get a Tiva Launchpad EK-TM4C1294XL working with my laptop which is running Ubuntu 16.04 LTS. I've been following this guide, but I'm stuck on step 9. When I run the make command, I get the following error: Package libusb-1.0 was not…
1
vote
0 answers

How to correctly install libusb-win32 for PCM RPT-800A UPS?

I have a PCM RPT-800A UPS, connected to a Windows 2012 machine. I would like to use NUT for communicating with the UPS.  But shortly after installing libusb-win32 for this UPS, the device in Device Manager starts to "blink" (disappear and appear…
real_sm
  • 103
  • 1
  • 2
  • 15
0
votes
1 answer

Disconnected USB device still visible in Device Manager

I have a USB device that, when a certain hard problem is encountered and after I unplug it, refuses to disappear from Device Manager. Even there's no driver for it in memory (Process Explorer, System), even if I refresh the view, even if…
Liviu
  • 69
  • 1
  • 10
0
votes
0 answers

Error when adding camera USB host device to virt-manager qemu guest with User Session networking

I'm using an archlinux host with a windows 10 guest error: https://pastebin.com/SmwDDwRg I've tried creating new udev rules as well as downgrading to an earlier version of libvirt, but the udev rules had no effect even after udevadm control…
0
votes
0 answers

What's the best/easiest way to create a usb connection from Windows to Linux

I'm wondering what's the best way for me to setup a usb connection from Windows to a remote linux servers (Redhat)? I did some Googling and found socat but that was for Linux to Linux, any ideas? My objective: To ensure my Yubikey is detected on a…