Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread Man in a van


bigq wrote: 
> Hi chill, here are the logs:
> when booted with connected DAC and no sound:
> 33321
> 
> when booted with no dac and then plugged, sound is there:
> 33322


Well I'm a numpty at this but both files show

> [  183.071011] FAT-fs (mmcblk0p1): Volume was not properly unmounted.
> Some data may be corrupt. Please run fsck.
> [  189.771340] FAT-fs (mmcblk0p1): Volume was not properly unmounted.
> Some data may be corrupt. Please run fsck.
> 

But only one file (sound) shows (that I can see, I might have missed
it)

>  111.020862] usbcore: registered new interface driver snd-usb-audio

Both files show the dac being recognised.

For what it's worth, I would suggest a fresh image.

It's not really necessary, but maybe reformat the card using 

'https://www.sdcard.org/downloads/formatter/ '
(https://www.sdcard.org/downloads/formatter/)

and use 

https://www.balena.io/etcher/

to make the image

remember, these are just suggestions :)

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-10 Thread carsten_h

paul- wrote: 
> It should have worked, but I never tested it.   I don’t have any current
> systems booting from usb.  I’ll have to set one up.

Ok, I have time. It is not urgent!



pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk

carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 7.0.1 + CM4 + Mini I/O Board not Used USB-DAC

2021-02-10 Thread tx2toda


paul- wrote: 
> Procedure is the same.   Dmesg should show you what is going on.

PiCorePlayer7 32-bit config.txt started with the addition of "dtoverlay
= dwc2, dr_mode = host".


+---+
|Filename: pCP7-32bit-dmesg.txt |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33326|
+---+


tx2toda's Profile: http://forums.slimdevices.com/member.php?userid=71378
View this thread: http://forums.slimdevices.com/showthread.php?t=113903

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer waveshare 1024x600 touch calibration: 3 locations pointercal & ts.conf

2021-02-10 Thread paul-

Past the procedures in the docs, I can’t help much.  I don’t have any
waveshare devices.

Perhaps post all of your output.  from the commands in the help doc.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113907

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer waveshare 1024x600 touch calibration: 3 locations pointercal & ts.conf

2021-02-10 Thread audionics


paul- wrote: 
> This is a different screen, but the procedure should be similar.
> 
> https://docs.picoreplayer.org/projects/add-a-display/

I tried that procedure with no luck.

Even when I change the numbers manually in that fila and location there
is no difference in how the touch reacts.
It works, but the touch is off but not rotated. it works under Rasbian
though. Or Max2Play which I do not want to use.

There are many threads trying to make this screen work. I never saw
anyone successfully implement an 800x600 waveshare touch in any thread
so if any of you can help. Please!



audionics's Profile: http://forums.slimdevices.com/member.php?userid=71376
View this thread: http://forums.slimdevices.com/showthread.php?t=113907

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 7.0.1 + CM4 + Mini I/O Board not Used USB-DAC

2021-02-10 Thread paul-


Procedure is the same.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113903

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer waveshare 1024x600 touch calibration: 3 locations pointercal & ts.conf

2021-02-10 Thread paul-


This is a different screen, but the procedure should be similar.

https://docs.picoreplayer.org/projects/add-a-display/



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113907

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread slartibartfast


bigq wrote: 
> Tried these commands. Didn't help. It seems it has not the same effect
> as re-plugging.
> Re-plugging brings sound and re-powering port doesn't.
> But anyway thanks for the idea!Did you use the right port?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread bigq


slartibartfast wrote: 
> One thing you could try is to toggle the power to the USB socket your
> DAC is connected to. Install uhubctl from the extensions list then add a
> couple of commands to run after start up. For my Pi3 with the DAC
> connected to socket 4 I use
> 
> uhubctl -l 1-1 -p 4 -a 0
> uhubctl -l 1-1 -p 4 -a 1
> 

Tried these commands. Didn't help. It seems it has not the same effect
as re-plugging.
Re-plugging brings sound and re-powering port doesn't.
But anyway thanks for the idea!



bigq's Profile: http://forums.slimdevices.com/member.php?userid=71375
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread bigq


chill wrote: 
> Can you perhaps post a couple of dmesg logs (get to them via 'Main page'
> -> 'Diagnostics' -> 'Logs', or just type dmesg at the command prompt)? 
> 
> 
> For the first one, boot the Pi with the dac connected and powered.  I
> understand that in this state you get no sound.
> For the second one, boot the Pi with the dac disconnected, then connect
> the dac when the pi has finished booting.  I understand that in this
> state you get sound.  If you only sometimes get sound in this state,
> keep disconnecting and reconnecting the dac until the sound works, then
> save the dmesg log.

Hi chill, here are the logs:
when booted with connected DAC and no sound:
33321

when booted with no dac and then plugged, sound is there:
33322


+---+
|Filename: sound.txt|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33322|
+---+


bigq's Profile: http://forums.slimdevices.com/member.php?userid=71375
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread bigq


coyrls wrote: 
> No, I don't think that's the problem.  I think alsactl is a red herring,
> unless you are setting an ALSA level, which you are not, it's not
> needed.  The error messages you are seeing are to do with part of a
> script that is only executed when ALSAlevelout is set to "Custom".  Your
> problem was happening before this change was made and, as you are not
> setting an ALSA level it is not needed.  Everybody with a USB DAC who
> sets ALSAlevelout to "Custom" will see this problem but the only
> consequence is that the ALSA level is not restored on reboot, not that
> the USB DAC doesn't function.
> 
> Your USB card is found, as that is confirmed by the message "Waiting for
> soundcard USB to populate. Done (1)." that you have reported.  The only
> odd thing that I can see in what you've posted is that alsamixer shows
> two dbGain bars for your DAC, I have only ever seen one.  What output
> setting do you have under Squeezelite settings?  Have you tried:
> "hw:CARD=v12,DEV=0"?
Tried all of them, but no success.

Man in a van wrote: 
> @BIGQ
> 
> Load up pCP v6.0.1 and see how you go :)
> 
> ronnie
So I need to delete 7.0.0 and install 6.0.1?



bigq's Profile: http://forums.slimdevices.com/member.php?userid=71375
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-10 Thread chill


rgro wrote: 
> Hopefully, my experience will contribute just the tiniest bit for the
> next "code-illiterate" Pi/RME dac user that wants to give this nice
> little mod a try.

Thanks for being a willing guinea pig.  Based on your feedback I have
corrected some mistakes in the instructions, and added a few extra words
of explanation, so it's been a useful exercise.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] No wi-fi after updating to piCorePlayer 7.0

2021-02-10 Thread Rothor


Did the scanning, which gave me: "wlan0 No scan results"

I guess that's not what I wanted...?



Rothor's Profile: http://forums.slimdevices.com/member.php?userid=71377
View this thread: http://forums.slimdevices.com/showthread.php?t=113901

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-10 Thread rgro


Chillas someone with no programming/coding experience, I am in awe
of you, Carsten, Greg, Paul, and the rest of this community.  It is
beyond cool that you can do these fixes and modifications in order to
make improvements and solve problems. My gratitude to all involved for
your time, expertise, and the patience it took to walk me through this. 
Hopefully, my experience will contribute just the tiniest bit for the
next "code-illiterate" Pi/RME dac user that wants to give this nice
little mod a try.

chill wrote: 
> That's great, thanks for persevering, and I'm glad it's now working the
> way you wanted it to.
> 
> 
> 
> Yes, soon after I posted my previous attempt at an explanation I
> realised that it made much more sense for the phantom entry in
> /opt/.filetool.lst to be a remnant from the earlier attempt.  I was so
> focussed on trying to explain it that I overlooked what was needed to
> fix it, so thanks to Greg for that.



Rg

System information

Main: RPI4B/PiCorePlayer/LMS> RPI4B/piCoreplayer/Squeezelite > USB>RME
ADI-2 DAC > Benchmark AHB2 > Revel Performa F208 speakers, 2X REL R-305
subs.  

Home Theatre:  RPI4 B/HifiBerry Dac+ Pro>Pioneer VSX 919 > Energy Take 5
Classic 5.1.

LMS  8.1.0 - 1608700893 on RPI4B with 1tb Samsung T5 SSD.

rgro's Profile: http://forums.slimdevices.com/member.php?userid=34348
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-10 Thread mr-b


@jd68

Tx - will give it a go.



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-10 Thread mr-b


Tx, yes I know jivelite is the UI, I was just saying that the player
works as an indication that nothing else was wrong.

Also I was just going on the advice from below which says that the cmd
should restart jivelite.
https://forums.slimdevices.com/showthread.php?103330-Jivelite-for-piCorePlayer=908070=1#post908070



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-10 Thread jd68


You probably have not just killed the jivelite process but also the
shell script that controls its startup and spossible restarts.


Code:

~$ ps -eaf | grep jivelite
  root  5852 1  0 Feb09 ?00:00:00 /bin/sh 
/opt/jivelite/bin/jivelite.sh
  root  7751  5852  1 Feb09 ?00:35:03 /opt/jivelite/bin/jivelite



You could try to kill only the process '/opt/jivelite/bin/jivelite':

Code:

0 2 1,16 * * /usr/bin/pkill -x /opt/jivelite/bin/jivelite




jd68's Profile: http://forums.slimdevices.com/member.php?userid=30795
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] piCorePlayer waveshare 1024x600 touch calibration: 3 locations pointercal & ts.conf

2021-02-10 Thread audionics


Calibration of the touch with ts_calibrate will not work.

If I search for pointercal and ts.conf I find 3 different ones of three
fifferent locations.

if I use ts_calibrate only the one in usr/local/etc/ is modified.

The other locations files cannot be modified by hand as the are
Read-only file systems.

However calibration has no effect as I expect that piCoreplayer uses one
of the other files for setting of the touch.
Or there is a bug in ts_calibrate

Can anybody help?
I have starter level knowledge of Linux.

Thanks,
Johan



audionics's Profile: http://forums.slimdevices.com/member.php?userid=71376
View this thread: http://forums.slimdevices.com/showthread.php?t=113907

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-10 Thread carsten_h


paul- wrote: 
> 1) Run a Patch Update to Pull in new base and web extensions.
> 2) Reboot
> 3) Run the Minor Update to update to pCP 7.0.1

I tried this on my Pi 3B+ installation. There I am booting off an USB
Stick.
I have the version 7.0.1 but when I touch on SDCard image I only get the
normal header and then a blank page. Does this only working when booting
of an SDCard?

On my Pi4 which is booting of an SDCard it shows everything.



pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk

carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-10 Thread Paul Webster


Jivelite is the UI not the player (SqueezePlay is the combined player
and UI).

So you appear to have killed the UI but not restarted it.

Playing works because you have not killed the player.



Paul Webster
http://dabdig.blogspot.com
author of \"now playing\" plugins covering radio france (fip etc), kcrw,
supla finland, abc australia, cbc/radio-canada and rte ireland

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2021-02-10 Thread audionics


Calibration of the touch with ts_calibrate will not work.

If I search for pointercal and ts.conf I find 3 different ones.

if I use ts_calibrate only the one in usr/local/etc/ is modified.

However it has no effect as I expect that piCoreplayer uses one of the
other files for calibration.
Or there is a bug in ts_calibrate


Can anybdy help? 
I have starter level knowledge of Linux.

Thanks,
Johan



audionics's Profile: http://forums.slimdevices.com/member.php?userid=71376
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 7.0.1 + CM4 + Mini I/O Board not Used USB-DAC

2021-02-10 Thread tx2toda


paul- wrote: 
> I guess that makes sense, since the default dwc driver is really
> modified for the rpi onboard usb chips.   dwc2 is the driver commonly
> used in mainline.

I tried writing "Dtoverlay = dwc2, dr_mode = host" in config.txt of
piCorePlayer 7, but it didn't work.
I wonder if the description method is different from piCore.



tx2toda's Profile: http://forums.slimdevices.com/member.php?userid=71378
View this thread: http://forums.slimdevices.com/showthread.php?t=113903

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 7.0.1 + CM4 + Mini I/O Board not Used USB-DAC

2021-02-10 Thread paul-


I guess that makes sense, since the default dwc driver is really
modified for the rpi onboard usb chips.   dwc2 is the driver commonly
used in mainline.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113903

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Jivelite for piCorePlayer

2021-02-10 Thread mr-b


Hi

I'm trying out the clock display freezing issue workaround of a cron job
to restart it nightly.

0 2 * * * /usr/bin/pkill -15 jivelite

However after doing this, I find the display says this in the morning.
Playback is fine though. How do I get the display back (other than a
reboot?)


33315


+---+
|Filename: 2021-02-10 08.09.49 (Medium).jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33315|
+---+


mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 7.0.1 + CM4 + Mini I/O Board not Used USB-DAC

2021-02-10 Thread tx2toda


