Difference between revisions of "Zotac Zbox AD04"

From LinuxMCE
Jump to: navigation, search
(First boot)
(First boot)
Line 34: Line 34:
 
</pre>
 
</pre>
 
to bring in all the latest packages.
 
to bring in all the latest packages.
 +
 +
* Reboot (forced because we had a power failure.... not uncommon since the new regime took over)
 +
* boot comes up - using fglrx but later "config file not found, forcing use of defaults"
 +
So this will ultimately get us to AVWIz with vesa graphics. Not very nice.
 +
While Sarah is playing the initial vid, therefore, let's install the latest fglrx from
  
 
== Bundled MCE remote ==
 
== Bundled MCE remote ==

Revision as of 12:35, 7 December 2012

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Works with some hacks 05th December 2012 jamo
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

Media Director General info

Technical Details

-- this is incomplete... I plagiarised from the ID41 page... still to fix

  • NVIDIA ION GPU (with 512MB DDR3 memory), Intel Atom D525 CPU (1.8 GHz, dual-core), Intel NM10 Express chipset
  • 1 2.5-inch SATA 3.0 Gb/s hard drive connection, 2 204-pin DDR3-800 SO-DIMM slots
  • HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter), NVIDIA nView multi-display technology
  • NVIDIA PureVideo HD technology, NVIDIA CUDA technology, Adobe Flash Player 10.1 acceleration, DirectX 10.1
  • eSATA, 2 USB 3.0 ports, 2 USB 2.0 ports, 10/100/1000 Ethernet (RJ45), Digital S/PDIF output, Power connector
  • Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi
  • Headphone/Audio out jack, Microphone jack, 6-in-1 Memory card reader (MMC/SD/SDHC/MS/MS Pro/xD), 1 USB 2.0 port
  • NVIDIA PureVideo HD technology, NVIDIA CUDA technology, Adobe Flash Player 10.1 acceleration, DirectX 10.1 compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi

-- end incomplete section

Getting AD04 working under 10.04

Setting up PXE boot

First boot

Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.

If you leave it, the reboot loop happens 4-5 times and then, surprisingly, starts loading LinuxMCE and ends with the usualo "go to existing orbiter and do quick reload router"

  • At this point (before quick reload router) I ssh into the new MD from the core as root and run
apt-get update
apt-get upgrade

to bring in all the latest packages.

  • Reboot (forced because we had a power failure.... not uncommon since the new regime took over)
  • boot comes up - using fglrx but later "config file not found, forcing use of defaults"

So this will ultimately get us to AVWIz with vesa graphics. Not very nice. While Sarah is playing the initial vid, therefore, let's install the latest fglrx from

Bundled MCE remote

Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful. Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control to try to get it working. Steps followed (ssh to MD as root):

  • Install requirements
apt-get install automake dialog libtool
  • Download the version from FernetMenta
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz
  • Extract, configure and install:

When you will run setup.sh, choose select driver "zotac" under usb, then save & configure

tar -xvf ./lirc.tar.gz
cd FernetMenta-lirc-c336b00/
./autogen.sh
./setup.sh
make
make install
  • Create links /usr/sbin:
cd /usr/sbin
ln -s ../local/sbin/lircd lircd
ln -s ../local/sbin/lircmd lircmd
  • Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.

IMPORTANT INFORMATION!!! Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^ Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file

Section "InputClass"
  Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"
  MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"
  MatchIsKeyboard "true"
  Option "Ignore" "true"
EndSection
  • Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"
  • Replace (in my case create) the current version of /etc/lirc/hardware.conf with:
# hardware.conf for Zotac
#
REMOTE="Zotac MCE Remote"
REMOTE_MODULES=""
REMOTE_DRIVER="zotac"
REMOTE_DEVICE="/dev/remote"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"
REMOTE_LIRCD_ARGS=""
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
START_LIRCD="true"
LOAD_MODULES="true"
LIRCMD_CONF=""
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
  • Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:
# Please make this file available to others
# by sending it to
#
# this config file was automatically generated
# using lirc-0.9.1-git(zotac) on Mon Apr  2 14:10:29 2012
#
# contributed by
#
# brand:                       zotac.conf
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name  zotac.conf
  bits           32
  eps            30
  aeps          100

  one             0     0
  zero            0     0
  gap          100123
  min_repeat      9
#  suppress_repeat 9
#  uncomment to suppress unwanted repeats
#  toggle_bit_mask 0x7004F

      begin codes
          KEY_SLEEP                0x00010082
          KEY_WAKEUP               0x00010083
          KEY_RECORD               0x000C00B2
          KEY_PAUSE                0x000C00B1
          KEY_STOP                 0x000C00B7
          KEY_REWIND               0x000C00B4
          KEY_PLAY                 0x000C00B0
          KEY_FORWARD              0x000C00B3
          KEY_LEFTSHIFT            0x000C00B6
          KEY_RIGHTSHIFT           0x000C00B5
          KEY_BACK                 0x000C0224
          KEY_INFO                 0x000C0209
          KEY_MENU                 0xFFBC000D
          KEY_UP                   0x00070052
          KEY_LEFT                 0x00070050
          KEY_RIGHT                0x0007004F
          KEY_DOWN                 0x00070051
          KEY_OK                   0x00070028
          KEY_VOLUMEUP             0x000C00E9
          KEY_VOLUMEDOWN           0x000C00EA
          KEY_MUTE                 0x000C00E2
          KEY_CHANNELUP            0x000C009C
          KEY_CHANNELDOWN          0x000C009D
          KEY_1                    0x0007001E
          KEY_2                    0x0007001F
          KEY_3                    0x00070020
          KEY_4                    0x00070021
          KEY_5                    0x00070022
          KEY_6                    0x00070023
          KEY_7                    0x00070024
          KEY_8                    0x00070025
          KEY_9                    0x00070026
          KEY_0                    0x00070027
          KEY_NUMERIC_STAR         0x10070025
          KEY_NUMERIC_POUND        0x10070020
          KEY_CLEAR                0x00070029
          KEY_TEXT                 0xFFBC005A
          KEY_TITLE                0x000C008D
          KEY_ENTER                0x00070028
          KEY_RED                  0xFFBC005B
          KEY_GREEN                0xFFBC005C
          KEY_YELLOW               0xFFBC005D
          KEY_BLUE                 0xFFBC005E
      end codes

end remote
  • reboot and test!

Current issues on 10.04

Links