It seems dummy_hcd is required for PVR
thats bad, than if file stor. module is loaded from vusb script a second load won't work (i guess) for a diferent file.
so all nwmounts and vusbs has to be stopped and fired up again, maybe problematic if directories/files are in use at this time.
so simpler suggestions are wellcome!!!
The dummy_hcd.ko module needs to be inserted only once. Loading this module doesn't trigger the TV as new inserted USB device, but g_file_storage.ko does.
This g_file_storage.ko can be loaded with references to multiple fake devices/images:
Code: Select all
insmod g_file_storage.ko file=/dtv/vusb,/mtd_rwcommon/temp/image.img
Works perfectly for me (when my TV was still working)
yes, but for integration into extensions pack we have this order:
02_04_vusb.init <- file stor. loaded here, so we can mount nw-shares into and not get limited to 4 usb mounts (tv is limited to 4 usb/partitions) and i guess if you pass non existent file to the module you will get an error message (needs test if its possible to create the file later )
03_03_djmount.init <- mounts into vusb
03_03_nfsmount.init <- mounts into vusb
04_04_fusesmb.init.dis <- mounts into vusb
04_04_samba.init.dis <- mounts into vusb
80_80_record_to_nwshare.init <- mounts into vusb + 2. vusb, but module is loaded at this time
+ one real usb device, automaticaly mounted by tv.
hope you now better understand my problem
the extensions have to work on all models & in all situations
so maybe first just detect network shares -> check if directory CONTENTS is existent (this is criteria that record over network is requested) -> setup vusb(s) -> prepare for recording -> and mount all shares
but for now i'm a bit lazy for it