Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hardware: simple utility for send hex commands to usb device
10-28-2008, 09:03 AM,
#38
 
Thanks for this great source of information at first!
Since this is the only active place I could find for information about how to activate my G25 fully I'd really like to ask for some help here.

I've followed all the steps mentioned in this topic but I still can't get the wheel in 900 mode.
I'm getting errors I can't eplain:
Code:
exss@exss-ws01:~/Files/usbtool-0.1$ sudo python2.5 ./usbtool g25-set-range-wheel-900
autoselect first known device G25 (normal mode) at 46d:c294:0
Command alias detected: g25-set-range-wheel-900
Send command f881 84 03 000000
opening device
alt setting 0
Traceback (most recent call last):
  File "./usbtool", line 159, in <module>
    dev.write(buf)
  File "/home/exss/Files/usbtool-0.1/usb.py", line 273, in write
    res=usb.usb_bulk_write(self.iface.device.handle, self.addrout, data[:min(len(data), self.outsize)], timeout)
TypeError: usb_bulk_write() takes exactly 5 arguments (4 given)

And when I specify the USB ID I get the following output:
Code:
exss@exss-ws01:~/Files/usbtool-0.1$ sudo python2.5 ./usbtool -d 046d:c294:0 -v f810
Send command f810
opening device
alt setting 0
Traceback (most recent call last):
  File "./usbtool", line 159, in <module>
    dev.write(buf)
  File "/home/exss/Files/usbtool-0.1/usb.py", line 273, in write
    res=usb.usb_bulk_write(self.iface.device.handle, self.addrout, data[:min(len(data), self.outsize)], timeout)
TypeError: usb_bulk_write() takes exactly 5 arguments (4 given)

As you can see, both methods give me this error. I'm not sure if I've missed something but I could really use some help Smile

I'm running Debian "Lenny". I've installed all the updates up to the ones of today.
The backages swig, python2.5, python2.5-dev, python-usb, libusb-dev have been installed in an attempt to make it all work. I have not modified my kernel as it has been explained in this topic simply because I wasn't able to find the files stated there.
My hardware specs are (in case you need them):
Core2Duo 2,0@2,66
Gigabyte EP45-DS3P
2*1GB 800Mhz DDR2 Ram
nVidia GeForce 8600 GT 256MB
500 Watt Tagan PSU
Logitech G25 wheel

The wheel is connected directly to the motherboards USB port, not via an extra hub.

I've tried to rebuild the libusb-wrapper a few times already as stated in one of the earlier posts. It tells me the following:
Code:
./build.sh
/usr/include/usb.h:330: Warning(302): Identifier 'usb_device' redefined (ignored),
/usr/include/usb.h:242: Warning(302): previous definition of 'usb_device'.

Thanks in advance Smile
Reply


Messages In This Thread
[No subject] - by thelusiv - 12-30-2007, 05:05 AM
[No subject] - by avl - 12-30-2007, 06:14 AM
[No subject] - by thelusiv - 12-30-2007, 06:36 AM
[No subject] - by avl - 12-30-2007, 08:05 AM
[No subject] - by thelusiv - 12-31-2007, 08:14 AM
[No subject] - by avl - 12-31-2007, 08:44 AM
[No subject] - by thelusiv - 01-03-2008, 06:19 PM
[No subject] - by thelusiv - 02-09-2008, 05:58 AM
[No subject] - by thelusiv - 02-21-2008, 02:50 AM
[No subject] - by thelusiv - 02-21-2008, 04:29 AM
[No subject] - by thelusiv - 03-14-2008, 02:43 AM
[No subject] - by rm - 03-17-2008, 12:43 PM
[No subject] - by thelusiv - 03-17-2008, 01:12 PM
[No subject] - by rm - 03-17-2008, 02:03 PM
[No subject] - by thelusiv - 03-17-2008, 02:36 PM
[No subject] - by rm - 03-17-2008, 03:15 PM
[No subject] - by thelusiv - 03-17-2008, 06:10 PM
/dev/js0 disappeared - by tof8pool - 04-21-2008, 12:29 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-28-2008, 08:02 PM
[No subject] - by bunder - 10-11-2008, 07:08 PM
[No subject] - by tof8pool - 10-12-2008, 05:47 AM
[No subject] - by bunder - 10-12-2008, 08:20 AM
[No subject] - by Rich43 - 10-18-2008, 10:41 PM
[No subject] - by bunder - 10-19-2008, 06:01 AM
[No subject] - by Rich43 - 10-19-2008, 03:32 PM
[No subject] - by tof8pool - 10-20-2008, 01:58 AM
[No subject] - by Rich43 - 10-20-2008, 11:32 AM
[No subject] - by tof8pool - 10-20-2008, 01:10 PM
[No subject] - by Rich43 - 10-21-2008, 03:22 PM
[No subject] - by Rich43 - 10-21-2008, 03:53 PM
[No subject] - by tof8pool - 10-22-2008, 02:10 AM
[No subject] - by Rich43 - 10-25-2008, 08:58 PM
[No subject] - by tof8pool - 10-26-2008, 01:16 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-27-2008, 10:43 PM
[No subject] - by eXSs - 10-28-2008, 09:03 AM
[No subject] - by tof8pool - 11-02-2008, 06:09 AM
[No subject] - by cgaudry - 12-22-2008, 05:40 PM
[No subject] - by Simey - 03-11-2009, 06:50 AM
[No subject] - by joevenzon_phpbb2_import3 - 05-01-2009, 07:59 PM
[No subject] - by thelusiv - 05-01-2009, 08:21 PM
[No subject] - by cgaudry - 11-05-2009, 02:41 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-06-2009, 01:51 AM
[No subject] - by cgaudry - 11-07-2009, 07:12 AM
[No subject] - by cgaudry - 11-13-2009, 04:02 PM
[No subject] - by joevenzon_phpbb2_import3 - 11-16-2009, 11:44 PM
[No subject] - by bopApocalypse - 11-17-2009, 11:53 PM
Automatic G25 recognition - by IvanVimes - 11-30-2009, 10:09 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-01-2009, 12:06 AM
G25 udev rules - by tof8pool - 03-21-2010, 11:26 AM
[No subject] - by Blackylol - 05-10-2010, 04:53 PM
[No subject] - by joevenzon_phpbb2_import3 - 05-10-2010, 10:25 PM
[No subject] - by Metaphysicist - 11-22-2010, 04:21 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)