Comments (6)
Hi there, looks like you are trying to compile the driver natively on a Raspberry - right?
Never tried that, and it isn't supported yet by my Taskfile, to compile it there directly since Raspbian's config-structure differs from other distributions (as you already mentioned).
But cross-compilation is supported! So, why don't you use task raspi3
to cross-compile it on your local machine?
Give it a try 🙂, on the other hand you are welcome to add support for compilation on Raspbian directly if you prefer it this way.
from xpadneo.
Hey, thanks for the answer and my bad, I did read the instruction but I somehow missed the reference about cross compiling under the Build instructions. Cross compiling is great as most of us access the raspberry via ssh anyways.
So it is my understanding that all I have to do is cross compile it then install the modules in Raspbian using insmod
and run the Udev-rule.
Is the above correct?
from xpadneo.
So it is my understanding that all I have to do is cross compile it then install the modules in Raspbian using insmod and run the Udev-rule.
Yea, just run task raspi3
at first - compilation then takes a while since you have to compile all modules (in order to create the missing module.symvers). After the building process finished, you can find three files in out/arm/
:
- 99-xpadneo-raspi.rules
- bluetooth.ko
- hid-xpadneo.ko
Place the Udev-rule (1.) e.g. in /etc/udev/rules.d
(it will be loaded automatically on the next restart). This is necessary since the hid-subsystem is bultin and we cannot replace its module therefore.
Run modinfo -n bluetooth
to find out where your current bluetooth module is installed, replace it (backup!) by the patched one in the out
folder.
Place hid-xpadneo.ko
somewhere in extramodules (don't know how the correct path at the moment).
Run # depmod
to register the new modules afterwards and restart.
If you are unsure, take a look at src/install.sh
which does the same (except the udev rule) on your local machine - maybe that script does also work on Raspbian, never tried. Again, you are welcome to modify it to work on Raspbian too.
from xpadneo.
Btw: please report back if it works (or not), I will close that issue then (or give you little bit more support) :)
from xpadneo.
as soon as the controller started vibrating I knew it worked :)
I'm using this particular raspberry with kodi and parsecgaming connected to a TV so it's very nice that I got it working.
I think I copied the hid.xpandeo.ko file in /lib/modules/uname -r since I don't think there's an extra modules folder in raspbian and it picked it from there.
I'll look into building the install.sh file for raspbian this weekend, just another question is there any reason the raspberry kernel is hard coded inside the task file? I actually build this on the latest kernel 1_20180313-1 since the latest raspberry pi 3 B+ won't even boot on older ones(firmware issue I think.
from xpadneo.
Ah, perfect :) Nice to hear that it works for you now!
The reason is that this was the latest version at the time we installed raspbian on our raspberries at work ^^ Feel free to parametrize that if you want 😄, I just had no time to do so since then.
P.S. I am closing that issue - thanks for your contribution!
from xpadneo.
Related Issues (20)
- guid button not working proerly HOT 8
- xpadneo module not loading correctly when connecting Bluetooth Controller HOT 5
- Xbox Series X|S controller recognized as 360 controller and no inputs detected in games HOT 12
- Prevent axis fixup and get xbox elite 2 layout in steam HOT 2
- xpadneo 0.9.5 not loading on Ubuntu 22.04 Linux kernel 6.5.0 HOT 7
- Double Input / Ghost Input HOT 9
- Controller rumble has stopped working HOT 21
- Vibration not work on Gamesir T4 Pro HOT 7
- When xbox controller is not actively connected to bluetooth, bluetooth will suddenly stop working for other bluetooth devices. HOT 1
- Did not find any bluetooth devices fedora 39. HOT 4
- Packaging issue HOT 4
- Gulikit kk3 max recognized as 360 and rumble issues HOT 1
- Series controller not found at all HOT 7
- How To Update Controller Firmware through Xbox Accessories and VirtualBox HOT 1
- Steam and Wine not seeing any sort of input on the controls HOT 2
- Triggers getting stuck after releasing them HOT 9
- Xbox Controller still shown as connected after disconnecting HOT 4
- Controllers do not register as joysticks after reboot HOT 2
- Xbox elite Series 2 - MAC address not showing
- Steam deck support (haptics) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xpadneo.