[RELEASE] CrystalHD Linux distributions for Apple TV with UI installer (Win, Linux)

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Sam.Nazarko Offline
Posting Freak
Posts: 835
Joined: Dec 2009
Reputation: 12
Location: London
Post: #161
Ilia Wrote:I have made it work Big Grin

You do need to update python to 2.6 -> http://www.lysium.de/blog/index.php?/arc...-8.04.html
and the DNS updater from the install readme.

Nice. Airplay sounds good.

thermobaric Wrote:Sam,

A slight modification to the linux installer would be nice. I decided to play with Ubuntu and VMware. Wouldn't you know, no parted installed. So, after waiting for the download, the script bonks due to no parted. I apt-get it, and then the script begins again. It gets really mad at me this time because /dev/sdb wasn't available due to operator error. Begin again...

If there's a way to have it check and see if there's a current image downloaded, that might save some of us donkeys at least 15 minutes... (Yes, smarter souls would just read the script and start wherever it cut out, but it would have been much cooler if dd had done its thing while I was getting the boys sorted for school).

Just a thought.

I've said several times why I redownload the image every time. I won't repeat the lengthy explanation here.

You're right! No direct references to parted but there is to partprobe which synchronises the filesystems. I will therefore add an apt-get install parted to the top of the script (it doesn't have to be patched).
find quote
juanlu Offline
Junior Member
Posts: 9
Joined: Nov 2009
Reputation: 0
Post: #162
Hi Sam,

First: thanks for your effort and your work, is the first time I try a Linux for my ATV and after installing it (not without pain, because my Powerbook "ubuntized" did not inject the distro for the usb installation), but after a bit of tweaking it´s installed and working almost fine.
I say almost because I have two questions:
a) HD content doesn't play well. I tested some movies I watched in an ATV of my brother (pin's image there) perfectly well. These movies hang my new installation or stop the play or I see pixelation or dropouts with lack of sync audio-video. My question is: I have the old Broadcom chip...have I to downgrade the drivers?

b) you stated in the manual "This Ubuntu distribution will support TOSLINK and HDMI output. For HDMI output, it is necessary to go to Settings > System > Audio Output and select the use of a Custom Device (obviously enabling Digital Sound Output), the custom device must be entered exactly as: plughw:0,3".... is it possible to get USB sound?

Thanks a lot. Excited about to get the most of ATV

JL
find quote
Sam.Nazarko Offline
Posting Freak
Posts: 835
Joined: Dec 2009
Reputation: 12
Location: London
Post: #163
juanlu Wrote:Hi Sam,

First: thanks for your effort and your work, is the first time I try a Linux for my ATV and after installing it (not without pain, because my Powerbook "ubuntized" did not inject the distro for the usb installation), but after a bit of tweaking it´s installed and working almost fine.
I say almost because I have two questions:
a) HD content doesn't play well. I tested some movies I watched in an ATV of my brother (pin's image there) perfectly well. These movies hang my new installation or stop the play or I see pixelation or dropouts with lack of sync audio-video. My question is: I have the old Broadcom chip...have I to downgrade the drivers?

b) you stated in the manual "This Ubuntu distribution will support TOSLINK and HDMI output. For HDMI output, it is necessary to go to Settings > System > Audio Output and select the use of a Custom Device (obviously enabling Digital Sound Output), the custom device must be entered exactly as: plughw:0,3".... is it possible to get USB sound?

Thanks a lot. Excited about to get the most of ATV

JL

a) Doesn't play well is in no way specific. What are bitrates, profile levels etc (mediainfo output), XBMC.log output. Drivers don't need to be upgraded, the stable ones are automatically fetched and compiled for you.
b) Never tried USB sound. You could get a USB sound card and try set it up in Ubuntu but its not going to be a clear cut simple install.
find quote
thermobaric Offline
Junior Member
Posts: 43
Joined: Apr 2011
Reputation: 0
Post: #164
Sam.Nazarko Wrote:I've said several times why I redownload the image every time. I won't repeat the lengthy explanation here.

I understand. I just thought perhaps with your recent incorporation of MD5s it might be easy to have the script bounce a local MD5 off of one on the server prior to download. Then again, I thought spotted dick was a type of STD for the longest time... Laugh
find quote
Sam.Nazarko Offline
Posting Freak
Posts: 835
Joined: Dec 2009
Reputation: 12
Location: London
Post: #165
I could hypothetically MD5 the chosen image or SHA1 it but this would require adjustments. I'm not sure how I'd implement this into Linux -- unless I used a PHP script and wgetted the contents which returned the hash from MySQL (running checksum each time would be too intensive).

Maybe for later but I don't see it being the focus area of development as many users don't repeatedly run the script. I need to port the apt repository before April 30th as Hardy goes end of life then. Also need to start a build service as XBMC dev team no longer compiles for Hardy
find quote
thermobaric Offline
Junior Member
Posts: 43
Joined: Apr 2011
Reputation: 0
Post: #166
Sam.Nazarko Wrote:Maybe for later but I don't see it being the focus area of development as many users don't repeatedly run the script.

Excellent point. The juice is probably not worth the squeeze. I'm only doing it again because I wanted to start with a fresh image before I renew fighting with afp via your instructions. I never underestimate my ability to stealthily break things.
find quote
Sam.Nazarko Offline
Posting Freak
Posts: 835
Joined: Dec 2009
Reputation: 12
Location: London
Post: #167
thermobaric Wrote:Excellent point. The juice is probably not worth the squeeze. I'm only doing it again because I wanted to start with a fresh image before I renew fighting with afp via your instructions. I never underestimate my ability to stealthily break things.

You'll learn by breaking Smile
find quote
Bandit_Kaine Offline
Junior Member
Posts: 19
Joined: Nov 2010
Reputation: 1
Post: #168
Hey Sam, nice work.. took a few tries though..

First time got blinking question mark.
same thing second time.
third time it went through and installed everything just fine.

On the previous image i had of pin87 my usb disks would automatically show up in XBMC as a source.

This didn't work with this image, i added hfssupport and nothing, i had to manually mount the disk using ssh and add it to fstab to auto mount at every boot up and then umount at shutdown. not sure what the problem is, any solution?

another thing was sound over hdmi didnt work. I had to set it to hdmi, custom custom and manually yupe plughw:0,3, reboot and then it worked.
find quote
Sam.Nazarko Offline
Posting Freak
Posts: 835
Joined: Dec 2009
Reputation: 12
Location: London
Post: #169
Bandit_Kaine Wrote:Hey Sam, nice work.. took a few tries though..

First time got blinking question mark.
same thing second time.
third time it went through and installed everything just fine.

On the previous image i had of pin87 my usb disks would automatically show up in XBMC as a source.

This didn't work with this image, i added hfssupport and nothing, i had to manually mount the disk using ssh and add it to fstab to auto mount at every boot up and then umount at shutdown. not sure what the problem is, any solution?

another thing was sound over hdmi didnt work. I had to set it to hdmi, custom custom and manually yupe plughw:0,3, reboot and then it worked.

You had to set sound manually because that is how I configured it. Most people use TOSLINK/Analog, so it is preconfigured for that.

https://help.ubuntu.com/community/Mount/USB -- nothing is broken, I just didn't choose to enable either feature
(This post was last modified: 2011-04-11 21:32 by Sam.Nazarko.)
find quote
endymion76 Offline
Junior Member
Posts: 2
Joined: Apr 2011
Reputation: 0
Post: #170
Nice work Sam.

Only one question:
How do i shut down apple tv?
From the XBMC i actually cannot put to sleep or shut down the machine, only close the xbmc interface and returning to linux.

Thanks
find quote
Post Reply