Xbox 360 controller on Fedora 32
by Greg Woods
It has been a couple of years (which means 4 or 5 Fedora releases ago)
since I did this, but I used to be able to play Xonotic using my Xbox 360
Wireless controller. Now I cannot get the controller to work properly in
F32 (it works in Windows 10 so I know the hardware is OK).
This most likely has something to do with the move from xboxdrv (which is
no longer available in Fedora) to xpad kernel driver, and/or the move from
the old js driver to evdev. The xpad driver comes with the current kernel,
but what I cannot figure out is how to calibrate the controller. If I run
Xontic with the controller connected, the game world just spins
counterclockwise. This is a symptom of the controller needing to be
calibrated, but I don't know how to do it. I tried using "jscal", but if I
run "jscal -c" to calibrate it, it appears to work but doesn't. I can
immediately run "jscal -t" and it will say it is not calibrated, and
running "jstest" also shows it is not calibrated (several of the axes are
not centered, i.e. show nonzero values in jstest).
I attempted to download and compile xboxdrv, but it does not work due to
Python 2 vs. 3 incompatibilities, and it doesn't look like any work has
been done on xboxdrv in quite some time. If I try to make it, I get this:
root@snowcrash xboxdrv-linux-0.8.8]# make
scons
scons: Reading SConscript files ...
File "/local/src/xboxdrv-linux-0.8.8/SConstruct", line 34
print target
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean
print(target)?
make: *** [Makefile:24: xboxdrv] Error 2
Certainly looks like Python version incompatibility.
Can anybody point me to information on how to use an Xbox 360 controller on
F32, or how to calibrate it when using the xpad driver? I have done a lot
of Googling, but most of the articles I found mention things like "apt-get
install xboxdrv", showing they were written for Ubuntu rather than Fedora
and are wanting to use the xboxdrv driver.
Thank you,
--Greg
3 years
Hooks for automount
by Patrick O'Callaghan
Is there a way to invoke scripts before auto-mounting and after auto-
unmounting? I want to be able to power an external drive up and down as
needed.
poc
3 years, 2 months
Ethernet port "bounce" command?
by Doug H.
I am having an odd problem with my ethernet port. I assume this came
with a dnf update but that was some weeks ago so I can't help figure
out what update might have done it. When first discovered I think I
found that booting from an older kernel did not fix it. I assume that
the physical interface is not the problem since a physical "bounce"
always fixes it and it shows no other problems. To explain that...
The trouble is that the ethernet port will not come out of the "no-
carrier" state no matter how much I mess with the various commands that
are supposed to effect it.
The simple fix is to physically unplug and replug the cable. When it is
not working (each reboot) there are not lights on. The physical
"bounce" lights up the LEDs and it comes right up.
So, I am asking for something to add to rc.local that does the same
thing.
I use a wifi adapter for my main/Internet connection. This port is just
used for a wired link to my Raspberry Pi.
The command that seems like it *should* work:
sudo mii-tool --reset enp5s0
But that does not fix it.
Info:
The below is taken while it is working...
sudo lspci -v
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
Subsystem: ASUSTeK Computer Inc. M3A78 Series Motherboard
Flags: bus master, fast devsel, latency 0, IRQ 18
I/O ports at e800 [size=256]
Memory at faeff000 (64-bit, prefetchable) [size=4K]
Memory at faee0000 (64-bit, prefetchable) [size=64K]
Expansion ROM at fbef0000 [disabled] [size=64K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/2 Maskable- 64bit+
Capabilities: [70] Express Endpoint, MSI 01
Capabilities: [b0] MSI-X: Enable+ Count=2 Masked-
Capabilities: [d0] Vital Product Data
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-
00
Kernel driver in use: r8169
Kernel modules: r8169
nmcli
enp5s0: connected to Ether link to Pi
"Realtek RTL8111/8168/8411"
ethernet (r8169), 00:26:18:3A:2A:1B, hw, mtu 1500
inet4 192.168.11.4/24
route4 192.168.11.0/24
inet6 fe80::226:18ff:fe3a:2a1b/64
route6 fe80::/64
This does kill and then fix it when working, thus proving that this
module is being used:
sudo rmmod r8169
sudo modprobe r8169
ip link
4: enp5s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP mode DEFAULT group default qlen 1000
link/ether 00:26:18:3a:2a:1b brd ff:ff:ff:ff:ff:ff
--
Doug H.
3 years, 2 months
Formatting second hard disk
by Paul Smith
Dear All,
I have got a second hard disk on my desktop computer, which I would
like to format. My machine runs Fedora 33, and I would like to ask you
what format to adopt: the new Btrfs is advisable?
Moreover, could you please direct me to some documentation on how to
format the hard disk? Using GParted?
Thanks in advance,
Paul
3 years, 3 months
FAS login issue
by alan@clueserver.org
I created a Fedora FAS account a long while back. I cannot find the
account name I used and there seems to be no way to find it. The password
reset assumes you know what account name you used.
Who do I talk to to get this fixed?
---
Q: Why do programmers confuse Halloween and Christmas?
A: Because OCT 31 == DEC 25.
3 years, 3 months
Fedora 33 vs Mageia 8
by David
I am curious what the similarities are between Fedora 33 and the newly
released Mageia 8, and what the differences are.
Today's release announcment of Mageia 8, alleges that it ships with three
repositories, one of which is disabled. One of their repos contains
non-free stuff, and can be disabled. The disabled one contains the
controversial codecs which may be illegal in your country.
I recall someone suggesting that Mageia can ship their iso that way because
tjey are in France.
I do believe that the developmemt team at Mageia is only about 30
volunteers.
From my perspective, they do not use third-party repos. Right ?
I assume Mageia's core repo is not as up-to-date as Fedoras.
I assume Mageia 8 is way behind Fedora 34 Beta.
It would seem to me, that if a user prefers LXDE, or LXQt, or Mate or Xfce
or a window-manager, that it would not matter what distro you choose.
I do not think Mageia has Budgie DE.
Mageia only offers one iso, where as Fedora has custom isos. Right ?
Meaning, in order to get Mageia 8 LXQt, you must first install Mageia 8.
I think a newbie could learn on Mageia 8 and then later on learn to prefer
Fedora. Right ?
I assume they do not use anaconda as their instllaler, but have something
that the old Mandriva had.
Feel free to enlightmemt me.
Cheers,
David Locklear
3 years, 3 months
NFS authentication(?) error
by Ian Pilcher
Is there an RFC somewhere that requires NFS errors to be completely
opaque?
* 2 Fedora 33 systems on the same subnet (172.31.248.0/24).
* NFS client is 172.31.248.2; NFS server is 172.31.248.3
* /etc/exports on server contains
/srv/upscale_data
172.31.248.0(rw,no_subtree_check,no_root_squash,insecure)
$ sudo mount -vvvv -t nfs4 172.31.248.3:/srv/upscale_data /mnt/upscale
mount.nfs4: timeout set for Thu Feb 25 18:16:45 2021
mount.nfs4: trying text-based options
'vers=4.2,addr=172.31.248.3,clientaddr=172.31.248.2'
mount.nfs4: mount(2): Permission denied
mount.nfs4: trying text-based options
'vers=4,minorversion=1,addr=172.31.248.3,clientaddr=172.31.248.2'
mount.nfs4: mount(2): Permission denied
mount.nfs4: trying text-based options
'vers=4,addr=172.31.248.3,clientaddr=172.31.248.2'
mount.nfs4: mount(2): Permission denied
mount.nfs4: access denied by server while mounting
172.31.248.3:/srv/upscale_data
Wireshark shows that the client is sending:
Credentials
Flavor: AUTH_UNIX (1)
...
UID: 0
GID: 0
And the server responds with:
Reject State: AUTH_ERROR (1)
Auth State: bad credential (seal broken) (1)
The server is logging ABSOLUTELY NOTHING in the journal, dmesg, or
anywhere else (as far as I can tell).
Any ideas how I can figure out what is going on?
--
========================================================================
In Soviet Russia, Google searches you!
========================================================================
3 years, 3 months
X11 or Wayland session prompt on GDM?
by Frederic Muller
Hi!
I did that in the past and can't find how to do it again. Being
searching the web and except forcing either type of session and logging
out and back in I haven't found any other way.
Does anyone know if it's still possible and how to do it?
Thank you.
Fred
3 years, 3 months
New kernel errors after last update, Fedora 33
by Jerome Lille
After the latest update there are some errors in the log that I haven't
seen before.
kernel: xs_tcp_setup_socket: connect returned unhandled error -107
There are two of those per minute continuously. I haven't noticed any
other problems with the system, but wondering about those messages are
about.
/Jerome
3 years, 3 months