-
Notifications
You must be signed in to change notification settings - Fork 66
Difficulty getting this running on Ubuntu 11.10 #14
Comments
You'll need to install the libusb-1.0_0-dev package ( I may have the dashes On Sat, Oct 29, 2011 at 10:25 AM, mooredan <
|
sudo apt-get install libusb-1.0-0-dev That alone didn't do it, I had to install pyusb-1.0.0-a1from http://sourceforge.net/projects/pyusb/files/ ...after unzipping: sudo python setup.py install ...but that just got me past the original issue, now there is a USB time out error: Traceback (most recent call last): I tried several debugging steps:
This appears similar to a more recently reported timeout error (the issue list and/or docs show another one resolved). Can you suggest any further troubleshooting steps? Dan ..but now, there's a USB timeout error |
Oh, sorry, I thought you'd already installed pyusb-1 since it found the usb Yeah, now you're to the same point pretty much everyone else is. These On Sat, Oct 29, 2011 at 2:54 PM, mooredan <
|
Maybe I just missing something basic, but any help would be appreciated.
The base is definitely seen by the system:
lsusb | grep Cyg
Bus 002 Device 006: ID 10c4:84c4 Cygnal Integrated Products, Inc.
ll /dev/fit
lrwxrwxrwx 1 root root 15 2011-10-28 17:44 /dev/fitbit-ant_2-1.5 -> bus/usb/002/006
...but I get an AttributeError when starting it:
python fitbit.py
Traceback (most recent call last):
File "fitbit.py", line 351, in
sys.exit(main())
File "fitbit.py", line 317, in main
if not base.open():
File "/home/mooredan/src/libfitbit/python/antprotocol/bases.py", line 24, in open
if not super(FitBitANT, self).open(vid, pid):
File "/home/mooredan/src/libfitbit/python/antprotocol/libusb.py", line 63, in open
self._connection = usb.core.find(idVendor = vid,
AttributeError: 'module' object has no attribute 'core'
dpkg --get-selections | grep usb | grep py
python-usb install
uname -a
Linux horsetooth 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
cat /etc/issue
Ubuntu 11.10 \n \l
Please let me know if you need more info, thanks.
Dan
The text was updated successfully, but these errors were encountered: