Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Temperature Sensor Ds18b20 does not work on other pins, only on 4
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Temperature Sensor Ds18b20 does not work on other pins, only on 4
4th Jun, 2014, 11:01 PM
Post: #11
Aivs Offline
Registered
Posts: 8
Joined: Jul 2013
Reputation: 0
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4
I downloaded linux-header 3.12.20 from git
Terminal
xbian@xbian /usr/src $ sudo git clone --depth 1 https://github.com/raspberrypi/linux.git
And I see that w1 pin hardcoded
Terminal
xbian@xbian /usr/src $ head -n 100 linux-header-3.12.20+/arch/arm/mach-bcm2708/bcm2708.c
......
// use GPIO 4 for the one-wire GPIO pin, if enabled
#define W1_GPIO 4
......

Next, linux-header-3.12.20+/drivers/w1/masters/w1-gpio.c don't patched to make change pin in /boot/cmdline.txt.
Patch here https://github.com/raspberrypi/linux/pull/457/files
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 07:45 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 07:49 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 07:58 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 05:17 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 08:25 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 08:37 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 08:53 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 09:18 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014, 09:36 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 09:45 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 4th Jun, 2014 11:01 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - CurlyMo - 4th Jun, 2014, 11:03 PM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 5th Jun, 2014, 12:53 AM
RE: Temperature Sensor Ds18b20 does not work on other pins, only on 4 - Aivs - 6th Jun, 2014, 08:39 AM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 6th Jun, 2025, 11:51 AM Powered By MyBB, © 2002-2025 MyBB Group.