paul- wrote: 
> Couple thoughts.   First is the board that is reported.  Does not appear
> to be a CM4.   Also you are running the 64 bit version of pCP. I would
> try the 32bit version.
> 
> > 
Code:

  >   > 
  > [0.00] Linux version 5.4.83-pcpCore-v8 (pCP@SoundStation) (gcc 
version 7.4.1 20181213 (crosstool-NG 1.24.0.6-afaf7b9)) #1 SMP PREEMPT Fri Dec 
18 23:15:06 EST 2020
  > [0.00] Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
  > 

> > 
> 
> Second, the sound card is detected, but there is an error
> message..again, try the 32bit version.
> 
> > 
Code:

  >   > 
  > [3.107715] usb 1-1.1.2: new high-speed USB device number 4 using dwc_otg
  > [3.208337] usb 1-1.1.2: New USB device found, idVendor=152a, 
idProduct=85dd, bcdDevice= 6.f2
  > [3.208345] usb 1-1.1.2: New USB device strings: Mfr=1, Product=3, 
SerialNumber=0
  > [3.208353] usb 1-1.1.2: Product: SMSL M300
  > [3.208359] usb 1-1.1.2: Manufacturer: SMSL
  > 
  > [   10.406906] usb 1-1.1.2: 1:3 : unsupported format bits 0x1
  > [   10.518300] usbcore: registered new interface driver snd-usb-audio
  > 

> > 

Hi,

"Dtoverlay = dwc2, dr_mode = host" in config.txt of Raspberry Pi OS
Lite.
When I added it and started it, the USB-DAC (earstudio HUD100) was
recognized.:confused:


+---+
|Filename: 
 
2021-02-10 225906.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=33314|
+---+


tx2toda's Profile: http://forums.slimdevices.com/member.php?userid=71378
View this thread: http://forums.slimdevices.com/showthread.php?t=113903

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread Man in a van


coyrls wrote: 
> I am a bit lost as to how an upgrade vs a fresh install will address the
> problem.  I think bigq started with 7.0.0, so it's not as if it was ever
> working under 6.0.1.
> My suggestions would be:
> 
> 1) Check what is specified as the output under Squeezelite settings and
> if it's not already "hw:CARD=v12,DEV=0", change it to that and retest
> 2) Try changing the USB cable


Well, there is more than one way to skin any cat :p

Try pCP v6.0.1 and if it works, copy logs and upgrade to v7.0.0 :)

My Cirrus Logic dac works in pCP v6.0.1, does not work in pCP v7.0.0 and
does work in Raspberry PI OS Lite (with the 5.10 kernel)

Go figure :rolleyes:

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 7.0.1 + CM4 + Mini I/O Board not Used USB-DAC

2021-02-10 Thread paul-


Couple thoughts.   First is the board that is reported.  Does not appear
to be a CM4.   Also you are running the 64 bit version of pCP. I would
try the 32bit version.


Code:


  [0.00] Linux version 5.4.83-pcpCore-v8 (pCP@SoundStation) (gcc 
version 7.4.1 20181213 (crosstool-NG 1.24.0.6-afaf7b9)) #1 SMP PREEMPT Fri Dec 
18 23:15:06 EST 2020
  [0.00] Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
  



Second, the sound card is detected, but there is an error
message..again, try the 32bit version.


Code:


  [3.107715] usb 1-1.1.2: new high-speed USB device number 4 using dwc_otg
  [3.208337] usb 1-1.1.2: New USB device found, idVendor=152a, 
idProduct=85dd, bcdDevice= 6.f2
  [3.208345] usb 1-1.1.2: New USB device strings: Mfr=1, Product=3, 
SerialNumber=0
  [3.208353] usb 1-1.1.2: Product: SMSL M300
  [3.208359] usb 1-1.1.2: Manufacturer: SMSL
  
  [   10.406906] usb 1-1.1.2: 1:3 : unsupported format bits 0x1
  [   10.518300] usbcore: registered new interface driver snd-usb-audio
  




piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
View this thread: http://forums.slimdevices.com/showthread.php?t=113903

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread slartibartfast


bigq wrote: 
> Man in a van and  coyrls, thanks for your advises.
> So I tried to save (sudo alsactl store), backup and then reboot.
> The same situation, only replugging helps after boot.
> 
> As far as I can see the problem is in initializing 'USB' soundcard on
> boot. For some reason it's not found.
> May be there is a command to add in tweaks that could initialize it
> manually?

One thing you could try is to toggle the power to the USB socket your
DAC is connected to. Install uhubctl from the extensions list then add a
couple of commands to run after start up. For my Pi3 with the DAC
connected to socket 4 I use

