Virtual USB how-to

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

edelfalke
Posts: 81
Joined: Sun Jan 10, 2010 12:29 pm

Re: Virtual USB how-to

Post by edelfalke »

Hi Luca,

thanks for this perfect howto, but i have one question.
How can i deactivate the USB Popup (Start Media, SW Update ...), which comes at every Start of my TV.


Sorry for my bad english :P

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

Re: Virtual USB how-to

Post by erdem_ua »

You can disable it by "Debug Menu" of TV. Needs Exlink Cable...
edelfalke
Posts: 81
Joined: Sun Jan 10, 2010 12:29 pm

Re: Virtual USB how-to

Post by edelfalke »

I have Solder today my Ex-Link serial cable and connect to Debug Menu, but i havent see the Option to disable this popup in some of the menus.
By using Micrisoft Hyper Terminal i have some failures by typing "ff", because i can only type numbers in Hyper Terminal.

Managed my Problem by start the Modules in SamyGo.sh, not in Mount.sh:

Code: Select all

#Install VUSB
sleep 10
insmod /mtd_rwarea/modules/dummy_hcd.ko
sleep 10
insmod /mtd_rwarea/modules/g_file_storage.ko file=/mtd_rwarea/vusb.image
sleep 10
Here's my SamyGo.sh:

Code: Select all

#!/bin/sh

#Enable Telnetd
mount -t devpts devpts /dev/pts
telnetd

#Install VUSB
sleep 10
insmod /mtd_rwarea/modules/dummy_hcd.ko
sleep 10
insmod /mtd_rwarea/modules/g_file_storage.ko file=/mtd_rwarea/vusb.image
sleep 10


# Open back-door for fixing boot-loop situations
sleep 30       # Allow USB stick to settle
USB="/dtv/usb/sda1"    # USB mount-point

if [ -f $USB/usb.sh ];then
	sh $USB/usb.sh    # USB-File detected.
else
	if [ -f /mtd_rwarea/mtd_rwarea.sh ];then
		sh /mtd_rwarea/mtd_rwarea.sh # Run normal startup script
	fi
	if [ -f /mtd_rwarea/mount.sh ];then
  		sh /mtd_rwarea/mount.sh # Run mount script
	fi
	# Alternatives of Samsung WiFi Link Stick
	# You need to download the new mods and place them in /mtd_rwarea/drivers/
	if [ -f /mtd_rwarea/.wifi-rt2870 ];then
		rmmod rt2870sta # Unloading original rt2870sta
	 	sleep 5
   		insmod /mtd_rwarea/drivers/rt2870sta.ko # Loading modified rt2870sta
	fi
	if [ -f /mtd_rwarea/.wifi-rt73 ];then
		rmmod rt73 	# Unloading original rt73
   		sleep 5
   		insmod /mtd_rwarea/drivers/rt73.ko # Loading modified rt73
	fi
fi
  
    	                 			    			  
exit
    	                 			    			  
User avatar
erdem_ua
SamyGO Admin
Posts: 3126
Joined: Thu Oct 01, 2009 6:02 am
Location: Istanbul, Turkey
Contact:

Re: Virtual USB how-to

Post by erdem_ua »

edelfalke wrote:I have Solder today my Ex-Link serial cable and connect to Debug Menu, but i havent see the Option to disable this popup in some of the menus.
By using Micrisoft Hyper Terminal i have some failures by typing "ff", because i can only type numbers in Hyper Terminal.
Thats because of CI+ device.

You can find disabling USB auto mount at debug menu

50 : ROSE Debug -> 0x02 : USB Debug

Youu needed to have this choices:
...
5 : [hotplug ON] turn on the hotplug
6 : [hotplug OFF] turn off the hotplug
...

anyway, you are already fixed problem. Got Wiki editor permission. You can place this information to wiki.Thanks.
edelfalke
Posts: 81
Joined: Sun Jan 10, 2010 12:29 pm

Re: Virtual USB how-to

Post by edelfalke »

you have to change this line:

Code: Select all

VUSB=`grep -A 4 "File-Stor Gadget" /dtv/usb/log | grep MountDir | cut -d: -f2`
to

Code: Select all

VUSB=`grep -A 4 "What ever you want" /dtv/usb/log | grep MountDir | cut -d: -f2`

Post Reply

Return to “[B] Support”