View Single Post
Posts: 235 | Thanked: 339 times | Joined on Nov 2010
#3
Well, as promised.

While TinySMB works with a Vista computer, it does not with my Windows Mobile device (due to missing NetBIOS support).

Install it and start it with "/etc/init.d/tinysmb start"; it does not start automatically. After that, you should be able to type in "\\(N800's IP)\mmc2" and browse the share.

For my Pocket PC, I had to rebuild Samba from the Diablo SDK repository and include smbd etc. into the samba-common package. While I had modified the init scripts and changed the packaging enough to get it to correctly run upon startup, I lost the source changes when I accidently deleted the diff.gz file. I have a working binary package that I cannot share for fear of violating the GPL

That said, using Samba to browse mmc2 on my Pocket PC works and I can watch a 350MB XviD of Breaking Bad on my Pocket PC with CorePlayer using the N800 to stream it. It does seem to buffer about every 10 seconds for a second, however. Oddly, tapping on the N800's screen every second makes CorePlayer not need to buffer.

I'm using the following awful script to try and simulate the effect:
Code:
#!/bin/sh

cleanup()
{
	echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
	echo 1 > /sys/power/op_dsp
	killall sleep
	chroot /mnt/initfs/ dsmetest -l 60
	exit
}

trap cleanup 1 2 3 6 15 9 EXIT SIGEXIT

echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 0 > /sys/power/op_dsp

chroot /mnt/initfs/ dsmetest -l 1

while [ 1 = 1 ]; do
	xte 'mousemove 400 240' 'mousedown 1' 'mouseup 1'
	sleep 1
done
Attached Files
File Type: gz tinysmb.tar.gz (292.1 KB, 87 views)

Last edited by jstokes; 2011-09-01 at 17:11.
 

The Following User Says Thank You to jstokes For This Useful Post: