Re: [SlimDevices: Unix] Linux noob

2021-07-26 Thread Muele


Damned. Case sensitivity in the file system. I feel so stupid now.



BR Mogens

2 Radios (1 battery), 2 Controllers, 2 Receivers, SqueezeCommander,
OrangeSqueeze and SqueezePlayer on  Samsung Galaxy Nexus.

Muele's Profile: http://forums.slimdevices.com/member.php?userid=21310
View this thread: http://forums.slimdevices.com/showthread.php?t=114879

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


Re: [SlimDevices: Unix] Linux noob

2021-07-26 Thread Muele


Greg Erskine wrote: 
> It should be simple if pCP is connected to the network.
> 
> Are you following this how-to ? "'Access piCorePlayer via ssh'
> (https://docs.picoreplayer.org/how-to/access_pcp_via_ssh/)"

Yes, that very How-to.

I always got a login error. But now all of a sudden I get in. Weird. I
was very careful entering the password.

Ok so now I have an SSH connection to play with. 
But it only helps me a little. I now get separate errormessages for each
folder (to and from). The to-folder complains about a lack of
permissions. Strange since it is just a FAT formatted thumbdrive. I have
even "Set write permissions"



BR Mogens

2 Radios (1 battery), 2 Controllers, 2 Receivers, SqueezeCommander,
OrangeSqueeze and SqueezePlayer on  Samsung Galaxy Nexus.

Muele's Profile: http://forums.slimdevices.com/member.php?userid=21310
View this thread: http://forums.slimdevices.com/showthread.php?t=114879

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


Re: [SlimDevices: Unix] Linux noob

2021-07-26 Thread Greg Erskine


It should be simple if pCP is connected to the network.

Are you following this how-to ? "'Access piCorePlayer via ssh'
(https://docs.picoreplayer.org/how-to/access_pcp_via_ssh/)"



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=114879

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


Re: [SlimDevices: Unix] Linux noob

2021-07-26 Thread v2k


I don't think the user commands is the way to go, I would focus on
sorting out the ssh instead. I might have missed it earlier but how are
you connecting with ssh and what's the error message?



v2k's Profile: http://forums.slimdevices.com/member.php?userid=71576
View this thread: http://forums.slimdevices.com/showthread.php?t=114879

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


Re: [SlimDevices: Unix] Linux noob

2021-07-26 Thread Muele


Oh yeah, I have also tried putting a $ in front of rsync but then it
shows some parse errors instead



BR Mogens

2 Radios (1 battery), 2 Controllers, 2 Receivers, SqueezeCommander,
OrangeSqueeze and SqueezePlayer on  Samsung Galaxy Nexus.

Muele's Profile: http://forums.slimdevices.com/member.php?userid=21310
View this thread: http://forums.slimdevices.com/showthread.php?t=114879

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


Re: [SlimDevices: Unix] Linux noob

2021-07-26 Thread Muele


psketch wrote: 
> pcp does have rsync.tcz extension available (from the Main
> Page/Extensions/Available).  That's likely what you want I think.  Then
> you could add a cron job as a user command on the Tweaks page to
> schedule the rsync.
> 

So I read a bit about rsync. And it doesn't seem very difficult.
But when I try to set it up I just can't get it to work.

I can't find anywhere to test-run command lines from the pCP webpage. Is
there such a place?
So I wanted to SSH to it from my PC to do trial and error. But the login
tc/piCore doesn't work. Is there any other login that should work?

So I took the shabang over to my monitor and started using User Command
#1 and rebooting over and over.

For test purposes I stuck in a thumbdrive to not mess with all my
existing data.
I have mounted and SMB-shared the drives and confirmed that I have
access to them.

I have tried lines along these: 
rsync -a /mnt/Data/Media/Music/Aura /mnt/stick
and  rsync -a /Data/Media/Music/Aqua/ /stick/

And I constantly get an error like: Creating static footer... rsync:
change_dir "/Data/Media/Music/Aura" failed: No such file or directory
(2)

I have also tried just syncing a single file in the root of /data with
the same result.

I hope someone can help me along. It is pretty weird to have worked in
IT for over 20 years and still be so helpless in something so seemingly
simple.



BR Mogens

2 Radios (1 battery), 2 Controllers, 2 Receivers, SqueezeCommander,
OrangeSqueeze and SqueezePlayer on  Samsung Galaxy Nexus.

Muele's Profile: http://forums.slimdevices.com/member.php?userid=21310
View this thread: http://forums.slimdevices.com/showthread.php?t=114879

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


Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2021-07-26 Thread castalla


castalla wrote: 
> Will do


Done.  Switched to AAC on urbanista buds (previously stuttered) - now
cristal clear.  Stopping and reconnect worked fine.





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=114834

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


Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2021-07-26 Thread castalla


paul- wrote: 
> Do you mind confirming which codec you are using.   Please try AAC if
> you are not.

Will do





castalla's Profile: http://forums.slimdevices.com/member.php?userid=15624
View this thread: http://forums.slimdevices.com/showthread.php?t=114834

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


Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2021-07-26 Thread paul-


Do you mind confirming which codec you are using.   Please try AAC if
you are not.



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

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


Re: [SlimDevices: Unix] poCorePlayer - DAB+ discussion

2021-07-26 Thread bpa

stevemartins wrote: 
> I'm building a piCorePlayer based in car entertainment platform, DAB
> radio would seem to be the right choice for in car, but happy to be
> corrected. I don't want to rely purely on a mobile wifi hotspot/on board
> music for my radio while driving.
> 
> I can see the device under /sys/bus/usb... and it identifies correctly
> under "description", has the control end point... I can't where to hook
> the audio from though. It's all just an idea at the minute.

While I can see the logic of in-car - just I find it hard to believe
there are roads with a DAB+ signal and not a mobile one.  It's just a
word of caution as I think DAB+ may be hard work on a Raspberry Pi. 

Rather than the undocumented USB adaptor you've got you may have better
luck with a RTL-SDR (adaptors are quite cheap 10-20 £/$/€)  as there is
more open s/w available (e.g. https://github.com/AlbrechtL/welle.io ) 
but the downside as it is SDR (it can do any RF not just DAB) but it
requires a good CPU but I believe it is ok on Pi3.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114894

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


Re: [SlimDevices: Unix] poCorePlayer - DAB+ discussion

2021-07-26 Thread stevemartins


I'm building a piCorePlayer based in car entertainment platform, DAB
radio would seem to be the right choice for in car, but happy to be
corrected. I don't want to rely purely on a mobile wifi hotspot/on board
music for my radio while driving.

I can see the device under /sys/bus/usb... and it identifies correctly
under "description", has the control end point... I can't where to hook
the audio from though. It's all just an idea at the minute.



stevemartins's Profile: http://forums.slimdevices.com/member.php?userid=68461
View this thread: http://forums.slimdevices.com/showthread.php?t=114894

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


Re: [SlimDevices: Unix] poCorePlayer - DAB+ discussion

2021-07-26 Thread bpa


A few years ago, I did a plugin for RadioShark (an AM/FM dongle) and it
had no metadata.

A USB device may enumerate but does it provides access to the device
controls.

For DAB+ support - you'll need access to an interface that provides (i)
controls to tune (and maybe scan) (ii) audio and (iii) metadata

The standard USB may only provide audio- access to the other control may
require a special support application.  To work on pcp - this support
application is best written in C and C++ (better still Perl but highly
unlikely).

The basic question is why do you want to implement DAB+ ?
DAB+ is losing support because streaming radio over internet (whether
wifi or mobile) is more attractive to broadcasters.  In Ireland the DAB+
networks have shutdown because of the lack of growth/demand.



bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806
View this thread: http://forums.slimdevices.com/showthread.php?t=114894

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


[SlimDevices: Unix] poCorePlayer - DAB+ discussion

2021-07-26 Thread stevemartins


Hi,

I am interested in building in support for DAB+ dongles to piCorePlayer.
I have looked at DAB-Z running on Pi with android omnirom and can get
the dongle to tune in to DAB radio, so the hardware all works.

The DAB-Z implementation builds on OMRI from what I can tell
(https://lab.irt.de/full-dab-support-for-android-car-stereos-using-dab-z-with-omri/),
and the USB device enumerates on tinyCore. 

I'm happy to do some of the coding and testing, but I would be
interested is some assistance if anyone has any knowledge that could
help implement this capability.

Please let me know your thoughts.

Thanks,

Steve



stevemartins's Profile: http://forums.slimdevices.com/member.php?userid=68461
View this thread: http://forums.slimdevices.com/showthread.php?t=114894

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-07-26 Thread paul-


fsck doesn't show in dmesg, and the output is not logged.   Connect a
screen.



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

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2021-07-26 Thread paul-


First get the screen working, then worry about jivelite.  A functioning
screen should show the linux console, the screen will not start until
after boot and the OS starts to load.



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

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


Re: [SlimDevices: Unix] Jivelite on a Pirate Audio 240x240 screen

2021-07-26 Thread freakk


Thanks for the info, I'll make sure to dig into those READMEs in the
future.

> Your pin diagram shows CE0 is being connected
The rectangle might be deceiving, the display I was using has the CS
ping hardwired to gnd and it's not exposed, so not connected to RPi's
gpio.
I tried setting the reset pin with the overlay, but I still get jivelite
logging "socket connect failed".
I will try another display, one with all pins exposed, including CS.



freakk's Profile: http://forums.slimdevices.com/member.php?userid=71950
View this thread: http://forums.slimdevices.com/showthread.php?t=111502

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


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-07-26 Thread mr-b


Tx. I tried it via:


Code:


  $ sudo tune2fs -l /dev/mmcblk0p2 | grep count
  Inode count:  3899392
  Block count:  7773184
  Reserved block count: 82880
  Mount count:  10
  Maximum mount count:  -1
  
  $ tune2fs -c 1 /dev/mmcblk0p2
  tune2fs 1.45.6 (20-Mar-2020)
  Setting maximal mount count to 1
  



then I restarted

dmesg:

Code:


  [0.984821] mmc0: new ultra high speed DDR50 SDHC card at address 0001
  [0.985307] mmcblk0: mmc0:0001 BB1QT 29.8 GiB
  [0.986464]  mmcblk0: p1 p2
  [1.117505] usb 1-1: new high-speed USB device number 2 using xhci_hcd
  [1.300156] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, 
bcdDevice= 4.21
  [1.300170] usb 1-1: New USB device strings: Mfr=0, Product=1, 
SerialNumber=0
  [1.300181] usb 1-1: Product: USB2.0 Hub
  [1.302281] hub 1-1:1.0: USB hub found
  [1.302617] hub 1-1:1.0: 4 ports detected
  [3.214738] zram: Added device: zram0
  [3.273663] zram0: detected capacity change from 0 to 1006940160
  [3.277086] random: mkswap: uninitialized urandom read (16 bytes read)
  [3.347611] Adding 983336k swap on /dev/zram0.  Priority:-2 extents:1 
across:983336k SSFS
  [3.423592] squashfs: version 4.0 (2009/01/31) Phillip Lougher
  [3.559337] random: fast init done
  [3.702950] EXT4-fs (mmcblk0p2): warning: maximal mount count reached, 
running e2fsck is recommended
  [3.727763] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
mode. Opts: (null)
  [4.299523] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data 
mode. Opts: (null)
  [   12.584330] snd_bcm2835: module is from the staging directory, the quality 
is unknown, you have been warned.
  [   12.595346] bcm2835_audio bcm2835_audio: card created with 8 channels
  [   12.889089] bcmgenet fd58.ethernet: configuring instance for external 
RGMII (RX delay)
  [   12.889394] bcmgenet fd58.ethernet eth0: Link is Down
  [   12.987454] Starting piCorePlayer v8.0.0 startup.
  [   13.034536] random: crng init done
  [   17.047965] bcmgenet fd58.ethernet eth0: Link is Up - 1Gbps/Full - 
flow control off
  [   20.037641] FS-Cache: Netfs 'cifs' registered for caching
  [   20.040478] Key type cifs.spnego registered
  [   20.040495] Key type cifs.idmap registered
  [   20.040938] CIFS: Attempting to mount //192.168.1.3/mymusic
  [   20.040988] CIFS: No dialect specified on mount. Default has changed to a 
more secure dialect, SMB2.1 or later (e.g. SMB3.1.1), from CIFS (SMB1). To use 
the less secure SMB1 dialect to access old servers which do not support 
SMB3.1.1 (or even SMB3 or SMB2.1) specify vers=1.0 on mount.
  [   20.131543] CIFS: Attempting to mount //192.168.1.3/backup
  [   27.156361] process 'Plugins/CastBridge/Bin/squeeze2cast-armv6hf-static' 
started with executable stack
  [   28.715952] pcm512x 1-004d: No SCLK, using BCLK: -2
  [   28.836370] Finished piCorePlayer v8.0.0 startup.
  
  
  $ sudo tune2fs -l /dev/mmcblk0p2 | grep count
  Inode count:  3899392
  Block count:  7773184
  Reserved block count: 82880
  Mount count:  1
  Maximum mount count:  1
  



Should fsck output have showed in dmesg?



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

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