uhubctl -l 1-1 -p 4 -a 0
uhubctl -l 1-1 -p 4 -a 1



Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Help debugging weird font/display issue

2021-02-10 Thread DrakeHeyman


I also had a problem with the correct display of fonts, I am very glad
that I found this thread that helped me. Thank you ralphy.



DrakeHeyman's Profile: http://forums.slimdevices.com/member.php?userid=71379
View this thread: http://forums.slimdevices.com/showthread.php?t=109593

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread chill


Can you perhaps post a couple of dmesg logs (get to them via 'Main page'
-> 'Diagnostics' -> 'Logs', or just type dmesg at the command prompt)? 


For the first one, boot the Pi with the dac connected and powered.  I
understand that in this state you get no sound.
For the second one, boot the Pi with the dac disconnected, then connect
the dac when the pi has finished booting.  I understand that in this
state you get sound.  If you only sometimes get sound in this state,
keep disconnecting and reconnecting the dac until the sound works, then
save the dmesg log.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread coyrls


I am a bit lost as to how an upgrade vs a fresh install will address the
problem.  I think bigq started with 7.0.0, so it's not as if it was ever
working under 6.0.1.
My suggestions would be:

1) Check what is specified as the output under Squeezelite settings and
if it's not already "hw:CARD=v12,DEV=0", change it to that and retest
2) Try changing the USB cable



coyrls's Profile: http://forums.slimdevices.com/member.php?userid=44253
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread Man in a van


So, I took my own suggestion :)

pCP v6.0.1 Boot log

> Starting piCorePlayer v6.1.0 startup...
> Checking for boot files on mmcblk0p1...
> Trying to mount /dev/mmcblk0p1.
> ssh file found on mmcblk0p1.
> newpcp.cfg not found on mmcblk0p1.
> Setting default piCorePlayer repository...
> Generating sound card drop-down list...
> Loading configuration file... Done.
> Loading pcp-lms-functions... Done.
> Waiting for soundcard USB to populate. Done (1).
> Waiting for network... Done (15).
> Starting Openssh server... Done.
> Starting Squeezelite and/or Shairport-sync...
> [ INFO ] Starting Squeezelite player: Squeezelite...
> Done.
> Starting httpd web server... Done.
> Setting CPU scaling governor to ondemand... Done.
> Creating static footer... Done.
> 
> Finished piCorePlayer v6.1.0 startup.
> 
> To setup piCorePlayer, use the web interface via a browser:
> - http://192.168.1.122
> 
> Press [Enter] to access console.
> 
> In the background, ntpd is syncing time between piCorePlayer and the
> internet.
> A large offset between 1970 and now is normal.


Then did an insitu update to v7.0.0

Be careful of space, I just squeezed in :p
> 
> [ INFO ] You are installing piCorePlayer7.0.0
> [  OK  ] Free space: 15636k - Required space: 15000k


> Starting piCorePlayer v7.0.0 startup...
> Starting rngd using /dev/hwrng... Done.
> Checking for boot files on mmcblk0p1...
> Trying to mount /dev/mmcblk0p1.
> ssh file found on mmcblk0p1.
> newpcp.cfg not found on mmcblk0p1.
> Setting default piCorePlayer repository...
> Generating sound card drop-down list...
> Loading configuration file... Done.
> Loading pcp-lms-functions... Done.
> Waiting for soundcard USB to populate. Done (1).
> Waiting for network... Done (7).
> Starting Openssh server... Done.
> Starting Squeezelite and/or Shairport-sync...
> [ INFO ] Starting Squeezelite player: Squeezelite...
> Done.
> Starting httpd web server... Done.
> Starting to Advertise picoreplayer.local... Done.
> Setting CPU scaling governor to ondemand... Done.
> Creating static footer... Done.
> 
> Finished piCorePlayer v7.0.0 startup.
> 
> To setup piCorePlayer, use the web interface via a browser:
> - http://192.168.1.122
> 
> Press [Enter] to access console.
> 
> In the background, ntpd is syncing time between piCorePlayer and the
> internet.
> A large offset between 1970 and now is normal.

I ran the minor update to v7.0.1

