Author Topic: Oz3.5.3 (collie) On/off Button Problem  (Read 53553 times)

hvontres

  • Full Member
  • ***
  • Posts: 118
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #105 on: June 27, 2005, 12:57:01 pm »
Quote
Someone please confirm this: does the Z suspend with:

 - Cancel button
 - Right button
 - Center button
 - Menu button

I've been doing some testing - all those seem to trigger the suspend GPIO. And they all happen to be the outermost row on the extensible keypad  (misconfigured driver chip? The sleep input is a GPIO pin, which presumably is some special output from the keyboard scanner chip (LoCoMo?). It is being triggered by all buttons in that row, not only the Cancel button.)

EDIT: fixed. Patch is in bugzilla and was commited to OE tree. This bug was probably in the kernel for a while, but previous userspace behaviour probably overrode it.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=85813\"][{POST_SNAPBACK}][/a][/div]

The same bug seems to exist on Poodle (sl5600) as well. I just tested it under OZ 3.5.2. It does not suspend, but on the main console window (vt1) I get  messages from the powerirq_handler for all of these buttons.
[span style=\'font-size:10pt;line-height:100%\']Henry von Tresckow[/span]
--------------------------------------
SL-5600, OZ 3.5.4.2 (Hentges), Kernel 2.6.17 :)
1gb Kingston SD (ext2), 5Gb Seagate ST1 (3.03 Fw, fat32)
256 MB Kingston SD (ext2),256MB Viking CF,32MB CF (vfat),
homebuilt GPS unit (Based on RFMD RF 8000)

marcan

  • Newbie
  • *
  • Posts: 7
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #106 on: June 27, 2005, 04:05:16 pm »
Quote
The same bug seems to exist on Poodle (sl5600) as well. I just tested it under OZ 3.5.2. It does not suspend, but on the main console window (vt1) I get  messages from the powerirq_handler for all of these buttons.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86059\"][{POST_SNAPBACK}][/a][/div]

Yeah - the GPIO responsible for the suspend request was being triggered from all those buttons too. I checked and this behaviour was on earlier releases too (you can check by loading the registers module and monitoring the lowest bit of /proc/cpu/registers/GPLR). I added an extra test for a Cancel keypress (through the normal keyboard driver "pressed" matrix) and it works fine now.

I've been looking at the crash-on-suspend bug. It seems to be fixed after some changes (the original APM code is really horrid, there were some serious bugs), but now the usbnet driver (and then the whole kernel) seems to go down after the third suspend or so (if the script in /etc/apm/scripts.d is disabled, suspend/resume works fine). I'll have a look at that.

niv

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #107 on: June 27, 2005, 04:17:35 pm »
Quote
updated kernels are available in upgrades feed - grab then and reflash
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86057\"][{POST_SNAPBACK}][/a][/div]

must I reflash?

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Oz3.5.3 (collie) On/off Button Problem
« Reply #108 on: June 27, 2005, 04:25:11 pm »
you can reflash the kernel without the initrd.bin
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #109 on: June 27, 2005, 06:02:25 pm »
Reflashing with just the zImage or zImage plus initrd.bin result in the same problem. See this thread 3.5.3 Upgrade Thread
It will then stop.

samac
« Last Edit: June 27, 2005, 06:03:42 pm by samac »
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)

niv

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #110 on: June 27, 2005, 06:32:34 pm »
5500 using opie :
ok second flash works, so far
I boot with the SD out of slot and cf in.
cf shows up , using the file manager I can't access it.
mmc doesnt even show up.
« Last Edit: June 27, 2005, 06:50:51 pm by niv »

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #111 on: June 27, 2005, 06:54:08 pm »
Niv

I cannot even get passed booting, even after re-downloading the zImage.

What zImage are you using, I am trying the 64-0.

samac
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)

niv

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #112 on: June 27, 2005, 06:55:36 pm »
me too.
I think you should download the currnt zImage. its differnet me think

cooler startup screen :->

samac

  • Full Member
  • ***
  • Posts: 124
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #113 on: June 27, 2005, 07:00:08 pm »
niv

I'm downloading from upgrades and the version number is:

http://www.openzaurus.org/official/unstabl...50627085413.bin

I can't see anything being newer than that.

samac
Zaurus SL5500
Hentges 1.0.x
64mb CF card
256mb SD card
Pocket-top Keyboard
Slackware 11.0 (2.6.17.13)

niv

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #114 on: June 27, 2005, 07:03:15 pm »
« Last Edit: June 27, 2005, 07:04:16 pm by niv »

schadfield

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • http://www.chadfield.com/
Oz3.5.3 (collie) On/off Button Problem
« Reply #115 on: June 28, 2005, 06:55:31 pm »
Quote
Quote
I have no idea what the OZ team are trying to achieve because it certainly doesn't appear to be a stable, user orientated environment for the Sharp Zaurus.

