Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changes for raspian 4.19.42+ #28

Open
jkarstest opened this issue May 29, 2019 · 1 comment
Open

changes for raspian 4.19.42+ #28

jkarstest opened this issue May 29, 2019 · 1 comment

Comments

@jkarstest
Copy link

Hi.
In the attached rfm12b.c file I did changes in the 2 timer_callbacks to compile with new kernel.
might you will update the code ? the module runs on a pi-ZERO , I testet only receiving without ACK but that works for me :)
Thank you again for that stable little module.
Parts of your documentation seem to be deprecated, I just installed the kernel-source via apt-get as far as I remember...

Jens
rfm12b.zip

@Inhumierer
Copy link

Inhumierer commented Feb 11, 2020

Hi Jens, thanks for your work on this module regarding the newer Raspis. And of course thanks to @gkaindl for the work, too. Your changes are very appreciated, I can compile them, load the module at bootup, but when accessing the RFB12B it fails to register the interrupt. I'm pulling my hair for a few hours already, but don't know how to fix this. You wrote, on Rpi Zero it works - any idea why it doesn't on a Rpi 3?
`root@raspi2:/home/pi/rfm12b-linux/examples# uname -a
Linux raspi2 4.19.97-v7+ #1294 SMP Thu Jan 30 13:15:58 GMT 2020 armv7l GNU/Linux
root@raspi2:/home/pi/rfm12b-linux/examples# cat /proc/cpuinfo | grep Model
Model : Raspberry Pi 3 Model B Rev 1.2

[ 3.978741] rfm12b: loading out-of-tree module taints kernel.
[ 3.982625] rfm12b : no spi_master found for busnum 0.
[ 3.984175] rfm12b : driver failed to load: -19.
[ 6.487211] rfm12b: added RFM12(B) transceiver rfm12b.0.1
[ 6.487448] rfm12b : driver loaded.
[ 182.268326] rfm12b: transceiver <0x7f60b2c8> (RFM12(B)) settings now: group 211, band 1, bit rate 0x06 (49261 bps), jee id: 0, jee autoack: 1.
[ 182.269392] genirq: Failed to request resources for rfm12b (irq 166) on irqchip pinctrl-bcm2835
[ 182.269396] rfm12b : unable to activate IRQ 166: -22.
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants