View unanswered posts | View active topics It is currently Wed Jun 19, 2013 10:37 pm



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
 Compiling your own wifi driver for playonhd 
Author Message

Joined: Mon Aug 03, 2009 5:54 pm
Posts: 110
Post Compiling your own wifi driver for playonhd
I found a methodology for compiling your own wifi driver for wdtv from here.

http://wdtvforum.com/main/index.php?topic=1232.0

I think the methodology can be applied to playonhd as well. We just have to use different toolchains from here.

http://www.plugondevice.com/forum/viewtopic.php?f=5&t=10

I'm still studing it.


Tue Feb 23, 2010 12:20 pm
Profile

Joined: Mon Aug 03, 2009 5:54 pm
Posts: 110
Post Re: Compiling your own wifi driver for playonhd
I downloaded a linux driver of my usb wifi dongle from ralinktech site. Mine is RT73 chipset.
I managed to successfully cross-compile the driver and get .ko file. When I tried to load the driver in POHD using the following commands
Code:
/sbin/insmod rt73.ko
/sbin/ifconfig rausb0 inet <pohd ip address>  up


I got this response

Code:
insmod: cannot insert `rt73.ko': Success (8): Success


When I did "ifconfig", there's no wifi adaptor showing. Anyone has experience on how to install own driver in POHD?


Wed Jun 30, 2010 7:15 am
Profile

Joined: Sat Feb 13, 2010 9:59 pm
Posts: 673
Location: Tilburg
Post Re: Compiling your own wifi driver for playonhd
I've tried many times to compile modules for other filesystems, using kernel sources and uclibc provided by AC Ryan and Mvix toolchain and by trying different methods. Sometimes I've got the same message as you, other time there was only 'Success' with different error code and module was even loaded, but didn't behave as it should so I assume it was not OK. When compiling standard modules (using .config file provided by ACR team) size differs from modules which can be found in firmware (different toolchain and configuration).

I know that .config file from Busybox isn't the real config used for compiling Busybox included in firmware, so probably .config from kernel isn't the same as the one in firmware (kernel image size almost 1 MB smaller).

Some Russians made Ralink modules for different device, but the kernel is the same (2.6.12.6). I haven't got enough time to check it, but it might work:

http://tty.org.ru/node/34


Let me know if it works, I've got RT73 as well :)


Wed Jun 30, 2010 7:56 am
Profile

Joined: Mon Aug 03, 2009 5:54 pm
Posts: 110
Post Re: Compiling your own wifi driver for playonhd
Thanks a lot!! Seems like that's what I'm looking for. I'll give it a try and let you know if it works.


Wed Jun 30, 2010 11:02 am
Profile

Joined: Mon Aug 03, 2009 5:54 pm
Posts: 110
Post Re: Compiling your own wifi driver for playonhd
I tried it and it worked. I downloaded "rt73-mips-1.1.0.3-0.5.8-1kan.tar_.bz2" from the given link.
Extract it and copy the folder to a flashdrive or internal hdd. Telnet to playonhd and cd to the folder. You might want to copy the original "wpa_supplicant" and "wpa_cli" in /usr/local/bin to somewhere first before running "./install.sh" since the files are going to be replaced. That's it.

Now you can go into POHD's wireless setup menu to configure your wireless setup.
The given script made it so easy to install. I can now use my DLINK DWL-G122revC1 w/ POHD.

I hope i can now do the same with my 3G usb aircard (huawei E160). Any more Russian pointer? :)


EDIT: forgot to mention that you need to create some rootspace before running the script.


Wed Jun 30, 2010 5:29 pm
Profile

Joined: Sat Feb 13, 2010 9:59 pm
Posts: 673
Location: Tilburg
Post Re: Compiling your own wifi driver for playonhd
Not yet, but I find any, I'll let you know.


Thu Jul 01, 2010 8:40 am
Profile

Joined: Tue Dec 15, 2009 2:18 pm
Posts: 23
Post Re: Compiling your own wifi driver for playonhd
muonic wrote:
I tried it and it worked. I downloaded "rt73-mips-1.1.0.3-0.5.8-1kan.tar_.bz2" from the given link.
Extract it and copy the folder to a flashdrive or internal hdd. Telnet to playonhd and cd to the folder. You might want to copy the original "wpa_supplicant" and "wpa_cli" in /usr/local/bin to somewhere first before running "./install.sh" since the files are going to be replaced. That's it.

Now you can go into POHD's wireless setup menu to configure your wireless setup.
The given script made it so easy to install. I can now use my DLINK DWL-G122revC1 w/ POHD.

I hope i can now do the same with my 3G usb aircard (huawei E160). Any more Russian pointer? :)


EDIT: forgot to mention that you need to create some rootspace before running the script.



muonic, can u teach me step by step (with screenshot) how to make it? thx.. :)


Fri Jul 23, 2010 11:04 pm
Profile

Joined: Mon Oct 19, 2009 10:24 am
Posts: 18
Post Re: Compiling your own wifi driver for playonhd
mmmm...it looks that the users of Mede8er has succeed in installing more wifi drivers on their player

see: http://www.mede8erforum.com/index.php/topic,2544.0.html
custom firmware v3.04
- get System Info about storage, hardware and network.
- Mobile Remote for mobile phones
- Web Remote for laptop..
- Custom NAS, change workgroup, create own NAS directorys, restart NAS...
- Sleep Timer, restart, shutdown player...
- Install RT73 WiFi Driver to support other Wlan-USB-Sticks!
- Autoselect Device Feature, go directly to HDD or USB after startup!
- Install new Themes, Icons and Fonts on your mede8er!

maybe an idea for the playon developers to include the same kind of driver?


Fri Aug 20, 2010 3:50 pm
Profile

Joined: Fri Aug 20, 2010 2:57 pm
Posts: 2
Post Re: Compiling your own wifi driver for playonhd
the firmware doesn't work for the mini


Fri Aug 20, 2010 7:01 pm
Profile

Joined: Sat Mar 26, 2011 2:19 pm
Posts: 1
Post Re: Compiling your own wifi driver for playonhd
Hello, I've tried your steps and got this as result, can u shed some light?

Thanks
,
/tmp/hdd/volumes/HDD1 # sh install.sh
Remount root as RW
Copying rt3572sta.ko
cp: unable to open `/lib/modules/2.6.12.6-VENUS/kernel/drivers/net/wireless/rt35
72sta.ko': Permission denied
chmod: /lib/modules/2.6.12.6-VENUS/kernel/drivers/net/wireless/rt3572sta.ko: No
such file or directory
Copying RT2870STA.dat
File RT2870STA.dat already exists. Rewrite? (y/n) [n]:y
Fixing modules.alias
install.sh: install.sh: 45: cannot create /lib/modules/2.6.12.6-VENUS/modules.al
ias.new: Permission denied
install.sh: install.sh: 45: cannot create /lib/modules/2.6.12.6-VENUS/modules.al
ias.new: Permission denied
mv: unable to rename `/lib/modules/2.6.12.6-VENUS/modules.alias': Operation not
permitted
mv: unable to rename `/lib/modules/2.6.12.6-VENUS/modules.alias.new': No such fi
le or directory
Fixing modules.dep
install.sh: install.sh: 48: cannot create /lib/modules/2.6.12.6-VENUS/modules.de
p.new: Permission denied
install.sh: install.sh: 48: cannot create /lib/modules/2.6.12.6-VENUS/modules.de
p.new: Permission denied
mv: unable to rename `/lib/modules/2.6.12.6-VENUS/modules.dep': Operation not pe
rmitted
mv: unable to rename `/lib/modules/2.6.12.6-VENUS/modules.dep.new': No such file
or directory
Fixing modules.usbmap
install.sh: install.sh: 51: cannot create /lib/modules/2.6.12.6-VENUS/modules.us
bmap.new: Permission denied
install.sh: install.sh: 51: cannot create /lib/modules/2.6.12.6-VENUS/modules.us
bmap.new: Permission denied
mv: unable to rename `/lib/modules/2.6.12.6-VENUS/modules.usbmap': Operation not
permitted
mv: unable to rename `/lib/modules/2.6.12.6-VENUS/modules.usbmap.new': No such f
ile or directory
Copying wpa_supplicant
cp: Write Error: Invalid argument
cp: Write Error: Invalid argument
cp: unable to open `/usr/local/bin/_wpa_supplicant': Permission denied
chmod: /usr/local/bin/_wpa_supplicant: No such file or directory
Backup current hotplug
mv: unable to rename `/sbin/hotplug': Operation not permitted
Copying hotplug
cp: Write Error: Invalid argument


Sat Mar 26, 2011 2:23 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: Heise IT-Markt [Crawler] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by: phpBB | Innitial forum Design by: STSoftware | Modified by: AC Ryan.