Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread soundcheck
Triode wrote: Thanks - will look at this; I was definately going to change it, perhaps we make it an option when the uname includes PREEMPT in it? Could you also try with: #include sys/mman.h if (mlockall(MCL_CURRENT | MCL_FUTURE) == -1) { LOG_INFO(unable to lock memory: %s,

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
sbp wrote: Castella: After having looked around I think you are right - so it might work as microcore has a A10 arm V7 port. But as I don't have the board I can't promise anything Thanks for the info. I've got a Cubie on order, so maybe I can try it out later. (One of the big problems

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread soundcheck
Triode. Small patch update. Now sched_fifo gets applied to output thread only, if -p xxis given. Cheers +---+ |Filename: rt_prio2-b09.11.patch| |Download:

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread OGS
I've tested squeezelite on a couple of laptops booting the latest live-cd from voyage-mpd. Works perfectly. Sound card is a Stello U3 USB-S/PDIF concerter (XMOS). I started to wonder which Linux distro and hardware I should get to set up a permanent solution. An alix board with the Voyage distro

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Stoker
Gerrelt wrote: I recently also bought a Berhinger UCA 202 USB soundcard which also works with squeezelite, and provides very good quality sound. Hi Gerrelt Quick question are you using the 202 with a Rasberry PI? And another! Is the audio free from and pops or interruptins with this

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread Stoker
sbp wrote: Unfortunately I don't know how many actually are using it, but on the other hand there hasn't been any reports that it is not working, so I take it as a good sign :-) Hi Sbp Not using it yet, but will be going down this root as soon as my USB DAC arrives. I was thinking

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Julf
OGS wrote: Then I remebered that the Touch is a Linux box and at the same time I noticed posts from Triode and soundcheck talking about running squeezelite on the Touch. I tested this successfully with the Stello last night (Touch with v7.8 and EDO). Interesting - but why would you want to

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
Triode wrote: Both logs still show the same thing to me? As soon as I get home I will try again and I will send you the two new logs...maybe something went wrong with my attachments, not sure to be honest. albertone74's

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
Triode wrote: 96/24 flac works for me on a pi. I'd like to see the two logs side by side with differences in them before commenting further.. The logs that are posted suggest another process is running on the same mac address as they repeat diconnecting and reconnecting to the server.

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
paul- wrote: I have everything running well on my Model B Pi's, but I have them running with 496MB, as I don't use the graphics. I'm using both the Berringer and the PCM2704 USB DAC's. I've only tested up to 16bit Flac files. But, I'll see if I can find some 24bit flac files and do

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
Stoker wrote: Hi Sbp Not using it yet, but will be going down this root as soon as my USB DAC arrives. I was thinking (hoping) to use a usb wifi adapter as well as usb DAC. Should I be able to get this all working by just following the posts in this thread? You mention a new verion of

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread OGS
Julf wrote: Interesting - but why would you want to do it? Good question... squeezelite delivers very good sound quality on the laptops I've tried it on. I wanted to check if squeezelite also improves sound from Touch. It does.

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread lrossouw
Might be a stupid question what does the -z option do? I guess it's only available on linux. lrossouw's Profile: http://forums.slimdevices.com/member.php?userid=3416 View this thread:

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread bpa
castalla wrote: Thanks for the info. I've got a Cubie on order, so maybe I can try it out later. (One of the big problems with the Cubie community is that it's so fragmented - there are few compiled images available, and info is difficult to find- unlike here, and the Rspi forum! I've

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Julf
OGS wrote: Good question... squeezelite delivers very good sound quality on the laptops I've tried it on. I wanted to check if squeezelite also improves sound from Touch. It does. How did you verify that the sound really improved? Measurements? ABX?

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread soundcheck
lrossouw wrote: Might be a stupid question what does the -z option do? I guess it's only available on linux. It daemonizes the application. Usually that means putting an application into background + disconnect it from the shell from which it's been started. Pretty much like a systemservice

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread soundcheck
Those, who run Ubuntu might want to try the Ubuntu low-latency kernel. Install: sudo apt-get install linux-lowlatency This kernel might not work well for your desktop experience, but can speed things up in the background on audio only machines. It's a step below realtimekernel machines, like

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
bpa wrote: I've got a cubieboard but haven't played around with it much. However the community is small becasue there have been only about 1600 boards made so far (compared to RaspPi's at least 0.5m) and many of the buyers seem to be very inexperienced. The http://linux-sunxi.org site

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread OGS
Julf wrote: How did you verify that the sound really improved? Measurements? ABX? You may want to check that in your own system if you own a Touch. OGS's Profile: http://forums.slimdevices.com/member.php?userid=32981

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread bpa
castalla wrote: A major problem is the google forum used by Cubieboard people - hopelessly disorganised and full of cluttered postings. Yep there was a whole discussion on that. The other forum is run by a cubie user and there is a worry about a split in community. I think Tom Cubie has

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread soundcheck
FYI klaus@a:~$ ps -Leo uid,cls,pid,rtprio,wchan,cmd | grep squeeze | grep -v grep 1000 TS 3195 - poll_s /usr/local/bin/squeezelite -m 00 -o plughw:0,0 -n sl1 -p 51 1000 FF 3195 51 poll_s /usr/local/bin/squeezelite -m 00 -o plughw:0,0 -n sl1 -p 51 1000 FF 3195 52

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Julf
OGS wrote: You may want to check that in your own system if you own a Touch. Don't need to. Both my ears and all the measurements I have seen tell me that the standard Touch is so good that it is extremely unlikely that there would be any audible improvements.

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
bpa wrote: Yep there was a whole discussion on that. The other forum is run by a cubie user and there is a worry about a split in community. I think Tom Cubie has been a bit overwhelmed by the demand so far as a few promised revs have not happened as planned and so official feedback on

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread bpa
castalla wrote: It's not that OT because once there is a microcore port to A10 then lots of readily available (some nicely packaged similar to AppleTV) A10 boxes become possible players. With Linaro I'm trying to check out the USB ehci implementation to see if cubieboard has a

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
bpa wrote: It's not that OT because once there is a microcore port to A10 then lots of readily available (some nicely packaged similar to AppleTV) A10 boxes become possible players. With Linaro I'm trying to check out the USB ehci implementation to see if cubieboard has a good/bad (based

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread paul-
albertone74 wrote: Hi Paul, That would be great. Please let me know if the test goes well with your 24 bit FLAC. Just out of curiosity, as I don't use graphics either how can I get my raspberry PI run with 512 MB? Did I get it right? The version of the Pi Firmware/Kernel that ships with the

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
bpa wrote: It's not that OT because once there is a microcore port to A10 then lots of readily available (some nicely packaged similar to AppleTV) A10 boxes become possible players. With Linaro I'm trying to check out the USB ehci implementation to see if cubieboard has a good/bad (based

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
albertone74 wrote: I will also check the output of top to see if my raspberry is running out menory while playing these 24 bit FLAC...good point! Triode, You were absolutely right. It was only a coincidence with -b 256:256 option. I have just tried to play my 24 bit FLAC and they are now

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
paul- wrote: The version of the Pi Firmware/Kernel that ships with the Raspbian Wheezy image (Dec 2012 version) is supposed to work, but I had problems. Upgrading to the latest Firmware kernel fixed it. Firmware release Dec30, 2012 You need to edit the file /boot/config.txt

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
sbp wrote: bpa - There is already a microcore port to A10, so if you have a cubieboard I think you should try if you can get it running. If you get microcore running on your board, I can help you with the integration of the squeezelite player. You can find it here:

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
castalla wrote: I looked at those refs. yesterday - but at the moment I'm just intimidated by the complexity, and without an actual Cubie I'm just stabbing in the dark. So, I'm there in spirit ... hope it materialises! castalla: All you have to do is to download this image

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Triode
soundcheck wrote: Triode. Now SCHED_FIFO gets applied only, if -p xxis given. Otherwise it's default SCHED_OTHER Patch 4 applies it to output.c AND stream.c . stream thread comes with output rt_prio += 1 ( Note: I didn't check if rt_prio_max=99 gets exceeded!). I also added the

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Triode
albertone74 wrote: Triode, You were absolutely right. It was only a coincidence with -b 256:256 option. I have just tried to play my 24 bit FLAC and they are now playing but with the usual clicking and buzzing though:( I really don't know! Also find attached the TOP output and the Log. Am

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
sbp wrote: castalla: All you have to do is to download this image http://tinycorelinux.net/4.x/armv7/a10Core.img.gz and then unzip it (I use 7-ZIP for windows) and burn it to a SD-card using Win32Diskimager. Then put the card in your cubieboard and connect a LAN cable and power. If you

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Triode
OGS wrote: I've tested squeezelite on a couple of laptops booting the latest live-cd from voyage-mpd. Works perfectly. Sound card is a Stello U3 USB-S/PDIF concerter (XMOS). I started to wonder which Linux distro and hardware I should get to set up a permanent solution. An alix board with

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
Triode wrote: You have two versions of squeezelite running there. Try killall squeezelite before doing any tests... The error message: slimproto_run:446 error reading from socket: closed is one you want to avoid seeing! (don't use the -z option if you are using it as it starts a process

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread bpa
sbp wrote: castalla: All you have to do is to download this image http://tinycorelinux.net/4.x/armv7/a10Core.img.gz and then unzip it (I use 7-ZIP for windows) and burn it to a SD-card using Win32Diskimager. Then put the card in your cubieboard and connect a LAN cable and power. If you

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Triode
albertone74 wrote: That command worked meaning that now if I do TOP I can see only one squeezelite instance. But I am still getting the same message slimproto_run:446 error reading from socket: closed and again I can't play the 24 bit FLAC...all the other FLAC are played fine. I am going

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
bpa wrote: It boots OK on Cubie and works OK but screen (HDMI 720p / 60hz) is too big so not all of console is visible. I saw the same problem in the microcore forum: The screen is a bit cut off (root@box: is cut off at ox:), but that is likely a refinement in script.bin So is it something

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Triode
Has anyone managed to cause the latest version to crash?? I'm hoping the stability problems are solved, but want to check if anyone still sees issues? Triode's Profile: http://forums.slimdevices.com/member.php?userid=17

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
sbp wrote: I saw the same problem in the microcore forum: The screen is a bit cut off (root@box: is cut off at ox:), but that is likely a refinement in script.bin So is it something that you can fix by editing the script.bin? This is the link to the post:

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
Hi Castalla. I think it is a good suggestion. I think that you should download the correct Cubieboard script from the page you provided. In this there is a script.bin file that you should use instead of the script.bin file that you got from microcore.

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread castalla
sbp wrote: Hi Castalla. I think it is a good suggestion. I think that you should download the correct Cubieboard script from the page you provided. In this there is a script.bin file that you should use instead of the script.bin file that you got from microcore. I can only do

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread bpa
I used a Ubuntu system so no need for putty and tried ssh'ing into Cubie but all I got was connection refused on port 22. The IP address was 192.168.1.143 which is not part of my DHCP and so I think gateway IP address was not setup. Second and subsequent boots of Cubie does not give a HDMI

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
Thanks for the information. I'm near the top of my knowledge here - the only thing I can add here, is to ask if you have installed dropbear on the Cubie. It is not included in the microcore image, so it needs to be installed.

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread OGS
Triode wrote: As long as you don't have default settings (no tuning) then squeezelite should run on Touch without changing buffer sizes using the hw:CARD=TXRX output. It will need the EDO kernel if you want to get to 192k though. Note that there is a complexity of what to do with the

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread albertone74
Triode wrote: Do you have squeezelite or squeezeplay on this device (another player). You need to kill anything which would have used the same mac address. I have squeezelite on my raspberry and I have never installed squeezeplay before. Sorry to be painful Triode :) but what do you mean by

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread Triode
albertone74 wrote: I have squeezelite on my raspberry and I have never installed squeezeplay before. Sorry to be painful Triode :) but what do you mean by kill anything? I meant kill all other squeezebox emulators - squeezeslave or squeezeplay for example.

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread paul-
albertone74 wrote: Thanks Paul. Can I edit the same file even if I am running Squeezeplug? The squeezeplug image starts with Raspbian. Are you running 6.02? If you are running v5.0. You may have repeat ability problems with the memory split. But yes, you can make the edits on

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread bpa
This is just some notes on current status - not expecting any answers. Changing the script.bin (easy just replace the file no dd necessary) file improved the display but not perfect missing 1 col on LHS. Still cant ssh into Cubie. Boot still has lots of error messages and also still thinks

Re: [SlimDevices: Unix] Announce: Squeezelite - a small headless squeezeplay emulator for linux (alsa only)

2013-01-29 Thread paul-
Triode wrote: Has anyone managed to cause the latest version to crash?? I'm hoping the stability problems are solved, but want to check if anyone still sees issues? So far so good. Been running since I compiled v.9b11. Seems stable, so much so that I packaged up my Pi with a relay

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
Hi bpa. You could try to download the image I made, this is microcore with SSH server (Dropbear) and Squeezelite, so the output to the screen will be microcore. You can get it here:

Re: [SlimDevices: Unix] piCoPlayer = Squeezelite on Microcore linux. .An embedded OS in RAM with Squeezelite

2013-01-29 Thread sbp
bpa wrote: Still cant ssh into Cubie. . Have you installed Dropbear? sbp's Profile: http://forums.slimdevices.com/member.php?userid=37237 View this thread: http://forums.slimdevices.com/showthread.php?t=97803