Page 1 of 1

[SOLVED] HotelMode Hack and SkypeCam

Posted: Fri May 23, 2014 6:29 pm
by beatfreak
i had problems with my Skype Cam (stc1100) read here

i solved this by reformatting mtd_rwarea

after re-rooting my UE46C8790 T-VALDEUC 3018.1 successfully the Camera stopped working again :evil:

i have not even started rcSGO only imported Clone files

after killself.sh finished cam was working again...

so i think there must be something wrong with usb_cmd / usb_mount :(

does this mean my only option to launch rcSGO would be a modified rootfs?

what about replacing /mtd_rwarea/usb_mount/usb_mount with a symlink to /sbin/usb_mount/usb_mount instead of creating a script that passes 7 arguments?
and of course adding a symlink for usb_moip_cmd too


EDIT:
i only had 1 hour of sleep but hey...
the link thing works :D
this happens way too often, i have a problem, spend a lot of hours trying to fix it, get totally frustrated and ask for help in the web-board of choice, get no answer, and can't calm down until its solved, and then i find a way before someone else has answered my questions...
seems like meanwhile you see my posts and think "wait a few more weeks for him to fix it himself, then maybe answer" :P

so my advice is: if you have hacked your TV and want a working SkypeCam do

Code: Select all

# ln -s /sbin/usb_mount/usb_moip_cmd /mtd_rwarea/usb_mount/
i think the problem is that we can't create these symlinks during hotelmode usb_clone right?

Re: [SOLVED] HotelMode Hack and SkypeCam

Posted: Sun Jun 01, 2014 4:04 pm
by greenhorn
still wondering....
90% of the boots, my camera works. I have rooted via internet hack over 3005.1, after that update to 3011 and do the hotel mode hack.

Re: [SOLVED] HotelMode Hack and SkypeCam

Posted: Fri Jun 06, 2014 11:22 am
by beatfreak
FYI:
i replaced my symlink for usb_moip_cmd with this script:

Code: Select all

# cat /mtd_rwarea/usb_mount/usb_moip_cmd 
   #!/bin/sh
   touch /mtd_rwcommon/samygo.log
   echo "P1:$1 P2:$2 P3:$3 P4:$4 P5:$5 P6:$6 P7:$7" >> /mtd_rwcommon/samygo.log
   echo `ls /dtv/usb` >> /mtd_rwcommon/samygo.log
   echo `dmesg | grep MOIP` >> /mtd_rwcommon/samygo.log
   /sbin/usb_mount/usb_moip_cmd $1 $2 $3 $4 $5 $6 $7
result:

Code: Select all

# cat /mtd_rwcommon/samygo.log 
P1:moip_add P2:/class/usb_device/usbdev2.2 P3: P4: P5: P6: P7:

MOIP device connected Manufacturer: Samsung Product : MoIP_HD
P1:moip_add P2:/class/usb_device/usbdev2.2 P3: P4: P5: P6: P7:
hiddev0 sda usblog
MOIP device connected Manufacturer: Samsung Product : MoIP_HD
you see every time the script got executed, cam has been present >> usb_moip_cmd is called every time for hotplug/coldplug of cam
and it gets also called if cam is connected and no usb storage (first entrys in testlog)

next i tested:

Code: Select all

rm /mtd_rwarea/usb_mount/usb_moip_cmd
(disconnected cam)
(wait 15 sec)
(connected it again)
(cam didn't got started / no blue led)
/sbin/usb_mount/usb_moip_cmd moip_add /class/usb_device/usbdev2.2 
(cam still off)
so manually launching it doesn't work...


could anyone with a similar setup and freetalk cam check this commandline / determine it with testscript?