Page 1 of 2

Is it possible to rename virtual USB H series?

Posted: Wed Dec 31, 2014 1:51 pm
by juusso
Topic dedicated to SamyGO Extensions on H series after successful root (access for members in donor group only).

Re: Rename virtual USB H series

Posted: Wed Dec 31, 2014 1:59 pm
by TheInvisible
Some questions:

- how can i rename the virtual usb device to something like "Network Shares" etc. i assume it's just an editing thing of a conf file?
- is it possible to mount nfs Shares?
- how can i get rid of the "usb plugged in" popup everytime i start the tv, this is caused by the virtual usb device. is there a way to supress this message?

big thx for your answers!

Re: Rename virtual USB H series

Posted: Wed Dec 31, 2014 1:59 pm
by miazza
TheInvisible wrote:Some questions:

- how can i rename the virtual usb device to something like "Network Shares" etc. i assume it's just an editing thing of a conf file?
- is it possible to mount nfs Shares?
- how can i get rid of the "usb plugged in" popup everytime i start the tv, this is caused by the virtual usb device. is there a way to supress this message?

big thx for your answers!
This is not the right place where to discuss this but anyhow:

1) Yes you can rename Virtual USB just by editing the vusb init script
2) yes you can mount NFS share, just enable the script (remove .dis)
3) I am not familiar with H series. On ES series it was not possible while on F series it was possible by default

Re: Rename virtual USB H series

Posted: Wed Dec 31, 2014 2:11 pm
by zoelechat
TheInvisible wrote:- how can i get rid of the "usb plugged in" popup everytime i start the tv, this is caused by the virtual usb device. is there a way to supress this message?
miazza wrote:3) I am not familiar with H series. On ES series it was not possible while on F series it was possible by default
It seems F series libUSBPopDown.so that did the trick is still included and launched by default in H series vusb script. So, it's surely not suitable for H and a new version would be needed. It means: not possible for now.

Re: Is it possible to rename virtual USB H series?

Posted: Fri Jan 09, 2015 12:44 pm
by TheInvisible
would be cool if someone can explain to me where to rename the virtual usb device. i cant find the right string in the script?
thx in advance!

and yes, the old message supressing method doesn't work on h. would be great to to get rid of this nag Screen every Startup :-)

Re: Is it possible to rename virtual USB H series?

Posted: Fri Jan 09, 2015 12:48 pm
by sectroyer
TheInvisible wrote:would be cool if someone can explain to me where to rename the virtual usb device. i cant find the right string in the script?
thx in advance!

and yes, the old message supressing method doesn't work on h. would be great to to get rid of this nag Screen every Startup :-)
it's in usb :) Just look for "Virt" :)

Re: Is it possible to rename virtual USB H series?

Posted: Wed Jan 28, 2015 9:44 pm
by TheInvisible
hmm any idea how to rename the virtual device in actual .img?
old method renaming vendor id etc. doesn't work?
thx in advance for your help!

Re: Is it possible to rename virtual USB H series?

Posted: Wed Jan 28, 2015 10:06 pm
by zoelechat
TheInvisible wrote:hmm any idea how to rename the virtual device in actual .img?
old method renaming vendor id etc. doesn't work?
thx in advance for your help!
I guess you have to hex-edit /mnt/lib/modules/3.8.13/kernel/drivers/usb/gadget/g_mass_storage.ko :)

Re: Is it possible to rename virtual USB H series?

Posted: Wed Jan 28, 2015 10:07 pm
by TheInvisible
ok i understand ist no more that easy as it was in prev Version :-) than the Standard naming is ok for me :-)

Re: Is it possible to rename virtual USB H series?

Posted: Wed Jan 28, 2015 10:11 pm
by juusso
recompile with your required name. Btw, name was changed to SamyGO Virt.USB last days.

f_mass_storage.c

Code: Select all

#ifndef CONFIG_SAMSUNG_PATCH_WITH_USB_GADGET_INFO
    snprintf(common->inquiry_string, sizeof common->inquiry_string,
		 "%-8s%-16s%04x", cfg->vendor_name ?: "Linux",
		 /* Assume product name dependent on the first LUN */
		 cfg->product_name ?: (common->luns->cdrom
				     ? "SamyGO Virt.USB"
				     : "SamyGO Virt.USB"),
		 i);
#else
      snprintf(common->inquiry_string, sizeof common->inquiry_string,
        "%-8s%-16s%04x", cfg->vendor_name ?: "Samsung",
       /* Assume product name dependent on the first LUN */
        cfg->product_name ?: (common->luns->cdrom
				     ? "SamyGO Virt.USB"
				     : "SamyGO Virt.USB"),
        i);
#endif //CONFIG_SAMSUNG_PATCH_WITH_USB_GADGET_INFO