{"id":114,"date":"2008-09-22T22:12:33","date_gmt":"2008-09-22T20:12:33","guid":{"rendered":"http:\/\/www.stenyak.com\/?p=114"},"modified":"2008-09-22T22:12:33","modified_gmt":"2008-09-22T20:12:33","slug":"status-of-logitech-g25-support-under-gnulinux","status":"publish","type":"post","link":"https:\/\/www.stenyak.com\/?p=114","title":{"rendered":"Status of Logitech G25 support under GNU\/Linux"},"content":{"rendered":"<p>Last time I tried the <a href=\"http:\/\/www.logitech.com\/index.cfm\/gaming\/pc_gaming\/wheels\/devices\/131&amp;cl=us,en\">Logitech G25 steering wheel<\/a> under GNU\/Linux, only two of the 7 gears could be used, there was no clutch pedal, gas and brake were in combined axis mode, a couple of buttons didn&#8217;t even work, the steering range was severely limited&#8230; long story short, there was no way to fix all those problems, so the wheel was definitely <strong>not<\/strong> usable for <a href=\"http:\/\/en.wikipedia.org\/wiki\/Sim_racing\">simracing<\/a> purposes.<\/p>\n<p><a href=\"http:\/\/www.stenyak.com\/wp-content\/uploads\/2008\/09\/g25.jpg\"><img loading=\"lazy\" class=\"alignleft size-medium wp-image-116\" style=\"margin: 5px;\" title=\"logitech g25\" src=\"http:\/\/www.stenyak.com\/wp-content\/uploads\/2008\/09\/g25-300x225.jpg\" alt=\"\" width=\"300\" height=\"225\" \/><\/a>Fortunately, a few days ago I stumbled upon a thread discussing the usability of the wheel under GNU\/Linux, and someone had kindly posted <a href=\"http:\/\/vdrift.net\/Forum\/viewtopic.php?t=866\">some<\/a> <a href=\"http:\/\/vdrift.net\/Forum\/viewtopic.php?t=541\">links<\/a> to the <a href=\"http:\/\/vdrift.net\">VDrift<\/a> forums (great sim btw), where most of the previous discussions regarding the G25 had been held. It seems that some guy had released a tool that allows to use all the features of this awesome steering wheel.<\/p>\n<p>Skimming through its code (yeah, it was realeased in source code form, <strong>under public domain and LGPL<\/strong>!), it seems to send some binary data that initializes the so called <em>extended mode<\/em>, which is not enabled by default. It looks like someone has spent some serious time sniffing through USB traffic&#8230;<\/p>\n<p>Anyway, the thing is that <strong>the tool does work<\/strong>, and so the G25 is now much more usable under GNU\/Linux! Except for one thing: trying to set the 900\u00ba rotation mode, a process during which some usb or hid driver seems to freak out and remove the steering wheel device nodes \ud83d\ude41<\/p>\n<p>Force feedback is supposed to have been working for some time now, but due to the aforementioned initial problems, I never really bothered to test it much (I did patch the kernel to see if the existing FFB drivers would work for the G25, and the basic effects worked, but there was no point on finding a driving game that used them).<\/p>\n<p>Just in case it disappears from tha interwebs, i&#8217;m hosting the tool myself. The usage is pretty simple:<\/p>\n<ol>\n<li>Download the <a href=\"\/dev\/usbtool-0.1.tar.gz\">GNU\/Linux Logitech G25 extended mode enabler tool<\/a> (<em>46KB<\/em>) archive.<\/li>\n<li>Extract its contents anywhere, and <em>cd<\/em> to it.<\/li>\n<li>Compile: <em>.\/build.sh<\/em><\/li>\n<li>Run the tool: <em>.\/usbtools g25-set-extended-mode<\/em><\/li>\n<\/ol>\n<p>And that&#8217;s it. <strong>Make sure you run jscalibrator the first time<\/strong> in order to calibrate and remove any nasty deadzones on all axis. For more info, simply run <em>.\/usbtools<\/em> without parameters.<\/p>\n<p>Now i just gotta wait for Wine to properly support forcefeedback so that i can enjoy <a href=\"http:\/\/www.lfs.net\">Live For Speed<\/a> the way it&#8217;s meant to \ud83d\ude00<\/p>\n<p>Happy racing!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last time I tried the Logitech G25 steering wheel under GNU\/Linux, only two of the 7 gears could be used, there was no clutch pedal, gas and brake were in combined axis mode, a couple of buttons didn&#8217;t even work, the steering range was severely limited&#8230; long story short, there was no way to fix [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[7,13,14,25],"_links":{"self":[{"href":"https:\/\/www.stenyak.com\/index.php?rest_route=\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/www.stenyak.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stenyak.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stenyak.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stenyak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=114"}],"version-history":[{"count":0,"href":"https:\/\/www.stenyak.com\/index.php?rest_route=\/wp\/v2\/posts\/114\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.stenyak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stenyak.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stenyak.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}