dummy_hcd.ko for C-series T-VALDEUC

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

User avatar
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 » Sun Jan 02, 2011 2:02 pm

gipas wrote:...
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!!!

thnx
arris

User avatar
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 » Sun Jan 02, 2011 8:37 pm

andy_nl wrote:
arris69 wrote:
gipas wrote:...
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!!!

thnx
arris

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)

Andy
yes, but for integration into extensions pack we have this order:
01_05_framebuffer.init
01_05_hiddev.init
02_04_replace_wifi_mod.init.dis
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 :?: )
02_10_wakelan.init.dis
03_01_fuse.init
03_03_djmount.init <- mounts into vusb
03_03_nfsmount.init <- mounts into vusb
03_03_sshd.init
04_04_bluetooth.init
04_04_fusesmb.init.dis <- mounts into vusb
04_04_samba.init.dis <- mounts into vusb
06_05_apache.init
06_05_vsftp.init.dis
06_06_obexpush.init.dis
80_80_record_to_nwshare.init <- mounts into vusb + 2. vusb, but module is loaded at this time
90_90_injectso.init.dis
90_90_loadGameMains.init.dis
99_99_start_exeDSP.init.disabled_by_default_to_protect_the_innocent
99_99_z_sendinfo.init
+ 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 :mrgreen:

arris

User avatar
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 » Tue Jan 04, 2011 11:27 am

derrij wrote:...

after

Code: Select all

sudo mkfs.xfs -f -d file,name=xfs_img,size=1572864000
i got

Code: Select all

existing superblock read failed: Inappropriate ioctl for device
...
it it normal?
yes
derrij wrote: and after trying to mount

Code: Select all

mount: /home/di/xfs_img is not a block device (maybe try `-o loop'?)

Code: Select all

di@di-VirtualBox:~$ sudo mount -t xfs /home/di/xfs_img /home/di/d
mount: /home/di/xfs_img is not a block device (maybe try `-o loop'?)
seems you test it on your linux box? then try as suggested: -o loop

Code: Select all

 sudo mount -o loop -t xfs /home/di/xfs_img /home/di/d
samsung patched busyboxes mount function.
derrij wrote: maybe some one can put ready xfs_img for download?
it would be the same file what you create :roll:

arris

User avatar
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 » Tue Jan 04, 2011 6:06 pm

gregoir3 wrote:My NAS doesn't have mkfs.xfs. I can't compile it either. It would be great if I could just download a file. I know these images can be zipped.
your tv has it, if not it "should" be in extensions pack for your tv

hth
arris

Post Reply

Return to “[C] Brainstorm”