Re: [SlimDevices: Unix] Community Squeeze OS F19 Release 1
dsdreamer wrote: I hope this helps. I'm not expecting to see 352k8 and 384k in the supported sample rates. I'm not looking at the code, but I thought max was 192k Anyway, neither here nor there at the moment. What I would like to see is you accessing the hw device directly, not using default. Can you do this again with hw:CARD=DWHDMI so you are accessing the device directly and removing any alsa magic of whatever is lurking behind the default recipe, please. JackOfAll's Profile: http://forums.slimdevices.com/member.php?userid=3069 View this thread: http://forums.slimdevices.com/showthread.php?t=99395 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Community Squeeze OS F19 Release 1
JackOfAll wrote: I'm not expecting to see 352k8 and 384k in the supported sample rates. I'm not looking at the code, but I thought max was 192k Anyway, neither here nor there at the moment. What I would like to see is you accessing the hw device directly, not using default. Can you do this again with hw:CARD=DWHDMI so you are accessing the device directly and removing any alsa magic of whatever is lurking behind the default recipe, please. I can't get back to this until mid-week (Wednesday evening), much as I want to. -- Dreamer, easy in the chair that really fits you... dsdreamer's Profile: http://forums.slimdevices.com/member.php?userid=12588 View this thread: http://forums.slimdevices.com/showthread.php?t=99395 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
[SlimDevices: Unix] Can't get logitech mediaserver to recognize some directories
Running xubuntu 13.10. Have this working at home, wanted to get it working at work, but having some issues/ Have one hd with the main os on it, a usb drive with my music on it, and a second internal data hard drive. Both the secondary internal drive and the usb drive are mounted with default options. The end up in /media/MY_USER_NAME/data and /media/MY_USER_NAME/external. Squeezebox server refuses to see these directories. What user does it run as? Has anyone else had these issues? sb touch - classdaudio sds-450 - audio physic tempo 4 + rel storm 3 rythmik f12se totoro's Profile: http://forums.slimdevices.com/member.php?userid=5935 View this thread: http://forums.slimdevices.com/showthread.php?t=101120 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't get logitech mediaserver to recognize some directories
It has its own user squeeboxserver or maybe logitechmediaserver dr Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD SqueezePad (in storage SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=101120 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] Can't get logitech mediaserver to recognize some directories
Ubuntu (and perhaps other *nixes) tend to mount external drives as readable only by the individual user. But that doesn't explain why it doesn't see the internal drive also. Typically LMS runs under username squeezeboxserver , although this is configurable via the init file. You can confirm which user it's using by opening a terminal window and running: ps -aux | grep squeeze Or, a general approach that is sure to work is to give appropriate read and execute permissions to all users. That would be mode 755 for all folders/directories, and mode 644 for all files. I'm not sure how you would do this for the external drive, but for the internal this works: cd /media/MY_USER_NAME/data find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; The first find command sets the folders to be readable/writable/executable by the owner (presumably your username), and readable/executable by anyone. The second find command sets the files to be read/write by the owner, and readable by anyone. This may work for the external drive as well -- just change the cd command to navigate to the write folder. But even if it works, it may not survive mounting/unmounting of the drive. aubuti's Profile: http://forums.slimdevices.com/member.php?userid=2074 View this thread: http://forums.slimdevices.com/showthread.php?t=101120 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Hi Pete and DrJasser. As I don't have the possibility to use HDMI, I will need your help in order to fix the HiRez HDMI streaming. The new version piCorePlayer1.13 is not patched to be able to stream more than 48 kHz, whereas the previous version (piCorePlayer1.12d) should be able to stream up 192 kHz. SO FOR TESTING PLEASE USE PICOREPLAYER1.12D Could you please try the following - using the web GUI: 1. Use the Squeezelite settings and choose HDMI and then submit - do not reboot. 2. Go back to Squeezelite settings page. Here remove everything from the Output settings, press submit. 3. Go to the main page and press Backup 4. Go to the Main page and reboot. Can you please test now if you can stream higher than 48 kHz Steen piCorePlayer a small player for the Raspberry Pi (25MB in RAM). Homepage: https://sites.google.com/site/picoreplayer/home and discussion: http://forums.slimdevices.com/showthread.php?97803-piCoPlayer-Squeezelite-on-Microcore-linux-An-embedded-OS-in-RAM-with-Squeezelite Squeezeboxserver on Voyage Linux 500 MB CF-card (read-only) http://forums.slimdevices.com/showthread.php?90581-HOW-TO-install-squeezeboxserver-on-very-small-Linux-(Voyage-linux) Please 'donate' (https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flowSESSION=_Wc9nDqkHvtg-sUXCIrz1nB1Ct8pwHDrBSxETDiHfpX5H6F4Wflav3VBIAKdispatch=5885d80a13c0db1f8e263663d3faee8d7ff5e1e81f2ed97dd1e90bd72966c40c) if you like the piCorePlayer sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
sbp wrote: Hi Pete and DrJasser. As I don't have the possibility to use HDMI, I will need your help in order to fix the HiRez HDMI streaming. The new version piCorePlayer1.13 is not patched to be able to stream more than 48 kHz, whereas the previous version (piCorePlayer1.12d) should be able to stream up 192 kHz. SO FOR TESTING PLEASE USE PICOREPLAYER1.12D Could you please try the following - using the web GUI: 1. Use the Squeezelite settings and choose HDMI and then submit - do not reboot. 2. Go back to Squeezelite settings page. Here remove everything from the Output settings, press submit. 3. Go to the main page and press Backup 4. Go to the Main page and reboot. Can you please test now if you can stream higher than 48 kHz Steen Just tried it in accordance with your guidance: Installed 1.12d from scratch, followed the instructions. Still no luck: Playback is limited to 48khz... Please count on my support to solve this :). DrJazzer's Profile: http://forums.slimdevices.com/member.php?userid=62645 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
DrJazzer and Pete - Thanks. I hope you are are not afraid of some command promt stuff: Use putty to SHH into piCorePlayer. user=tc password=nosoup4u please mount the partition where the config.txt file is: so please: Code: sudo mount /dev/mmcblk0p1 sudo vi /mnt/mmcblk0p1/config.txt Then in the bottom of the file you will see: Code: hdmi_drive=2 hdmi_force_hotplug=1 hdmi_force_edid_audio=1 hdmi_ignore_edid=0xa580 I would like you to change delete the three lines so it ends like this: (to delete a line in vi you just use arrow down to the line, press escape and the dd (two tap on the d) Code: hdmi_drive=2 When the lines are deleted, you will need to save the changes. press escape then : then qw Then try to reboot and test the result. Steen piCorePlayer a small player for the Raspberry Pi (25MB in RAM). Homepage: https://sites.google.com/site/picoreplayer/home and discussion: http://forums.slimdevices.com/showthread.php?97803-piCoPlayer-Squeezelite-on-Microcore-linux-An-embedded-OS-in-RAM-with-Squeezelite Squeezeboxserver on Voyage Linux 500 MB CF-card (read-only) http://forums.slimdevices.com/showthread.php?90581-HOW-TO-install-squeezeboxserver-on-very-small-Linux-(Voyage-linux) Please 'donate' (https://www.paypal.com/uk/cgi-bin/webscr?cmd=_flowSESSION=_Wc9nDqkHvtg-sUXCIrz1nB1Ct8pwHDrBSxETDiHfpX5H6F4Wflav3VBIAKdispatch=5885d80a13c0db1f8e263663d3faee8d7ff5e1e81f2ed97dd1e90bd72966c40c) if you like the piCorePlayer sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Huh... Now, the sound is completely gone. I tried it after the stuff I did before (changing to HDMI out, backup, etc.) Thanks :) DrJazzer's Profile: http://forums.slimdevices.com/member.php?userid=62645 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
sbp wrote: DrJazzer and Pete - Thanks. I hope you are are not afraid of some command promt stuff: Use putty to SHH into piCorePlayer. user=tc password=nosoup4u please mount the partition where the config.txt file is: so please: Code: sudo mount /dev/mmcblk0p1 sudo vi /mnt/mmcblk0p1/config.txt Then in the bottom of the file you will see: Code: hdmi_drive=2 hdmi_force_hotplug=1 hdmi_force_edid_audio=1 hdmi_ignore_edid=0xa580 I would like you to change delete the three lines so it ends like this: (to delete a line in vi you just use arrow down to the line, press escape and the dd (two tap on the d) Code: hdmi_drive=2 When the lines are deleted, you will need to save the changes. press escape then : then qw Then try to reboot and test the result. Steen Hi Steen OK - will try that later this evening - I'm fine with vi etc.. I see where you're going with this - let's see if the forcing HDMI we've done post 1.06 has done something nasty. Will give a few settings a try pete S psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Again, no success - even after a clean installation. I also tried playing a .wav boasting 96khz with aplay; hence with LMS out of the equation which might perform the unwanted down-sampling. Still no luck, aplay adapts the sample rate to 48khz: Code: Playing WAVE '01 - Chan Chan.wav' : Signed 24 bit Little Endian in 3bytes, Rate 96000 Hz, Stereo Plug PCM: Rate conversion PCM (48000, sformat=S16_LE) :confused: DrJazzer's Profile: http://forums.slimdevices.com/member.php?userid=62645 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Hi I have been trying to stream a 192 kHz FLAC via HDMI - I have no means of checking the actual output, so I collected log from squeezelite. I'm a bit uncertain on reading it but for me it seems like it is streaming 192 kHz. See the marked area in red. However, it also starts with something about 44.1 kHz marked in green So if anybody can explain what this log shows - I would be grateful Steen Code: [00:12:50.742082] stream_init:264 init stream[00:12:50.743427] stream_init:265 streambuf size: 2097152 [00:12:50.747851] output_init_alsa:636 init output [00:12:50.748099] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 4 format: 32 mmap: 0 [00:12:50.748293] output_init_common:334 outputbuf size: 3528000 [00:12:50.788822] ALSA _snd_pcm_hw_open:1667 Invalid value for card [00:12:50.789119] test_open:124 playback open error: No such file or directory [00:12:50.789410] output_init_common:365 unable to open output device [00:13:55.072151] stream_init:264 init stream [00:13:55.073541] stream_init:265 streambuf size: 2097152 [00:13:55.077648] output_init_alsa:636 init output [00:13:55.077892] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 4 format: 32 mmap: 0 [00:13:55.078080] output_init_common:334 outputbuf size: 3528000 [00:13:55.119705] ALSA _snd_pcm_hw_open:1667 Invalid value for card [00:13:55.119998] test_open:124 playback open error: No such file or directory [00:13:55.120518] output_init_common:365 unable to open output device [00:14:37.091381] stream_init:264 init stream [00:14:37.092693] stream_init:265 streambuf size: 2097152 [00:14:37.097212] output_init_alsa:636 init output [00:14:37.097463] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 4 format: 32 mmap: 0 [00:14:37.097654] output_init_common:334 outputbuf size: 3528000 [00:14:37.143166] ALSA _snd_pcm_hw_open:1667 Invalid value for card [00:14:37.143451] test_open:124 playback open error: No such file or directory [00:14:37.143756] output_init_common:365 unable to open output device [00:15:24.323265] stream_init:264 init stream [00:15:24.324635] stream_init:265 streambuf size: 2097152 [00:15:24.328967] output_init_alsa:636 init output [00:15:24.329211] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 4 format: 32 mmap: 0 [00:15:24.329405] output_init_common:334 outputbuf size: 3528000 [00:15:24.466839] output_init_common:394 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [00:15:24.480332] output_init_alsa:670 memory locked [00:15:24.481414] output_thread:465 open output device: sysdefault:CARD=ALSA [00:15:24.482868] output_init_alsa:693 set output sched fifo rt: 45 [00:15:24.542399] alsa_open:234 opened device sysdefault:CARD=ALSA using format: S32_LE sample rate: 44100 mmap: 0 [00:15:24.544707] alsa_open:313 buffer: 40 period: 4 - buffer size: 1760 period size: 440 [00:15:24.554354] decode_init:129 init decode [00:15:24.555120] register_dsd:624 using dsd [00:15:24.622592] load_ff:621 loaded libavcodec.so.55 (55.18.102) [00:15:24.622915] load_ff:638 loaded libavformat.so.55 (55.12.100) [00:15:24.623108] load_ff:652 loaded libavutil.so.52 (52.38.100) [00:15:24.642627] load_faad:610 loaded libfaad.so.2 [00:15:24.647857] load_vorbis:295 loaded libvorbisfile.so.3 [00:15:24.653165] load_flac:258 loaded libFLAC.so.8 [00:15:24.653416] register_pcm:382 using pcm [00:15:24.654897] load_mad:351 loaded libmad.so.0 [00:15:24.656762] discover_server:699 sending discovery [00:15:24.657944] discover_server:710 got response from: 192.168.1.19:3483 [00:15:24.658310] slimproto:787 connecting to 192.168.1.19:3483 [00:15:24.659259] slimproto:817 connected [00:15:24.659604] sendHELO:117 mac: b8:27:eb:2f:f6:2e [00:15:24.659748] sendHELO:119 cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3 [00:15:24.663046] process:469 strm [00:15:24.663280] process_strm:232 strm command q [00:15:24.663419] decode_flush:188 decode flush [00:15:24.663542] output_flush:407 flush output buffer [00:15:24.663882] sendSTAT:164 STAT: STMf [00:15:24.664531] process:469 strm [00:15:24.664728] process_strm:232 strm command q [00:15:24.665025] decode_flush:188 decode flush [00:15:24.665188] output_flush:407 flush output buffer [00:15:24.665479] sendSTAT:164 STAT: STMf [00:15:24.666556] process:469 setd [00:15:24.666801] sendSETDName:223 set playername: piCorePlayer [00:15:24.667026] process:469 setd [00:15:24.667350] process:469 aude [00:15:24.667499] process_aude:368 enable spdif: 1 dac: 1 [00:15:24.667693] process:469 audg [00:15:24.667827] process_audg:385 audg gainL: 3840 gainR: 3840 adjust: 1 [00:15:28.443885] process:469 strm [00:15:28.444149] process_strm:232 strm command t [00:15:28.444292] sendSTAT:164
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Looks interesting - I would love to see the log file for my setup as well. How do I enable that? I found the option in the Squeelite section; however, every file name I choose is not created after I restart squeezelite and the file path value disappears immediately. My AV receiver does display the PCM sampling rate and I can confirm that it is only 48 khz no matter what. What does 'cat /proc/asound/card0/pcm0p/sub0/hw_params' tell you? DrJazzer's Profile: http://forums.slimdevices.com/member.php?userid=62645 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Never mind, got my loggin working: Code: [00:02:45.640722] stream_init:264 init stream [00:02:45.647973] stream_init:265 streambuf size: 2097152 [00:02:45.652990] output_init_alsa:636 init output [00:02:45.653263] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 4 format: 32 mmap: 0 [00:02:45.653457] output_init_common:334 outputbuf size: 3528000 [00:02:45.693918] output_init_common:394 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [00:02:45.722193] output_init_alsa:670 memory locked [00:02:45.723240] output_thread:465 open output device: default [00:02:45.725496] output_init_alsa:693 set output sched fifo rt: 45 [00:02:45.730817] alsa_open:234 opened device default using format: S32_LE sample rate: 44100 mmap: 0 [00:02:45.733911] alsa_open:313 buffer: 40 period: 4 - buffer size: 1760 period size: 440 [00:02:45.744505] decode_init:129 init decode [00:02:45.745281] register_dsd:624 using dsd [00:02:46.557608] load_ff:621 loaded libavcodec.so.55 (55.18.102) [00:02:46.557939] load_ff:638 loaded libavformat.so.55 (55.12.100) [00:02:46.558148] load_ff:652 loaded libavutil.so.52 (52.38.100) [00:02:46.577875] load_faad:610 loaded libfaad.so.2 [00:02:46.583387] load_vorbis:295 loaded libvorbisfile.so.3 [00:02:46.596594] load_flac:258 loaded libFLAC.so.8 [00:02:46.596858] register_pcm:382 using pcm [00:02:46.598441] load_mad:351 loaded libmad.so.0 [00:02:46.599754] discover_server:699 sending discovery [00:02:46.600989] discover_server:710 got response from: 192.168.2.240:3483 [00:02:46.601380] slimproto:787 connecting to 192.168.2.240:3483 [00:02:46.603431] slimproto:817 connected [00:02:46.603734] sendHELO:117 mac: b8:27:eb:7e:a7:73 [00:02:46.603877] sendHELO:119 cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3 [00:02:46.607147] process:469 strm [00:02:46.607380] process_strm:232 strm command q [00:02:46.607513] decode_flush:188 decode flush [00:02:46.607637] output_flush:407 flush output buffer [00:02:46.607788] sendSTAT:164 STAT: STMf [00:02:46.609065] process:469 strm [00:02:46.609349] process_strm:232 strm command q [00:02:46.609478] decode_flush:188 decode flush [00:02:46.609634] output_flush:407 flush output buffer [00:02:46.609815] sendSTAT:164 STAT: STMf [00:02:46.610154] process:469 setd [00:02:46.610321] sendSETDName:223 set playername: piCorePlayer [00:02:46.610529] process:469 setd [00:02:46.610721] process:469 aude [00:02:46.610854] process_aude:368 enable spdif: 1 dac: 1 [00:02:46.611066] process:469 audg [00:02:46.611206] process_audg:385 audg gainL: 6656 gainR: 6656 adjust: 1 [00:02:49.532173] process:469 strm [00:02:49.532449] process_strm:232 strm command t [00:02:49.532588] sendSTAT:164 STAT: STMt [00:02:54.532346] process:469 strm [00:02:54.532614] process_strm:232 strm command t [00:02:54.532756] sendSTAT:164 STAT: STMt [00:02:57.090450] process:469 strm [00:02:57.090738] process_strm:232 strm command q [00:02:57.090873] decode_flush:188 decode flush [00:02:57.091001] output_flush:407 flush output buffer [00:02:57.091258] sendSTAT:164 STAT: STMf [00:02:57.115228] process:469 audg [00:02:57.115489] process_audg:385 audg gainL: 6656 gainR: 6656 adjust: 1 [00:02:57.115951] process:469 strm [00:02:57.116115] process_strm:232 strm command s [00:02:57.116244] process_strm:299 strm s autostart: 1 transition period: 10 transition type: 0 codec: f [00:02:57.116377] sendSTAT:164 STAT: STMf [00:02:57.116622] codec_open:211 codec open: 'f' [00:02:57.117010] stream_sock:352 connecting to 192.168.2.240:9000 [00:02:57.117866] stream_sock:381 header: GET /stream.mp3?player=b8:27:eb:7e:a7:73 HTTP/1.0 [00:02:57.118189] sendSTAT:164 STAT: STMc [00:02:57.118370] process_strm:330 set fade mode: 0 [00:02:57.118584] process:469 audg [00:02:57.118723] process_audg:385 audg gainL: 6656 gainR: 6656 adjust: 1 [00:02:57.189174] stream_thread:150 headers: len: 118 HTTP/1.1 200 OK Server: Logitech Media Server (7.7.3 - 1375965195) Connection: close Content-Type: audio/x-flac [00:02:57.189873] sendRESP:195 RESP [00:02:57.321812] write_cb:116 setting track_start [00:02:57.374820] _output_frames:59 start buffer frames: 23040 [00:02:57.375118] _output_frames:140 track start sample rate: 96000 replay_gain: 0 [00:02:57.376143] sendSTAT:164 STAT: STMs [00:02:57.376533] sendSTAT:164 STAT: STMt [00:02:57.385339] output_thread:465 open output device: default [00:02:57.404041] alsa_open:234 opened device default using format: S32_LE sample rate: 96000 mmap: 0 [00:02:57.406006] alsa_open:313 buffer: 40 period: 4 - buffer size: 3840 period size: 960 [00:02:58.378955] sendSTAT:164 STAT: STMt [00:02:59.380336] sendSTAT:164 STAT: STMt
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
DrJazzer wrote: Never mind, got my loggin working: Code: [00:02:45.640722] stream_init:264 init stream [00:02:45.647973] stream_init:265 streambuf size: 2097152 [00:02:45.652990] output_init_alsa:636 init output [00:02:45.653263] output_init_alsa:658 requested alsa_buffer: 40 alsa_period: 4 format: 32 mmap: 0 [00:02:45.653457] output_init_common:334 outputbuf size: 3528000 [00:02:45.693918] output_init_common:394 supported rates: 384000 352800 192000 176400 96000 88200 48000 44100 32000 24000 22500 16000 12000 11025 8000 [00:02:45.722193] output_init_alsa:670 memory locked [00:02:45.723240] output_thread:465 open output device: default [00:02:45.725496] output_init_alsa:693 set output sched fifo rt: 45 [00:02:45.730817] alsa_open:234 opened device default using format: S32_LE sample rate: 44100 mmap: 0 [00:02:45.733911] alsa_open:313 buffer: 40 period: 4 - buffer size: 1760 period size: 440 [00:02:45.744505] decode_init:129 init decode [00:02:45.745281] register_dsd:624 using dsd [00:02:46.557608] load_ff:621 loaded libavcodec.so.55 (55.18.102) [00:02:46.557939] load_ff:638 loaded libavformat.so.55 (55.12.100) [00:02:46.558148] load_ff:652 loaded libavutil.so.52 (52.38.100) [00:02:46.577875] load_faad:610 loaded libfaad.so.2 [00:02:46.583387] load_vorbis:295 loaded libvorbisfile.so.3 [00:02:46.596594] load_flac:258 loaded libFLAC.so.8 [00:02:46.596858] register_pcm:382 using pcm [00:02:46.598441] load_mad:351 loaded libmad.so.0 [00:02:46.599754] discover_server:699 sending discovery [00:02:46.600989] discover_server:710 got response from: 192.168.2.240:3483 [00:02:46.601380] slimproto:787 connecting to 192.168.2.240:3483 [00:02:46.603431] slimproto:817 connected [00:02:46.603734] sendHELO:117 mac: b8:27:eb:7e:a7:73 [00:02:46.603877] sendHELO:119 cap: Model=squeezelite,ModelName=SqueezeLite,AccuratePlayPoints=1,HasDigitalOut=1,MaxSampleRate=384000,dsf,dff,alc,wma,wmap,wmal,aac,ogg,flc,aif,pcm,mp3 [00:02:46.607147] process:469 strm [00:02:46.607380] process_strm:232 strm command q [00:02:46.607513] decode_flush:188 decode flush [00:02:46.607637] output_flush:407 flush output buffer [00:02:46.607788] sendSTAT:164 STAT: STMf [00:02:46.609065] process:469 strm [00:02:46.609349] process_strm:232 strm command q [00:02:46.609478] decode_flush:188 decode flush [00:02:46.609634] output_flush:407 flush output buffer [00:02:46.609815] sendSTAT:164 STAT: STMf [00:02:46.610154] process:469 setd [00:02:46.610321] sendSETDName:223 set playername: piCorePlayer [00:02:46.610529] process:469 setd [00:02:46.610721] process:469 aude [00:02:46.610854] process_aude:368 enable spdif: 1 dac: 1 [00:02:46.611066] process:469 audg [00:02:46.611206] process_audg:385 audg gainL: 6656 gainR: 6656 adjust: 1 [00:02:49.532173] process:469 strm [00:02:49.532449] process_strm:232 strm command t [00:02:49.532588] sendSTAT:164 STAT: STMt [00:02:54.532346] process:469 strm [00:02:54.532614] process_strm:232 strm command t [00:02:54.532756] sendSTAT:164 STAT: STMt [00:02:57.090450] process:469 strm [00:02:57.090738] process_strm:232 strm command q [00:02:57.090873] decode_flush:188 decode flush [00:02:57.091001] output_flush:407 flush output buffer [00:02:57.091258] sendSTAT:164 STAT: STMf [00:02:57.115228] process:469 audg [00:02:57.115489] process_audg:385 audg gainL: 6656 gainR: 6656 adjust: 1 [00:02:57.115951] process:469 strm [00:02:57.116115] process_strm:232 strm command s [00:02:57.116244] process_strm:299 strm s autostart: 1 transition period: 10 transition type: 0 codec: f [00:02:57.116377] sendSTAT:164 STAT: STMf [00:02:57.116622] codec_open:211 codec open: 'f' [00:02:57.117010] stream_sock:352 connecting to 192.168.2.240:9000 [00:02:57.117866] stream_sock:381 header: GET /stream.mp3?player=b8:27:eb:7e:a7:73 HTTP/1.0 [00:02:57.118189] sendSTAT:164 STAT: STMc [00:02:57.118370] process_strm:330 set fade mode: 0 [00:02:57.118584] process:469 audg [00:02:57.118723] process_audg:385 audg gainL: 6656 gainR: 6656 adjust: 1 [00:02:57.189174] stream_thread:150 headers: len: 118 HTTP/1.1 200 OK Server: Logitech Media Server (7.7.3 - 1375965195) Connection: close Content-Type: audio/x-flac [00:02:57.189873] sendRESP:195 RESP [00:02:57.321812] write_cb:116 setting track_start [00:02:57.374820] _output_frames:59 start buffer frames: 23040 [00:02:57.375118] _output_frames:140 track start sample rate: 96000 replay_gain: 0 [00:02:57.376143] sendSTAT:164 STAT: STMs [00:02:57.376533] sendSTAT:164 STAT: STMt [00:02:57.385339] output_thread:465 open output device: default [00:02:57.404041] alsa_open:234 opened device default using format: S32_LE sample rate: 96000 mmap: 0 [00:02:57.406006] alsa_open:313 buffer: 40 period: 4 - buffer size: 3840 period
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
Triode wrote: Try using the hardware output device hw:CARD=X where is the name of your output device. I suspect your hardware only supports 48k and alsa is resampling at present. Still no luck, interesting log entry though: Code: [01:09:01.442534] output_thread:465 open output device: hw:CARD=ALSA [01:09:01.445583] alsa_open:239 unable to open audio device requested format: S32_LE I agree, it sure does look like hardware limitations. However, both the Raspberry Pi as well as my AV Receiver are capable of 192 khz sample rates. As a matter of fact, I can play the same music files just fine over my Plex System (the AVR shows the correct sample rate). Any help is highly appreciated here :)! DrJazzer's Profile: http://forums.slimdevices.com/member.php?userid=62645 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite
OK - definitely not a HW limitation. I tried dropping all of the various settings out of the config with 1.12d, but to no avail - just 48Khz playback. If I do cat /proc/asound/card0/pcm0p/sub0/hw_params I get access: MMAP_INTERLEAVED format: S16_LE subformat: STD channels: 2 rate: 48000 (48000/1) period_size: 480 buffer_size: 1920 However, I then dropped back to 1.06 - other than that, identical hw setup - playing the same track, I get 192khz playback. tc@box:~$ cat /proc/asound/card0/pcm0p/sub0/hw_params access: MMAP_INTERLEAVED format: S32_LE subformat: STD channels: 2 rate: 192000 (192000/1) period_size: 1920 buffer_size: 7680 I'll setup a second card tomorrow so swapping between is easy. Let me know any comparative tests or output you'd like. pete S psketch's Profile: http://forums.slimdevices.com/member.php?userid=56555 View this thread: http://forums.slimdevices.com/showthread.php?t=97803 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] OpenSUSE 13.1
Been trying to install nightly builds (7.8) from 6 and 9 March on my small server, recently upgraded from Suse 12.2 to 13.1 (actually a clean install). I had all the same issues as recorded in the 12.2 thread (http://forums.slimdevices.com/showthread.php?96492-opensuse-12-2-fails-to-run-logitechmediaserver-7-8-0-0-1-1347896053), which I'd hoped to avoid from what I'd read in this thread. Even worse, I had to tweak a few more version numbers, and - even after all that - I'm still not able to run the server. It's now complaining that: The following modules failed to load: DBI HTML::Parser even though these were two of the items I had already installed from CPAN. I'm now getting a bit ticked off at the amount of time I'm having to waste on this... what a pain! I'll think twice about buying anything more advanced than a mouse from Logitech in future. raichea's Profile: http://forums.slimdevices.com/member.php?userid=9678 View this thread: http://forums.slimdevices.com/showthread.php?t=100402 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix
Re: [SlimDevices: Unix] workaround for pluginplayer plays machingunsound when was idle some time
DJanGo wrote: ok now i have another clue... If the output is only PlayerID is: without the id it would proove thats the failure if not - fell free to answer. If the output is like that - please alter the script to its former glory (copy direct from this thread) and do the following steps: responds with 5 player id's...they appear to be mac addresses written out in hex. It's just crazy, the script works perfect when run manually. It runs with cron...but just returns the date/time number of players and the path that we echoed and never commands the players. Just as a side.. I also took our path echoed in the log after a good manual run and used it to set PATH in the script. After cron runs the log was showing a different path through our echo...after adding PATH= to the script, now the echo path in the log is the same when performed successfully or by cron. But still no change in the behavior. I've tried running in # crontab -e $crontab -e $sudo crontab -e etc/cron all net the same result.. ? Girth's Profile: http://forums.slimdevices.com/member.php?userid=62640 View this thread: http://forums.slimdevices.com/showthread.php?t=99916 ___ unix mailing list unix@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/unix