Kodi Community Forum
[LINUX] Sam's beta image for Apple TV? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] Sam's beta image for Apple TV? (/showthread.php?tid=88518)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


- Metsadah - 2011-01-24

I think its here:

http://code.google.com/p/crystalhd-for-atv/source/browse/#svn%2Ftrunk%2Fimage

@Sam, could you give us an update on the installer and when you have time to work further on the image. I'm a bit afraid that with all the apple tv 2 stuff going on people will quickly forget about the apple tv 1.


- moonwalker - 2011-01-24

Metsadah Wrote:I think its here:

http://code.google.com/p/crystalhd-for-atv/source/browse/#svn%2Ftrunk%2Fimage

@Sam, could you give us an update on the installer and when you have time to work further on the image. I'm a bit afraid that with all the apple tv 2 stuff going on people will quickly forget about the apple tv 1.

As mentioned in this thread before, Sam is busy with his exams till the end of this month.
I'm shure he will deliver the HDD installer after that!Nod


- Metsadah - 2011-01-25

Is there any way to enable rebooting from the xbmc menu. Now it just quits xbmc and go to bash since its not a sudo reboot.

Also, I'm using xbmc commander (great iPad app!), but most of the time it does'nt allow me to change the volume, only with normal avi files I can use it, but with all my mkv's it doesnt do anything.


- Wikking - 2011-01-26

Metsadah Wrote:Is there any way to enable rebooting from the xbmc menu. Now it just quits xbmc and go to bash since its not a sudo reboot.

Also, I'm using xbmc commander (great iPad app!), but most of the time it does'nt allow me to change the volume, only with normal avi files I can use it, but with all my mkv's it doesnt do anything.

I wrote two shell scripts for this purpose. One for shutting down and one for rebooting the device. That's far away from being perfect, but it works well enough for me when adding them to the favorites.


- kar200 - 2011-01-26

Wikking Wrote:I wrote two shell scripts for this purpose. One for shutting down and one for rebooting the device. That's far away from being perfect, but it works well enough for me when adding them to the favorites.

I am happy to use them if you share. Also I am wondering how do you get back an apple TV back to life if you have shutdown?


- pumkinut - 2011-01-26

kar200 Wrote:I am happy to use them if you share. Also I am wondering how do you get back an apple TV back to life if you have shutdown?

The ATV1 isn't ACPI compliant, so the shutdown command doesn't power it down, it just stops the OS and spins down the HDD. So it's then okay to unplug to power down completely.


- Wikking - 2011-01-26

i just received my crystal hd card (970015). after installing it ta atv is capable of playing hd content pretty smoothly. However for 1080p files it takes about 5 sec to "load" the file. Meaning that it will display "working. please wait" and then nothing for about 5 seconds. That problem exists only with 1080p files and not with 720p. Is this behavior normal?

And a second really strange thing. In the Aeon65 skin trailers are played inside a window. And for some reason they stutter and skip. Everyone of them! (They are all SD content quality-wise). In debug mode i can see that the framerate drops to exactly 10fps and the cpu usage rises to almost 100%.
When i use a different skin that plays trailers in full-screen they will all play fine. No drop of framerate and no rise of cpu-usage.
Anyone got an idea whats causing this? Oh and by the way...that problem exists when not using the crystal hd card. I just sort of hoped that it would disappear when installing it...but it didn't.


@kar200: sure i will share....though they are really really simple Big Grin

for reboot:
Code:
echo atv | sudo -S reboot
and for shutdown:
Code:
echo atv | sudo -S shutdown -h -P now
just create a file containing the code an make it executable. than add it to the launcher add-on. oh and it assumes your password for root access is atv.


- Sam.Nazarko - 2011-01-27

Just add either the reboot or shutdown command to the bottom of rc.local (sudo echo "reboot" >> /etc/rc.local). When XBMC exits, it will execute


- Metsadah - 2011-01-28

doesnt work for me, i added the following:

Code:
cd /home/atv/scripts
./getfile.sh
xinit /usr/bin/xbmc --standalone
clear
exit 0
sudo echo "reboot"
sudo reboot

but I just get back to the normal bash line


- Wikking - 2011-01-29

OK now I have another problem. im trying to get a usb wlan stick wokring. It's a TP-LINK TL-WN821N which i bought because it should support carl9170 driver. Sadly this is a new revision which works with ath9k_htc.

However...to get the stick working I built the driver and placed the according firmware files in /lib/firmware. But the driver fails while telling me this:

Code:
[ 1666.902864] usb 2-1.4: ath9k_htc: Firmware - ar7010_1_1.fw not found
[ 1666.902883] ath9k_hif_usb: probe of 2-1.4:1.0 failed with error -22

But this file exists in /lib/firmware I even copied it to /lib/firmware/2.6.24-28-generic but is has no effect. I'm pretty sure I'm missing something basic here...help please Rolleyes


- kar200 - 2011-01-29

Wikking Wrote:i

@kar200: sure i will share....though they are really really simple Big Grin

for reboot:
Code:
echo atv | sudo -S reboot
and for shutdown:
Code:
echo atv | sudo -S shutdown -h -P now
just create a file containing the code an make it executable. than add it to the launcher add-on. oh and it assumes your password for root access is atv.

Thanks for sharing. I will use that as for some reason the reboot button does not reboot the atv (only goes out of the gui).

pumkinut Wrote:The ATV1 isn't ACPI compliant, so the shutdown command doesn't power it down, it just stops the OS and spins down the HDD. So it's then okay to unplug to power down completely.

I thought I read somewhere else here that we could use the apple tv remote and press 2 buttons in it to make it reboot or come back or something like that. It must have been for the one with the Apple TV software in it and not Linux.

I have to thank Sam and all the guys helping here. I have to say that I was looking at purchasing a new box as my HTPC (when I could afford it) as I wanted all these extra features. I am more proficient in Linux than OSX so now I can basically add things so much easier and the performance with the Crystal HD is just exceptional. Still a few video that do not run properly but a huge step forward in the rest.

Adding things like FTP/utorrent/Sabnzbd is a breeze. I have managed to do it before on the OSX but had to follow lengthy guides. I also don't like to leave my home PC on so if I need any background processing I just use the apple tv since it is on all the time and the beauty of all is that since the video's are decoded using the BCM card the kids can still watch their shows and I don't have to worry about it.


BIG THAAAAAAAAAAAANKS.


K.


- steve1977 - 2011-01-29

Metsadah Wrote:I think its here:

http://code.google.com/p/crystalhd-for-atv/source/browse/#svn%2Ftrunk%2Fimage

This appears way too small for the full image, isnt it? Does anyone has a link for Sam's latest image?


- fodos - 2011-01-29

I tried, but USB Image Tool says "The image is not a valid device mode image!" Sad


- kar200 - 2011-01-29

Did you try the links here?

http://forum.xbmc.org/showthread.php?tid=74992&highlight=pink

I am not sure if they are "the latest". In fact I cannot remember even which one I have downloaded myself.

Good luck with it.

K.


- fodos - 2011-01-30

No, I tried this:
http://code.google.com/p/crystalhd-f...Ftrunk%2Fimage