Error:Could not open file `/dev/i2c-1': No such file or dire - Raspberry Pi Forums
hello,
have recentry bought raspberry pi 2 model b noobs , when run command "sudo i2cdetect -y 1" response get:
error: not open file `/dev/i2c-1' or `/dev/i2c/1' : no such file or directory.
have tried have seen in other forums problem seems not work me:
https://learn.adafruit.com/adafruits-ra ... guring-i2c
http://skpang.co.uk/blog/archives/575
welcome,
thank much
have recentry bought raspberry pi 2 model b noobs , when run command "sudo i2cdetect -y 1" response get:
error: not open file `/dev/i2c-1' or `/dev/i2c/1' : no such file or directory.
have tried have seen in other forums problem seems not work me:
https://learn.adafruit.com/adafruits-ra ... guring-i2c
http://skpang.co.uk/blog/archives/575
welcome,
thank much
see http://www.raspberrypi.org/forums/viewt ... 28&t=97314
summary
add 1 or more of following /boot/config.txt , reboot.
i2c
add dtparam=i2c1=on (or dtparam=i2c0=on on old models)
spi
add dtparam=spi=on
i2s
add dtparam=i2s=on
lirc-rpi
add dtoverlay=lirc-rpi
add module parameters end of dtoverlay line,
e.g. dtoverlay=lirc-rpi,gpio_in_pin=16,gpio_in_pull=high
w1-gpio
if require external pullup
dtoverlay=w1-gpio-pullup,gpiopin=x,pullup=y
otherwise
dtoverlay=w1-gpio-pullup,gpiopin=x
(where x , y gpios).
audio card
add 1 of following
dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
dtoverlay=hifiberry-digi
dtoverlay=iqaudio-dac
dtoverlay=iqaudio-dacplus
heartbeat led
dtparam=act_led_trigger=heartbeat
summary
add 1 or more of following /boot/config.txt , reboot.
i2c
add dtparam=i2c1=on (or dtparam=i2c0=on on old models)
spi
add dtparam=spi=on
i2s
add dtparam=i2s=on
lirc-rpi
add dtoverlay=lirc-rpi
add module parameters end of dtoverlay line,
e.g. dtoverlay=lirc-rpi,gpio_in_pin=16,gpio_in_pull=high
w1-gpio
if require external pullup
dtoverlay=w1-gpio-pullup,gpiopin=x,pullup=y
otherwise
dtoverlay=w1-gpio-pullup,gpiopin=x
(where x , y gpios).
audio card
add 1 of following
dtoverlay=hifiberry-dac
dtoverlay=hifiberry-dacplus
dtoverlay=hifiberry-digi
dtoverlay=iqaudio-dac
dtoverlay=iqaudio-dacplus
heartbeat led
dtparam=act_led_trigger=heartbeat
raspberrypi
Comments
Post a Comment