Excellent observation. The OZ people have fun working in their precious spare time on a Linux distribution for their Zaurus devices. We heard it's also of some use to others, that's why we make it available for free - oh yes and because of we believe in open source software.

I'm afraid if you want to have a stable, user oriented environment, you've got to work on one for yourself or pay someone else to do that. Open Source has always been

"I have an issue => I fix it => I make it available to others."

I'm sorry, but it never has been

"I do what pleases you".

Yes we try to fix bugs that get reported, however it is our precious spare time and there is no way that people like you define our priorities.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=85516\"][{POST_SNAPBACK}][/a][/div]

The package manager is the heart and soul of any Linux distro. IMHO you don't consider releasing even an early beta if the package manager isn't working. What use is an OS if the end user can't easily install and uninstall applications? Including those in the "feed" and under direct control of the distro he is using?

My experience of OZ is that the graphical installer is broken and is not even capable of installing packages from the OZ feed.

To be a credible Linux distro for the Zaurus OZ is required to support a much smaller range of hardware than a standard X86 distro. It also needs to support a much smaller range of user applications - just stable replacements for the Sharp ROM applications would be good start.

OZ + Opie fail on both counts.
SL-5500, Sharp ROM 3.13, Windows XP

niv

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #116 on: June 28, 2005, 06:57:51 pm »
hell, Ill just go out and say it: shut up!
do something - what use is it to complain here?

contrib - or but out
« Last Edit: June 28, 2005, 06:58:16 pm by niv »

Storm

  • Full Member
  • ***
  • Posts: 156
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #117 on: June 28, 2005, 11:45:29 pm »
Quote
The package manager is the heart and soul of any Linux distro. IMHO you don't consider releasing even an early beta if the package manager isn't working. What use is an OS if the end user can't easily install and uninstall applications? Including those in the "feed" and under direct control of the distro he is using?

Hmmm...Looking at your signature information seems to somewhat minimize your argument:

Code: [Select]
SL-5500, Sharp ROM 3.13,
Windows XP Pro SP2,
Intellisync 3.2E, Outlook 2003.

Last I remember, Windows' package manager was at the mercy of the whatever programs get installed, and it is a constant fight against cruft. I'm not trying to start an OS war here, but you really need to either lend a hand or shut up. Your constant needling of the openzaurus developers is couterproductive.

And by the way, does your diatribe above mean that Slackware is not a real Linux distro?

Quote
My experience of OZ is that the graphical installer is broken and is not even capable of installing packages from the OZ feed.

There is always the command line. Whats so hard about ipkg install <package>? I have not used the gui package manager since I installed 3.5.3...Not because it is broken, but because the command line is generally quicker than a gui.

Quote
To be a credible Linux distro for the Zaurus OZ is required to support a much smaller range of hardware than a standard X86 distro. It also needs to support a much smaller range of user applications - just stable replacements for the Sharp ROM applications would be good start.

OZ + Opie fail on both counts.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86232\"][{POST_SNAPBACK}][/a][/div]

Really? Then you object to Debian as well? Since we have tens of thousands of packages in our repository, does that mean we also fail as a credible Linux distro? Please go back to the Sharp forums.

--Storm
Zaurus SL-5500/Hentges OZ 3.5.4.1
Ambicom WL1100-CF wireless card
Desktop: Debian/GNU Linux (unstable)

ialiende

  • Newbie
  • *
  • Posts: 1
    • View Profile
Oz3.5.3 (collie) On/off Button Problem
« Reply #118 on: June 29, 2005, 10:12:09 am »
Quote
http://www.openzaurus.org/official/unstabl...50627085413.bin
if I aint mistaken
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86116\"][{POST_SNAPBACK}][/a][/div]

I think the image is correct. I had the same problem but then I make a ctrl-c (I don't remember which combination is the correct one, but try 'calendar+c', 'fn+c' or even 'fn+shift+c') and the boot process continued. Then it stopped configuring the network and again I used "the magic" and finally the oz boot process finished ok. The bad news are the suspend process. Now, the right button doesn't trigger the suspend but I tried it with the menu option and I blocked the zaurus  

jbyrd

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • http://
Oz3.5.3 (collie) On/off Button Problem
« Reply #119 on: June 30, 2005, 03:13:59 am »
First of all, thanks Hrw for having taken the time out of your schedule to give a whack at fixing the problems mentioned in this thread.

I have to say though, like ialiende, it takes two Ctrl-C (Calendar+c) to boot, and locks up on any suspend or halt.

It may be related to the kernel oops I logged at
http://www.codespell.com/user/web/kmsg

I know about as much about hacking kernels as I do picking up women, but if there's any scud work that'll make yours or anyone else's life easier, PM me.
« Last Edit: June 30, 2005, 03:18:22 am by jbyrd »