Could not find compatible serial devices

Hello,

I am trying to set up my new Photon and Raspberry PI to setup BrewPi and am having trouble with the connection,
i have seen a few people are having simular issues but i have gone through other post’s about getting the Could not find compatible serial devices error and none of the fixes found there have helped yet,

I always use sudo when running the commands, i have tried two different usb cables
here are the messages i am getting when i get the error, my comments are visable with –

–New Photon just plugged in Device blinking blue
:/home/pi/brewpi-tools# sudo python /home/brewpi/autoSerial.py
All ports: ((’/dev/ttyACM0’, ‘ttyACM0’, ‘USB VID:PID=2b04:c006 SNR=00000000050C ‘),)
Compatible ports: ((’/dev/ttyACM0’, ‘Particle Photon’),)
Selected port: (’/dev/ttyACM0’, ‘Particle Photon’)

–I installed the BrewPi software on my Raspberry Pi
–I used the iphone app to quick start the setup on my Photon and by this point the LED on the Photon is Breathing cyan

–Trying to install the fw on my Photon:
root@raspberrypi:/home/pi/brewpi-tools# sudo python /home/brewpi/utils/flashDfu.py
dfu-util not found, downloading dfu-util…
downloading http://dfu-util.sourceforge.net/releases/dfu-util-0.7-binaries/linux-armel/dfu-util
Detecting DFU devices
Did not find any DFU devices.
Is your Photon or Spark Core running in DFU mode (blinking yellow)?
Waiting until a DFU device is connected…
Found 1 devices: [‘2b04:d006’]
Device identified as Particle Photon
Downloading latest firmware…
Latest stable version on GitHub: 0.2.11
downloading https://github.com/BrewPi/firmware/releases/download/0.2.11/brewpi-0.2.11-photon.bin
Firmware downloaded to /home/brewpi/utils/downloads/0.2.11/brewpi-0.2.11-photon.bin
downloading https://github.com/BrewPi/firmware/releases/download/0.2.11/system-part1-09dd809-photon.bin
downloading https://github.com/BrewPi/firmware/releases/download/0.2.11/system-part2-09dd809-photon.bin
Release contains updated system firmware for the photon
First updating system firmware for the Photon
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device… ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface…
Setting Alternate Setting #0
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08020000, size = 248764

File downloaded successfully
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device… ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface…
Setting Alternate Setting #0
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x08060000, size = 150432

File downloaded successfully
Now writing BrewPi firmware /home/brewpi/utils/downloads/0.2.11/brewpi-0.2.11-photon.bin
dfu-util 0.7

Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2012 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org

Filter on vendor = 0x2b04 product = 0xd006
Opening DFU capable USB device… ID 2b04:d006
Run-time device DFU version 011a
Found DFU: [2b04:d006] devnum=0, cfg=1, intf=0, alt=0, name="@Internal Flash /0x08000000/03016Ka,01016Kg,01064Kg,07128Kg"
Claiming USB DFU Interface…
Setting Alternate Setting #0
Determining device status: state = dfuDNLOAD-IDLE, status = 0
aborting previous incomplete transfer
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 4096
No valid DFU suffix signature
Warning: File has no DFU suffix
DfuSe interface name: "Internal Flash "
Downloading to address = 0x080a0000, size = 57432

File downloaded successfully
Error during download get_status
Error during download get_status
Programming done, now resetting EEPROM to defaults
Opening serial port
Nov 23 2015 10:22:50 Opening serial port
Nov 23 2015 10:23:01 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:23:02 Opening serial port
Nov 23 2015 10:23:12 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:23:13 Opening serial port
Nov 23 2015 10:23:23 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:23:24 Opening serial port
Nov 23 2015 10:23:34 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:23:35 Opening serial port
Nov 23 2015 10:23:45 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:23:46 Opening serial port
Nov 23 2015 10:23:56 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:23:57 Opening serial port
Nov 23 2015 10:24:07 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:24:08 Opening serial port
Nov 23 2015 10:24:19 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:24:20 Opening serial port
Nov 23 2015 10:24:30 Errors while opening serial port:
Could not find compatible serial devices

Nov 23 2015 10:24:31 Opening serial port
Nov 23 2015 10:24:41 Errors while opening serial port:
Could not find compatible serial devices

Could not open serial port after programming

–Light on Photon constant red and constant white together on the LED
root@raspberrypi:/home/pi/brewpi-tools# sudo python /home/brewpi/autoSerial.py
All ports: ((’/dev/ttyACM1’, ‘ttyACM1’, ‘n/a’), (’/dev/ttyACM0’, ‘ttyACM0’, ‘n/a’))
Compatible ports: ()
Selected port: (None, None)

–content of defaults.cfg

scriptPath = /home/brewpi/
wwwPath = /var/www/
port = auto
altport = None
boardType = leonardo
beerName = My First BrewPi Run
interval = 120.0
dataLogging = active

–Content of config.cfg

scriptPath = /home/brewpi/
wwwPath = /var/www/
port = auto
altport = None
boardType = leonardo
beerName = My First BrewPi Run
interval = 120.0
dataLogging = active

Is your Photon plugged into the BrewPi Spark board?
Did you go through the touch screen calibration?

No just the USB on the Raspberry PI, Do i need the BrewPi Spark board? i was under the impression that the raspberry pi and Photon board was enaugh…

Yes, you do need it. There is a OneWire bus master on the board which the code looks for when booting.

The board also drives a display and if the touch screen is not calibrated, it will stay in the touch screen calibration routine.