Game plugin to change WiFi modules

Here for general support for B series TVs, request and problem solve area.

User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Game plugin to change WiFi modules

Post by erdem_ua »

Last line starts with #. So that line will not executed on script.
Also there could be some problem with path. I mean instead of "./modules" you might need use /dtv/usb/sda/modules"...
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Game plugin to change WiFi modules

Post by juusso »

What do you mean setup.sh for? samygo.sh? It`s better to run these lines one by one on your console and if you get wifi stick working just then put commands to startup script.

P.s. ok, i understood. You are playing with exe.img mounted and start.sh within it? Why doesn`t You use patched firmware instead? You be able run everything on TV start, not only wifi modules.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Game plugin to change WiFi modules

Post by juusso »

peeblessf wrote: I was trying to see if with that line commented, at least i could get the previous WiFi modules unloaded, but had no luck.
As for the path, i also tried

Code: Select all

insmod /mtd_rwarea/drivers/rt2870sta.ko
but had no luck either.
Do you have your rt2870sta.co copied to /mtd_rwarea/drivers (or /mtd_rwarea/modules/ if you want)?

Code: Select all

cp /dtv/usb/sda1/samygo/modules/rt2870sta.ko /mtd_rwarea/modules/
and just then theese lines should work.

Code: Select all

rmmod rt73  
sleep 5                    
rmmod rt2870sta
sleep 5
insmod /mtd_rwarea/modules/rt2870sta.ko 
If You don`t copied module to TV memory, You must correct the path to your wifi module on USB: e.g.

Code: Select all

rmmod rt73  
sleep 5                      
rmmod rt2870sta
sleep 5
insmod /dtv/usb/sda1/samygo/modules/rt2870sta.ko
How do You use game option? I can`t understand what are you doing? Could you tell us please more step by step, to have full picture of your problem?
peeblessf wrote: I prefer not to patch firmware if i can avoid it, it's kind of scary
img.exe modification and changing setup.sh is firmware paching too ;)

If you are just modifying this setup.zip game from aquadrian on Subtitle (caption) issues, don`t forget give rights to module:

Code: Select all

chmod 755 /[full path to module]/rt2870sta.ko
and check, that your module is in modules dir placed. in this case command should work:

Code: Select all

insmod ./modules/rt2870sta.ko
or

Code: Select all

insmod /[full path to module]/rt2870sta.ko
Your full setup.sh should look like:

Code: Select all

#!/bin/sh

####
# Enabled telnet access
###

# Execute telnetd daemon
/etc/telnetd_start.sh

cd $1

####
# Loading Modules
###

# Load CIFS
insmod ./modules/cifs.ko

# Load Wi-Fi
rmmod rt73  #unload original driver
sleep 5                    
rmmod rt2870sta #unload original driver
sleep 5
insmod /mtd_rwarea/modules/rt2870sta.ko

# Load keyboard and mouse support
insmod ./modules/usbhid.ko
insmod ./modules/evdev.ko

# Generate input device nodes at /dtv
i=0
while [ $i -le 31 ]
do
	mknod /dtv/event$i c 13 $(($i + 64))
	i=$(( i + 1 )) 
done


####
# Mounting network shares
###

# Mount cifs shares (check if something is mounted already)
#if [ `mount | grep -c /dtv/usb/sda1/data` == 0 ]; then
#	mount -o user=<user>,password=<password> -t cifs //<ip>/tv /dtv/usb/sda1/data
#fi

# Mount NFS share (check if something is mounted already)
#if [ `mount | grep -c /dtv/usb/sda1/movies` == 0 ]; then
#	mount -o nolock <ip>:<nfs-path> /dtv/usb/sda1/movies -t nfs
#fi
To make game working, you have to chmod 755 to all files (especialy to setup.sh, aspect.so, setup.so and all modules too).
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Game plugin to change WiFi modules

Post by juusso »

You should try SamyGO Extensions [v0.03.1], or SamyGO Extensions [v0.03.5 Beta] version instead invent the wheel :roll:

I tried run Setup from game menu, my TV crashes too. Based on Your message, i got idea -which is not new idea, but ... How about to run script with game loader and code of script should be free to shange w/o compiling anything. I asked for help in another topic.
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: Game plugin to change WiFi modules

Post by arris69 »

juuso wrote:... How about to run script with game loader and code of script should be free to shange w/o compiling anything. I asked for help in another topic.
think telnet enabler trojan can do what you want.

hth
arris
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: Game plugin to change WiFi modules

Post by juusso »

Oh, thanks, i did not look closer this app. Now i see. Thats exact what i`ve expected :)
LE40B653T5W,UE40D6750,UE65Q8C
Have questions? Read SamyGO Wiki, Search on forum first!
FFB (v0.8), FFB for CI+ . Get root on: C series, D series, E series, F series, H series. rooting K series, exeDSP/exeTV patches[C/D/E/F/H]

DO NOT EVER INSTALL FIRMWARE UPGRADE

Post Reply

Return to “[B] Support”