freemangordon
|
2012-05-09
, 21:23
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#201
|
The Following 10 Users Say Thank You to freemangordon For This Useful Post: | ||
|
2012-05-12
, 06:14
|
Posts: 72 |
Thanked: 157 times |
Joined on Oct 2011
@ Hungary
|
#203
|
|
2012-05-12
, 17:47
|
Posts: 72 |
Thanked: 157 times |
Joined on Oct 2011
@ Hungary
|
#204
|
The Following 9 Users Say Thank You to PanzerSajt For This Useful Post: | ||
|
2012-05-13
, 11:48
|
Posts: 72 |
Thanked: 157 times |
Joined on Oct 2011
@ Hungary
|
#205
|
#!/bin/sh -e hwclock -u -s loadkeys /lib/udev/keymaps/nokia-n900-keys.map ifconfig wlan16 hw ether 00:1f:df:89:02:89 echo "120" > /sys/class/leds/lp5523:channel0/brightness echo "120" > /sys/class/leds/lp5523:channel1/brightness echo "120" > /sys/class/leds/lp5523:channel2/brightness echo "120" > /sys/class/leds/lp5523:channel3/brightness echo "120" > /sys/class/leds/lp5523:channel7/brightness echo "120" > /sys/class/leds/lp5523:channel8/brightness exit 0
i2cset -y -m 0x77 2 0x6b 0x04 0xc9; status=$(i2cget -y 2 0x6b 0x00) echo status=$status # next register 0x03 is device ID, always 4b and r/o; so we skip to 0x04 i2cset -y -m 0xff 2 0x6b 0x02 0x8c; # 0x8c = 3v5 + .640 + .040 + .020 = 4V200, BE CAREFUL and DON'T CHANGE # unless you know what you're doing. 4V2 is ABS MAX! i2cset -y -m 0xff 2 0x6b 0x01 0xc8; i2cset -y -m 0xc0 2 0x6b 0x00 0x00; # tickle watchdog, while status indicates 'charging from wallcharger' #while [ $(i2cget -y 2 0x6b 0x00) = 0x90 ] ; do while [ $(i2cget -y 2 0x6b 0x00) = 0x10 ] ; do echo charging... sleep 28; # reset watchdog timer: i2cset -y -m 0x80 2 0x6b 0x00 0x80 done echo "charging finished, status(reg0)=$(i2cget -y 2 0x6b 0x00)"
|
2012-05-17
, 23:09
|
Posts: 237 |
Thanked: 274 times |
Joined on Jul 2010
|
#206
|
The Following 8 Users Say Thank You to ivyking For This Useful Post: | ||
|
2012-05-18
, 05:57
|
Posts: 58 |
Thanked: 197 times |
Joined on Apr 2012
|
#207
|
I installed lubuntu with all it's default packages and it runs amazingly fast, but I couldn't get the DSP to work for faster video playback.
I followed along the instructions from shr,
http://shr-project.org/trac/wiki/Dev...tallGuide#DSPs
I don't know what's wrong, here is what I did:
copy over dsp libs from maemo
modprobe bridgedriver base_img=/lib/dsp/baseimage.dof
installed libgstreamer-plugins-base0.10-dev
I compiled gst-dsp on the device from
http://code.google.com/p/gst-dsp/
then copy the resulting libgstdsp.so /usr/lib/gstreamer-0.10/
then tried to play videos with gst-launch-0.10, the performance is actually much worse than just using gnomemplayer, which means the dsp isn't being used.
does anybody know what's required to correctly use the dsp ?
thanks !
The Following 7 Users Say Thank You to unknown.obvious For This Useful Post: | ||
|
2012-05-18
, 13:16
|
Posts: 237 |
Thanked: 274 times |
Joined on Jul 2010
|
#208
|
The Following 7 Users Say Thank You to ivyking For This Useful Post: | ||
|
2012-05-18
, 14:16
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#209
|
it works fine now, the problem was with the way the file was played.
I originally used
gst-launch-0.10 -v playbin2 uri=file://<file>
the video plays full speed with no audio when using
gst-launch-0.10 filesrc location=<file> ! <demux> ! queue ! dspvdec ! omapfbsink
as stated on meego wiki.
I will search for a way to get playback with sound.
The Following 8 Users Say Thank You to freemangordon For This Useful Post: | ||
|
2012-05-19
, 15:42
|
|
Posts: 1,348 |
Thanked: 1,863 times |
Joined on Jan 2009
@ fr/35/rennes
|
#210
|