Page 1 of 1

VirtUSB for UE50ES6300 not working?

Posted: Sun Dec 29, 2013 8:01 pm
by KingBonecrusher2014
Hi!

After rooting my UE50ES6300 i got crazy with recording over Network. So, i think the problem is that VirtUSB is not workling like it should.
I`ve used the InstallSamygo.rar, now everything is on /mnt! I can connect over telnet and ftp.

I can see the VirtUSB in the sources List, BUT g_file_storage.ko or dummy_hcd.ko could not be loaded. I can also modify the usblog with sucess, shares are shown in Sources.

Code: Select all

VDLinux#> /mnt/etc/init.d/02_04_vusb.init start
+ /mnt/etc/init.d/02_04_vusb.init start
mkfs.vfat 2.11 (12 Mar 2005)
insmod: can't read '/mnt/lib/modules/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko': No such file or directory
insmod: can't read '/mnt/lib/modules/2.6.35.13/kernel/drivers/mstar/usb/gadget/dummy_hcd.ko': No such file or directory
insmod: can't read '/mnt/lib/modules/2.6.35.13/kernel/drivers/usb/gadget/g_file_storage.ko': No such file or directory
insmod: can't read '/mnt/lib/modules/2.6.35.13/kernel/drivers/mstar/usb/gadget/g_file_storage.ko': No such file or directory
cat: can't open '/sys/block/sd?/device/model': No such file or directory
real storage device at: /sys/block/sd?/device/model (sd?)

Code: Select all

VDLinux#> find /mnt/lib/ -iname "dummy_hcd.ko"
/mnt/lib/modules/81/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko
/mnt/lib/modules/80/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko
VDLinux#> insmod /mnt/lib/modules/81/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko
insmod: can't insert '/mnt/lib/modules/81/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko': invalid module format
VDLinux#> insmod /mnt/lib/modules/80/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko
insmod: can't insert '/mnt/lib/modules/80/2.6.35.13/kernel/drivers/usb/gadget/dummy_hcd.ko': invalid module format
This could explain my problems with the not working PVR recording.


Hardware Infos:

Code: Select all

Processor       : ARMv7 Processor rev 0 (v7l)
processor       : 0
BogoMIPS        : 1794.04

processor       : 1
BogoMIPS        : 1794.04

Features        : swp half thumb fastmult vfp edsp neon vfpv3 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc09
CPU revision    : 0

Hardware        : amber3
Revision        : 0000
Serial          : 0000000000000000

Code: Select all

Linux (none) 2.6.35.13 #1 SMP PREEMPT Wed Aug 29 16:04:55 KST 2012 armv7l GNU/Linux

Re: VirtUSB for UE50ES6300 not working?

Posted: Sun Dec 29, 2013 9:50 pm
by juusso
cat /.version

Re: VirtUSB for UE50ES6300 not working?

Posted: Sun Dec 29, 2013 9:52 pm
by KingBonecrusher2014

Code: Select all

"X10P 0072" KERNEL MODULE VERSION : "0064.0716, DTV, X10P, release, DEU_BRANCH"

Re: VirtUSB for UE50ES6300 not working?

Posted: Sun Dec 29, 2013 9:58 pm
by juusso
you probably understood that your modules version is 0064, so your working modules were moved from /mnt/lib/modules/64/* to /mnt/lib/modules/ at first SamyGO start and iirc here were all your mentioned modules inside.

Re: VirtUSB for UE50ES6300 not working?

Posted: Sun Dec 29, 2013 10:27 pm
by KingBonecrusher2014
Yes, i know a little bit about Linux, and that makes sense now :-) So at all, there is no g_file_storage.ko or dummy_hcd.ko. in my /mnt/lib/2.6.35.13...

So there is no solution for me?

I don`t know if i`am correct, but VirtUSB is necessary to simulate a block device. I have also injected PVRAnyDev.so correctly. But without working block device i cannot start recording. So i think the TV reads out something from the block device, maybe VolumeID or something to generate a unique aes key. Could explain why it is only possible to extract the keys directly on the tv... :-(

Re: VirtUSB for UE50ES6300 not working?

Posted: Mon Dec 30, 2013 9:21 am
by juusso
Check those drivers, i`m not sure about compiler used for E6xxx series, but i remember we have had some weird issues with vusb gadget and that`s why modules were not included.

In worst case you can use real usb and mount there whole network stuff.

Re: VirtUSB for UE50ES6300 not working?

Posted: Mon Dec 30, 2013 2:31 pm
by KingBonecrusher2014
Modules are loadable, but no block device appears

dmesg

Code: Select all

g_file_storage gadget: File-backed Storage Gadget, version: 20 November 2008
g_file_storage gadget: Number of LUNs=2
g_file_storage gadget-lun0: ro=0, file: /dtv/vusb
g_file_storage gadget-lun1: ro=0, file: /dtv/vusb1
hub 4-0:1.0: state 7 ports 1 chg 0000 evt 0002
g_file_storage mod ld
hub 4-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 4-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
==9==> hub_port_init 1 
hub 4-0:1.0: unable to enumerate USB device on port 1
hub 4-0:1.0: state 7 ports 1 chg 0000 evt 0002
hub 4-0:1.0: reset change on port 1
hub 4-0:1.0: state 7 ports 1 chg 0000 evt 0002

Re: VirtUSB for UE50ES6300 not working?

Posted: Mon Dec 30, 2013 2:36 pm
by juusso
no idea at the moment. I guess with real usb attached you get both block devices working.

Re: VirtUSB for UE50ES6300 not working?

Posted: Mon Dec 30, 2013 2:45 pm
by KingBonecrusher2014
I have tried to record on a real xfs usb stick, no problem. Device is /dev/sda1. I have mounted a network share directly to /dtv/usb/sda1 (-o nonempty, stick pluged in). I can see my media files, no problem, everything works fine. If i try to record, will not work! :-( ** Recording failed. No information for recording **