-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Module w1_therm no longer exist #338
Comments
I couldn't find a reference to "w1-term" anywhere.Do you perhaps mean "w1-therm", which does exist?
|
Yes, I make a typo:
and after update this like this:
but the w1 devices is no longer exists. After the downgrade to stable branch is correct. |
Can you please give proper before and after examples showing how it used to be and how it is now? I can't understand what has changed. |
For example on 3.12.35+ I see:
On 3.18.1+ is nothing here, nothing hardware was changes. On 3.18.0+ is the same like 3.12.35+. I think is problem with upstream kernel, on the version compiled by myself is exactly the same problem. |
On 3.18.2+ is the same problem. |
This is probably because the newer kernels are using device tree by default. In this mode, the board support code doesn't create the platform devices for the optional interfaces to avoid fighting over GPIO pins. You can revert to the old non-DT behaviour by adding "device_tree=" to your config.txt file, but you should really switch over to using device tree (if you haven't already) as future modules and devices may rely on it. The correct solution is to add an overlay that enables w1-gpio support. I think I have this working, but:
If you tell me which pins you are using (the "gpiopin" and "pullup" module parameters) then I can give you a custom overlay .dtb file to test. There is a Pi Forum thread discussing the device tree support here, and documentation here. |
The latest firmware release on the "next" branch includes the w1-gpio overlays and the loader that supports them. To use the overlay, add:
to config.txt (where 4 should be replaced with your chosen pin). If you are using the external pull-up feature you will need to use the other overlay:
again using numbers appropriate for your setup. If you experience problems with device tree and overlays, add:
to your config.txt, then use |
Add to /boot/config.txt line:
solved this issue. |
is the concise version of that. |
Hello,
After update to branch next with kernel:
Linux malina 3.18.1+ #731 PREEMPT Fri Dec 19 19:16:36 GMT 2014 armv6l GNU/Linux
In load module w1-term modprobe return:
modprobe: FATAL: Module w1-term not found.
On 3.18.0+ problem doesn't exist.
The text was updated successfully, but these errors were encountered: