Page 20 of 23

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Sun Jul 06, 2014 4:27 pm
by parrafin23
root@joggler:/media/joggler/YES# dd if=/dev/fh of=/media/joggler/YES/Telio.rom bs=1024
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 0.869967 s, 1.2 MB/s
root@joggler:/media/joggler/YES# ls
AvayaEFI.rom readme.txt Telio.rom
root@joggler:/media/joggler/YES#

I tried to attach the .rom file, but it was too large.. why the limit of 512kb?????

I ziped the .rom file and it is 554kb in size.


So I added the file to my OneDrive : https://onedrive.live.com/redir?resid=A ... der%2c.rom

Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Sun Jul 06, 2014 6:06 pm
by pete
Mr. P
why the limit of 512kb?
I do not know.

Great news on your endeavor!

I attached your telio.rom file zipped to this post.

Now do....

Code: Select all

modprobe fh
dd if=/media/joggler/YES/Avaya.rom of=/dev/fh bs=1024
reboot
When you reboot you will see an Avaya logo instead of a Telio logo.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 9:18 am
by roobarb!
nick20000 wrote:I have install SqueezePlay OS to my joggler,but airplay no sound,
my joggler use ext sound card spdif to DAC

card 0: MID [HDA Intel MID], device 0: STAC9202 Analog [STAC9202 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: STAC9202 Digital [STAC9202 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Audio [TeraDak 96K USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Audio [TeraDak 96K USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
Is it just AirPlay that you get no audio for? That would be weird. Do you get audio from SqueezePlay itself?

If you get output from neither of them, make sure you've gone into Settings > Audio Settings > Interface Configuration and chosen External Interface. This is how I have one of my systems set up and it works just fine for SQP and AirPlay. If you get audio from SQP but not from AirPlay, then AirPlay must be doing something different. If that's the case, you could try replacing the contents of your /etc/asound.conf file with this:

Code: Select all

pcm.!default {
  type plug
  slave.pcm {
    type hw
    card 1
    device 0
  }
}
ctl.!default {
  type hw
  card 1
  device 0
}
The two 'device' options in the above are both pointing to 0 at the moment - now I don't know if your S/PDIF output is 0 or 1, so try 0 first, reboot, see if it works. If it doesn't change to 1, reboot and try again.

Any problems just post back!

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 11:41 am
by parrafin23
Allright Pete.. So when i execute the command : modprobe fh
dd if=/media/joggler/YES/Avaya.rom of=/dev/fh bs=1024
reboot

Nothing big would appear to happen, just that the device will reboot and there will be no more Telio but Avaya on the screen.

Gota do this later tonight. Goin to the dentist before i pick up my kid, and then pack my diagnostic equipment and a 150A battery charger. A friend is in need of some faultcode reading and some firmware upgrades. Atm hees car is just a 2.6ton brick that will not start.

Looking forward to have squeezebox running.

If/when the flashing goes well, i can try again and write squeezeos of2 to mmc and see what happens

Ill post back my findings.

Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 12:46 pm
by pete
That is it.

If the directory naming or file name is incorrect then you will get an error with the dd thing. Note the nomenclature.

Yes you will just see Avaya. Write the small 1Gb partition first just for kicks. Then write the 2Gb partition for real.

Wow 150A charger is large. How do you pack that in an automobile? Heavy brick there.

Which automobile do you have the best car knowledge with?

Many years ago a family member worked for Renault and drove that desert race over on your side of the pond.

Let us know what happens.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 6:26 pm
by DJ de Rooij
roobarb! wrote:
nick20000 wrote:I have install SqueezePlay OS to my joggler,but airplay no sound,
my joggler use ext sound card spdif to DAC

card 0: MID [HDA Intel MID], device 0: STAC9202 Analog [STAC9202 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: MID [HDA Intel MID], device 1: STAC9202 Digital [STAC9202 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Audio [TeraDak 96K USB Audio], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: Audio [TeraDak 96K USB Audio], device 1: USB Audio [USB Audio #1]
Subdevices: 1/1
Subdevice #0: subdevice #0
Is it just AirPlay that you get no audio for? That would be weird. Do you get audio from SqueezePlay itself?

If you get output from neither of them, make sure you've gone into Settings > Audio Settings > Interface Configuration and chosen External Interface. This is how I have one of my systems set up and it works just fine for SQP and AirPlay. If you get audio from SQP but not from AirPlay, then AirPlay must be doing something different. If that's the case, you could try replacing the contents of your /etc/asound.conf file with this:

Code: Select all

pcm.!default {
  type plug
  slave.pcm {
    type hw
    card 1
    device 0
  }
}
ctl.!default {
  type hw
  card 1
  device 0
}
The two 'device' options in the above are both pointing to 0 at the moment - now I don't know if your S/PDIF output is 0 or 1, so try 0 first, reboot, see if it works. If it doesn't change to 1, reboot and try again.

Any problems just post back!
Hello Roobarb, thanks for your software, it’s a fine piece of work.

A small question: I installed SqueezeOS 2.06 (internal memory) and I updated Squeezeplay to 1.57. I connected my USB DAC (card 1/device 0) to the Joggler and changed the interface configuration to external . It’s working very well (including shairport). Unfortunately, highres files are downsampled to 44,100. So, with the unchanged asound.conf I can use shairport and I can play all files on/downsampled to 44,100.

Then I changed the asound.conf as you proposed. I rebooted and I can play highres files, up to 192000. But unfortunately I cannot use shairport anymore. So, with the changed asound.conf I can play all files up to 192000 (no downsampling) but I cannot use shairport.

How can I change the asound.conf so that I can play both highres files without downsampling AND use shairport?

I hope you can answer my question!

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 7:39 pm
by parrafin23
I ran the comman with root priv.

Looks like this takes alooooooot of time, dunno. a slow usb stick, it was quick to write to, but realy slow. i can see the command i ran and the marker is on the next line with nothing else, I can use the keyboard to type stuff there, like Ls and Clear, but it skips just to the next line without doin anything. I do not want to kill the power to it now. Afraid to brick it in this state. I can press ctrl C and it beaks the operation, but i have to close putty and start over again.

Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 7:59 pm
by pete
No; its fast Mr.P.

As long as you do not reboot; then you are OK. Try it again. Start Putty over again if you need to.

It should be quick.

You will see similar to the read of the ROM as you did before.

Make sure your directory stuff is OK, verbiage is OK, spaces et al are all OK.

It might have gotten caught in some spelling thing?

If you are already in the directory you do not have to type the path. You can just type it like this:

Code: Select all

modprobe fh
dd if=avaya.rom of=/dev/fh bs=1024

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Mon Jul 07, 2014 8:19 pm
by roobarb!
DJ de Rooij wrote:A small question: I installed SqueezeOS 2.06 (internal memory) and I updated Squeezeplay to 1.57. I connected my USB DAC (card 1/device 0) to the Joggler and changed the interface configuration to external . It’s working very well (including shairport). Unfortunately, highres files are downsampled to 44,100. So, with the unchanged asound.conf I can use shairport and I can play all files on/downsampled to 44,100.

Then I changed the asound.conf as you proposed. I rebooted and I can play highres files, up to 192000. But unfortunately I cannot use shairport anymore. So, with the changed asound.conf I can play all files up to 192000 (no downsampling) but I cannot use shairport.

How can I change the asound.conf so that I can play both highres files without downsampling AND use shairport?

I hope you can answer my question!
Haha! Now there's a golden goose!

I have no idea if that's possible. Shairport (which is the AirPlay mechanism we use for those that don't know) emulates an AirPort Express. The AirPort Express was always limited to 16/44.1 and so it seems likely that this is also the case with Shairport. In fact, I've just googled and found this thread which plays along the same lines.

Now, you could look at configuring a fake output device in asound.conf running at 44.1, then routing that through an ALSA resampler that pumped it into the real audio output... but that's beyond me. I don't even know if it would work, because the two rates don't divide cleanly into one another, so you'd likely get pops and clicks on your 44.1 audio being faked as 192.

It may be possible, but you'd need someone better at ALSA configuration than me. There are loads of examples online for alsa configs though. Have a play and see what you find out! :)

BTW, regarding the limited output rate with the original asound.conf - that config file is a hard-fought compromise to keep things working properly across all Jogglers running various operating systems. When using an external audio interface, it's safest to just change the output device - but if the device identifies and configures itself correctly, using it with the simple asound.conf file will remove downsampling and likely enable things like high bitrate output.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Tue Jul 08, 2014 5:31 am
by parrafin23
I let it run overnight. and I did get a DD error.

So i changed the dir to the usb stick, and I executed the command, except i had to use dd if=AvayaEFI.rom and not Avaya.rom

So, ill let it run while im @work..


Landrover Discovery 3 is the car i have indepth knowledge of, A freelander 1 i do know a bit, and the freelander 2

Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Tue Jul 08, 2014 12:45 pm
by pete
Mr. P

Linux is very picky about exact spelling, upper and lower case and directories et al.

Once you are in the USB stick directory and do an ls; spell the DD command exactly the same way and you should be fine.

Yup; never owned a Landrover here.

Did by accident flip a Toyota Landcruiser once in the 1970's; wasn't my fault; blamed it on my dog hanging out the window.

Here went from a GM Chevy 4X4 to a BMW E83 4X4; never flipped them though.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Tue Jul 08, 2014 6:34 pm
by parrafin23
root@joggler:/media/joggler/YES# dd if=AvayaEFI.rom of=/dev/fh bs=1024
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 1680.67 s, 0.6 kB/s

Sounds intrestin.. Lets do a reboot and see what happens..

It still says telio.. Crap!


Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Tue Jul 08, 2014 9:26 pm
by pete
Unplug it and power it up. The LCD is sometimes "sticky"; even my TV LCD sometimes reboots up with whatever computer screen was on it.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Wed Jul 09, 2014 4:34 pm
by parrafin23
Nope. still says Telio on the screen

Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Wed Jul 09, 2014 5:01 pm
by pete
Not making sense to me. Feel like writing the coreboot.rom instead?

From the coreboot.rom bios you can just write back any of the openpeak rom's using a keyboard when you boot.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Wed Jul 09, 2014 6:24 pm
by parrafin23
Yes, I feel like writing the coreboot.rom instead.

Mr.P

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Wed Jul 09, 2014 7:52 pm
by pete
It is attached.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Wed Jul 09, 2014 11:48 pm
by roobarb!
pete wrote:It is attached.
Will that work for OF1 (Joggler) units as well? Still haven't tried it out!

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Thu Jul 10, 2014 11:31 am
by pete
Yes.

That is how I have a "few" OF1's/OF2's running with XP / Windows 8.1. You can install these OS's with a boot CD/DVD to the PATA ZIF SSD.

Re: SqueezePlay OS (Version 2) for OpenFrame

Posted: Thu Jul 10, 2014 4:37 pm
by parrafin23
Heres the result :

root@joggler:/media/joggler/YES# dd if=coreboot.rom of=/dev/fh bs=1024
1024+0 records in
1024+0 records out
1048576 bytes (1.0 MB) copied, 1664.69 s, 0.6 kB/s

And what sould I do next? try and write the AvayaEFI.rom?

Mr.P