Package Details: steamos-xpad-dkms 20190810-1

Git Clone URL: https://aur.archlinux.org/steamos-xpad-dkms.git (read-only, click to copy)
Package Base: steamos-xpad-dkms
Description: xpad kernel module included with Valve's SteamOS
Upstream URL: https://github.com/ValveSoftware/steamos_kernel
Keywords: controller gamepad steam xpad
Licenses: GPL2
Conflicts: steamos-xpad
Submitter: popsUlfr
Maintainer: None
Last Packager: dustball
Votes: 58
Popularity: 0.000852
First Submitted: 2014-01-23 19:51
Last Updated: 2019-08-10 10:44

Latest Comments

« First ‹ Previous 1 2 3 4

swigglin commented on 2014-07-24 10:23

@popsUlfr

Ahh, there's an error in the installation. Sorry, I didn't notice that before.

dkms remove steamos-xpad/0.2.1 --all

outputed

Error! There are no instances of module: steamos-xpad
0.2.1 located in the DKMS tree.

sudo pacman -U steamos-xpad-dkms-0.2.1-1-any.pkg.tar.xz

outputed

loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): steamos-xpad-dkms-0.2.1-1

Total Installed Size: 0.05 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [----------------------------------] 100%
(1/1) checking package integrity [----------------------------------] 100%
(1/1) loading package files [----------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------] 100%
(1/1) checking available disk space [----------------------------------] 100%
Error! There are no instances of module: steamos-xpad
0.2 located in the DKMS tree.
error: command failed to execute correctly
(1/1) upgrading steamos-xpad-dkms [----------------------------------] 100%

Creating symlink /var/lib/dkms/steamos-xpad/0.2.1/source ->
/usr/src/steamos-xpad-0.2.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.15.5-2-ARCH KVERSION=3.15.5-2-ARCH....
cleaning build area....
Kernel cleanup unnecessary for this kernel. Skipping...

DKMS: build completed.

xpad.ko:
Running module version sanity check.
- Original module
- Found /usr/lib/modules/3.15.5-2-ARCH/kernel/drivers/input/joystick/xpad/xpad.ko
- Storing in /var/lib/dkms/steamos-xpad/original_module/3.15.5-2-ARCH/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /usr/lib/modules/3.15.5-2-ARCH/kernel/drivers/input/joystick/xpad/

depmod....

DKMS: install completed.

swigglin commented on 2014-07-24 10:14

Ahh, there's an error in the installation. Sorry, I didn't notice that before.

dkms remove steamos-xpad/0.2.1 --all

outputed

Error! There are no instances of module: steamos-xpad
0.2.1 located in the DKMS tree.

sudo pacman -U steamos-xpad-dkms-0.2.1-1-any.pkg.tar.xz

outputed

loading packages...
resolving dependencies...
looking for inter-conflicts...

Packages (1): steamos-xpad-dkms-0.2.1-1

Total Installed Size: 0.05 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [----------------------------------] 100%
(1/1) checking package integrity [----------------------------------] 100%
(1/1) loading package files [----------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------] 100%
(1/1) checking available disk space [----------------------------------] 100%
Error! There are no instances of module: steamos-xpad
0.2 located in the DKMS tree.
error: command failed to execute correctly
(1/1) upgrading steamos-xpad-dkms [----------------------------------] 100%

Creating symlink /var/lib/dkms/steamos-xpad/0.2.1/source ->
/usr/src/steamos-xpad-0.2.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.15.5-2-ARCH KVERSION=3.15.5-2-ARCH....
cleaning build area....
Kernel cleanup unnecessary for this kernel. Skipping...

DKMS: build completed.

xpad.ko:
Running module version sanity check.
- Original module
- Found /usr/lib/modules/3.15.5-2-ARCH/kernel/drivers/input/joystick/xpad/xpad.ko
- Storing in /var/lib/dkms/steamos-xpad/original_module/3.15.5-2-ARCH/x86_64/
- Archiving for uninstallation purposes
- Installation
- Installing to /usr/lib/modules/3.15.5-2-ARCH/kernel/drivers/input/joystick/xpad/

depmod....

DKMS: install completed.

popsUlfr commented on 2014-07-24 09:35

@swigglin:

That modinfo output is not right, seems like dkms failed to install the replacement kernel module? The xpad module it's showing is the stock one from the arch kernel. depmod on arch has out of the box support for .gz compressed kernel modules, so there's absolutely no need for module-init-tools hence the kernel is already successfully using the .gz xpad module.
It seems you don't have a '/usr/lib/modules/3.15.5-2-ARCH/kernel/drivers/input/joystick/xpad/xpad.ko' present which implies dkms failed for whatever reason.
Could you try `dkms remove steamos-xpad/0.2.1 --all` and then reinstall this package `pacman -U steamos-xpad-dkms-0.2.1-1-any.pkg.tar.xz` ?

If you still have issues please post your `pacman -U steamos-xpad-dkms-0.2.1-1-any.pkg.tar.xz` output.

swigglin commented on 2014-07-24 08:58

Ahh, sorry, "didn't work" isn't overly helpful :-P. I had installed a similar dkms on Debian and it stopped the controller from continously flashing its LEDs and instead would just light up the LED for the controller number. After installing this dkms though, the lights still continously flash.

My modinfo output gives a result like yours with an additional .gz

/lib/modules/3.15.5-2-ARCH/kernel/drivers/input/joystick/xpad.ko.gz

