[vz-users] 1wirevz: No such file or directory

Heiko Baumann hbcs at gmx.de
Sat Jan 24 18:09:26 CET 2015


Am 24.01.2015 um 14:55 schrieb Heiko Baumann:
> sudo insserv -r 1wirevz

Sorry dass ich nochmal nachhake: bei mir verschwindet der Fehler nicht, 
egal ob ich
sudo insserv -r 1wirevz (keinerlei Antwort - woran kann ich sehen, ob da 
tatsächlich was passiert?)
oder
sudo update-rc.d 1wirevz stop 2 3 4 5

versuche. Es ist zum K....

Kann das irgendwie am neuen Udo-Image liegen?

In /etc/rc.local steht:

# Part of DS2482 I2C 1-Wire Master to Volkszaehler 'RaspberryPI deamon'.
echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-1/new_device
echo ds2482 0x19 > /sys/bus/i2c/devices/i2c-1/new_device
echo ds2482 0x1a > /sys/bus/i2c/devices/i2c-1/new_device

# Register I2C RTC
#echo ds1307 0x68 > /sys/bus/i2c/devices/i2c-1/new_device

# Part of S0/Impulse to Volkszaehler 'RaspberryPI deamon','s0vz'
echo 17 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio17/edge
echo 18 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio18/edge
echo 23 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio23/edge
echo 22 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio22/edge
echo 24 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio24/edge
echo 10 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio10/edge

# Part of S0/Impulse to Volkszaehler 'RaspberryPI deamon','s0vz_new'
#echo 4 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio4/edge
#echo 18 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio18/edge
#echo 17 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio17/edge
#echo 23 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio23/edge
#echo 27 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio27/edge
#echo 22 > /sys/class/gpio/export && echo "rising" > 
/sys/class/gpio/gpio22/edge

# GPIOs exportieren und Datenrichtung einstellen, 'Schaltausgang_new'
#echo 24 > /sys/class/gpio/export
#echo 25 > /sys/class/gpio/export
#echo out > /sys/class/gpio/gpio24/direction
#echo out > /sys/class/gpio/gpio25/direction

# GPIOs exportieren und Datenrichtung einstellen, 'Schaltausgang'
echo 9 > /sys/class/gpio/export
echo 11 > /sys/class/gpio/export
echo out > /sys/class/gpio/gpio9/direction
echo out > /sys/class/gpio/gpio11/direction

#---------------------
# Starte 1wirevz
#---------------------
sudo 1wirevz

#--------------------
# Starte s0vz
#--------------------
sudo s0vz

#sudo s0vz_new

#--------------------
# Starte vzlogger
#--------------------
# sudo vzlogger -d
exit 0

Mannmannmann...

:(

Heiko


More information about the volkszaehler-users mailing list