dummy_hcd.ko for C-series T-VALDEUC

Ideas and dreaming about C series TV will go this forum.

arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: dummy_hcd.ko for C-series T-VALDEUC

Post 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
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: dummy_hcd.ko for C-series T-VALDEUC

Post 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
arris69
Official SamyGO Developer
Posts: 1700
Joined: Fri Oct 02, 2009 8:52 am
Location: Austria/Vienna (no Kangaroos here)
Contact:

Re: dummy_hcd.ko for C-series T-VALDEUC

Post 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

Code: Select all

ln -s /mtd_rwcommon/vusb /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

Post Reply

Return to “[C] Brainstorm”