PIco on Pi b+ running Jessie

Support for the Uninterruptible Power Supply
with Peripherals and I2C control Interface
Raspberry Pi® B+, A+, B, and A

PIco on Pi b+ running Jessie

Postby RDK_Pi » Wed Jan 04, 2017 1:22 pm

I have been using a PiModules UPS PIco add-on board on my Raspberry Pi B+ using Wheezy for over a year now. No problems.

I just created a new boot SD with Jessie and while the PIco unit seems to be working, the Pi is throwing an error when it runs the RC.Local. For Wheezy the RC.Local has this code
Code: Select all
# Run UPS Pico FSSD script and load the included emulated RTC
sudo python /usr/pgms/pico/picofssd.py &

echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
( sleep 4; hwclock -s ) &

# start Python Pgm in Screen session
su xyz -c "screen -d -m /usr/bin/python /mnt/usbdrive/pgms/xxx.py
Now under Jessie this throws an error on the "echo ds..." line and then the remaining instructions are not executed.

I assume that something has changed with Jessie. Is there an updated installation document for Jessie? What changes do I need to make to the RC.Local? And anywhere else?? Thanks....RDK
Last edited by RDK_Pi on Fri Jan 06, 2017 2:50 pm, edited 1 time in total.
User avatar
RDK_Pi
 
Posts: 51
Joined: Sun Nov 22, 2015 2:12 pm

Re: PIco on Pi b+ running Jessie

Postby RDK_Pi » Fri Jan 06, 2017 2:50 pm

Problem solved. Missing " in rc.local.
User avatar
RDK_Pi
 
Posts: 51
Joined: Sun Nov 22, 2015 2:12 pm

Re: PIco on Pi b+ running Jessie

Postby Pimaster » Fri Jan 06, 2017 3:02 pm

Hi,
You are fatser than me.
As this thread is dedicated to PIco HV3.0 I will move it to this forum
BR PiM
Warmest Regards
PiM
---
Designing with Mentor Graphics PADS - www.pads.com
Please read and follow the PiForum rules
http://www.forum.pimodules.com/viewtopic.php?f=13&t=196
---
Pimaster
Site Admin
 
Posts: 1611
Joined: Fri Sep 14, 2012 7:50 am


Return to UPS PIco

Who is online

Users browsing this forum: No registered users and 2 guests