OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Openbsd 5.4/zaurus Issues, Some various issues I have had with my installation
teh.sean
post Apr 22 2014, 05:55 AM
Post #1





Group: Members
Posts: 77
Joined: 23-April 08
From: Cleveland, OH USA
Member No.: 21,673



I noticed that there's some activity on the forum around OpenBSD, and wanted to see if others had experienced the same thing I have.

I've got a SL-C3100.

Trying to play audio causes a kernel panic:
- I noticed that none of the typical /dev/audio or /dev/audioctl handles were created by default, so I ran
CODE
/dev/MAKEDEV

- Installed vorbis-tools from packages and attempted
CODE
ogg123 -d sndio -o dev:rsnd/1 (ogg file)

which took me to a ddb prompt.

Has anyone else had success playing sound with the Z?

Suspend / Hibernate are not working properly:
- Suspend causes LCD 'white out', but does not appear to power off. LCD backlight does not turn off automatically, or when the lid is closed. Also, the SD slot is detached at suspend and reattached at resume.
- Hibernate does nothing other than output
CODE
Hibernating system...
.

Has anyone else seen issues with suspend / hibernate on their SL-Cxx00?

Other than those issues, the Z runs OpenBSD just fine. The wifi card I had worked without issue and the SD driver works better than the native Cacko one did!
Go to the top of the page
 
+Quote Post
ArchiMark
post Apr 23 2014, 07:19 AM
Post #2





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(teh.sean @ Apr 22 2014, 06:55 AM) *
I noticed that there's some activity on the forum around OpenBSD, and wanted to see if others had experienced the same thing I have.

I've got a SL-C3100.

Trying to play audio causes a kernel panic:
- I noticed that none of the typical /dev/audio or /dev/audioctl handles were created by default, so I ran
CODE
/dev/MAKEDEV

- Installed vorbis-tools from packages and attempted
CODE
ogg123 -d sndio -o dev:rsnd/1 (ogg file)

which took me to a ddb prompt.

Has anyone else had success playing sound with the Z?


Hi teh.sean, good to see that you're still around...... smile.gif

I haven't tried playing with sound yet....still trying to get a decent web browser built.....so far, no go....

Both trondd and I have decided that we need to move to 5.5 after it's released in about a week or so.....as we've been having issues with building some packages...

QUOTE
Suspend / Hibernate are not working properly:
- Suspend causes LCD 'white out', but does not appear to power off. LCD backlight does not turn off automatically, or when the lid is closed. Also, the SD slot is detached at suspend and reattached at resume.
- Hibernate does nothing other than output
CODE
Hibernating system...
.

Has anyone else seen issues with suspend / hibernate on their SL-Cxx00?

Other than those issues, the Z runs OpenBSD just fine. The wifi card I had worked without issue and the SD driver works better than the native Cacko one did!


Yes, there are issues with suspend/hibernate.....as I understand it, they're longstanding issues....

On my Z, the display goes dark after awhile and I can tap on it to wake it up...that works OK consistently...

Anyway, we're hoping that there will be some improvements with the upcoming 5.5......

Go to the top of the page
 
+Quote Post
koan
post Apr 23 2014, 11:43 PM
Post #3





Group: Members
Posts: 328
Joined: 25-February 04
From: UK
Member No.: 2,025



Although 5.5 isn't officially released yet; there seem to be 5.5 files in http://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/

I was just about to install these...
Go to the top of the page
 
+Quote Post
TronDD
post Apr 24 2014, 02:49 PM
Post #4





Group: Members
Posts: 53
Joined: 6-January 05
Member No.: 6,137



Funny, I was trying to get sound going and noticed the devices weren't there. I swore I had seen them before.

I'm just going to wait for 5.5 before putting too much more time into fiddling with things.

Regarding suspend, did you try enabling lid suspend in sysctl.conf? That will turn off the backlight for me. I don't think it actually does the suspend, though. sad.gif (on the other hand, if it did, it would eventually crash anyway)

You can try a 5.5 snapshot if you want. I don't know exactly what code will be in there, though. Close to what 5.5 final will be? Or has it started to become 5.6 code? Not sure. The downside to going to 5.5 now is that there are no packages built (the generic arm packages will run on the Z). I prefer to compile my own stuff (no rational reason for it, though. I assume it's more optimized but no evidence that it is, or that it outweighs the time cost) but will use the package if I need to. Nice to have the option.

Tim.
Go to the top of the page
 
+Quote Post
ArchiMark
post Apr 24 2014, 07:20 PM
Post #5





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(koan @ Apr 24 2014, 12:43 AM) *
Although 5.5 isn't officially released yet; there seem to be 5.5 files in http://ftp.openbsd.org/pub/OpenBSD/snapshots/zaurus/

I was just about to install these...


Yes, that's the 'beta version' of 5.5.....I tried it at first before switching to 5.4....was working OK, but wanted to be on same version as TronDD, so, that we could share package builds....

But since 5.5 is supposed to be released on May 1st, only about a week away, you might as well wait for it....then install....

