Audio_Allo Posted April 12, 2021 Share Posted April 12, 2021 2 minutes ago, tx2toda said: Ok ,now execute below commands modprobe i2c-dev python3 boss2_oled.py Link to comment
Wirrunna Posted April 12, 2021 Share Posted April 12, 2021 root@pCP4b-147-Allo-BOSS2:/home/tc# cd /opt/boss2_oled_p3 root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# modprobe i2c-dev root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# python3 boss2_oled.py Traceback (most recent call last): File "boss2_oled.py", line 36, in <module> from Hardware.SH1106.SH1106LCD import * File "/opt/boss2_oled_p3/Hardware/SH1106/SH1106LCD.py", line 3, in <module> from PIL import Image File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 109, in <module> from . import _imaging as core ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# Link to comment
Audio_Allo Posted April 12, 2021 Share Posted April 12, 2021 5 minutes ago, Wirrunna said: root@pCP4b-147-Allo-BOSS2:/home/tc# cd /opt/boss2_oled_p3 root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# modprobe i2c-dev root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# python3 boss2_oled.py Traceback (most recent call last): File "boss2_oled.py", line 36, in <module> from Hardware.SH1106.SH1106LCD import * File "/opt/boss2_oled_p3/Hardware/SH1106/SH1106LCD.py", line 3, in <module> from PIL import Image File "/usr/local/lib/python3.8/site-packages/PIL/Image.py", line 109, in <module> from . import _imaging as core ImportError: libjpeg.so.62: cannot open shared object file: No such file or directory root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# Means first package is not done properly type exit to go back tc user and again install the package (from root user go back to tc user by typing exit and again execute the command) tce-load -wi python3.8-Pillow.tcz Link to comment
Audio_Allo Posted April 12, 2021 Share Posted April 12, 2021 17 minutes ago, tx2toda said: looks like 1 of the package not installed properly and going the messages lengthy , forwarded PM please check Link to comment
Wirrunna Posted April 12, 2021 Share Posted April 12, 2021 root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# exit tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tce-load -wi python3.8-Pillow.tcz python3.8-Pillow is already installed! tc@pCP4b-147-Allo-BOSS2:~$ Link to comment
Audio_Allo Posted April 12, 2021 Share Posted April 12, 2021 4 minutes ago, Wirrunna said: root@pCP4b-147-Allo-BOSS2:/opt/boss2_oled_p3# exit tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tc@pCP4b-147-Allo-BOSS2:~$ tce-load -wi python3.8-Pillow.tcz python3.8-Pillow is already installed! tc@pCP4b-147-Allo-BOSS2:~$ We will check and get back to you and we contacted picoreplater also. Link to comment
Audio_Allo Posted April 12, 2021 Share Posted April 12, 2021 Picoreplayer confirmed that, this will work only for piCoreplayer player standared 32 bit version . For piCoreplayer 64 bit player ,need to built. Once done we will update you. Link to comment
Wirrunna Posted April 12, 2021 Share Posted April 12, 2021 7 hours ago, Audio_Allo said: Picoreplayer confirmed that, this will work only for piCoreplayer player standared 32 bit version . For piCoreplayer 64 bit player ,need to built. Once done we will update you. OK, I have the 64 bit player. I will wait for the update. Link to comment
tx2toda Posted April 12, 2021 Author Share Posted April 12, 2021 I'm also waiting for the 64-bit version. Link to comment
tx2toda Posted April 12, 2021 Author Share Posted April 12, 2021 I am playing a 16-bit/44.1KHz sound source. Isn't "S32" strange? Isn't "S16" the correct number? Link to comment
Audio_Allo Posted April 13, 2021 Share Posted April 13, 2021 6 hours ago, tx2toda said: I'm also waiting for the 64-bit version. As per picoreplayer team ,it will take some time to built. Link to comment
tx2toda Posted April 13, 2021 Author Share Posted April 13, 2021 If you can make a 64-bit version, I'll wait slowly. Link to comment
Wirrunna Posted April 13, 2021 Share Posted April 13, 2021 Audio_Allo and tx2toda, I flashed a card with the 32 bit version of pCP 7, ran the installation commands in putty and now have the OLED working the same as tx2toda, displaying S32 44100 for a 16bit 44100 MP3. So, it is working. I will check for the 64bit version regularly. Link to comment
tx2toda Posted April 13, 2021 Author Share Posted April 13, 2021 Hi,Wirrunna and Audio_Allo I was worried because "S16" was displayed in "DietPi_RPi-ARMv7-Buster_AlloGUI". Link to comment
tx2toda Posted April 13, 2021 Author Share Posted April 13, 2021 DietPi_RPi-ARMv7-Buster_AlloGUI Link to comment
Audio_Allo Posted April 13, 2021 Share Posted April 13, 2021 1 hour ago, tx2toda said: DietPi_RPi-ARMv7-Buster_AlloGUI It is player (OS) related settings, player what rate is sending, same will display. In backend we can check what rate files playing using below command cat /proc/asound/card1/pcm0p/sub0/hw_params In picore player, while playing 16 bit ,below is displaying in backend tc@pCPBOSS2:~$ cat /proc/asound/card1/pcm0p/sub0/hw_params access: MMAP_INTERLEAVED format: S32_LE subformat: STD channels: 2 rate: 44100 (44100/1) period_size: 1764 buffer_size: 7056 Link to comment
Wirrunna Posted April 18, 2021 Share Posted April 18, 2021 The oled will now work on piCorePlayer 7 64bit - see https://forums.slimdevices.com/showthread.php?113512-ANNOUNCE-piCorePlayer-7-0-0&p=1019324&viewfull=1#post1019324 Link to comment
tx2toda Posted April 18, 2021 Author Share Posted April 18, 2021 Hi, Thank you for the information. I immediately tried it with piCorePlayer 64bit version, but the OLED was displayed without any problem. Link to comment
ktham Posted April 21, 2021 Share Posted April 21, 2021 @Audio Allo, Your assistance is requested to have my new Allo Boss 2 and Rpi4 with Picoreplayer 7 work with each other. I have tried to follow the earlier conversations and directions but unfortunately I do not the skills to make anything happen. I can install Picoreplayer on the Pi and I can view it in a browser and set whatever switches I think need to be set. After that there is no sound and no activity with the OLED. My music library is on LMS and it works with my other versions of PCP. My understanding is that a new release of Picoreplayer 7.x will include the Allo commands? Thank you. Link to comment
tx2toda Posted April 21, 2021 Author Share Posted April 21, 2021 Hi,kthan I tried to summarize what I've done so far. Is it useful? piCorePlayer v7.0.0 64bit Ver. ---------------------------------- Resize FS on webGUI ssh login with user:tc Password:piCore ※Windows10 ssh software「putty」or「Tera Term」 tce-audit updatedeps tce-audit fetchmissing tce-load -wi python3.8-Pillow.tcz tce-load -wi python3.8-smbus.tcz tce-load -wi python3.8-rpi-gpio.tcz tce-load -wi iproute2.tcz sudo su cd /opt/ wget https://raw.githubusercontent.com/allocom/allo_boss2_oled_p3/main/boss2_oled_p3.tar.gz tar -xzvf boss2_oled_p3.tar.gz on web GUI Tweaks page user commands type below line and save sh /opt/boss2_oled_p3/oled_run.sh reboot Link to comment
ktham Posted April 21, 2021 Share Posted April 21, 2021 Hi tx2toda, Thank you for the prompt response and detailed instructions. I really have no clue what I have to do and where to get the required files. I really have to sit down and figure out what each command means and go from there. I'll have to look for local help once I figure out what I need. Thanks. Link to comment
tx2toda Posted April 21, 2021 Author Share Posted April 21, 2021 Hi,ktham I don't understand English well, but I can manage to speak with translation software. The work is not so difficult. Most can be copy and past. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now