I am trying to add a owfs system to a Pi, which I have done on other Pi's, but this time I do not have /dev/i2c
I have updated /etc/modprobe.d/raspi-blacklist.conf and commented out the i2c line
I have added i2c-dev to /etc/modules
I have rebooted
It is a fresh install of Raspian
What have I missed?
Thanks
Mick
- micksulley
- Posts: 188
- Joined: Sat Mar 03, 2012 11:48 am
- Location: Melton Mowbray, England
- micksulley
- Posts: 188
- Joined: Sat Mar 03, 2012 11:48 am
- Location: Melton Mowbray, England
Re: /dev/i2c missing
Yes adding
dtparam=i2c1=on
dtparam=i2c0=on
to config.txt has fixed it, thank you. Why has this changed? I have done this many time before and never added anything to config.txt.
Mick
dtparam=i2c1=on
dtparam=i2c0=on
to config.txt has fixed it, thank you. Why has this changed? I have done this many time before and never added anything to config.txt.
Mick
Re: /dev/i2c missing
It's the new way of doing things. Ours not to reason why, ours but to do what we're told.micksulley wrote:Yes adding
dtparam=i2c1=on
dtparam=i2c0=on
to config.txt has fixed it, thank you. Why has this changed? I have done this many time before and never added anything to config.txt.
Mick
- DougieLawson
- Posts: 42158
- Joined: Sun Jun 16, 2013 11:19 pm
- Location: A small cave in deepest darkest Basingstoke, UK
Re: /dev/i2c missing
Because you've been running sudo rpi-update when you don't need to . That's pushed you to the 3.18.3+ kernel which has the new device tree support.micksulley wrote:Why has this changed? I have done this many time before and never added anything to config.txt.
Languages using left-hand whitespace for syntax are ridiculous
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
DMs sent on https://twitter.com/DougieLawson or LinkedIn will be answered next month.
Fake doctors - are all on my foes list.
The use of crystal balls and mind reading is prohibited.
- ShiftPlusOne
- Raspberry Pi Engineer & Forum Moderator
- Posts: 6383
- Joined: Fri Jul 29, 2011 5:36 pm
Re: /dev/i2c missing
As for why this has changed at all, I think that thread explains how it came about pretty well.
- borlandoflorida
- Posts: 5
- Joined: Sat Jan 05, 2013 6:41 pm
- Location: Derby
Re: /dev/i2c missing
I had the exact same issue on Saturday 24 January 2015 and only just found this thread after being pointed here by a really helpful user over on Redditt.
My fix was to install the latest Raspbian image (December 2014) and not updating the firmware with rpi-update. My Pi works fine as it is, but it's good to know for future reference as I was pulling my hair out with this!
My fix was to install the latest Raspbian image (December 2014) and not updating the firmware with rpi-update. My Pi works fine as it is, but it's good to know for future reference as I was pulling my hair out with this!