Reply
Thread Tools
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#161
Originally Posted by jstokes View Post
That still uses MPlayer (well, come to think of it, MPlayer "talks" to BlueZ which uses the DSP with dsp-sbc installed). There's no escape!

IMHO http://talk.maemo.org/showpost.php?p...&postcount=304 and http://talk.maemo.org/showpost.php?p...&postcount=354 (referring to http://talk.maemo.org/showpost.php?p...&postcount=350) seem promising
Thanks for pointing this. I'll add those improvements to DT, so people with BT headsets benefits from them.
 

The Following 2 Users Say Thank You to maacruz For This Useful Post:
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#162
Originally Posted by maacruz View Post
That is correct. It's a remaining issue I still haven't fixed because... only happens at shutdown and it is really hard to debug since there is no console to dump messages at.
I've shutdown a lot the last week and haven't had any freezes but probably will now that I've said this. Can't you dump the messages to a rotating log file?

https://garage.maemo.org/plugins/scm...ui&view=markup

Line 1148 opens the log and line 400 writes to it. Just change the prefix so you don't overwrite my log file, add a setting to enable the log and have everyone with the shutdown problem enable it and send in their logs after it happens.
 

The Following User Says Thank You to auouymous For This Useful Post:
sondjata's Avatar
Posts: 1,076 | Thanked: 176 times | Joined on Mar 2007
#163
i do have the shutdown crash. My install is as of yesterday.
__________________
---
N800
Diablo
Boot from MMC
Gpodder Cache on MMC
MTube Cache on MMC
Mugen 1800mAh Battery
Addesso USB rollup keyboard
Solio Solar Charger
Holux GPSlim GPS

N810
community SSU
Turbo Diablo
8GB external
Boot from Internal SD
Still no GPS Fix.

N900
Stock
32GB
Many Solar Chargers (Saved bacon during Sandy!)
Inland ProHT BT keyboard
What's this? A GPS Fix? Wowwwwwww
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#164
This is abso freakin' lutely fabulous!

I'll test MPlayer later and post any noticable changes since I encode my videos beyond what my N800 can usually handle (720x480 *lol*).

So many thanks for this Mac! :swoon:
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#165
Hey Mac, I've been using this cute little script extensively for quite some time. It always worked 100% of the time.
http://talk.maemo.org/showthread.php?t=70091

Since installing DT now, many times it just goes back to the same screen I was on.

It's almost like my hardware keys are automatically doing a double tap or something.

Can you explain this?
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#166
Originally Posted by Addison View Post
Hey Mac, I've been using this cute little script extensively for quite some time. It always worked 100% of the time.
http://talk.maemo.org/showthread.php?t=70091

Since installing DT now, many times it just goes back to the same screen I was on.

It's almost like my hardware keys are automatically doing a double tap or something.

Can you explain this?
There is nothing in DT that would affect X or key mappings, and in fact, I've run a couple of tests with xev first and xbindkeys later and found no repeated key events, as expected.
xbindkeys is very tricky with its xbindkeysrc file format, and any error like a missing/extra space means both scripts get executed at the same time, producing the observed behavior.

By the way, a simpler and cleaner way to achieve the same would be this .xbindkeysrc
Code:
"matchbox-remote -next"
    F7

"matchbox-remote -prev"
    F8
 

The Following User Says Thank You to maacruz For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#167
Thanks Mac!

I'll try your suggestion and see if that cleans up the behavior.

But yeah, it always, always worked before, every single time.

Now, there are times when I'll have to press the key like 4 times before it actually changes the screen... so something is definitely different now.

Hopefully your new coding for this will take care of the issue since I love going from one app to another in a 10th of a second.
 
Posts: 96 | Thanked: 105 times | Joined on Aug 2006 @ Finland
#168
I finally had time to take a proper look at this. Installed today, seems to work fine.
But one bug, one of the postinst scripts, I think it was for the kernel package, complained about missing python. I don't have that installed and the package didn't require it. It did still install fine.
__________________
--
2x770, N810 and 2xN900, N950, 2xN9, BBZ10
Devel - twitter - blog
 
Posts: 42 | Thanked: 18 times | Joined on May 2009 @ Fairport, NY, USA
#169
I finally got around to backing up my N810 and installing DT...

WOW! There is definitely a perceived speed up and increased responsiveness. When run by itself, Canola seems to get through scanning for files much faster. Other applications also seem to start quicker.

I tried running Wesnoth, and it seems to load faster, but getting into the game does not seem much faster. The big change is that now I can do something else while waiting for Wesnoth to load a game instead of looking a an expensive brick.

As a side note, I have been adjusting a few VM related things that seem to also help with DT. Here's the script I use: (Note: I use swap on a dedicated partition on my removable SD card)

Code:
sysctl -w vm.swappiness=25
sysctl -w vm.min_free_kbytes=1024
swapon /dev/mmcblk1p2
swapoff /media/mmc2/.swap
- John
 

The Following User Says Thank You to jwernerny For This Useful Post:
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#170
Originally Posted by onion View Post
I finally had time to take a proper look at this. Installed today, seems to work fine.
But one bug, one of the postinst scripts, I think it was for the kernel package, complained about missing python. I don't have that installed and the package didn't require it. It did still install fine.
I assumed python was a Diablo requirement :-/, I'll add that as a dependency in the next kernel release.
Well, python is used to adjust the backup kernel image size, so your zImage backup is the whole mtd1 flash device. That wouldn't have to be bad by itself, except for a few hundred KB lost, but if what I've read about the development of 0xFFFF is correct, writing an image the same size of the mtd device will cause troubles. You better cut the size of /usr/share/Diablo-Turbo/backup/zImage-backup or you risk a reflash if you uninstall kernel-dt-sd.
Install python and then, as root:
Code:
echo -e 'import struct\n\
f=open("'"/usr/share/Diablo-Turbo/backup/zImage-backup"'","r+")\n\
f.seek(0x2C)\n\
l=struct.unpack("i",f.read(4))[0]\n\
f.seek(0)\n\
f.truncate(l)\n\
f.close()'|python -

Last edited by maacruz; 2011-03-03 at 19:30.
 

The Following 2 Users Say Thank You to maacruz For This Useful Post:
Reply

Tags
chinook, diablo, new life, os2008


 
Forum Jump


All times are GMT. The time now is 04:30.