QUOTE(TronDD @ Apr 24 2014, 03:49 PM) *
Funny, I was trying to get sound going and noticed the devices weren't there. I swore I had seen them before.

I'm just going to wait for 5.5 before putting too much more time into fiddling with things.

Regarding suspend, did you try enabling lid suspend in sysctl.conf? That will turn off the backlight for me. I don't think it actually does the suspend, though. sad.gif (on the other hand, if it did, it would eventually crash anyway)

You can try a 5.5 snapshot if you want. I don't know exactly what code will be in there, though. Close to what 5.5 final will be? Or has it started to become 5.6 code? Not sure. The downside to going to 5.5 now is that there are no packages built (the generic arm packages will run on the Z). I prefer to compile my own stuff (no rational reason for it, though. I assume it's more optimized but no evidence that it is, or that it outweighs the time cost) but will use the package if I need to. Nice to have the option.

Tim.


Didn't know that the 'generic arm packages' will run on the z....by generic do you mean all the libs, etc? or including the programs such as browsers, etc?......
Go to the top of the page
 
+Quote Post
teh.sean
post Apr 24 2014, 07:56 PM
Post #6





Group: Members
Posts: 77
Joined: 23-April 08
From: Cleveland, OH USA
Member No.: 21,673



QUOTE(TronDD @ Apr 24 2014, 05:49 PM) *
I'm just going to wait for 5.5 before putting too much more time into fiddling with things.

That's probably a good idea. I can wait a week, and I prefer running on -release unless there's a gotta have feature in snapshots.

QUOTE(TronDD @ Apr 24 2014, 05:49 PM) *
Regarding suspend, did you try enabling lid suspend in sysctl.conf? That will turn off the backlight for me. I don't think it actually does the suspend, though. sad.gif (on the other hand, if it did, it would eventually crash anyway)

I did not try using machdep.lidsuspend. Historically, OpenBSD had issues with suspend / hibernate with the Zaurus around 4.0 but I thought that was at one point resolved. There's a thread here (Suspend Crashes) that mentions all this.

QUOTE(TronDD @ Apr 24 2014, 05:49 PM) *
I prefer to compile my own stuff (no rational reason for it, though. I assume it's more optimized but no evidence that it is, or that it outweighs the time cost) but will use the package if I need to. Nice to have the option.

Tim.

I might be able to wait a week for a new rev, but I don't have the patience to wait for packages to build! I'll gladly take the packages available, and just cope with whatever overhead I lose for non optimized builds.




Go to the top of the page
 
+Quote Post
teh.sean
post Apr 24 2014, 08:08 PM
Post #7





Group: Members
Posts: 77
Joined: 23-April 08
From: Cleveland, OH USA
Member No.: 21,673



QUOTE(ArchiMark @ Apr 24 2014, 10:20 PM) *
Didn't know that the 'generic arm packages' will run on the z....by generic do you mean all the libs, etc? or including the programs such as browsers, etc?......


Hey Mark! Long time no see.

To answer your question, Yes; the generic arm packages, including libraries should work with the Z. So if you attempt to install dillo for example, any of the packages it needs as a prerequisite SHOULD work from the same 'armish' package tree.

From the OpenBSD site:
Since the Zaurus is a fully capable machine, we no longer cross compile. All builds of Zaurus are done on the Zaurus directly. (The shared "arm" packages are nowadays built on the armish platform, because it is faster.)


And from the installation notes:
Installing applications from the ftp.OpenBSD.org package collection:

All available packages for your architecture have been placed on
ftp.OpenBSD.org in the directory pub/OpenBSD/5.5/packages/arm/
You may want to peruse this to see what packages are available. The
packages are also on the OpenBSD FTP mirror sites.


Hah, apparently the site is slowly making its way from 5.4 to 5.5!
Go to the top of the page
 
+Quote Post
ArchiMark
post Apr 25 2014, 05:45 AM
Post #8





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



QUOTE(teh.sean @ Apr 24 2014, 09:08 PM) *
QUOTE(ArchiMark @ Apr 24 2014, 10:20 PM) *
Didn't know that the 'generic arm packages' will run on the z....by generic do you mean all the libs, etc? or including the programs such as browsers, etc?......


Hey Mark! Long time no see.

To answer your question, Yes; the generic arm packages, including libraries should work with the Z. So if you attempt to install dillo for example, any of the packages it needs as a prerequisite SHOULD work from the same 'armish' package tree.

From the OpenBSD site:
QUOTE(OpenBSD/zaurus)
Since the Zaurus is a fully capable machine, we no longer cross compile. All builds of Zaurus are done on the Zaurus directly. (The shared "arm" packages are nowadays built on the armish platform, because it is faster.)


And from the installation notes:
QUOTE(INSTALL.zaurus)
Installing applications from the ftp.OpenBSD.org package collection:

All available packages for your architecture have been placed on
ftp.OpenBSD.org in the directory pub/OpenBSD/5.5/packages/arm/
You may want to peruse this to see what packages are available. The
packages are also on the OpenBSD FTP mirror sites.


Hah, apparently the site is slowly making its way from 5.4 to 5.5!


Hi Sean,

Glad to have you around.....the more the merrier!..... smile.gif

Thanks for the clarification about arm packages....so, while it's great that the libs, etc, are usable, we still have to build packages for the programs we want to use such as browsers, office type programs, etc....which takes time.....
Go to the top of the page
 
+Quote Post
teh.sean
post Apr 25 2014, 08:08 AM
Post #9





Group: Members
Posts: 77
Joined: 23-April 08
From: Cleveland, OH USA
Member No.: 21,673



QUOTE(ArchiMark @ Apr 25 2014, 08:45 AM) *
Thanks for the clarification about arm packages....so, while it's great that the libs, etc, are usable, we still have to build packages for the programs we want to use such as browsers, office type programs, etc....which takes time.....


Sorry, I may have caused confusion. If the application package (not just libraries) already exists in the ftp repository, you can install it. For example, there's a dillo package in the repo: dillo-3.0.3.tgz

IMO, the only time you'd want to build a package from source would be
  • If a package does not exist
  • If the package source version is old, and there are newer features available
  • You want to pass in some compiler arguments for optimization
  • The package source is . . . . questionable.
Go to the top of the page
 
+Quote Post
teh.sean
post Apr 25 2014, 08:25 AM
Post #10





Group: Members
Posts: 77
Joined: 23-April 08
From: Cleveland, OH USA
Member No.: 21,673



QUOTE(TronDD @ Apr 24 2014, 05:49 PM) *
Funny, I was trying to get sound going and noticed the devices weren't there. I swore I had seen them before.

I'm just going to wait for 5.5 before putting too much more time into fiddling with things.


Found this in the release notes:
  • Re-added audio devices to the zaurus.
  • Fixed ztsscale(8/zaurus) after struct wscons_event size change.
  • Lock the audio mutex before invoking the audio(4) call-back. Fixes panics on zaurus.

Looks like some fixes for sound issues. Rockin!
Go to the top of the page
 
+Quote Post
ArchiMark
post Apr 25 2014, 08:45 AM
Post #11





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Thanks for clarifying again, Sean....

5.5 definitely sounds better.....hopefully we'll have official release very soon....
Go to the top of the page
 
+Quote Post
teh.sean
post May 1 2014, 04:00 PM
Post #12





Group: Members
Posts: 77
Joined: 23-April 08
From: Cleveland, OH USA
Member No.: 21,673



Alright, I loaded OpenBSD 5.5 today and here's what I've found:
  • The Good:
    • Audio playback works without issue
  • The Bad:
    • None of the apm suspend / hibernate / standby modes work properly as far as I can tell
  • The Ugly:
    • Using machdep.lidsuspend=1 seems to work, putting the Z into standby, but powering back up results in a black screen. I have a workaround below.
I had hoped that the sound performance would be better; as is, decoding 112kHz streaming OGG is just barely outside of the reach of the Zaurus. Even with the processor max speed set to 520, CPU utilization is pegged at 100% while running ogg123. Playing around with the sndiod audio rate didn't seem to help, though I know little to nothing about sound in UNIX-likes.



In the default OpenBSD shell, ksh, keys combinations can be bound to commands. Check the link here:StackExchange : Adding Ctrl-L as “clear” hotkey in OpenBSD's ksh

The suspend backlight screen fix I used has a few steps:
CODE

echo wsconsctl display.backlight=100 > /home/screenfix.sh
chmod 0755 /home/screenfix.sh
echo bind -m '^H'=/home/screenfix.sh'^J' >>~/.profile

Log out of the shell and log back in, close the lid, open and hit CTRL+H. Seems to work for me. If you want to see what binds are already set, just enter 'bind' at the shell for a list.

If you're in X when you suspend, I feel bad for you son. . . . I got 99 problems but this glitch ain't one.
Go to the top of the page
 
+Quote Post
ArchiMark
post May 1 2014, 07:06 PM
Post #13





Group: Members
Posts: 1,026
Joined: 25-June 03
From: Silicon Valley
Member No.: 208



Thanks for the update, Sean.....

Somehow, not surprised about suspend related issues....as it's been a longstanding issue....and have sense that there's really not much developer interest in the Zaurus anymore.....gee, wonder why?..... wink.gif

But at least they include us in the releases...guess that's something.....

Tim (TronDD) has already installed it too, but he said that it looks like arm webkit is not fixed.... sad.gif
Can you check this?.......

Let us know if you find any other good or bad points about 5.5....

My concern is whether I can find or build a good web browser....ie, something a bit more modern than links, dillo, etc......

Go to the top of the page
 
+Quote Post
TronDD
post May 3 2014, 11:52 AM
Post #14





Group: Members
Posts: 53
Joined: 6-January 05
Member No.: 6,137



Are you able to run X in 5.5? Did you install fresh or upgrade?

X crashes for me but it might be my Zaurus. sad.gif

Tim.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 07:49 AM