Linux Lite Forums
Supertuxkart - steering wheel not detected in LL2.8 - Printable Version

+- Linux Lite Forums (https://www.freecinema2022.gq/forums)
+-- Forum: Hardware - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=6)
+--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=28)
+--- Thread: Supertuxkart - steering wheel not detected in LL2.8 (/showthread.php?tid=2807)

Pages: 1 2


Supertuxkart - steering wheel not detected in LL2.8 - m654321 - 03-30-2016

My 12 year old son has been using our old Asus laptop to play SuperTuxKart on Zorin 9 OS using a USB attached GXT 27 Steering Wheel.
It works superbly and it's great!  So, now I would like to play it myself on my newer Asus laptop using the installed LL2.8 OS...
but there's a glitch.

The steering wheel is apparently not recognised as a device (not listed), under SuperTuxKart/Options/Controls. 
Only 'Keyboard 0' is listed as a device.

Within SuperTuxKart Controls I clicked on 'Add a Device' and the advice given was:
"To add a new gamepad/joystick device, simply start SuperTuxKart with it connected and it will appear in the list"

Well I tried that advice but it still doesn't work, even after several reboots.

Any help with this much appreciated.
Many thanks
Mike


Re: Supertuxkart - steering wheel not detected in LL2.8 - rokytnji - 03-30-2016

Boot up with the steering wheel plugged in to the usb port so the kernel can see it 1st.

Then

Code:
lsusb

in terminal to get a idea if it sees it.

I use

Code:
dmesg|tail

and

Code:
$ dmesg | grep usb
<snip>
[   21.741860] usbcore: registered new interface driver btusb
[   21.991573] input: N-Trig Pen as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.0/0003:1B96:0001.0001/input/input8
[   21.995798] input: N-Trig Touchscreen as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.0/0003:1B96:0001.0001/input/input9
[   22.000407] ntrig 0003:1B96:0001.0001: input,hidraw0: USB HID v1.10 Device [HID 1b96:0001] on usb-0000:00:1d.1-2/input0
[   27.003789] input: N-Trig Pen as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.1/0003:1B96:0001.0002/input/input13
[   27.056495] input: N-Trig Touchscreen as /devices/pci0000:00/0000:00:1d.1/usb7/7-2/7-2:1.1/0003:1B96:0001.0002/input/input14
[   27.056754] ntrig 0003:1B96:0001.0002: input,hidraw1: USB HID v1.10 Device [HID 1b96:0001] on usb-0000:00:1d.1-2/input1

When I enabled my touchscreen (needed some info on it)  and bluetooth usb dongle for my external bluetooth usb speaker for my laptop.

Lastly. You can run supertuxcart from terminal and see what errors terminal spits out for that steering wheel.

I keep mine simple. I use my Sony Playstation 1 steering wheel with my 50 cd set of PS1 cds on my PS1.
It is not a usb hookup though, but Sony proprietary type of plug in.


Re: Supertuxkart - steering wheel not detected in LL2.8 - m654321 - 03-30-2016

Thanks for your reply rokytnji. This is the output I got from the command line you suggested - I have
only shown the output relevant to the Trust GXT 27 Steering Wheel for the first input to the terminal. I am not sure what all
this information tells me though...  what would you be looking for specifically? The first code suggests that LL has interpreted the steering
wheel as a playstation controller.

Mike

Code:
mike@LL-G750JS:~$ lsusb
Bus 003 Device 002: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Next...
Code:
mike@LL-G750JS:~$ dmesg|tail
[   70.695906] wlan0: RX AssocResp from e8:de:27:58:be:29 (capab=0x431 status=0 aid=2)
[   70.696989] wlan0: associated
[   70.697011] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   70.760801] type=1400 audit(1459351314.533:66): apparmor="DENIED" operation="open" profile="/sbin/dhclient" name="/etc/ld.so.preload" pid=2501 comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   70.764106] type=1400 audit(1459351314.533:67): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2502 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   70.798828] type=1400 audit(1459351314.569:68): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2503 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   70.800651] type=1400 audit(1459351314.573:69): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2504 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   71.167450] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   72.834742] type=1400 audit(1459351316.605:70): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2505 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   83.924733] type=1400 audit(1459351327.681:71): apparmor="DENIED" operation="open" profile="/usr/sbin/ntpd" name="/etc/ld.so.preload" pid=2734 comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
mike@LL-G750JS:~$ dmesg | tail
[   70.696989] wlan0: associated
[   70.697011] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   70.760801] type=1400 audit(1459351314.533:66): apparmor="DENIED" operation="open" profile="/sbin/dhclient" name="/etc/ld.so.preload" pid=2501 comm="dhclient" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   70.764106] type=1400 audit(1459351314.533:67): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2502 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   70.798828] type=1400 audit(1459351314.569:68): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2503 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   70.800651] type=1400 audit(1459351314.573:69): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2504 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   71.167450] nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.
[   72.834742] type=1400 audit(1459351316.605:70): apparmor="DENIED" operation="open" profile="/usr/lib/NetworkManager/nm-dhcp-client.action" name="/etc/ld.so.preload" pid=2505 comm="nm-dhcp-client." requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[   83.924733] type=1400 audit(1459351327.681:71): apparmor="DENIED" operation="open" profile="/usr/sbin/ntpd" name="/etc/ld.so.preload" pid=2734 comm="ntpd" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[  179.337429] [UFW BLOCK] IN=wlan0 OUT= MAC=80:86:f2:81:04:61:72:de:27:58:be:28:08:00 SRC=192.168.1.1 DST=224.0.0.1 LEN=36 TOS=0x00 PREC=0x00 TTL=1 ID=0 DF PROTO=2

Then...
Code:
mike@LL-G750JS:~$ dmesg | grep usb
[    0.262427] usbcore: registered new interface driver usbfs
[    0.262431] usbcore: registered new interface driver hub
[    0.262450] usbcore: registered new device driver usb
[    0.603850] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.603852] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.603853] usb usb1: Product: EHCI Host Controller
[    0.603854] usb usb1: Manufacturer: Linux 3.13.0-83-generic ehci_hcd
[    0.603855] usb usb1: SerialNumber: 0000:00:1a.0
[    0.619889] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    0.619891] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.619892] usb usb2: Product: EHCI Host Controller
[    0.619894] usb usb2: Manufacturer: Linux 3.13.0-83-generic ehci_hcd
[    0.619895] usb usb2: SerialNumber: 0000:00:1d.0
[    0.621301] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    0.621302] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.621303] usb usb3: Product: xHCI Host Controller
[    0.621304] usb usb3: Manufacturer: Linux 3.13.0-83-generic xhci_hcd
[    0.621305] usb usb3: SerialNumber: 0000:00:14.0
[    0.624217] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[    0.624218] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.624219] usb usb4: Product: xHCI Host Controller
[    0.624220] usb usb4: Manufacturer: Linux 3.13.0-83-generic xhci_hcd
[    0.624221] usb usb4: SerialNumber: 0000:00:14.0
[    1.120436] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.256944] usb 1-1: New USB device found, idVendor=8087, idProduct=8008
[    1.256946] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.368688] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.501212] usb 2-1: New USB device found, idVendor=8087, idProduct=8000
[    1.501214] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.669019] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[    1.686646] usb 3-2: New USB device found, idVendor=054c, idProduct=0268
[    1.686648] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.686649] usb 3-2: Product: Steering Wheel
[    1.686651] usb 3-2: Manufacturer: Sysgration Ltd.
[    1.692931] usbcore: registered new interface driver usbhid
[    1.692932] usbhid: USB HID core driver
[    1.853275] usb 3-4: new low-speed USB device number 3 using xhci_hcd
[    1.877530] usb 3-4: New USB device found, idVendor=05c7, idProduct=0113
[    1.877531] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    1.877532] usb 3-4: Product: USB MOUSE
[    1.877533] usb 3-4: Manufacturer: Qtronix Corp
[    1.877654] usb 3-4: ep 0x81 - rounding interval to 64 microframes, ep desc says 80 microframes
[    1.883222] input: Qtronix Corp USB MOUSE as /devices/pci0000:00/0000:00:14.0/usb3/3-4/3-4:1.0/input/input12
[    1.883330] hid-generic 0003:05C7:0113.0002: input,hidraw0: USB HID v1.10 Mouse [Qtronix Corp USB MOUSE] on usb-0000:00:14.0-4/input0
[    1.993357] usb 3-5: new full-speed USB device number 4 using xhci_hcd
[    2.010421] usb 3-5: New USB device found, idVendor=8087, idProduct=07dc
[    2.010423] usb 3-5: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.177642] usb 3-7: new high-speed USB device number 5 using xhci_hcd
[    2.299560] usb 3-7: New USB device found, idVendor=13d3, idProduct=5188
[    2.299561] usb 3-7: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    2.299562] usb 3-7: Product: USB2.0 UVC HD Webcam
[    2.299563] usb 3-7: Manufacturer: Azurewave
[    2.299564] usb 3-7: SerialNumber: NULL
[    9.778886] usbcore: registered new interface driver btusb
[    9.899462] input: USB2.0 UVC HD Webcam as /devices/pci0000:00/0000:00:14.0/usb3/3-7/3-7:1.0/input/input21
[    9.899720] usbcore: registered new interface driver uvcvideo

