Questions tagged [libusb]

10 questions
21
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…
11
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
  • 253
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 …
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…
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
1
vote
1 answer

How to return to original USB driver?

I am struggeling to get some communication via USB using PyUSB (help there is also very much appreciated). For me, the documentation of PyUSB does not cover the full picture (including such traps and time-consuming annoyances. The minimal examples…
theozh
  • 185
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
  • 3
  • 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
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…