> Starting piCorePlayer v7.0.1 startup...
> Starting rngd using /dev/hwrng... Done.
> Checking for boot files on mmcblk0p1...
> Trying to mount /dev/mmcblk0p1.
> ssh file found on mmcblk0p1.
> newpcp.cfg not found on mmcblk0p1.
> Setting default piCorePlayer repository...
> Generating sound card drop-down list...
> Loading configuration file... Done.
> Loading pcp-lms-functions... Done.
> Waiting for soundcard USB to populate. Done (1).
> Waiting for network... Done (7).
> Starting Openssh server... Done.
> Starting Squeezelite and/or Shairport-sync...
> [ INFO ] Starting Squeezelite player: Squeezelite...
> Done.
> Starting httpd web server... Done.
> Starting to Advertise picoreplayer.local... Done.
> Setting CPU scaling governor to ondemand... Done.
> Creating static footer... Done.
> 
> Finished piCorePlayer v7.0.1 startup.
> 
> To setup piCorePlayer, use the web interface via a browser:
> - http://192.168.1.122
> 
> Press [Enter] to access console.
> 
> In the background, ntpd is syncing time between piCorePlayer and the
> internet.
> A large offset between 1970 and now is normal.


All good :)

ronnie

I have copies of the respective dmesg logs if anyone is interested:p



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 7.0.0

2021-02-10 Thread pufnstuf


paul- wrote: 
> I built that driver/extension, you can install it from the extension
> interface.
> 
> rtl8821cu-5.4.83-pcpCore-v7.tcz
> 
> source repo is https://github.com/brektrou/rtl8821CU

Thank you very much. Your help and time is appreciated.



pufnstuf's Profile: http://forums.slimdevices.com/member.php?userid=10295
View this thread: http://forums.slimdevices.com/showthread.php?t=113512

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-10 Thread chill


rgro wrote: 
> Chill, now, the behavior is as I think you'd expect.  While Squeezelite
> does not start up upon a reboot with the dac off or in standby mode, as
> soon as the dac is brought up out of standby, Squeezelite is
> automatically started---and it stays on when the dac is put back into
> standby.  
> 
> So, I would call this a success!!!   Thanks again for all your efforts.

That's great, thanks for persevering, and I'm glad it's now working the
way you wanted it to.

rgro wrote: 
> I can confirm that I did put it in the User Commands section of the
> Tweaks page.  As per above, Greg solved the problem.

Yes, soon after I posted my previous attempt at an explanation I
realised that it made much more sense for the phantom entry in
/opt/.filetool.lst to be a remnant from the earlier attempt.  I was so
focussed on trying to explain it that I overlooked what was needed to
fix it, so thanks to Greg for that.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-10 Thread carsten_h


chill wrote: 
> I think I'm about there now, with a unified script that handles all the
> tasks necessary for implementing the udev rules, without any need for
> user editing.

Now I found the time to test your script and replace all the old
things.

It is working out of the box! Great work!

When the speakers are off when starting the Pi, all is off. Good!
When the speakers are on when starting the Pi, Squeezelite is running.
Good!
When I switch the speakers off when Squeezelite is running, Squeezelite
will be stopped. Good!
When I switch the speakers on when Squeezelite is off (even when it
never runs before), Squeezelite will be started. Good!
And ALSA settings are always restored! Great!

Thank you!
I love this automation!



pi4 4gb picoreplayer with lms and squeezelite for usb inside an argon
one case
pi3b+ (7\" display, hifiberry dac+ pro) picoreplayer with
squeezlite/jivelite for hifiberry and bluetooth headphone inside a
smartipi touch case
two airport express
ikea symfonisk

carsten_h's Profile: http://forums.slimdevices.com/member.php?userid=69113
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Start/restart squeezelite when plug-in USB dac

2021-02-10 Thread chill


carsten_h wrote: 
> Now I found the time to test your script and replace all the old
> things.
> 
> It is working out of the box! Great work!
> 

Great, thanks for confirming that.  I also tried it on a separate Pi
with a different DAC (a Dragonfly headphone amp, which identifies itself
as 'DragonFly'), and that went smoothly too.  I'll add a few more words
of explanation to 'post #89'
(https://forums.slimdevices.com/showthread.php?113661-Start-restart-squeezelite-when-plug-in-USB-dac=1008660=1#post1008660)
and hopefully it'll get some feedback from a few more users.



chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Picoreplayer 7 + RPi4B. USB DAC output problems

2021-02-10 Thread Man in a van


@BIGQ
Load up pCP v6.0.1 and see how you go :)

ronnie



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=113895

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix