rename SamyGo Virt. USB?

Support for C series TVs that all user could ask. Please do not ask a questions at other forums.

stm999999999
Posts: 25
Joined: Mon May 02, 2011 8:19 pm

rename SamyGo Virt. USB?

Post by stm999999999 »

Hi!

I activated my parent's C650 PVR and I put the PVR storage to the LAN, w/o any problems. But now there is a little one in using the new features:

I have SamyGO Virt. USB 1 and SamyGO Virt. USB 2 in the source list - 1 for mediaplayer samba-access to home network and 2 for the PVR.

I can write my parents a "manual" which source is for which purpose, etc. But it seems more effectiv to rename the devices to "Mediaplayer" and "Recorder" e.g.

Is there any chance to make this changes?
User avatar
juusso
SamyGO Moderator
Posts: 10129
Joined: Sun Mar 07, 2010 6:20 pm

Re: rename SamyGo Virt. USB?

Post by juusso »

Must recompille it...?
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
stm999999999
Posts: 25
Joined: Mon May 02, 2011 8:19 pm

Re: rename SamyGo Virt. USB?

Post by stm999999999 »

apart form the fact that my last compiling was on my amiga years ago: which file would be the right one? And: Is this perhaps an improvment which would benefit more users than me?
stm999999999
Posts: 25
Joined: Mon May 02, 2011 8:19 pm

Re: rename SamyGo Virt. USB?

Post by stm999999999 »

no one? :(
manitwo
Posts: 7
Joined: Sat Feb 18, 2012 10:34 am

Re: rename SamyGo Virt. USB?

Post by manitwo »

Hi.

I activated succesfully the SamyGo Virt USB w/o problems.
But i also want to rename them.
Is there any easy solution. Is it possibly to edit the file 02_04_vusb.init.

FOUND=false
SAMYGODEVS=''
for i in /sys/block/sd?/device/model ; do
if [ `cat $i | grep -c "SamyGO Virt"` -gt "0" ]; then
CURDEV="`echo $i | sed 's/^\/.*\(sd.\)\/.*/\1/g'`"
SAMYGODEVS="$SAMYGODEVS /dev/$CURDEV"
if [ $FOUND = false ]; then
echo "found gadget at: $i"
dev=$CURDEV


I have three USB Devices available now in Mediaplay.

SamyGO Virt1(sdb) SamyGO Virt2(sdc) and the USB Device where SamyGo root lies, which now has no name(sda1)

Is it possible to rename "the root stick"?

thx in advance
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: rename SamyGo Virt. USB?

Post by arris69 »

manitwo wrote:...
Is it possible to rename "the root stick"?

thx in advance
the name comes from usb gadget kernel modules so you can make changes there and recompile it. the kernel sources are on https://opensource.samsung.com/
manitwo
Posts: 7
Joined: Sat Feb 18, 2012 10:34 am

Re: rename SamyGo Virt. USB?

Post by manitwo »

Sorry, but i?m not familar with compiling. I know what this is, but never made it myself before. Because of that i?ll not try this on my own.
With other words: no chance for me?

thx anyway
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: rename SamyGo Virt. USB?

Post by arris69 »

manitwo wrote:Sorry, but i?m not familar with compiling. I know what this is, but never made it myself before. Because of that i?ll not try this on my own.
With other words: no chance for me?

thx anyway
be a bit creative...
you can try to hexedit the g_file_storage.ko module...
manitwo
Posts: 7
Joined: Sat Feb 18, 2012 10:34 am

Re: rename SamyGo Virt. USB?

Post by manitwo »

Thx a lot arris. That was "easy" and works for me (halfway) :)

I edited the g_file_storage.ko with a hex-editor from SamyGo Virt USB to "NAS-Record". This name appears now for the two vusb devices.
But the real usb has yet no name, just space. I?m sure you know how to rename the real device. One more hint for the moment please. ;)

The next Step: Can i mount only the "NAS-Record", so that only two devices appears? "NAS-Record" and the real usb whose name "you" have to change. ;)

I want to mount my nas with my own movies to a folder on the real usb, because it is a little bit easier to navigate there. ( without nfs/IP/mountname )
Woman acceptance factor... you know? :mrgreen:
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: rename SamyGo Virt. USB?

Post by arris69 »

manitwo wrote:Thx a lot arris. That was "easy" and works for me (halfway) :)

I edited the g_file_storage.ko with a hex-editor from SamyGo Virt USB to "NAS-Record". This name appears now for the two vusb devices.
But the real usb has yet no name, just space. I?m sure you know how to rename the real device. One more hint for the moment please. ;)
the name is hardcoded in the device and never had one in my hands where no product name where present. so i guess its a "noname" product or maybe usb3.0 device...
not really fixable.
The next Step: Can i mount only the "NAS-Record", so that only two devices appears? "NAS-Record" and the real usb whose name "you" have to change. ;)

I want to mount my nas with my own movies to a folder on the real usb, because it is a little bit easier to navigate there. ( without nfs/IP/mountname )
Woman acceptance factor... you know? :mrgreen:
if you have a real usb storage device then for what do you need the virtual one :?
make an init script where you mount your nas share into the real usb instead of the vusb init script
or change the vusb init script to not use ip/share shema just share...

Post Reply

Return to “[C] Support”