Active Topics

 


Reply
Thread Tools
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#201
Originally Posted by MastaG View Post
A quick update.
I replaced Kubuntu 12.04 with the regular Ubuntu 12.04 (omap armhf).
Still using unknown's 2.6.37-n900 kernel, kubuntu integration deb and the fixes/workarounds from the install.sh script.
Only this time I used the firmware files from the Meego CE image.

- Wireless works like it should
- Keyboard is OK now (I can type numbers)
- Stable, not a single crash for over two hours

However it's still VERY slow.
It boots up fast but after login to Unity it will become a nightmare:P
Firefox takes op like 2 minutes to open, and 3 minutes before I can type in a URL
"top" shows me that Xorg, gnome stuff and Unity are taking up all of my memory and cpu usage.

I already tried setting elevator=noop and using ext4 for rootfs with noatime but no luck in getting it faster.

I'm going to install the Meego CE image onto my NITDroid partition and rip out the sgx drivers/xorg config to see if I can get EGL working in Ubuntu.
Install lxde, I did that, and ubuntu become nearly as fast as maemo. Have in mind "universe" repo (where lxde resides) is commented in /etc/apt/sources.list, you should enable it manually
 

The Following 10 Users Say Thank You to freemangordon For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#202
How do you emulate right mouse button in Ubuntu?
Code:
export GTK_MODULES=libgtkstylus.so
or something else?
 

The Following 2 Users Say Thank You to unknown.obvious For This Useful Post:
Posts: 72 | Thanked: 157 times | Joined on Oct 2011 @ Hungary
#203
STATUS: Booted-gdm-lxde
REVISION: 77, unchanged
MICROSD: 8 Gb, class 10
BOOTLOADER: U-Boot for Nokia RX-51 with BootMenu (updated version 2012.04)
OPTIONS:
selected_image_source: ubuntu-daily
selected_firmware_source: meego
dist_upgrade: 0
selected_kernel: stock (later purged and installed: http://talk.maemo.org/showpost.php?p...&postcount=151)
boot_parameters: root=/dev/mmcblk0p3 rootwait console=tty0 omapfb.vram=0:2M,1:2M,2:2M mtdoops.mtddev=2 nosplash elevator=noop panic=20

At the first bootup I had to do the first time configuration (timezone, language, etc...) it worked quite well but after I wasn't able to log in so I have instaled gdm and lxde. I also installed vlc, Midori, ubuntu-restricted-extras, synaptic. The keyboard layout works and I can switch to tty8 (ctrl+fn+volume) but I cannot get back from it. Some errors occour but I think they will disappear after I update the system

I can browse the web quite well with Firefox not Midori (strange?). During the first few boots the sound semmed to be broken, but when I was trying out the capability of the browsing realised that the sound started working - Facebook chat sound was working. I was able to mount the MyDocs directory and acces all my files. Picture viewer works just fine (fast zooming, bit slow opening).

EDIT:
Cpu scaling is working 249-600mhz. I was able to toggle the screen brightness, the keyboard lights and when I plug in a charger the phone recognices it, but won't charge the battery. I was able to read some data about the battery (charge,voltage,%). Basically I was just looking around in /sys/class. I'm wondering if someone could write a small control-panel like application from we can control screen brightness, keyboard lights, read battery infos.

Keep up guys because this is getting really awesome!

Last edited by PanzerSajt; 2012-05-12 at 13:24. Reason: Some more info
 

The Following 6 Users Say Thank You to PanzerSajt For This Useful Post:
Posts: 72 | Thanked: 157 times | Joined on Oct 2011 @ Hungary
#204
I have made a sort video about the keyboard leds. I was able to light up the keyboard and turn on the RGB led and get various colors as well.
Video: http://youtu.be/vutkHjZD8qs

Files: n900-ubuntu-12-04-leds.zip

Battery info script: n900-ubuntu-12-04-battery-info.sh

Last edited by PanzerSajt; 2012-05-12 at 17:51. Reason: Added battery info script
 

The Following 9 Users Say Thank You to PanzerSajt For This Useful Post:
Posts: 72 | Thanked: 157 times | Joined on Oct 2011 @ Hungary
#205
I have modified the rc.local file to get keyboard lights on get the internal swap working and to stop the wlan number incremental. See here.
Code:
#!/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
I've found a charging script which seems to be working: link (I am not responsible if something goes wrong. Do not use this unless you now what are you doing.)
I've installed i2c-tools, libi2c-dev and python-smbus.
Code:
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)"
Charging seems to be working as my script show the increase of the voltage and the percentage as well.
 

The Following 11 Users Say Thank You to PanzerSajt For This Useful Post:
Posts: 237 | Thanked: 274 times | Joined on Jul 2010
#206
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 8 Users Say Thank You to ivyking For This Useful Post:
Posts: 58 | Thanked: 197 times | Joined on Apr 2012
#207
Originally Posted by ivyking View Post
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 !
No Idea, but since it is a Kernel from Meego I'd look there: http://wiki.meego.com/ARM/N900/Tips_and_Tricks/DSP Doesn't ubuntu have something in it's repositories?
 

The Following 7 Users Say Thank You to unknown.obvious For This Useful Post:
Posts: 237 | Thanked: 274 times | Joined on Jul 2010
#208
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 7 Users Say Thank You to ivyking For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#209
Originally Posted by ivyking View Post
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.
It could be that framebuffer memory is too low for HW resizer to work with xvimagesink, so it falls back to SW resizer (videoscale). Try to increase VRAM in kernel paramters, right now KP50 uses CONFIG_OMAP2_DSS_VRAM_SIZE=8, which allows HW down-scaling of videos upto 1280x720.

Also you may give the logs to see what is the pipeline for playbin2. And you may try to pass flags=103 to playbin2 (allow only native resolutions)

EDIT:

also you could pass parameters to playbin2, which decoder and which videosink to use
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer


Last edited by freemangordon; 2012-05-18 at 14:21.
 

The Following 8 Users Say Thank You to freemangordon For This Useful Post:
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#210
hi ubuntu users ...
I just installed it in a chroot and wondering what apps should be tested

java is ok at least

http://rzr.online.fr/q/ubuntu# #UbuntU running within #MeeGo/#HarmattaN for !n950club support #NfS #JavA ... DownLoad RootFs or Watch video
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:23.