XBMC Community Forum
Port XBMC for Linux to run on the ASUS O!Play (O'Play / OPlay) media player hardware? - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: Port XBMC for Linux to run on the ASUS O!Play (O'Play / OPlay) media player hardware? (/showthread.php?tid=58718)

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


- westbam - 2010-02-03 06:59

I recently flashed my router at home with DD-WRT, a Linux based 3rd party firmware that can be installed on a wide variety of routers. DD-WRT has a vast community of contributors who have helped turn my $90 router into a media gem, full of cool toys to tinker with. Namely a fully functional Optware package loaded with torrent, twonky servers, drive auto mounts, Twonky media server, you name it.

Anyway, the reason i bring this up is that i'd really like to see O!Play's horizons expanded like my router's has. Since it seems O!Play is running on a fine Linux kernel, it might be possible for someone clever to capitalize on DD-WRT's implementation of Optware and further it's capabilities.

There's a complete Optware self install script you can read about here: http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way

telnet to Oplay's ip address and wget the Optware install script from the link mentionned in the link above, then parse it in a text editor of your choice and hopefully there'll be some info in there that can be useful.

In the mean time i'll keep streaming from my router's usb drive... but it sure would be nice to get some of the DD-WRT goodies running on the O!Play


Asus O!Play USB Share - thf- - 2010-02-04 14:00

Following Leogansky's procedure and a little extra steps, I succeded installing Samba on
O!Play's internal memory! Due to small available internal memory of O!Play, I didn't install
Nano, OpenSSH and Transmission.

Since there is no security, I recommend sharing of O!Play only in your LAN.

So no external stick or drive partition necessary for this.


In order to share drives connected to USB connector of Asus O!Play HDP-R1 do the following:

