Page 2 of 6
Re: dummy_hcd.ko for C-series T-VALDEUC
Posted: Sun Dec 26, 2010 11:31 am
by arris69
andy_nl wrote:arris69 wrote:
...
btw. real usb device is required to start a script on tv.
arris
OK. To what purpose should I use this dummy_hcd.ko if a real usb device is still required..
Or is it still a 'work in progress'?
Andy
as gipas wrote, for recording to network shares, but i think c-series supports ext3 and xfs so you maybe can use symlinks too, not sure about.
you can try SamyGO-All-Extensions-v0.03.6-r10-for-T-VALDEUC-20101203214528.zip, you can find it in files section.
hth
arris
Re: dummy_hcd.ko for C-series T-VALDEUC
Posted: Tue Dec 28, 2010 12:00 pm
by arris69
andy_nl wrote:I found out earlier that any XFS formatted volume will be dealt with by the TV as a volume to record on.
If we want to make a virtual device (with a symlink to a network share) to record on, it needs to be XFS formatted.
Does any of you have an idea on how to do the mkfs.xfs (binary is in /sbin) on a file like /dtv/vusb ?
http://linux.die.net/man/8/mkfs.xfs
dd if=/dev/zero of=image.img bs=1M count=16
/sbin/mkfs.xfs -f -d name=image.img
but... ,this fill up the /dtv partition?
some possible locations for the virtual image (/mtd_contents,/mtd_down )?
arris
Re: dummy_hcd.ko for C-series T-VALDEUC
Posted: Tue Dec 28, 2010 2:17 pm
by arris69
andy_nl wrote:...
Is a 16MB filesize the minimum for an XFS volume?
don't exactly know, but with default parameter quick test gave this size (storage size is just 12MB)
andy_nl wrote:
I'll use /mtd_rwcommon for this.
Can I insmod g_file_storage.ko twice, with differnet file= params?
if you use g_file_storage.ko from extensions pack you don't need file parameter, just link /mtd_rwcommon/vusb to /dtv
(just for completition: file:names of backing files or devices (array of charp), so file=file1,file2,file3 should work, but i guess you get sdb sdc etc. as devices)
hth
arris