I did a little searching and this thread suggested I might need module-init-tools to use gzipped modules https://bbs.archlinux.org/viewtopic.php?id=113777. I installed the tools but no luck.

popsUlfr commented on 2014-07-22 18:06

@swigglin:

What exactly didn't work? You don't need to have the dkms service running or enabled, it will automatically install the module for the current running kernel.
If `modinfo xpad` gives you the path '/lib/modules/[YOUR KERNEL]/kernel/drivers/input/joystick/xpad/xpad.ko' then it's installed fine.
I updated the package by the way to follow the steamos_kernel repository.

I get this call trace with 3.15.6 , not sure about the implications since my gamepad still works fine:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at drivers/usb/core/urb.c:450 usb_submit_urb+0x265/0x600 [usbcore]()
usb 1-4: BOGUS urb xfer, pipe 3 != type 1
Modules linked in: xpad(O) ff_memless fuse rfcomm ctr ccm bnep intel_rapl x86_pkg_temp_thermal intel_powerclamp ecb btusb kvm_intel bluetooth 6lowpan_iphc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core videodev media kvm arc4 iwldvm mac80211 iwlwifi microcode algif_skcipher acpi_call(O) pcspkr af_alg coretemp joydev mousedev ext4 crc16 mbcache jbd2 i2c_i801 cfg80211 mei_me mei psmouse serio_raw iTCO_wdt iTCO_vendor_support rtsx_pci_ms memstick r8169 mii lpc_ich processor snd_hda_codec_hdmi battery ac thermal thinkpad_acpi nvram led_class wmi evdev rfkill hwmon mac_hid snd_hda_codec_conexant snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer snd soundcore shpchp ip6t_REJECT xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT
xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables nfs lockd sunrpc fscache btrfs xor raid6_pq dm_crypt dm_mod sr_mod cdrom sd_mod crc_t10dif crct10dif_pclmul crct10dif_common crc32_pclmul crc32c_intel rtsx_pci_sdmmc ghash_clmulni_intel atkbd libps2 mmc_core aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci libahci libata scsi_mod ehci_pci ehci_hcd xhci_hcd rtsx_pci usbcore usb_common i8042 serio i915 video button intel_gtt i2c_algo_bit drm_kms_helper drm i2c_core
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G O 3.15.6-1-zen #1
Hardware name: LENOVO 3259A2G/3259A2G, BIOS H0ET95WW (2.55 ) 01/20/2014
0000000000000000 5cc95a0e913c1fbd ffff88021e243c80 ffffffff8151175e
ffff88021e243cc8 ffff88021e243cb8 ffffffff81069b3d ffff8800c0f660c0
0000000000000020 0000000000000003 ffff8800a6112800 0000000000000003
Call Trace:
<IRQ> [<ffffffff8151175e>] dump_stack+0x4d/0x6f
[<ffffffff81069b3d>] warn_slowpath_common+0x7d/0xa0
[<ffffffff81069bbc>] warn_slowpath_fmt+0x5c/0x80
[<ffffffffa01a0465>] usb_submit_urb+0x265/0x600 [usbcore]
[<ffffffffa11d8f96>] xpad_irq_in+0x3b6/0x500 [xpad]
[<ffffffffa019d1c7>] __usb_hcd_giveback_urb+0x77/0x110 [usbcore]
[<ffffffffa019d29f>] usb_hcd_giveback_urb+0x3f/0x140 [usbcore]
[<ffffffffa0233ef1>] xhci_irq+0x821/0x1f20 [xhci_hcd]
[<ffffffff812a2d04>] ? timerqueue_del+0x24/0x70
[<ffffffffa0235601>] xhci_msi_irq+0x11/0x20 [xhci_hcd]
[<ffffffff810c815e>] handle_irq_event_percpu+0x3e/0x1f0
[<ffffffff810c834d>] handle_irq_event+0x3d/0x60
[<ffffffff810cb1a6>] handle_edge_irq+0x66/0x130
[<ffffffff81016bce>] handle_irq+0x1e/0x40
[<ffffffff8152148d>] do_IRQ+0x4d/0xe0
[<ffffffff8151712d>] common_interrupt+0x6d/0x6d
<EOI> [<ffffffff813dd66c>] ? cpuidle_enter_state+0x4c/0xc0
[<ffffffff813dd717>] cpuidle_enter+0x17/0x20
[<ffffffff810b7c15>] cpu_startup_entry+0x385/0x4f0
[<ffffffff810451ab>] start_secondary+0x24b/0x2f0
---[ end trace d1d34ac01b2bbca3 ]---

swigglin commented on 2014-07-20 00:47

It didn't work for me with kernel 3.15.5-2-ARCH. I originally installed it before I had the DKMS service running but later reinstalled with the following

pacman -S dkms
systemctl start dkms.service
systemctl enable dkms.service
makepkg -s
pacman -U steamos-xpad-dkms-0.2-1-any.pkg.tar.xz

Is that all I needed to do?




popsUlfr commented on 2014-02-02 21:47

@ProfessorKaos64:
No problem! I prefer this to xboxdrv to be honest. It just works out of the box for my xbox360 wireless controller :)
I updated the package with the reworked patches by Pierre-Loup A. Griffais and Greg Kroah-Hartman. I guess we'll have to wait until kernel 3.15 to have the patches merged.

ProfessorKaos64 commented on 2014-01-26 04:29

Thank you! This finally fixed my flashing lights on my wireless controller. xboxdrv is ok, but I'd rather the kernel module, less maintenance. I loved it so much I wrote an article on it. Thanks man.