[HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Raspberry Pi related support

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 24 Apr 2016, 14:58

hondagx35 wrote:Hi Rikardo,

- where did you save the script?
- did you rename it?
- did you change the service file?
- what is the output from:
Code: Select all
python /path-to-script/oled.py
?

Frank

- /usr/local/bin
- yes
- not sure what you mean by this

OP2
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby ingohz » 24 Apr 2016, 16:34

Rikardo,
I don't have an LCD/OLED attached to my Raspi, but the modified script should work. You may try the following and post back the output of the last commands. If the last command doesn't put any output you may remove the "#" in line 221 in front of the print command. Then everything put to the oled is also printed on the screen.

Code: Select all
systemctl stop oled.service


Backup your old /usr/local/bin/16x2_oled_runeaudio.py and copy the attached oled.py to /usr/local/bin/16x2_oled_runeaudio.py

Now post the output of the follwing commands:
Code: Select all
ls -l /usr/local/bin/16x2_oled_runeaudio.py
/usr/bin/python /usr/local/bin/16x2_oled_runeaudio.py
Attachments
oled.zip
(2.28 KiB) Downloaded 207 times
  • HiFi 1: Alix/voyage-mpd, MusicalFidelity M1 DAC (RP2/HifiBerry Digi+), Accuphase DP-67, Accuphase E-212, Infinity Kappa 8.2i
  • HiFi 2: RP2/7" Touchscreen/IQaudIO Pi-DAC+, Philips Fidelio X1
ingohz
 
Posts: 45
Joined: 22 Feb 2016, 12:11

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 24 Apr 2016, 18:13

ingohz wrote:
Now post the output of the follwing commands:
Code: Select all
ls -l /usr/local/bin/16x2_oled_runeaudio.py
/usr/bin/python /usr/local/bin/16x2_oled_runeaudio.py

Code: Select all
[root@runeaudio ~]# systemctl stop oled.service
[root@runeaudio ~]# ls -l /usr/local/bin/16x2_oled_runeaudio.py
-rwxr-xr-x 1 root root 6362 Apr 24 13:35 /usr/local/bin/16x2_oled_runeaudio.py
[root@runeaudio ~]# /usr/bin/python /usr/local/bin/16x2_oled_runeaudio.py
/usr/local/bin/16x2_oled_runeaudio.py:68: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(LCD_E, GPIO.OUT)  # E
/usr/local/bin/16x2_oled_runeaudio.py:69: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(LCD_RS, GPIO.OUT) # RS
/usr/local/bin/16x2_oled_runeaudio.py:70: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(LCD_D4, GPIO.OUT) # DB4
/usr/local/bin/16x2_oled_runeaudio.py:71: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(LCD_D5, GPIO.OUT) # DB5
/usr/local/bin/16x2_oled_runeaudio.py:72: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(LCD_D6, GPIO.OUT) # DB6
/usr/local/bin/16x2_oled_runeaudio.py:73: RuntimeWarning: This channel is already in use, continuing anyway.  Use GPIO.setwarnings(False) to disable warnings.
  GPIO.setup(LCD_D7, GPIO.OUT) # DB7
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby ingohz » 24 Apr 2016, 19:22

Rikardo,

there must be another OLED-Script running on your Raspi. So the ports are already in use as the output says. You could disable the oled service for the moment with
Code: Select all
systemctl disable oled.service

then reboot and try again
Code: Select all
/usr/bin/python /usr/local/bin/16x2_oled_runeaudio.py

Later you can enable the service again for autostart with
Code: Select all
systemctl enable oled.service
  • HiFi 1: Alix/voyage-mpd, MusicalFidelity M1 DAC (RP2/HifiBerry Digi+), Accuphase DP-67, Accuphase E-212, Infinity Kappa 8.2i
  • HiFi 2: RP2/7" Touchscreen/IQaudIO Pi-DAC+, Philips Fidelio X1
ingohz
 
Posts: 45
Joined: 22 Feb 2016, 12:11

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 24 Apr 2016, 20:37

tried again

I had to uncoment that print line otherwise I had hang terminal. But than

Code: Select all
[root@runeaudio ~]# /usr/bin/python /usr/local/bin/16x2_oled_runeaudio.py
^C[root@runeaudio ~]# /usr/bin/python /usr/local/bin/16x2_oled_runeaudio.py
  File "/usr/local/bin/16x2_oled_runeaudio.py", line 223
    message = message.center(LCD_WIDTH," ")
                                          ^
IndentationError: unindent does not match any outer indentation level
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby ingohz » 24 Apr 2016, 20:51

the print line has to begin in column 3. Otherwise you have a wrong indentation level. At your first try there was no output on the oled?
  • HiFi 1: Alix/voyage-mpd, MusicalFidelity M1 DAC (RP2/HifiBerry Digi+), Accuphase DP-67, Accuphase E-212, Infinity Kappa 8.2i
  • HiFi 2: RP2/7" Touchscreen/IQaudIO Pi-DAC+, Philips Fidelio X1
ingohz
 
Posts: 45
Joined: 22 Feb 2016, 12:11

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 25 Apr 2016, 00:14

There is one thing I really hate, and that is digging into code :)
So I think I just keep what Frank made

But thanks for your effort

OP2
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 25 Apr 2016, 16:38

Here is a great how to guide from @dhrone on github

https://github.com/dhrone/Raspdac-Display

Works like a charm
>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby rikardo1979 » 25 Apr 2016, 21:43

working OLED

>>>Please always follow rules and read before you post<<<
User avatar
rikardo1979
 
Posts: 197
Joined: 10 Apr 2016, 14:34

Re: [HELP] AUDIOPHONICS I-Sabre V3 DAC ES9023 TCXO

Postby hondagx35 » 25 Apr 2016, 22:03

Hi Rikardo,

happy to here that it works now.

A bit disappointed that users have to fix the stuff :(
Raspdac-Display
An alternate display program for the Raspdac from Audiophonics which uses a Winstar OLED 16x2 display


Frank
User avatar
hondagx35
 
Posts: 3039
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: cmh714 and 24 guests