07-13-2020, 03:11 PM
07-13-2020, 05:36 PM
(07-13-2020, 03:11 PM)TookaFace Wrote: [ -> ]Try to run this command, see what happens:Got the following in Putty.
Code:sudo python2.7 /home/pi/oled/raspdac_oled_main.py
/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py:185: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
self._gpio.setup(pin, self._gpio.OUT)
Exception - Main Module
(<type 'exceptions.SystemError'>, 'raspdac_oled_main.py', 175)
07-13-2020, 06:03 PM
Its the same error i had, before i commented the line in
Code:
/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py
279 self._spi = spi or self.__spidev__()
280 self._spi.open(port, device)
281 # self._spi.cshigh = cs_high
07-13-2020, 06:46 PM
(07-13-2020, 06:03 PM)TookaFace Wrote: [ -> ]Its the same error i had, before i commented the line in
Code:/usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py
279 self._spi = spi or self.__spidev__()
280 self._spi.open(port, device)
281 # self._spi.cshigh = cs_high
Had already commented line 281, just edited it again using notepad in Windows but still getting the same error.
Code:
try:
self._spi = spi or self.__spidev__()
self._spi.open(port, device)
# self._spi.cshigh = cs_high
except (IOError, OSError) as e:
if e.errno == errno.ENOENT:
raise luma.core.error.DeviceNotFoundError('SPI device not found')
else: # pragma: no cover
raise
07-14-2020, 01:33 PM
Just completed an in place update from moOde 6.5.2 to release 6.6.0 and both the display and remote are working.
07-15-2020, 01:33 PM
Success
Turns out my problem was the editing of the serial.py file using a Windows text editor, used sudo nano from Putty and it's now up and running.
Thanks again, TookaFace.
Turns out my problem was the editing of the serial.py file using a Windows text editor, used sudo nano from Putty and it's now up and running.
Thanks again, TookaFace.
07-15-2020, 01:57 PM
Ha cool
09-30-2020, 04:24 PM
(07-09-2020, 05:05 PM)audiophonics Wrote: [ -> ]Sent my DAC to back to the Audiophonics headquarters for a software update and am very pleased to confirm that the kit is fully working with the Pi 4. Mille merci!(04-28-2020, 11:50 AM)Pieter Wrote: [ -> ]Has anyone had any success running this board with a Raspberry Pi 4B? I can't get filters to stick and the gain drops to -32.00dB. Earlier Pi boards work flawlessly.
Early boards have this problem with RPI4.
It has been fixed for boards sold after September 2019
09-30-2020, 05:50 PM
(09-30-2020, 04:24 PM)Pieter Wrote: [ -> ](07-09-2020, 05:05 PM)audiophonics Wrote: [ -> ]Sent my DAC to back to the Audiophonics headquarters for a software update and am very pleased to confirm that the kit is fully working with the Pi 4. Mille merci!(04-28-2020, 11:50 AM)Pieter Wrote: [ -> ]Has anyone had any success running this board with a Raspberry Pi 4B? I can't get filters to stick and the gain drops to -32.00dB. Earlier Pi boards work flawlessly.
Early boards have this problem with RPI4.
It has been fixed for boards sold after September 2019
Do you get access to all the filters?
10-01-2020, 07:42 AM
Updated procedure for moOde 6.6 ==> moOde 7.4.0:
I've added a system menu in oled display, where you can reboot/shutdown the raspdacmini.
You could have a problem during lirc install, it's normal.
Add at the end of /boot/config.txt:
Download and install oled and lirc files:
If you had problems during lirc install:
Then reboot:
I've added a system menu in oled display, where you can reboot/shutdown the raspdacmini.
Code:
sudo apt update
sudo apt-get -y install python-smbus libjpeg-dev lirc
You could have a problem during lirc install, it's normal.
Code:
sudo -i pip install --upgrade pip setuptools
sudo -H pip install 'luma.core==1.13.0' 'luma.oled==3.4.0'
Add at the end of /boot/config.txt:
Code:
dtparam=spi=on
dtoverlay=gpio-ir,gpio_pin=4
Download and install oled and lirc files:
Code:
wget -O raspdacmini.tar "https://drive.google.com/uc?export=download&id=11W2kV4M55jKDbQk8qEkaiBZqKe6l0V_L"
tar xvf raspdacmini.tar
sudo chmod 755 oled/raspdac_oled_main.py
sudo chmod 644 oled/oled.service
sudo cp oled/oled.service /etc/systemd/system/
sudo systemctl enable oled
sudo cp -r lirc/* /etc/lirc
sudo cp serial.py /usr/local/lib/python2.7/dist-packages/luma/core/interface/serial.py
rm -r lirc
rm raspdacmini.tar
If you had problems during lirc install:
Code:
sudo apt-get install -f
Then reboot:
Code:
sudo reboot