Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread kitus


kitus wrote: 
> 
> I had to leave home, but before I left, I think I saw the DAC going into
> standby!!! Will confirm later. If that is true, then I just need to
> ensure the extension is loaded during boot time!
> 
Moved the extension into this folder 

Code:

/etc/sysconfig/tcedir/optional



and it now seems to have been loaded during boot process


Code:

tc@piCorePlayerLMS:/mnt/mmcblk0p2/tce/optional$ tce-status -i | grep usb
  libusb
  usb-power
  



and the magic file appears to be there


Code:

tc@piCorePlayerLMS:/mnt/mmcblk0p2/tce/optional$ cat 
/tmp/tcloop/usb-power/etc/udev/rules.d/01-topping-e30-dac-usb-power.rules 
  ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="152a", 
ATTR{idProduct}=="8750", TEST=="power/control", ATTR{power/control}="auto"



It looks like I'm getting closer!



kitus's Profile: http://forums.slimdevices.com/member.php?userid=73121
View this thread: http://forums.slimdevices.com/showthread.php?t=117179

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


Re: [slim] New modified SqueezeAMP batch?

2022-12-11 Thread lbmh


philippe_44 wrote: 
> Just a heads-up that I've almost shipped all my SqueezeAMPs. I have ~5
> Basic left, no Boost (to my surprise). If you are interested, let me
> know because I'll be away until end of January starting next week. I
> know I've said that a couple of times, but it is more and more likely
> the last batch. Some parts are close to end-of life or are being
> incredibly difficult to find and I'm also close to run out of things
> like cases, cables, switches... I might do a last batch of ~20 but I'm
> not sure when, if ever.

How do I do ?



lbmh's Profile: http://forums.slimdevices.com/member.php?userid=20708
View this thread: http://forums.slimdevices.com/showthread.php?t=116084

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread kitus


kitus wrote: 
> 
> 
> @ronnie, did you do anything to get usb-power to create that file other
> than loading the extension manually and ensuring it is listed on the
> onboot.lst?
> 
> thanks!

m, maybe usb-power is not being launched after all:


Code:

tc@piCorePlayerLMS:~$ tce-status -i | more
  alsa
  alsa-modules-5.15.35-pcpCore-v7
  alsa-utils
  bzip2-lib
  ca-certificates
  cdrom-5.15.35-pcpCore-v7
  dialog
  exfat-utils
  expat2
  file
  filesystems-5.15.35-pcpCore-v7
  fuse
  fuse-exfat
  gamin
  gcc_libs
  glib2
  gmp
  gnutls
  icu
  jansson
  libacl
  libasound
  libattr
  libcap
  libelf
  libidn2
  liblzma
  libtasn1
  libudev
  libunistring
  libusb
  nano
  ncurses
  ncurses-terminfo
  nettle
  ntfs-3g
  openssh
  openssl
  p11-kit
  pcp
  pcp-8.2.0-www
  pcp-base
  pcp-libalac
  pcp-libfaad2
  pcp-libflac
  pcp-libmad
  pcp-libmpg123
  pcp-libogg
  pcp-libopus
  pcp-libsoxr
  pcp-libvorbis
  pcp-squeezelite
  pcre
  perl5
  perl_common_sense
  perl_crypt_openssl_bignum
  perl_crypt_openssl_random
  perl_crypt_openssl_rsa
  perl_io_socket_ssl
  perl_linux_inotify2
  perl_mozilla_ca
  perl_net_ssleay
  raid-dm-5.15.35-pcpCore-v7
  rng-tools
  samba4
  samba4-lib
  slimserver
  slimserver-CPAN
  sysfsutils
  talloc
  uhubctl
  unbound
  



I did load the extension as soon as I managed to get the extension from
Ralph's repo, but it looks like it is not being loaded.

I decided to give this a try


Code:

tc@piCorePlayerLMS:~$ sudo tce-bootload usb-power.tcz
  tc@piCorePlayerLMS:~$ 
  

 
crossing my fingers!



kitus's Profile: http://forums.slimdevices.com/member.php?userid=73121
View this thread: http://forums.slimdevices.com/showthread.php?t=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread kitus


slartibartfast wrote: 
> If you don't unplug pCP or your DAC I don't understand why you need
> usbconnectd. I thought it was only needed to restart Squeezelite when an
> unplugged DAC was switched on again.
> 
> Sent from my Pixel 3a using Tapatalk

