Page 13 of 18
Re: PVR to network storage
Posted: Fri Jan 02, 2015 6:14 pm
by Deus3X
sectroyer wrote:Deus3X wrote:and now i also have usblog

don't know what i made wrong
So do you have virtual usb or not ?

if i disable your last edit
Code: Select all
# mkdir /dtv/samba
# insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
# $SYSROOT/bin/busybox mount -o "rw,user=Deus,password=SECRETPASS,iocharset=utf8 -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
insmod $MOD_DIR/kernel/drivers/usb/gadget/g_file_storage.ko file=/dtv/vusb >> $LOGFILE 2>&1
i have vusb.
if i enable it i have no vusb, also using ftp i have no vusb
Re: PVR to network storage
Posted: Fri Jan 02, 2015 6:30 pm
by sectroyer
Deus3X wrote:
i have vusb.
if i enable it i have no vusb,
Check which line exactly fails
Deus3X wrote:
also using ftp i have no vusb
What ?

Re: PVR to network storage
Posted: Fri Jan 02, 2015 6:32 pm
by Deus3X
sectroyer wrote:Deus3X wrote:
i have vusb.
if i enable it i have no vusb,
Check which line exactly fails
Deus3X wrote:
also using ftp i have no vusb
What ?

how can i check with line fails?
i mean that there is no usb directory also browsing the tv directory using the ftp

Re: PVR to network storage
Posted: Fri Jan 02, 2015 6:37 pm
by Deus3X
Deus3X wrote:sectroyer wrote:Deus3X wrote:
i have vusb.
if i enable it i have no vusb,
Check which line exactly fails
Deus3X wrote:
also using ftp i have no vusb
What ?

how can i check with line fails?
i mean that there is no usb directory also browsing the tv directory using the ftp

Code: Select all
VDLinux#> mkdir /dtv/samba
VDLinux#> insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
insmod: can't insert '/mnt/lib/modules/3.0.33/kernel/fs/cifs/cifs.ko': File exists
VDLinux#>
i made this test with your line disabled on vusb.init
Re: PVR to network storage
Posted: Fri Jan 02, 2015 7:42 pm
by sectroyer
Deus3X wrote:
i made this test with your line disabled on vusb.init
No! that's not what I wanted to check

I want you to add these three lines to vusb init script and comment them out in some order to chick which line makes "virtual usb" stop working... Are you using notepad++ to edit files?

Re: PVR to network storage
Posted: Sat Jan 03, 2015 1:38 am
by Deus3X
sectroyer wrote:Deus3X wrote:
i made this test with your line disabled on vusb.init
No! that's not what I wanted to check

I want you to add these three lines to vusb init script and comment them out in some order to chick which line makes "virtual usb" stop working... Are you using notepad++ to edit files?

i'm using the editor of crossFTP (mac ftp app) that worked, until now

, with all the editing i made

i will try disabling 1 line for time

Re: PVR to network storage
Posted: Sat Jan 03, 2015 1:47 am
by Deus3X
Code: Select all
mkdir /dtv/samba
insmod $MOD_DIR/kernel/fs/cifs/cifs.ko
# $SYSROOT/bin/busybox mount -o "rw,user=Deus,password=buona,iocharset=utf8 -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
insmod $MOD_DIR/kernel/drivers/usb/gadget/dummy_hcd.ko >> $LOGFILE 2>&1
with this configuration i have vusb on tv and the samba directory (samba dir only using usb, not on tv)
if i enable also
Code: Select all
$SYSROOT/bin/busybox mount -o "rw,user=Deus,password=SECRETPASS,iocharset=utf8 -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
i have no more the vusb
Re: PVR to network storage
Posted: Sat Jan 03, 2015 1:50 am
by sectroyer
change this:
Deus3X wrote:
if i enable also
Code: Select all
$SYSROOT/bin/busybox mount -o "rw,user=SECRETUSER,password=SECRETPASS,iocharset=utf8 -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
i have no more the vusb
into this:
Code: Select all
$SYSROOT/bin/busybox mount -o "rw,user=SECRETUSER,password=SECRETPASS,iocharset=utf8" -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
and there was no need to reveal your password

Re: PVR to network storage
Posted: Sat Jan 03, 2015 1:59 am
by Deus3X
sectroyer wrote:change this:
Deus3X wrote:
if i enable also
Code: Select all
$SYSROOT/bin/busybox mount -o "rw,user=SECRETUSER,password=SECRETPASS,iocharset=utf8 -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
i have no more the vusb
into this:
Code: Select all
$SYSROOT/bin/busybox mount -o "rw,user=SECRETUSER,password=SECRETPASS,iocharset=utf8" -t cifs "//192.168.2.33/REG_TV" "/dtv/samba"
and there was no need to reveal your password

now i have vusb working with my samba share, but i can se samba dir only using ftp. Using the ftp i can't se into the samba directory the reg.img that is present on REG_TV.
after 2 minute the tv rebooted alone...
Re: PVR to network storage
Posted: Sat Jan 03, 2015 2:04 am
by Deus3X
p.s. i had the dude if was needed to set the command with "SECRETUSER" and "SECRETPASS"

so i made the test 1 times with the real user and pass and the second time with secretuser secretpass

Anyway the result was the same
