yessectroyer wrote:Did you run mkfs?
Code: Select all
VDLinux#> mkfs.ext4 /dtv/usb/sdb/smb/192.168.2.33/REG_TV/rec.img
Proceed anyway? (y,n) y
Writing inode tables: done
yessectroyer wrote:Did you run mkfs?
Code: Select all
VDLinux#> mkfs.ext4 /dtv/usb/sdb/smb/192.168.2.33/REG_TV/rec.img
Proceed anyway? (y,n) y
Writing inode tables: done
in your mind i'm sure that is so easysectroyer wrote:Than you need to modify the script and mount this image as some new virtual usb. Same as samba is mounted as sdj just name for instance sdv;)
Code: Select all
mkfs.vfat /dtv/usb/sdb/smb/192.168.2.33/REG_TV/rec.img
Code: Select all
if [ "$dev" == "sdj" ] ; then
# make [usb]log
$(echo -e "[${dev}]\nVendor : SamyGO Virt.\nProduct : SamyGO Virt.\n\
Serial : Q80VQLFK\nDevpath : 11\nLun : 0\nScsiDevicePath : /dev/${dev}\nMountDir : /dtv/usb/${dev}\nFileSystem : vfat\n" >> /dtv/usb/usblog)
mkdir -p /dtv/usb/${dev}
fi
<<<<<<<< HERE
Code: Select all
dev="sdk1"
if [ "$dev" == "sdk1" ] ; then
# make [usb]log
$(echo -e "[${dev}]\nVendor : Samba Recording\nProduct : Samba Recording\n\
Serial : Q80VQLFK\nDevpath : 11\nLun : 0\nScsiDevicePath : /dev/${dev}\nMountDir : /dtv/usb/${dev}\nFileSystem : vfat\n" >> /dtv/usb/usblog)
mkdir -p /dtv/usb/${dev}
fi
Code: Select all
mount -o loop /dtv/usb/sdb/smb/192.168.2.33/REG_TV/rec.img /dtv/usb/sdk1
Hi matesectroyer wrote:run on TV:Make a copy of ONLY .PVR.... (the only file starting with . in CONTENTS)Code: Select all
mkfs.vfat /dtv/usb/sdb/smb/192.168.2.33/REG_TV/rec.img
unplug real pvr usb. Than run:
in vusb script find this:and where I put HERE paste this:Code: Select all
if [ "$dev" == "sdj" ] ; then # make [usb]log $(echo -e "[${dev}]\nVendor : SamyGO Virt.\nProduct : SamyGO Virt.\n\ Serial : Q80VQLFK\nDevpath : 11\nLun : 0\nScsiDevicePath : /dev/${dev}\nMountDir : /dtv/usb/${dev}\nFileSystem : vfat\n" >> /dtv/usb/usblog) mkdir -p /dtv/usb/${dev} fi <<<<<<<< HERE
and in samba script add the line that mounts this:Code: Select all
dev="sdk1" if [ "$dev" == "sdk1" ] ; then # make [usb]log $(echo -e "[${dev}]\nVendor : Samba Recording\nProduct : Samba Recording\n\ Serial : Q80VQLFK\nDevpath : 11\nLun : 0\nScsiDevicePath : /dev/${dev}\nMountDir : /dtv/usb/${dev}\nFileSystem : vfat\n" >> /dtv/usb/usblog) mkdir -p /dtv/usb/${dev} fi
Than new reboot TV and new usb will appear hit rec. TV will say no good usb and will want to format something. Let it format "Samba Recording" and perform tests. It will says tests DID fail. Than wait a minute and copy .PVR... file to CONTENTS directory in /dtv/usb/sdk1Code: Select all
mount -o loop /dtv/usb/sdb/smb/192.168.2.33/REG_TV/rec.img /dtv/usb/sdk1
Code: Select all
mount -o loop /dtv/usb/sdk1/smb/192.168.2.33/REG_TV/rec.img /dtv/usb/sda
yes, before unplugging the real usb.sectroyer wrote:Did you run mkfs?
Code: Select all
VDLinux#> mkfs.vfat /dtv/usb/sda/smb/192.168.2.33/REG_TV/rec.img
VDLinux#>
Who let you run that? It was very, bad, bad commandDeus3X wrote: so i tryed to edit the most command inCode: Select all
mount -o loop /dtv/usb/sdk1/smb/192.168.2.33/REG_TV/rec.img /dtv/usb/sda
Code: Select all
modprobe -l | grep g_mass
Code: Select all
fdisk -l
Code: Select all
VDLinux#> modprobe -l | grep g_mass
modprobe: invalid option -- 'l'
BusyBox v1.20.2 (2012-11-15 22:46:44 PST) multi-call binary.
Usage: modprobe [-qfwrsv] MODULE [symbol=value]...
-r Remove MODULE (stacks) or do autoclean
-q Quiet
-v Verbose
-f Force
-w Wait for unload
-s Report via syslog instead of stderr
VDLinux#> fdisk -l
Disk /dev/mmcblk0: 3909 MB, 3909091328 bytes
1 heads, 16 sectors/track, 477184 cylinders
Units = cylinders of 16 * 512 = 8192 bytes
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 2 65 512 83 Linux
Partition 1 does not end on cylinder boundary
/dev/mmcblk0p2 66 129 512 83 Linux
Partition 2 does not end on cylinder boundary
/dev/mmcblk0p3 130 193 512 83 Linux
Partition 3 does not end on cylinder boundary
/dev/mmcblk0p4 194 477183 3815920 5 Extended
Partition 4 does not end on cylinder boundary
/dev/mmcblk0p5 195 258 512 83 Linux
/dev/mmcblk0p6 260 323 512 83 Linux
/dev/mmcblk0p7 325 1220 7168 83 Linux
/dev/mmcblk0p8 1222 1925 5632 83 Linux
/dev/mmcblk0p9 1927 2822 7168 83 Linux
/dev/mmcblk0p10 2824 3527 5632 83 Linux
/dev/mmcblk0p11 3529 3529 8 83 Linux
/dev/mmcblk0p12 3531 3531 8 83 Linux
/dev/mmcblk0p13 3533 3533 8 83 Linux
/dev/mmcblk0p14 3535 3918 3072 83 Linux
/dev/mmcblk0p15 3920 4303 3072 83 Linux
/dev/mmcblk0p16 4305 23504 153600 83 Linux
/dev/mmcblk0p17 23506 68305 358400 83 Linux
/dev/mmcblk0p18 68307 113106 358400 83 Linux
/dev/mmcblk0p19 113108 164307 409600 83 Linux
/dev/mmcblk0p20 164309 215508 409600 83 Linux
/dev/mmcblk0p21 215510 228309 102400 83 Linux
/dev/mmcblk0p22 228311 247510 153600 83 Linux
/dev/mmcblk0p23 247512 248791 10240 83 Linux
/dev/mmcblk0p24 248793 477183 1827128 83 Linux
Disk /dev/sda: 0 MB, 512000 bytes
1 heads, 1 sectors/track, 1000 cylinders, total 1000 sectors
Units = cylinders of 1 * 512 = 512 bytes
Device Boot Start End Blocks Id System
VDLinux#>
I assumed thatDeus3X wrote: p.s. remember that atm i have removed the edited part from vusb.init and the mout command from samba.init.
if you what that i reenable it and then send this command, tell me and i will do it asap
Code: Select all
lsmod | grep g_mass