I am trying library for on-buddy debian, but continues to give me these mistakes why?
I can help
Thanks
luca
luca@slupz:~/Desktop$ sudo python ibuddy.py
Starting search…
vend :4400 prod: 1
endpoint
self.conf
Traceback (most recent call last):
File “ibuddy.py”, line 101, in ?
deviceList.append(BuddyDevice(devices))
File “ibuddy.py”, line 17, in __init__
self.dev.open()
File “ibuddy.py”, line 88, in open
self.handle.setConfiguration(self.conf)
usb.USBError: could not set config 1: Device or resource busy
Right I’ve sorted it, you need to remove the usbhid driver, startup the script and then reinsert the driver, basically:
modprobe -r usbhid
./ibuddy.py
modprobe usbhid
Bear in mind that usbhid controls things like usb keyboards and mice it might be an idea to script this and run it, otherwise you cant type anything after the first line :p
April 2nd, 2008 - 1:51 pm
Hi,
I am trying library for on-buddy debian, but continues to give me these mistakes why?
I can help
Thanks
luca
luca@slupz:~/Desktop$ sudo python ibuddy.py
Starting search…
vend :4400 prod: 1
endpoint
self.conf
Traceback (most recent call last):
File “ibuddy.py”, line 101, in ?
deviceList.append(BuddyDevice(devices))
File “ibuddy.py”, line 17, in __init__
self.dev.open()
File “ibuddy.py”, line 88, in open
self.handle.setConfiguration(self.conf)
usb.USBError: could not set config 1: Device or resource busy
April 3rd, 2008 - 12:00 am
I’ll check into that later for you, I’m just setting up a Debian machine at home actually so I can test it on there
April 5th, 2008 - 7:20 am
Right I’ve sorted it, you need to remove the usbhid driver, startup the script and then reinsert the driver, basically:
modprobe -r usbhid
./ibuddy.py
modprobe usbhid
Bear in mind that usbhid controls things like usb keyboards and mice it might be an idea to script this and run it, otherwise you cant type anything after the first line :p
April 15th, 2008 - 3:37 pm
Ok perfect work, but I can not use it because I am disabled and therefore the usb mouse: (
Six managed to move the wings?
May 25th, 2008 - 4:33 am
I can’t try your script as i can’t download it,
I try to modify the missile.py without success so i may need your help or this ibuddy.py script
Thanks