Author Topic: Blackbox Not Resuming After A Suspend  (Read 2866 times)

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Blackbox Not Resuming After A Suspend
« 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?

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #1 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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Blackbox Not Resuming After A Suspend
« Reply #2 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.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #3 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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #4 on: August 01, 2007, 04:09:19 pm »
Any luck getting this fixed?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Blackbox Not Resuming After A Suspend
« Reply #5 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.
« Last Edit: August 02, 2007, 02:44:05 am by Meanie »
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

scrapheap

  • Newbie
  • *
  • Posts: 42
    • View Profile
Blackbox Not Resuming After A Suspend
« Reply #6 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.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #7 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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #8 on: October 04, 2007, 02:29:38 pm »
OK, any way to troubleshoot this? dmesg doesn't show anything odd that I can see.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Blackbox Not Resuming After A Suspend
« Reply #9 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...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #10 on: October 04, 2007, 08:50:15 pm »
Is there a debugger for pdaX?
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Blackbox Not Resuming After A Suspend
« Reply #11 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.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Blackbox Not Resuming After A Suspend
« Reply #12 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.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo