The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
Hardware: simple utility for send hex commands to usb device - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3) +--- Forum: General Discussion (https://www.vdrift.net/Forum/forumdisplay.php?fid=8) +--- Thread: Hardware: simple utility for send hex commands to usb device (/showthread.php?tid=848) |
- tof8pool - 10-20-2008 Your problem could be that your kernel is not configured to give you force feedback support can you run run those commands and tell us what the result is ? lsmod |grep usbhid (this one will tell us if USB Human Interface is loaded ) lsmod |grep ff_memless ( this one will tell us if force feedback is loaded ) ls /lib/modules/`uname -r`/kernel/drivers/input - Rich43 - 10-21-2008 root@richie-desktop:/dev/system# lsmod |grep usbhid usbhid 35968 0 hid 50688 1 usbhid usbcore 149616 5 btusb,usbhid,ehci_hcd,uhci_hcd root@richie-desktop:/dev/system# lsmod |grep ff_memless root@richie-desktop:/dev/system# ls /lib/modules/`uname -r`/kernel/drivers/input evbug.ko ff-memless.ko input-polldev.ko joystick misc serio touchscreen evdev.ko gameport joydev.ko keyboard mouse tablet root@richie-desktop:/dev/system# Ahh! Il try loading ff_memless? - Rich43 - 10-21-2008 still no luck. I found this in linux-input mailing list Code: Not sure this will fix your issues, but ... im working on trying the above. Code: Works fine for me here on 64-bit, and uses standard headers. Maybe you That is a newer version of the force feedback tools. Code: richie@richie-desktop:/root/utils$ sudo ./ffcfstress -d /dev/input/event3 Code: sudo modprobe ff_memless Code: root@richie-desktop:~/utils# ./evtest /dev/input/event3 - tof8pool - 10-22-2008 ff_memless should be automatically loaded and usbhid should be using it. Can you give the result of : grep HID /usr/src/linux/.config CONFIG_HID_FF should probably be set to Y - Rich43 - 10-25-2008 richie@richie-desktop:~/linux-source-2.6.27$ grep HID .config CONFIG_BT_HIDP=m CONFIG_HID_SUPPORT=y CONFIG_HID=m # CONFIG_HID_DEBUG is not set CONFIG_HIDRAW=y CONFIG_USB_HID=m CONFIG_USB_HIDINPUT_POWERBOOK=y # CONFIG_HID_FF is not set CONFIG_USB_HIDDEV=y # USB HID Boot Protocol drivers CONFIG_USB_PHIDGET=m CONFIG_USB_PHIDGETKIT=m CONFIG_USB_PHIDGETMOTORCONTROL=m CONFIG_USB_PHIDGETSERVO=m richie@richie-desktop:~/linux-source-2.6.27$ eek? I think thats bad. - tof8pool - 10-26-2008 CONFIG_HID_FF must be set to y When configuring your kernel, go to Device Drivers, then HID Devices and then enable Force feedback support. Hope this helps ! - joevenzon - 10-27-2008 I added a G25 wheel linux tool to SVN that tof8pool e-mailed to me. If you update the vdrift trunk you'll see it in the tools folder. You can also see it here: http://svn.vdrift.net/viewvc.cgi/trunk/tools/G25manage/ - eXSs - 10-28-2008 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 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 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 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 Thanks in advance - tof8pool - 11-02-2008 could you try to use the G25manage tool ? http://svn.vdrift.net/viewvc.cgi/trunk/tools/G25manage/?root=VDrift There are only 2 little files to downloads : the source code and a makefile. Once the source is compiled, you just have to try: ./G25manage --nativemode and ./G25manage --range 900 - cgaudry - 12-22-2008 Hello, I have a Logitech Formula EX (not a G25), and I want to have a separate brake and accelerator (now it is combined). I tried a lot of command, but I can't reload the usbhid module after using usbtool. I'm under Linux Fedora 10 (umane -r is 2.6.27.7-134.fc10.x86_64). Help me please ;-) Code: # cat /proc/bus/usb/devices - Simey - 03-11-2009 Hey, a DFP owner here, resurrecting this thread. First, I want to express my gratitude to all who have contributed, there has been some awesome work achieved. To start with, I had the same problem as eXSs. USBtool was a no go. G25manage on the other hand would run fine, except it didn't actually do anything (Because I have a DFP?). After a bit of hacking of USBtool, and looking at how G25manage does it, I changed this line (line 273) of code in usb.py From: Code: res=usb.usb_bulk_write(self.iface.device.handle, self.addrout, data[:min(len(data), self.outsize)], timeout) Code: res=usb.usb_bulk_write(self.iface.device.handle, self.addrout, data, min(len(data), self.outsize), timeout) Code: sudo rmmod joydev && sudo rmmod usbhid && sudo modprobe usbhid Here's where I get stuck. USBtool will allow me to change the left and right suck/push values for the feedback, as per the in-built commands, so I assume the program is working now. However, attempting to change the wheel to 900 degree mode results in absolutely nothing happening, those little stops just won't get out of the way. Does anyone who actually knows what they're doing, unlike me, have any comments about what I might be doing right or wrong? Edit: The tweak I made to USBtool is of absolutely no use unless you are experiencing the problem outlined in eSXs's post, if you don't have this specific problem, don't bother. shameless first post bump DFP 900 DEGREES PLZ! - philt - 05-01-2009 How can I get FF/900 degrees with my DFP again? I tried usbtool, G25Manage, removal and loading of modules... nothing dmesg reports Code: #dmesg usbtool also states: Code: #./usbtool -l Code: # ./usbtool -v -d 046d:c294:0 -v g25-set-range-wheel-900 after setting set-range-wheel-900, the js0 device file disappears, removal of joydev, usbhid and reloading do nothing. Stuck in 400 degrees I believe; just one led on. I also changed the line in usb.py Simey spoke of but no, luck either... AHH! 900 degrees is the most priority to me. Please help. Thank you. - joevenzon - 05-01-2009 Have you read these? http://wiki.vdrift.net/Logitech_G25_support http://wiki.vdrift.net/Setting_up_force_feedback http://wiki.vdrift.net/Enabling_force_feedback_in_kernel - thelusiv - 05-01-2009 The DFP takes slightly different commands than the G25. I was trying to find the big bunch of info I wrote about it a while ago, I thought I posted it here, but it must have been on the linux-input mailing list. edit: No, I did post it here, in fact in [the beginning of] this very thread: http://vdrift.net/Forum/viewtopic.php?p=7755#7755 Either way, I think that the G25 tool(s) don't really support the DFP. It needs its own tool or a different mode in the G25 tool to support its commands. - cgaudry - 11-05-2009 Hi, The link to download "usbtool" is no longer available. Where can I get this tools ? Thank you. |