@slartibartfast, now that I'm trying to remember to turn off
picoreplayer every time I'm done listening to music, usbconnectd may not
be necessary. In the past though, I would find myself very often:

kitus wrote: 
>  I would be very thankful if you provided some guidance to making my
> system go into standby when pressing the on/off button on LMS. Making my
> DAC go into standby is important, but
> _it_is_way_way_more_important_to_solve_my_biggest_issue_: every so often
> (starting a few hours or minutes since I have stopped playing music with
> LMS + pCP) Squeezelite believes it is still capable of doing so (even I
> can see LMS progress bar moving), but in reality no sound comes through
> the speakers, unless I manually restart squeezelite every time I want to
> listen to some music. Restarting pCP is not that convenient when you are
> not in front of a computer, and it is a mood killer. 

I may have been to way off, but using usbconnectd was my desperate move
in order to get my system to work without me needing to open a cli and
force reboot squeezelite. I ended up connecting my DAC to the same smart
powerstrip that I use for my amplifier. That way, I would power cycle my
DAC when I was about to start listening to some music. usbconnectd would
kill and start squeezelite as soon as the DAC come online. With this I
accomplished being able to pull out my phone, open LMS and start playing
some music right on my phone.

But I may have also got all of this wrong from the start.



kitus's Profile: http://forums.slimdevices.com/member.php?userid=73121
View this thread: http://forums.slimdevices.com/showthread.php?t=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread kitus


Man in a van wrote: 
> I remove the settings on the tweaks page but it still does work
> 
> I found the missing file
> > 
Code:

  >   > 
  > tc@pCP:/etc/udev/rules.d$ ls -l
  > total 68
  > lrwxrwxrwx1 root root73 Jan  1  1970 
01-topping-e30-dac-usb-power.rules -> 
/tmp/tcloop/usb-power/etc/udev/rules.d/01-topping-e30-dac-usb-power.rules
  > -rw-rw-r--1 root root   764 May 22  2022 42-qemu-usb.rules
  > -rw-rw-r--1 root root   277 May 22  2022 50-firmware.rules
  > -rw-r--r--1 root root  3846 May 22  2022 
50-udev-default.rules
  > -rw-rw-r--1 1000 100054 May 22  2022 52-usb.rules
  > -rw-rw-r--1 root root   167 May 22  2022 55-tc.rules
  > -rw-rw-r--1 root root   104 May 22  2022 56-lsusb.rules
  > -rw-rw-r--1 root root   308 May 22  2022 60-cdrom_id.rules
  > -rw-rw-r--1 root root   616 May 22  2022 
60-persistent-alsa.rules
  > -rw-rw-r--1 root root  2400 May 22  2022 
60-persistent-input.rules
  > -rw-rw-r--1 root root   947 May 22  2022 
60-persistent-serial.rules
  > -rw-rw-r--1 root root  2669 May 22  2022 
60-persistent-storage.rules
  > -rw-rw-r--1 root root   239 May 22  2022 75-cd-dvd.rules
  > -rw-rw-r--1 root root   657 May 22  2022 80-drivers.rules
  > -rw-rw-r--1 1000 100097 May 22  2022 95-ads7846.rules
  > -rw-rw-r--1 root root   155 May 22  2022 95-udev-late.rules
  > -rw-rw-r--1 root root   294 May 22  2022 98-tc.rules
  > -rw-rw-r--1 1000 1000  1874 May 22  2022 99-com.rules
  > 

> > 
> 
> But, what to do?
> 
> ronnie

So it looks like indeed the usb-power is supposed to create that file. I
had asked this earlier. 

In my case I don't see that file being created


Code:

tc@piCorePlayerLMS:/var/log$ ls -l /tmp/tcloop/usb-power* 
  ls: /tmp/tcloop/usb-power*: No such file or directory
  



and usb-power.tcz is on the list of extensions to be started during boot
time


Code:

tc@piCorePlayerLMS:/var/log$ cat /etc/sysconfig/tcedir/onboot.lst
  pcp.tcz
  pcp-8.2.0-www.tcz
  slimserver.tcz
  ntfs-3g.tcz
  exfat-utils.tcz
  samba4.tcz
  uhubctl.tcz
  nano.tcz
  usb-power.tcz



and


Code:

