From: Bob S. <bo...@gm...> - 2014-10-27 17:35:45
|
I didn't know about udev. I set the rule to ATTR{idVendor}=="0fcf", ATTR{idProduct}=="1008", MODE+="666" in /etc/udev/rules.d/70-persistent-net.rules I know that I could/should put the rule in some other file, but don't know what to name it. This seems to work. On Thu, Oct 23, 2014 at 9:45 AM, Xiaofan Chen <xia...@gm...> wrote: > On Thu, Oct 23, 2014 at 8:42 PM, Bob Self <bo...@gm...> wrote: > > > > I'm getting the following error whe I try to open a USB ANT stick, > vendor = > > 0fcf, product = 1008. > > > > libusb: error [_get_usbfs_fd] libusb couldn't open USB device > > /dev/bus/usb/003/026: Permission denied > > libusb: error [_get_usbfs_fd] libusb requires write access to USB device > > nodes. > > > > I think that this worked a few weeks ago. I was working on the Windows > > version of my application, then came back > > to the linux version to test it and now I get this. What is the best way > to > > fix this? This is on Ubuntu 14.04. > > > > Have you set up the correct udev rules for your device? Do you know if > any kernel driver is attaching to the USB ANT stick? > > > -- > Xiaofan > |