maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   OS2008 / Maemo 4 / Chinook - Diablo (https://talk.maemo.org/forumdisplay.php?f=29)
-   -   'Fixed in Fremantle' and Diablo community SSU (https://talk.maemo.org/showthread.php?t=30648)

lma 2010-03-25 17:53

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by thp (Post 580896)
No arguments against it so far - how do we proceed?

I say we go for it. I just emailed Tuomas (and CC'd you, hope that's OK).

lma 2010-03-25 17:55

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by scaler (Post 581301)
Sorry I can't tell you how stable etc. - I'm not that far advanced.

Right. I don't have much time to experiment with this at the moment, but could you add it to the wiki so it doesn't get forgotten? Any links to previous discussions, experiments etc with OHCI would be most welcome.

lma 2010-03-25 18:04

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by martinsmc (Post 582085)
Is possible add bug 3415 ??

If you mean the workaround from http://wnd.katei.fi/maemo/workaround-3415/ my opinion is no. Reasoning:
  • the bug affects only a small proportion of devices
  • the workaround reduces battery life
  • there's nothing in the community SSU that conflicts with it so N810 owners who want/need it can still have it.

wnd 2010-03-25 18:55

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 582178)
If you mean the workaround from http://wnd.katei.fi/maemo/workaround-3415/ my opinion is no. Reasoning:
  • the bug affects only a small proportion of devices
  • the workaround reduces battery life

I fully agree with "no". This workaround helps me to deal with the issue but it's not a fix. In fact, it could be just good old snake oil packed in a pretty Debian package.

martinsmc 2010-03-25 18:57

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 582178)
If you mean the workaround from http://wnd.katei.fi/maemo/workaround-3415/ my opinion is no. Reasoning:
  • the bug affects only a small proportion of devices
  • the workaround reduces battery life
  • there's nothing in the community SSU that conflicts with it so N810 owners who want/need it can still have it.

Ok,really workaround is not a good solution, tks. I think if any correction to this is Frementale...

My device reboot every day, 2 or 3 times... it is a not good. :(

Tks

rafaelsemx 2010-03-25 19:33

Re: 'Fixed in Fremantle' and Diablo community SSU
 
I installed the community SSU on my N800 yesterday and been testing apps and everything seem to work fine.

scaler 2010-03-26 21:09

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 582167)
.. could you add it to the wiki so it doesn't get forgotten?

Thank you very much for your willingness to include this in the project. I am not sure that it counts as "low-hanging fruit".

Because of the broken link, I am unable to add the following material to the wiki entry, and I apologize for creating this long post instead. EDIT: Thanks for your guidance on Wiki use in response to this.

In reading Bug 3281 , it is evident that the problem extends beyond cameras to the other devices discussed in http://people.freedesktop.org/~dkuka...e-capabilities.

There are standard procedures, described e.g. in http://people.freedesktop.org/~dkuka...perties-camera, for overcoming the kernel conflicts that arise in desktop distros which have automounting of USB storage devices. These procedures do not work in the MUSB configuration of OS2008, where the drivers for probing endpoint devices are bundled together with automounting drivers in the g_file_storage module.

(The conflicts do not exist in distros without automounting of USB storage.)

gphoto2 runs without problems on the Nokia 770, where USB host mode operates as it does on a desktop computer, through a dedicated host port controlled by OHCI. (It differs from a desktop computer in needing external power for the transceiver, but that is not relevant to the present case.) There is no automounting of USB storage, and therefore no need to configure HAL to recognize the camera as something other than storage.

I suggest that the best hope of resolving Bug 3281 lies in similarly providing an optional OHCI controller that could temporarily replace the MUSB + g_file_storage control in OS2008.

lma 2010-03-27 11:26

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by scaler (Post 583761)
I am not sure that it counts as "low-hanging fruit"

Yeah, it will probably have to wait a while until someone has time to test it.

Quote:

although I see that someone else has already made wiki entry 2491 (link broken), which describes my reason for making this request.
That's bug 2491, which seems unrelated to USB.

(The cause of the broken links is bug 9736, just replace apps with bugs in the hostname until it's fixed).

Quote:

I am unable to add the following material to the wiki entry, and I apologize for creating this long post instead.
Feel free to add it to http://wiki.maemo.org/Talk:Diablo_Community_Project

lma 2010-03-27 14:58

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Just pushed another update that includes a patched kernel & xserver. Both my tablets survived it, but you have been warned.

cstryon 2010-03-27 16:49

Re: 'Fixed in Fremantle' and Diablo community SSU
 
updated successfully. no problems. Awesome stuff. what did the patches do?

lma 2010-03-27 17:59

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by cstryon (Post 584396)
updated successfully. no problems. Awesome stuff. what did the patches do?

There's a changelog included in the Maemo-Upgrade-Description, but I guess if you've already installed it it's too late to see it so here goes:

Code:

kernel-diablo:
  * Fixes: BMO#2249: FM Radio frequency not set for use in Japan.
  * Fixes: BMO#2491: cant run camera applications with v4l2.
  * Fixes: BMO#3123: Patch to kernel to allow DSP framebuffer sharing on N8x0
    devices
  * Fixes: BMO#3519: Integrate screen rotation patches into stock kernel.
  * Changed debian/rules to do a parallel make because Diablo's
    dpkg-buildpackage is too old to support -j and I'm lazy.
 xserver-xomap:
  * Fixes: BMO#3519: Integrate screen rotation patches into stock kernel and X
    server.

There are a couple of more kernel patches in the queue (bug 2504 & bug 3243) but these are not yet integrated as they go into kernel modules and it's pointless to build them until we have some way to update the initfs. I spoke briefly to Stskeeps on IRC earlier this week and it seems (understandably) that a licencing request will not go very far so I'm still pondering how to do it.

The easiest option seems to be to just remount initfs rw temporarily and copy the new modules over the old ones. There's enough free space there on N800/N810 for this to be reasonably safe once or twice, however it's not a good long-term solution and I'm not quite sure about how much free space there is on an N810W. The other option would be to steal the initfs rebuilding stuff from bootmenu to create a fresh jffs2 image and flash it but that's obviously more complicated. If anyone has any other suggestions I'm all ears!

maacruz 2010-03-27 20:23

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 584467)
The easiest option seems to be to just remount initfs rw temporarily and copy the new modules over the old ones. There's enough free space there on N800/N810 for this to be reasonably safe once or twice, however it's not a good long-term solution and I'm not quite sure about how much free space there is on an N810W. The other option would be to steal the initfs rebuilding stuff from bootmenu to create a fresh jffs2 image and flash it but that's obviously more complicated. If anyone has any other suggestions I'm all ears!

The first option, done carefully, could work fine:
Remount initfs rw
Move the old modules to a backup directory
Check initfs free space
Copy new modules, checking the free space with each, just to be sure.
If there is not enough free space, restore old modules and print error message.

maacruz 2010-03-27 20:45

Re: 'Fixed in Fremantle' and Diablo community SSU
 
If we are going to modify initfs, don't forget this fix https://bugs.maemo.org/show_bug.cgi?id=3852

maacruz 2010-03-27 22:27

Re: 'Fixed in Fremantle' and Diablo community SSU
 
1 Attachment(s)
Adding osso-xterm to the wish-list:
I just remembered I have a improved version of osso-xterm. After searching where I found it, I finally arrived to this thread: http://talk.maemo.org/showthread.php?t=23291
The version available in that thread has the transparent vkb hack, but the menu options to enable/disable it aren't checkmenu, so it doesn't shows the current state and I find it too confusing.
I have managed to keep the previous deb package, if the newer is too experimental we could add this one to the SSU. It adds all options but the vkb hack.

migs 2010-03-28 00:22

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 584298)
Just pushed another update that includes a patched kernel & xserver. Both my tablets survived it, but you have been warned.

After, I installed it I thought that it 12-3 but when I go to the "about" screen l still see 12-1

fixfox 2010-03-28 00:32

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 584298)
Just pushed another update that includes a patched kernel & xserver. Both my tablets survived it, but you have been warned.

Successfully installed.... Please keep up the good work!

lma 2010-03-28 09:15

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by migs (Post 584892)
After, I installed it I thought that it 12-3 but when I go to the "about" screen l still see 12-1

Mea culpa (forgot to update the version in /etc/osso_software_version and the post-install script) :-(

I'm now setting those automatically from the package version so it won't happen again.

scaler 2010-03-28 11:37

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 584171)
That's bug 2491, which seems unrelated to USB.

Sorry about that. I misunderstood "camera apps" to mean "apps involving connection to (external) camera". Turns out it doesn't. Thanks for the working link to Bug 2491, which clarifies that.

Thanks also for instructions on use of Wiki. Sorry again if that was something I was already supposed to know.

cstryon 2010-03-28 22:52

Re: 'Fixed in Fremantle' and Diablo community SSU
 
got the next update. so painless. and i actually read the changelog this time. thanks guys.
I have noticed, and it might just be a placebo, but everything seems...snappier...should it be? I have noticed Rotate is certainly faster, but that may be from the rotate kernal Lma linked me to.
So what are the chance of the os, or maybe just the browser, will be upgrade with the graphics acceleration?

Once again, thanks for all the work and let me know if there is anything specific i should test and report on.

Posted from my N810.

lma 2010-03-29 01:00

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by cstryon (Post 586002)
I have noticed, and it might just be a placebo, but everything seems...snappier...should it be?

In your case definitely, since you were running an older kernel & xorg server. There were some significant speedups in 5.2008.43-7 :-)

Quote:

So what are the chance of the os, or maybe just the browser, will be upgrade with the graphics acceleration?
Not quite ready for end users yet if I'm reading http://talk.maemo.org/showthread.php?t=21697 & http://wiki.maemo.org/MBX_drivers_status right, but maybe someday.

cstryon 2010-03-29 03:28

Re: 'Fixed in Fremantle' and Diablo community SSU
 
I think I found a bug. no particular program I was running. I had it plugged into the charger. It finished charging at some point, wasn't paying attention to the time it finished. when i picked it up I noticed the icons on the left menu were reset to default, icons at the top right were default aswell. advanced power and advanced brightness were gone but the apps were still installed. I'm pretty sure all my apps were still there. There was no rotate icon up in top right, but the power button made it rotate. and rotate settings were still there. Personal launcher and personal menu were gone too. I did a hard reboot and it all went back to my custom setup and nothing was lost. I am attempting to recreate, and will get pictures if it happens again.

lma 2010-03-29 03:39

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by cstryon (Post 586166)
when i picked it up I noticed the icons on the left menu were reset to default, icons at the top right were default aswell. advanced power and advanced brightness were gone but the apps were still installed.

That happens when hildon-desktop crashes, usually caused by a misbehaving desktop or statusbar applet. It is restarted automatically, but without any third-party applets loaded to avoid crashing and restarting endlessly.

Which applets were you using? I don't suppose you had syslog or core dumps enabled at the time?

cstryon 2010-03-29 03:59

Re: 'Fixed in Fremantle' and Diablo community SSU
 
I don't know how to enable syslogs or core dumps :/ Can anyone tell me how?. The applets I am running are seqretary, personal launcher, gpecalander, and OMweather.

tso 2010-03-29 07:15

Re: 'Fixed in Fremantle' and Diablo community SSU
 
iirc, the gpecalendar have a history of being unstable. Why two calendars btw?

tho it could also be omweather.

lma 2010-03-29 10:03

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by cstryon (Post 586192)
I don't know how to enable syslogs or core dumps :/ Can anyone tell me how?

Sure! For both of these you'll need packages from the tools repository, installation instructions are here.

For syslog: "apt-get install sysklogd" (as root). It logs everything to the file /var/log/syslog by default. Standard warning:
Quote:

note that when you don't need syslog, it's best to remove it and rm /var/log/syslog*. Syslog has some log file rotation, but with time it can fill the root filesystem completely. When that's done by a root process, it can become so full that the device fails to boot.
For "rich" core dumps: "apt-get install sp-rich-core" (as root), then "mkdir /media/mmc1/core-dumps". When a program crashes it will generate a "rich core" file in /media/mmc1/core-dumps (which will also include the syslog output if present). See here for more details if you are interested.

If you install these and the crash happens again feel free to send me the rich core dump privately.

Quote:

The applets I am running are seqretary, personal launcher, gpecalander, and OMweather.
Are you sure that's all? You mentioned at least a couple more previously (advanced backlight & advanced power). One that always crashes for me even on "official" firmware is the desktop version of the statusbar clock applet for instance.

Could you check Control panel-> Panels -> Task navigator, Control panel -> Panels -> Statusbar and Home -> Menu -> Select applets for a complete list?

cstryon 2010-03-29 15:02

Re: 'Fixed in Fremantle' and Diablo community SSU
 
I think I thought applets were the things on the 'desktop', not the status bar, or task navigator. I will see what all applets I am running, and install those apps for syslog and coredump.

I actually haven't done much with seqretary so I can probably just remove that. I should have information for you LMA later today :)

alephito 2010-03-29 18:39

Re: 'Fixed in Fremantle' and Diablo community SSU
 
lma,

I am willing to try the SSU in my N810 booting in a cloned system in a SD card.

Thanks.

alephito 2010-03-29 20:12

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Thanks, Ima.

It installed well (at least that was the message) but how can I verify it? I run ls -Q but It keeps saying "invalid option".

EDIT: I just checked and PDF Reader doesn't show extra zoom levels between 50% and 150% (only 100%).

lma 2010-03-30 04:43

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Then you haven't actually updated, please re-read post #104 carefully.

thp 2010-03-30 10:52

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Another wishlist item from me, which should be easy to fix and will take ~10 kB of extra space (for the joydev.ko file): Joystick Support, so USB joysticks and gamepads can be connected to the Host-mode-having N8x0 devices. Right now, we have to download a binary joydev.ko module from the forums or build the module from source, which is not ideal.

I've created a bug for this and tagged it with "community-diablo": https://bugs.maemo.org/show_bug.cgi?id=9769

lma 2010-03-30 11:31

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Hm, joydev.ko looks to me like something that would be more appropriately packaged in extras: as far as I can tell it's doesn't depend on any other kernel options that are not enabled by default, and nothing else in the "base" distribution depends on it. Feel free to correct me if I'm wrong, of course.

alephito 2010-03-30 11:51

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 587639)
Then you haven't actually updated, please re-read post #104 carefully.

You were right.

I don't know what was the 'success' message that I got the first time, but now it took me three refreshes to actually see the option to install the SSU. I did it and this time it downloaded the 4.4 Mb and after installing it rebooted my N810.

Everything is working OK. Thanks.

May I suggest to include in the SSU the option to lock the desktop applets? http://talk.maemo.org/showthread.php...950#post306950

Thanks again.

EDIT: I just saw you marked this bug. Thanks.

thp 2010-03-30 14:00

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by lma (Post 588041)
Hm, joydev.ko looks to me like something that would be more appropriately packaged in extras: as far as I can tell it's doesn't depend on any other kernel options that are not enabled by default, and nothing else in the "base" distribution depends on it. Feel free to correct me if I'm wrong, of course.

No, you're right. I'll see what can be done there. Now that you mention it, I've found out that Attila has already created a joydev module for Fremantle, so I'll mail him and ask if he could provide a package for Diablo as well :)

migs 2010-03-30 17:33

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Hey Ima, (if fix available) and you have time please include this very rude bug for N800 owners where popping out camera will not trigger the internet call app and the image will not flip when camera is rotated. Works fine with older maemo versions and for some reason camera behaves normally when booting from mmc?
https://bugs.maemo.org/show_bug.cgi?id=3303

Addison 2010-03-31 00:17

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Hey lma.

Would it be possible to find the reason why Xkbd stopped working correctly under Diablo?

I found a dirty solution, mostly by accident, that you can find in this post.
http://talk.maemo.org/showpost.php?p=408688&postcount=1

The only other bug to mention that I get consistently is always having to slide the volume button just a titch after making or receiving a phone call.

Many others have reported this bug as well.

Thanks for your contributions to Diablo. :)

peremen 2010-03-31 01:04

Re: 'Fixed in Fremantle' and Diablo community SSU
 
ls -Q works, PDF viewer now has 75% and 125% zoom level, control panel's about product points to 5.2010.blahblah, good. I couldn't feel much speedup, though. Firefox Mobile has some second improvement of loading speed.

We may package 3D driver's GPL part into extras if it is usable enough, showing description about non-GPL parts should be manually installed.

lma 2010-03-31 05:21

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by migs (Post 588593)
Hey Ima, (if fix available) and you have time please include this very rude bug for N800 owners where popping out camera will not trigger the internet call app and the image will not flip when camera is rotated.

Hm, bug 3303 seems to be caused by the camera application. Nothing we can do about that, and FWIW it works fine on my N800 running 5.2010.12-4 without camera installed.

Quote:

Works fine with older maemo versions and for some reason camera behaves normally when booting from mmc?
Do you have the camera app installed on the mmc OS?

alephito 2010-03-31 13:59

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Ima,

I just found out you included the screen rotation hack in the SSU. Thank you very much. I have never been capable of installing it by myself.

rafaelsemx 2010-03-31 22:49

Re: 'Fixed in Fremantle' and Diablo community SSU
 
lma,

I have been testing for the last 3 days the last update with the kernel patches and everything is just great, improvements in PDF and screen rotation are great.

Thanks

lma 2010-04-01 06:32

Re: 'Fixed in Fremantle' and Diablo community SSU
 
Quote:

Originally Posted by peremen (Post 589063)
I couldn't feel much speedup, though.

Allow me to repeat this for clarity' sake: there are no performance improvements over vanilla 5.2008.43-7. The one person who noticed a speedup was accidentally running a kernel and X server based on an older official release and was missing these optimisations that went into the last Diablo release:

Code:

xserver-xomap:
* Add missed part of fb optimisations (fixes: NB#86182).
* fb optimisation by Siarhei (fixes: NB#86182).
* Cherry-pick trapezoid divide-by-zero patch (fixes: NB#87289).
* Add RGB565 Xv support (fixes: NB#86400).



All times are GMT. The time now is 20:58.

vBulletin® Version 3.8.8