tc@piCorePlayerLMS:/var/log$ cat /mnt/mmcblk0p2/tce/onboot.lst
  pcp.tcz
  pcp-8.2.0-www.tcz
  slimserver.tcz
  ntfs-3g.tcz
  exfat-utils.tcz
  samba4.tcz
  uhubctl.tcz
  nano.tcz
  usb-power.tcz
  



@ronnie, did you do anything to get usb-power to create that file other
than loading the extension manually and ensuring it is listed on the
onboot.lst?

thanks!



kitus's Profile: http://forums.slimdevices.com/member.php?userid=73121
View this thread: http://forums.slimdevices.com/showthread.php?t=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread slartibartfast


Man in a van wrote: 
> Well I just restored them and rebooted
> 
> Pressing the green power button just pauses the playback.
> 
> If I pull and replug the usb cable the dac starts the stanby process, I
> have to re start squeezelite to stop it.
> 
> I have to say, it all seems a bit unnecessary, just for shutting things
> down; although I can understand your wanting to cure the original
> problem :)
> 
> Do you still hava de daca ?
> 
> Lunchtime :)
> 
> ronnieDo your uhubctl commands act on the correct usb port? Did you say it was
a Pi4, that might need a different command?

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread Man in a van


slartibartfast wrote: 
> Those uhubctl commands simulate removing and replacing the USB cable. If
> you don't use them then you need to unplug and replace the USB cable
> every time the Pi is restarted.
> 
> Sent from my Pixel 3a using Tapatalk

Well I just restored them and rebooted

Pressing the green power button just pauses the playback.

If I pull and replug the usb cable the dac starts the stanby process, I
have to re start squeezelite to stop it.

I have to say, it all seems a bit unnecessary, just for shutting things
down; although I can understand your wanting to cure the original
problem :)

Do you still hava de daca ?

Lunchtime :)

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread slartibartfast


Man in a van wrote: 
> I have it working now :)
> 
> Unplugging the usb lead to the dac did the trick (as per your comments
> on the github thread)
> 
> But that's not a good thing.
> 
> I removed the uhubctl instructions from the Tweaks page and restarted
> squeezelite; the dac started to go into standby when I pressed the green
> power button on the LMS gui.
> 
> I restored  playback and then used the pCP shutdown command to close the
> pi, the dac followed suit.
> 
> I repowered the raspberry pi, the dac came on line and I started
> playback
> 
> Pressing the LMS power button now only paused playback.
> 
> I interrupted the usb power supply to the dac (I did not pull the dac
> power plug or pull the usb cable from the dac, I 'used one of these'
> (https://www.aqvox.de/usb-power_en.html) in the dac usb connection
> 
> I had to restart squeezelite to restore playback but the power switch
> then put the dac into standby
> 
> Not very good really.
> 
> As you seemed to hint at in the github thread a cron job to stop / start
> the usb-power after restart might solve the problem. 
> 
> Or use the remote control to select an used input on the dac :):)
> 
> The raspberrypi OS works much better in this respect.
> 
> 
> ronnieThose uhubctl commands simulate removing and replacing the USB cable. If
you don't use them then you need to unplug and replace the USB cable
every time the Pi is restarted.

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread Man in a van


ralphy wrote: 
> Using the -C option only releases/closes the audio device.  It does not
> shutdown the squeezelite instance.
> 
> There was an 'issue #153'
> (https://github.com/ralph-irving/squeezelite/issues/153) around starting
> squeezelite with -C and the audio device was already in use and fixed in
> 1.9.9r1392.
> 
> I use this option daily and it's been working fine for me.

Thanks for the explanation ralphy :):)

Keep diggin 

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread Man in a van


slartibartfast wrote: 
> After you removed the commands in tweaks does it still work after
> rebooting your pCP?
> 
> Sent from my Pixel 3a using Tapatalk

I have it working now :)

Unplugging the usb lead to the dac did the trick (as per your comments
on the github thread)

But that's not a good thing.

I removed the uhubctl instructions from the Tweaks page and restarted
squeezelite; the dac started to go into standby when I pressed the green
power button on the LMS gui.

I restored  playback and then used the pCP shutdown command to close the
pi, the dac followed suit.

I repowered the raspberry pi, the dac came on line and I started
playback

Pressing the LMS power button now only paused playback.

I interrupted the usb power supply to the dac (I did not pull the dac
power plug or pull the usb cable from the dac, I 'used one of these'
(https://www.aqvox.de/usb-power_en.html) in the dac usb connection

I had to restart squeezelite to restore playback but the power switch
then put the dac into standby

Not very good really.

As you seemed to hint at in the github thread a cron job to stop / start
the usb-power after restart might solve the problem. 

Or use the remote control to select an used input on the dac :):)

The raspberrypi OS works much better in this respect.


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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread ralphy


Man in a van wrote: 
> -@RALPHY-
> 
> -C 
> Close the output device after  seconds of the player being
> idle; the default is to always keep the device open as long as the payer
> is "on". 
> 
> 
> Would you please explain about this setting, I think I have alway
> misunderstood the function it performs.
> 
> I thought that -C stopped squeezelite, but does it just cause it to drop
> the output connection and remain running :confused:
> 
> If I use the green power button on the LMS web gui to stop a radio
> stream, wait for thirty secs or so (-C is set to 5) and then run 
> 
> > 
Code:

  >   > sudo systemctl status squeezelite.service

> > 
> 
> I get this
> 
> > 
Code:

  >   > pi@kitus:~ $ sudo systemctl status squeezelite.service
  >  squeezelite.service - Squeezelite
  > Loaded: loaded (/etc/systemd/system/squeezelite.service; enabled; vendor 
preset: enabled)
  > Active: active (running) since Sat 2022-12-10 11:49:29 GMT; 11min ago
  > Main PID: 777 (squeezelite)
  > Tasks: 4 (limit: 1596)
  > CPU: 21.109s
  > CGroup: /system.slice/squeezelite.service
  > 777 /usr/bin/squeezelite -n Squeezelite -s 127.0.0.1 -o 
front:CARD=Pro,DEV=0 -a 80 4  0  -C 5
  > 
  > Dec 10 11:49:29 kitus systemd[1]: Started Squeezelite.
  > pi@kitus:~ $

> > 
> 
> 
> Is this the correct state to be reported ?
> 
> Or does running the command restart a paused service ?  I did not note
> any of the times, :rolleyes::o sorry.
> 
> If Stop the playback by running
> > 
Code:

  >   > 
  > sudo systemctl stop squeezelite.service

> > 
> 
> and then run the Status query, it is shown as stopped.
> 
> thanks
> 
> ronnie
> 
> How's the snow ?

Using the -C option only releases/closes the audio device.  It does not
shutdown the squeezelite instance.