Then finally running supertuxkart from the terminal...

Code:
mike@LL-G750JS:~$ supertuxkart
Irrlicht Engine version 1.8.0
Linux 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64
[info   ] FileManager: Data files will be fetched from: '/usr/share/games/supertuxkart/'
[info   ] FileManager: User directory is '/home/mike/.config/supertuxkart/'.
[info   ] FileManager: Addons files will be stored in '/home/mike/.local/share/supertuxkart/addons/'.
[info   ] FileManager: Screenshots will be stored in '/home/mike/.cache/supertuxkart/screenshots/'.
[debug  ] translation: Env var LANGUAGE = 'en_GB:en_US:en'.
[debug  ] translation: Language 'English (Great Britain)'.
Adding language fallback en
[info   ] irr_driver: GLSL supported.
[debug  ] main: Error messages and other text output will be logged to /home/mike/.config/supertuxkart//stdout.log.







Re: Supertuxkart - steering wheel not detected in LL2.8 - rokytnji - 03-30-2016

Time for terminal 101 coaching.

Lot's of info . "dmesg | grep usb" says

Quote:[    1.686646] usb 3-2: New USB device found, idVendor=054c, idProduct=0268

Which matches lsusb readout

Quote:Bus 003 Device 002: ID 054c:0268 Sony Corp. Batoh Device / PlayStation 3 Controller

So your steering wheel is being seen

To see the driver being used

Code:
lsusb -t

should cover  informing you what driver to see if it matches up with

Quote:[    1.686649] usb 3-2: Product: Steering Wheel
[    1.686651] usb 3-2: Manufacturer: Sysgration Ltd.
[    1.692931] usbcore: registered new interface driver usbhid

You are even told where to look for errors and where the error log is kept

Quote:[debug  ] main: Error messages and other text output will be logged to /home/mike/.config/supertuxkart//stdout.log.

The above is why I prefer using terminal vs a gui/gtk window that just sits there like a tick on a dog. Saying nothing but the dog scratches to let you know something is up.


Re: Supertuxkart - steering wheel not detected in LL2.8 - m654321 - 03-30-2016

@rokytnji
How do I list output of  /home/mike/.config/supertuxkart//stdout.log in terminal?
I couldn't find this file under 'File System' in File Manager, i.e: when I click on File System, then home, then mike,  I just get my directories in /Home rather than any .config files.

This is where I get lost as I have no real background in Linux...

Mike



Re: Supertuxkart - steering wheel not detected in LL2.8 - Valtam - 03-30-2016

(03-30-2016, 09:33 AM)m654321 link Wrote: The steering wheel is apparently not recognised as a device (not listed), under SuperTuxKart/Options/Controls. 
Only 'Keyboard 0' is listed as a device.

Within SuperTuxKart Controls I clicked on 'Add a Device' and the advice given was:
"To add a new gamepad/joystick device, simply start SuperTuxKart with it connected and it will appear in the list"

The wording suggests to me that only gamepad/joystick devices are supported, not Steering wheels and paddles.


Re: Supertuxkart - steering wheel not detected in LL2.8 - rokytnji - 03-30-2016

View>Show Hidden Files in thunar

Then .config>supertuxcart>stdout.log

anything named with period "." in front of it is a hidden file or folder. Kept out of site from a user till view hidden files is enabled.

Quote:The wording suggests to me that only gamepad/joystick devices are supported, not Steering wheels and paddles.

I am going by his ZorinOS sees it Jerry. Knowing ZorinOS is also Ubuntu 14.04 based also.
I am just guessing he is plugging the steering wheel in after login and bootup and hence the game does not see it.
Following my instructions to plug it in before power up so the kernel sees it. And we have proved it does.
Means the game should now see it also.

Just a bunch of guess work from the Mexican border though. So. m654321. Have you tried supertuxcart since we proved your steering wheel is being seen and tried using it?




Re: Supertuxkart - steering wheel not detected in LL2.8 - Valtam - 03-30-2016

May pay to post here - http://forum.freegamedev.net/viewforum.php?f=16


Re: Supertuxkart - steering wheel not detected in LL2.8 - m654321 - 03-31-2016

Quote:View>Show Hidden Files in thunar
Then .config>supertuxcart>stdout.log
Thanks rokytnji - I opened stdout.log but it's
completely empty.

Quote:I am going by his ZorinOS sees it Jerry.
Knowing ZorinOS is also Ubuntu 14.04 based also.
My thoughts entirely. Furthermore LL2.6 & 2.4 were able to
run supertuxkart out-of-the-box using the steering wheel
with the older laptop that now has zorin on it for my 11 year
old son.

Quote:I am just guessing he is plugging the steering wheel
in after login and bootup and hence the game does not see it
No. The steering wheel was plugged in both before & after boot up (tried both),
but still doesn't work.  Thanks rokytnji but I think it may be time to do a CLEAN INSTALL,
as I have too many issues bothering me with my set-up at the
moment, which all seem to have happened round about the same time, e.g:

- steering wheel not recognised (supertuxkart)
- updating/upgrading failing in gui (though terminal method works)
- gparted doesn't open (either with gui or terminal) - 'hal-lock' issue
- I can burn DVDs (e.g. distro iso files) but recently they aren't recognised
  when I try to play them, whereas my older DVDs are recognised and do play
  on the same laptop set-up.

Apart from the above four issues, everything else continues to work well on the dual-boot
UEFI set-up.  Maybe I'm experiencing the 'UEFI-bug' that wirezfree reported
recently - who knows? I'll sit on this for a few more days before making a final decision
on whether to reinstall LL2.8... Many thanks for your help rokyjni. Jerry - many thanks for the
gaming website link.

Mike


Re: Supertuxkart - steering wheel not detected in LL2.8 - LL-user - 03-31-2016

Hi Mike,

Depending on the urgency/ importance you might want to consider waiting for LL 3.0 that is basically around the corner as Jerry pointed out in another post. As LL 3.0 will require a new installation anyway. So you could avoid having to perform two installations within a short time frame.

Just crossed my mind while reading your post...