1. Plug in Asus O!Play's USB connector a Stick containing (in root folder):
(do not use USB HUB; just plug the stick into O!Play's USB connector)

install.img 1.17P Asus O!Play Firmware
(download from http://www.asus.com/product.aspx?P_ID=sPkRGUeRrpiVYl5K&content=download)

SAMBA.tgz Archived image of Samba for Asus O!Play 1.17P
(build and archived on Asus O!Play 1.17P)
(Use of procedure on different firmware on your oun risk)
mk-share Coppy procedure

You may download the above two files as .zip archive here:

http://www.4shared.com/file/214888481/63b65f1a/Share_OPlay.html

This will work from a regular Windows stick format (FAT); (No need of linux partition)

2. Using remote controll, update your O!Play HDP-R1 firmware to 1.17P
(I have tryed only 1.17P; it should work also with 1.17N - on your oun risk)
(1.18 will not work this way due to WenQuanYiZH.ttf which is no more present)
Set Network IP to fit your LAN

3. Connect with telnet to O!Play
User name: root, no password neded

4. execute the following commands at prompt

/ # mount / -o remount,rw
/ # cp /usr/local/bin/Resource/arial.ttf /usr/local/bin/Resource/WenQuanYiZH.ttf
/ # cp /tmp/usbmounts/sda1/mk-samba /
/ # /mk-samba
/ # /opt/bin/smbpasswd -a root

Set a password at the prompt of the above command

You should be able now to access your O!Play with File Explorer in Windows XP Pro;
Under Wista Home I couldn't access O!Play; it might not be possible and I didn's waste time
with this issue; feel free to dig and let us know the solution

You may now connect your external drive to O!Play.
I was able to transfer files via ethernet while O!Play playing HD movie.

Good Luck !

Once again, thanks to Leogansky, leoxgansky@gmail.com



Note: 'mk-samba' is:

#!/bin/sh

mount / -o remount,rw
cp /usr/local/bin/Resource/arial.ttf /usr/local/bin/Resource/WenQuanYiZH.ttf
mkdir /usr/local/etc/optware
ln -s /usr/local/etc/optware/ /opt
tar -x -f /tmp/usbmounts/sda1/SAMBA.tgz -C /opt
echo "\\n" >> /usr/local/etc/rcS
echo "# Samba !!!" >> /usr/local/etc/rcS
echo "/usr/local/etc/optware/startup" >> /usr/local/etc/rcS
/opt/startup


ASUS O!Play USB Share - thf- - 2010-02-04 14:38

Following Leogansky's procedure and a little extra steps, I succeded installing Samba on
O!Play's internal memory! Due to small available internal memory of O!Play, I didn't install
Nano, OpenSSH and Transmission.

Since there is no security, I recommend sharing of O!Play only in your LAN.

So no external stick or drive partition necessary for this.


In order to share drives connected to USB connector of Asus O!Play HDP-R1 do the following:

1. Plug in Asus O!Play's USB connector a Stick containing (in root folder):
(do not use USB HUB; just plug the stick into O!Play's USB connector)

install.img 1.17P Asus O!Play Firmware
(download from asus.com/product.aspx?P_ID=sPkRGUeRrpiVYl5K&content=download)

SAMBA.tgz Archived image of Samba for Asus O!Play 1.17P
(build and archived on Asus O!Play 1.17P)
(Use of procedure on different firmware on your oun risk)
mk-share Coppy procedure

You may download the above two files as .zip archive here:

4shared.com/file/214888481/63b65f1a/Share_OPlay.html

This will work from a regular Windows stick format (FAT); (No need of linux partition)

2. Using remote controll, update your O!Play HDP-R1 firmware to 1.17P
(I have tryed only 1.17P; it should work also with 1.17N - on your oun risk)
(1.18 will not work this way due to WenQuanYiZH.ttf which is no more present)
Set Network IP to fit your LAN

3. Connect with telnet to O!Play
User name: root, no password neded

4. execute the following commands at prompt

/ # mount / -o remount,rw
/ # cp /usr/local/bin/Resource/arial.ttf /usr/local/bin/Resource/WenQuanYiZH.ttf
/ # cp /tmp/usbmounts/sda1/mk-samba /
/ # /mk-samba
/ # /opt/bin/smbpasswd -a root

Set a password at the prompt of the above command

You should be able now to access your O!Play with File Explorer in Windows XP Pro;
Under Wista Home I couldn't access O!Play; it might not be possible and I didn's waste time
with this issue; feel free to dig and let us know the solution

You may now connect your external drive to O!Play.
I was able to transfer files via ethernet while O!Play playing HD movie.

Good Luck !

Once again, thanks to Leogansky, leoxgansky@gmail.com



Note: 'mk-samba' is:

#!/bin/sh

mount / -o remount,rw
cp /usr/local/bin/Resource/arial.ttf /usr/local/bin/Resource/WenQuanYiZH.ttf
mkdir /usr/local/etc/optware
ln -s /usr/local/etc/optware/ /opt
tar -x -f /tmp/usbmounts/sda1/SAMBA.tgz -C /opt
echo "\\n" >> /usr/local/etc/rcS
echo "# Samba !!!" >> /usr/local/etc/rcS
echo "/usr/local/etc/optware/startup" >> /usr/local/etc/rcS
/opt/startup


- sankukai93 - 2010-02-06 21:26

Thf- ,

Good work !
it's really GREAT !!!

For use share with Seven (and vista ?) :

Control Panel - Administrative Tools - Local Security Policy

Local Policies - Security Options

Network security: LAN Manager authentication level
Send LM & NTLM responses

Minimum session security for NTLM SSP
Disable Require 128-bit encryption

http://www.tomshardware.com/forum/75-63-windows-samba-issue

thx for you and Leogansky Wink


is that correct? - ixus00 - 2010-02-08 02:52

Koenradus Wrote:Not a lot of free space, so just add a USB pendrive to get some more. As there is free space in the /usr/local/etc/ mount and this is mounted rw by default this is as good a place as any to create a mountpoint for you opt folder. Just do:
Code:
cd /usr/local/etc
mkdir opt
ln -s /tmp/usbmounts/sda1/ opt
Now you can install optware in the opt dir, which is mounted on the pendrive.

I tried to install optware on a USB drive

root is 100% full

I would not change tft-file

Can someone explain the whole?


- nickCR - 2010-02-09 06:16

Interesting Topic. I just got a O!Play Air and it's a great little machine.

I was looking on the ASUS web site today and I ran into something very interesting they have the Source Code for the O!Play Air available from the downloads page for O!Play Air. Not sure if it was up there before but I didn't see it.

http://dlcdnet.asus.com/pub/ASUS/Digital_Media_Player/HDP-R3/SourceCode/OPlayAir_V106_GPL_Release.zip

This link might work. Maybe it will help you guys get some nice software working for this little puppy Smile


Transfer speed - mEmENT0m0RI - 2010-03-21 07:17

Thanks a lot guys!

Transfer speed seem to be maxing out at around 20Mbps over the SAMBA share - is that the hardware limit of the Asus box?

Thanks again!


- kamencesc - 2010-03-21 20:20

anyway to get a little free space on 1.21?

Code:
/dev # df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                82.0M     82.0M         0 100% /
/dev/mtdblock/2          40.0M      1.3M     38.7M   3% /usr/local/etc
/dev/rd/0                40.0k     40.0k         0 100% /mnt/rd

I try to mv/cp/rm some files and the Availabe space is allways 0 Smile


Same issue, no space left - henryjeanl - 2010-03-25 21:38

No way to get enouth space to make a ln -s

I tried to move the /usr/local/bin/Resource/bmp folder to /usr/local/etc/ and make a ln and it crash the oplay.

HJ


Not working with last firmware 1.21N - henryjeanl - 2010-03-25 21:43

Hi,

It's impossible to free space on the 1.21N
The following fonts are not existing anymore :
/usr/local/bin/Resource/arial.ttf /usr/local/bin/Resource/WenQuanYiZH.ttf

I get this error :
# ln -s /usr/local/etc/optware/ /opt
ln: /opt: Cannot allocate memory


Any idea ?

HJ