OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: scrapheap on July 18, 2007, 03:50:32 am

Title: Blackbox Not Resuming After A Suspend
Post by: scrapheap on July 18, 2007, 03:50:32 am
I have got blackbox running on my C1000 fine and I have even manged to compile bbkeys for it (And after mapping the Calendar, Address, Mail, Home and Menu buttons to F1-F5 it has made things a lot nicer)

The problem I am having is that after suspending when I resume I have to restart the Zaurus as it seems to hang.  I don't know if this is caused by blackbox not knowing it has been suspended and resumed or some other reason.

Does anyone have and Ideas or suggestions as to what could be causing this?
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on July 18, 2007, 11:41:28 am
You mean it has the cursor flashing in the top-left corner and just sits there for forever? EvilWM does the same thing most of the time for me, and I don't know what causes it. If you let it sit for a while, it should resume, but that really defeats the purpose of instant-on.

I've discovered that if you press the power button again, it will resume, but then it needs a reboot most of the time to suspend.

If this isn't your issue, I"ll start a new thread about it, as I don't want to hijack yours.
Title: Blackbox Not Resuming After A Suspend
Post by: scrapheap on July 19, 2007, 03:59:21 am
Quote
You mean it has the cursor flashing in the top-left corner and just sits there for forever? EvilWM does the same thing most of the time for me, and I don't know what causes it. If you let it sit for a while, it should resume, but that really defeats the purpose of instant-on.

I've discovered that if you press the power button again, it will resume, but then it needs a reboot most of the time to suspend.

If this isn't your issue, I"ll start a new thread about it, as I don't want to hijack yours.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165111\"][{POST_SNAPBACK}][/a][/div]

That is what happens.  If i press a few random keys/buttons it does seem to come back.  I imagine that I just need to figure out what to put in a script in /etc/apm/resume.d directory.  I will try putting a script together and see what I can get working.
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on July 19, 2007, 08:33:17 am
It's funny...It works fine sometimes, then doesn't work others. I'm suspecting it's a WM thing, because Fluxbox has no issues. You could try Fluxbox instead of Blackbox if the issue persists. I hear they're quite similar.
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on August 01, 2007, 04:09:19 pm
Any luck getting this fixed?
Title: Blackbox Not Resuming After A Suspend
Post by: Meanie on August 02, 2007, 02:43:23 am
Quote
It's funny...It works fine sometimes, then doesn't work others. I'm suspecting it's a WM thing, because Fluxbox has no issues. You could try Fluxbox instead of Blackbox if the issue persists. I hear they're quite similar.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165156\"][{POST_SNAPBACK}][/a][/div]

actually fluxbox is a fork from blackbox. it uses the core blackbox code, so essentially fluxbox is blackbox enhanced similar to the relationship between vi and vim.
Title: Blackbox Not Resuming After A Suspend
Post by: scrapheap on August 02, 2007, 04:10:33 am
Quote
Any luck getting this fixed?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=165629\"][{POST_SNAPBACK}][/a][/div]

Not yet, but it does come back if I wait a while.  I  think it might come back when the clock in blackbox's slit ticks over and black box has to redraw something.
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on September 17, 2007, 06:54:08 pm
Anybody have any ideas as to what may be causing this? I'd like to be able to suspend in X with EvilWM.

Thanks.
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on October 04, 2007, 02:29:38 pm
OK, any way to troubleshoot this? dmesg doesn't show anything odd that I can see.
Title: Blackbox Not Resuming After A Suspend
Post by: Meanie on October 04, 2007, 07:39:39 pm
Quote from: Capn_Fish
OK, any way to troubleshoot this? dmesg doesn't show anything odd that I can see.

compile it with debugging enabled and run it through a debugger...
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on October 04, 2007, 08:50:15 pm
Is there a debugger for pdaX?
Title: Blackbox Not Resuming After A Suspend
Post by: Meanie on October 04, 2007, 09:01:32 pm
Quote from: Capn_Fish
Is there a debugger for pdaX?

dbx, of course it does not come installed by default.
Title: Blackbox Not Resuming After A Suspend
Post by: Capn_Fish on October 04, 2007, 09:20:44 pm
OK, thanks. What am I supposed to look for? I've never really used a debugger before.