Yes, it is a "noname 2cent" stick. Ok, cannot be fixed. Women can learn too
Isn?t it so that i need the vusb to record to NAS? I thought it is so. Is there a way to do without vusb?
Update:
After i changed the name in g_file_storage.ko it wasn?t possible to record to NAS. (Errormessage: USB HDD is suggested)
Then i also changed in file 02_04_vusb.init the name to same in g_file_storage.ko and it works.
rename SamyGo Virt. USB?
-
- Posts: 1
- Joined: Thu Oct 09, 2014 10:33 pm
Re: rename SamyGo Virt. USB?
I've created a script that just renames the "Product" line in the /dtv/usb/log file. Working really well, no hex-coding involved.
I have an EXT3 HHD connected to the TV all the time, accessible by Samba share and Fuse that's scanning public network drives (on my desktop or laptop).
I have an EXT3 HHD connected to the TV all the time, accessible by Samba share and Fuse that's scanning public network drives (on my desktop or laptop).
cat /mtd_tlib/GGame/SamyGO/etc/init.d/90_91_usb-names.init
Code: Select all
#!/bin/sh
. /dtv/SGO.env
case $1 in
start)
while read line; do
search=`echo $line | cut -d"|" -f1`
replace=`echo $line | cut -d"|" -f2`
echo "$search => $replace"
sed -i "s/$search/$replace/g" "/dtv/usb/log"
sed -i "s/\[sd/\[sdx/g" "/dtv/usb/log"
sleep 2
sed -i "s/\[sdx/\[sd/g" "/dtv/usb/log"
done </mtd_tlib/GGame/SamyGO/etc/usbnames
;;
stop)
echo "Nothing to do"
;;
status)
echo "Ask root"
;;
*)
echo "Usage: $0 {start|stop|status}" 1>&2
exit 0
;;
esac
cat /mtd_tlib/GGame/SamyGO/etc/usbnames
Code: Select all
00AAKS-08V0A0|External drive
SamyGO Virt. USB|Network shares
- beatfreak
- SamyGO Project Donor
- Posts: 597
- Joined: Tue Aug 23, 2011 9:03 am
- Location: Hamburg
- Contact:
Re: rename SamyGo Virt. USB?
another way to get around this problem would be to adapt your how-to with specifying the icon for the VirtualUSB, the XFS drive for recording is displayed as a black drive while the "normal" ones are white IIRC, if your normal drive is <1,5GB you could format it as xfs and adapt the scripts to use it as mountpoint for your record share, and to hold your samygo folder (don't forget to set permissions when using linux fs)
//UE40C6500 @ T-VALDEUC 3011 // rooted manual HotelMode style // PVR to NFS via 18MB on-the-fly sparse XFS // >> decommissioned due to tuner death
//UE46F8090 @ T-FXPDEUC 1136 // rooted by new Widget // root starting with empty usb drive
FYI: you can close your ssh session with SamyGO with
If you can't fix it using dvct tape, you are not using enough dvct tape.
//UE46F8090 @ T-FXPDEUC 1136 // rooted by new Widget // root starting with empty usb drive
FYI: you can close your ssh session with SamyGO with
Code: Select all
~.
Re: rename SamyGo Virt. USB?
Great Way! Will try this for ES-Series also... Looks like the only difference it the file to use is "USBLOG" instead of "LOG"
EDIT
Works also on ES-Series (with file dtv/usb/usblog)
NICE! and big thx! Finally annoying name can be changed easily...
EDIT
Works also on ES-Series (with file dtv/usb/usblog)
NICE! and big thx! Finally annoying name can be changed easily...
TV: UE40ES7000 @ UE40ES8090 - T-ECPDEUC-2022.0 // SamyGO
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC
CI+: Unicam EVO 4 with HD+ (HD02) @ Pacific 4.60
NET: Samba: PC