There was an 'issue #153'
(https://github.com/ralph-irving/squeezelite/issues/153) around starting
squeezelite with -C and the audio device was already in use and fixed in
1.9.9r1392.

I use this option daily and it's been working fine for me.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread slartibartfast


kitus wrote: 
> I would typically not switch off the picoreplayer on LMS. I never
> thought it was necessary, but now that I come to think about it, having
> a player that all of the sudden "sees" that the next device downstream
> (the DAC) either goes offline, is in standby, or whatever, could be part
> of the problem. I will now try to remember this from today and on.
> 
> What usbconnectd does is, it monitors inputs and choses the best one,
> based on what it sees. Once that input has been chosen, it will kill
> squeezelite and ensure it starts anew. And this has proven to be
> bridging the gap that I see in my setup... well, at least at this point
> where I have not yet managed to implement usb-power, udev rule, etc.,

If you don't unplug pCP or your DAC I don't understand why you need
usbconnectd. I thought it was only needed to restart Squeezelite when an
unplugged DAC was switched on again.

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread slartibartfast


Man in a van wrote: 
> I remove the settings on the tweaks page but it still does work
> 
> I found the missing file
> > 
Code:

  >   > 
  > tc@pCP:/etc/udev/rules.d$ ls -l
  > total 68
  > lrwxrwxrwx1 root root73 Jan  1  1970 
01-topping-e30-dac-usb-power.rules -> 
/tmp/tcloop/usb-power/etc/udev/rules.d/01-topping-e30-dac-usb-power.rules
  > -rw-rw-r--1 root root   764 May 22  2022 42-qemu-usb.rules
  > -rw-rw-r--1 root root   277 May 22  2022 50-firmware.rules
  > -rw-r--r--1 root root  3846 May 22  2022 
50-udev-default.rules
  > -rw-rw-r--1 1000 100054 May 22  2022 52-usb.rules
  > -rw-rw-r--1 root root   167 May 22  2022 55-tc.rules
  > -rw-rw-r--1 root root   104 May 22  2022 56-lsusb.rules
  > -rw-rw-r--1 root root   308 May 22  2022 60-cdrom_id.rules
  > -rw-rw-r--1 root root   616 May 22  2022 
60-persistent-alsa.rules
  > -rw-rw-r--1 root root  2400 May 22  2022 
60-persistent-input.rules
  > -rw-rw-r--1 root root   947 May 22  2022 
60-persistent-serial.rules
  > -rw-rw-r--1 root root  2669 May 22  2022 
60-persistent-storage.rules
  > -rw-rw-r--1 root root   239 May 22  2022 75-cd-dvd.rules
  > -rw-rw-r--1 root root   657 May 22  2022 80-drivers.rules
  > -rw-rw-r--1 1000 100097 May 22  2022 95-ads7846.rules
  > -rw-rw-r--1 root root   155 May 22  2022 95-udev-late.rules
  > -rw-rw-r--1 root root   294 May 22  2022 98-tc.rules
  > -rw-rw-r--1 1000 1000  1874 May 22  2022 99-com.rules
  > 

> > 
> 
> But, what to do?
> 
> ronnieAfter you removed the commands in tweaks does it still work after
rebooting your pCP?

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread slartibartfast


Man in a van wrote: 
> I tried the pCP route this morning, 
> 
> > 
Code:

  >   > 
  > ceo
  > 
  > wget 
http://downloads.sourceforge.net/project/picoreplayer/beta/usb-power.tcz
  > 
  > wget 
http://downloads.sourceforge.net/project/picoreplayer/beta/usb-power.tcz.md5.txt
  > 
  > md5sum -c usb-power.tcz.md5.txt 
  > 
  > tce-load -i usb-power
  > 
  > echo usb-power.tcz >> ../onboot.lst
  > 
  > pcp br
  > 

> > 
> 
> looks like the usb-power does not work
> 
> > 
Code:

  >   > login as: tc
  > tc@pcp.local's password:
  > _ _ ___  __
  > ___  (_) ___/__  ___ / _ \/ /__ ___ _ 
  > / _ \/ / /__/ _ \/ __/ -_) ___/ / _ `/ // / -_) __/
  > / .__/_/\___/\___/_/  \__/_/  /_/\_,_/\_, /\__/_/
  > /_/   /___/
  > 
  > piCorePlayer = piCore + Squeezelite + Raspberry Pi
  > 
  > The software is provided "as is" without warranty of any kind,
  > either express or implied, including without limitation any implied
  > warranties of condition, uninterrupted use, merchantability,
  > fitness for a particular purpose, or non-infringement.
  > tc@pCP:~$ cat /lib/udev/rules.d/01-topping-e30-dac-usb-power.rules
  > cat: can't open '/lib/udev/rules.d/01-topping-e30-dac-usb-power.rules': No 
such file or directory
  > tc@pCP:~$
  > 
  > 
  > 

> > 
> 
> and, with a little local navigation
> 
> > 
Code:

  >   > tc@pCP:/lib/udev/rules.d$ ls -l
  > total 0
  > lrwxrwxrwx1 root root61 Jan  1  1970 
90-alsa-restore.rules -> 
/tmp/tcloop/alsa-utils/lib/udev/rules.d/90-alsa-restore.rules
  > tc@pCP:/lib/udev/rules.d$

> > 
> 
> 
> sudo nano /etc/sysconfig/tcedir/onboot.lst  gives
> 
> > 
Code:

  >   > pcp.tcz
  > pcp-8.2.0-www.tcz
  > slimserver.tcz
  > nano.tcz
  > pcp-lame.tcz
  > pigz.tcz
  > uhubctl.tcz
  > usb-power.tcz

> > 
> 
> 
> lsusb gives
> 
> > 
Code:

  >   > tc@pCP:~$ lsusb
  > Bus 001 Device 004: ID 152a:8750
  > Bus 001 Device 001: ID 1d6b:0002
  > Bus 001 Device 003: ID 0424:2514
  > Bus 001 Device 002: ID 0424:2514
  > Bus 001 Device 006: ID 0424:7800
  > Bus 001 Device 005: ID 0951:1666

> > 
> 
> so I used slarti's settings on the Tweaks page
> 
> [emoji14]
> 
> ronnieSo does your DAC have the same product ID as the E30? That makes things
easier.

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread Man in a van


I remove the settings on the tweaks page but it still does work

I found the missing file

Code:


  tc@pCP:/etc/udev/rules.d$ ls -l
  total 68
  lrwxrwxrwx1 root root73 Jan  1  1970 
01-topping-e30-dac-usb-power.rules -> 
/tmp/tcloop/usb-power/etc/udev/rules.d/01-topping-e30-dac-usb-power.rules
  -rw-rw-r--1 root root   764 May 22  2022 42-qemu-usb.rules
  -rw-rw-r--1 root root   277 May 22  2022 50-firmware.rules
  -rw-r--r--1 root root  3846 May 22  2022 50-udev-default.rules
  -rw-rw-r--1 1000 100054 May 22  2022 52-usb.rules
  -rw-rw-r--1 root root   167 May 22  2022 55-tc.rules
  -rw-rw-r--1 root root   104 May 22  2022 56-lsusb.rules
  -rw-rw-r--1 root root   308 May 22  2022 60-cdrom_id.rules
  -rw-rw-r--1 root root   616 May 22  2022 
60-persistent-alsa.rules
  -rw-rw-r--1 root root  2400 May 22  2022 
60-persistent-input.rules
  -rw-rw-r--1 root root   947 May 22  2022 
60-persistent-serial.rules
  -rw-rw-r--1 root root  2669 May 22  2022 
60-persistent-storage.rules
  -rw-rw-r--1 root root   239 May 22  2022 75-cd-dvd.rules
  -rw-rw-r--1 root root   657 May 22  2022 80-drivers.rules
  -rw-rw-r--1 1000 100097 May 22  2022 95-ads7846.rules
  -rw-rw-r--1 root root   155 May 22  2022 95-udev-late.rules
  -rw-rw-r--1 root root   294 May 22  2022 98-tc.rules
  -rw-rw-r--1 1000 1000  1874 May 22  2022 99-com.rules
  



But, what to do?

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=117179

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


Re: [slim] In love with SqueezeLite and LMS. Frustrated at the same time.

2022-12-11 Thread Man in a van


I tried the pCP route this morning, 


Code:


  ceo
  
  wget http://downloads.sourceforge.net/project/picoreplayer/beta/usb-power.tcz
  
  wget 
http://downloads.sourceforge.net/project/picoreplayer/beta/usb-power.tcz.md5.txt
  
  md5sum -c usb-power.tcz.md5.txt 
  
  tce-load -i usb-power
  
  echo usb-power.tcz >> ../onboot.lst
  
  pcp br
  



looks like the usb-power does not work


Code:

login as: tc
  tc@pcp.local's password:
  _ _ ___  __
  ___  (_) ___/__  ___ / _ \/ /__ ___ _ 
  / _ \/ / /__/ _ \/ __/ -_) ___/ / _ `/ // / -_) __/
  / .__/_/\___/\___/_/  \__/_/  /_/\_,_/\_, /\__/_/
  /_/   /___/
  
  piCorePlayer = piCore + Squeezelite + Raspberry Pi
  
  The software is provided "as is" without warranty of any kind,
  either express or implied, including without limitation any implied
  warranties of condition, uninterrupted use, merchantability,
  fitness for a particular purpose, or non-infringement.
  tc@pCP:~$ cat /lib/udev/rules.d/01-topping-e30-dac-usb-power.rules
  cat: can't open '/lib/udev/rules.d/01-topping-e30-dac-usb-power.rules': No 
such file or directory
  tc@pCP:~$
  
  
  



and, with a little local navigation


Code:

tc@pCP:/lib/udev/rules.d$ ls -l
  total 0
  lrwxrwxrwx1 root root61 Jan  1  1970 
90-alsa-restore.rules -> 
/tmp/tcloop/alsa-utils/lib/udev/rules.d/90-alsa-restore.rules
  tc@pCP:/lib/udev/rules.d$




sudo nano /etc/sysconfig/tcedir/onboot.lst  gives


Code:

pcp.tcz
  pcp-8.2.0-www.tcz
  slimserver.tcz
  nano.tcz
  pcp-lame.tcz
  pigz.tcz
  uhubctl.tcz
  usb-power.tcz




lsusb gives


Code:

tc@pCP:~$ lsusb
  Bus 001 Device 004: ID 152a:8750
  Bus 001 Device 001: ID 1d6b:0002
  Bus 001 Device 003: ID 0424:2514
  Bus 001 Device 002: ID 0424:2514
  Bus 001 Device 006: ID 0424:7800
  Bus 001 Device 005: ID 0951:1666



so I used slarti's settings on the Tweaks page

:p

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=117179

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