OESF Portal | OESF Forum | OESF Wiki | LinuxPDA | #planetgemini chat on matrix.org | #gemini-pda chat on Freenode | #zaurus and #alarmz chat on Freenode | ELSI (coming soon) | Ibiblio

IPB

Welcome Guest ( Log In | Register )

50 Pages V   1 2 3 > » 

iamasmith
Posted on: Aug 16 2007, 05:59 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


It does work, but you need to build a new version of sysctl from cvs.

Make sure that it builds with the new version of cpu.h.

-Andy
  Forum: OpenBSD · Post Preview: #166316 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 16 2007, 04:08 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


Umm, has anybody tested the new CVS yet?

This is the first change that I tried but it failed. I think that the slots need a handler or they are treated as the end of the mib.

I found when I tried this 'fix' that maxspeed and lidsuspend were still unavailable.

-Andy
  Forum: OpenBSD · Post Preview: #166313 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 14 2007, 01:52 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


Actually I got an email from robert@ saying he was on it.

So there will be a fix, from one of us.

-Andy
  Forum: OpenBSD · Post Preview: #166240 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 14 2007, 02:53 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


There are many sysctls that have been depracated and/or moved to IOCTLs so there is a certain amount of clutter but this kind of procedure is necessary to protect anybody using older mibs to ensure that the mibs don't hit the wrong values.

I have found that implementing the change in the way suggested requires a little more work since if you leave the mib without a handler the sysctl calls don't process any more of the mib tree.

I should create a handler really that says that the access mechanism for those mibs (ztsscale and ztsrawmode) is deprecated and that tools should be updated.

I will look at this when I have a little more time, one of my projects at work has kicked into overdrive though tongue.gif

-Andy
  Forum: OpenBSD · Post Preview: #166210 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 13 2007, 01:28 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


Well, Miod pointed out that the ordinals assigned to the sysctl mibs have to stay assigned as they originally were. I'm guessing that there may be other ways of referencing the sysctl mib tree, possibly like other mibs.. i.e. 1.22.1.33 etc. to select nodes of a mib tree. Bearing in mind that the mib may possibly be accessible through SNMP etc.

To retain the IDs I will do what Miod has suggested and put the strings back into the cpu.h section leaving the methods unimplemented, however, my source build tree is on an NFS server at work atm. so I'll kick off a test build tomorrow morning before all my meetings start tongue.gif

-Andy
  Forum: OpenBSD · Post Preview: #166181 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 13 2007, 07:25 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


Actually, Miod just responded and said that the way that I am handling the change isn't correct in terms of how the MIB is treated (numbers shouldn't be reassigned). I will issue another patch when I have tested.

Regards,

-Andy
  Forum: OpenBSD · Post Preview: #166158 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 13 2007, 07:05 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(ZDevil @ Aug 13 2007, 02:49 PM)
Thanks, Andy. So will this patch be used for the next snapshot? smile.gif
*


Who knows, they have ignored patches I sent before. I have to admit that Theo asked me to nag about getting my Caps Lock patches included in 4.1 but I didn't have time to chase the submitters.

Hopefully this will be seen as an easy submission and won't even touch the sides tongue.gif

-Andy
  Forum: OpenBSD · Post Preview: #166155 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Aug 13 2007, 06:23 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


http://marc.info/?l=openbsd-arm&m=118701458824485&w=2

^^ -Andy

Attached File  sys_arch_arm_include_cpu_h_fix_machdeps.patch.txt ( 699bytes ) Number of downloads: 46
  Forum: OpenBSD · Post Preview: #166153 · Replies: 33 · Views: 19,018

iamasmith
Posted on: Jun 20 2007, 11:28 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(Meanie @ Jun 21 2007, 12:06 AM)
...
isn't there an xrandr command?

i have patched icewm to actually have an additional rotate button and option which then calls rotate.sh script which in turn calls other things to ensure correct rotation, etc.. but in essence it calls xrandr

if you are interested, look under the icewm thread on the pdaxrom subforum where i attached patches for icewem..
*


xrandr extensions work now? man I wish I still had as much time to play with my Z.

The last time I chatted with Matthieu he mentioned that xrandr rotate extensions were going to go into the driver... do you know if he triggered touch screen rotation with xrandr? The best way that I could find for managing touch screen rotation was with a Kernel patch that rotated the co-ordinates prior to scaling against the calibration parameters - the previous mechanism where x and y co-ordinates were handled by the X touch screen driver meant that the Kernel scaling was making the touch screen inaccurate when rotated.

Here is the proof of concept patch that I wrote at the time..

http://marc.info/?l=openbsd-arm&m=113993195221600&w=2

Look right to the end of the posting for a full explanation of the co-ordinate issue.

-Andy
  Forum: OpenBSD · Post Preview: #163483 · Replies: 7 · Views: 9,396

iamasmith
Posted on: May 12 2007, 02:33 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(mathemajikian @ May 6 2007, 12:57 PM)
QUOTE(Antikx @ May 6 2007, 12:54 PM)
hmmm.. what ever happened to Iamasmith... sad.gif

He still posts every once and awhile.
*



Heh, I'm still here and listening in from time to time. However, I have been contracting for about 9 months now and am pretty focussed upon that so I don't have as much time to tinker.

I'm working in a more strategic field right now and technology is only a small part of the problems that I face.

I will post when I can and hope to start contributing to OpenBSD again at some point... incidently - I believe that the console problems aren't fixed. What they have done is made X run on Console #2 and switch to screen 2 whilst running X.

The X server still seems to screw up the frame buffer. I believe there is still an outstanding problem with the DMA cache coherency.

BTW: I'm really sorry that I didn't follow up on Theo's request to nag the committers to include a variant of my Caps lock fixes for Kernel and X on 4.1. I have just been soooo busy. The good news is that they still seem to apply without any problems smile.gif

-Andy
  Forum: OpenBSD · Post Preview: #161192 · Replies: 24 · Views: 6,746

iamasmith
Posted on: May 2 2007, 01:48 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(ZDevil @ May 2 2007, 07:24 PM)
Thanks, Andy!
Here is the output of disklabel sd0:
CODE
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: Drive #01
flags:
bytes/sector: 2048
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 125
total sectors: 2010112
rpm: 3600
interleave: 1
trackskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#           size     offset   fstype  [fsize bsize  cpg]
    c:   2010112          0   unused       0     0      # Cyl        0 -     125*

*


Ok, here's the problem. The disklabel isn't defaulting based upon an ext2 partition and can't determine the beginning of the logical device to say where the ext2 partition starts.

c will ALWAYS exist if the OS can recognise the disk geometry since c is always the full raw disk area.

If you aren't too fussed about what is on the drive I would suggest that you run..

disklabel -E sd0

Then add a partition, possibly a, and set it up in the disklabel then make your ffs or ext2 filesystem from OpenBSD.

This all may seem a little wacky but UNIX folks still regard MSDOS partition tables as particularly PC'ish and like to rely on their own more portable partition information smile.gif

Good luck,

-Andy
  Forum: OpenBSD · Post Preview: #160311 · Replies: 36 · Views: 12,496

iamasmith
Posted on: May 2 2007, 03:25 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(ZDevil @ May 1 2007, 08:52 PM)
QUOTE(mathemajikian @ May 1 2007, 10:19 PM)
QUOTE(ZDevil @ May 1 2007, 08:17 PM)
It's ext2. I tried all the nodes and only sd0c would do, but it returns this error.
Reboot the system with the card inserted gives the same error.

Then try and use mount_ext2fs not mount_ffs.
*



Now it's this:
CODE
#mount_ext2fs /dev/sd0c /mnt/card
mount_ext2fs: /dev/sd0c on /mnt/card: specified device does not match mounted device


while all other sd0x show "Device not configured"
*



Does the device have a disklabel as well as an fdisk partition table? if not the disklabel will be assumed as default.

Quite often expect to see msdos partitions on sd0i but as this is ext2 you should verify what has been assumed by using..

disklabel sd0

This should print out what OpenBSD thinks the partitions are.

Good Luck,

-Andy
  Forum: OpenBSD · Post Preview: #160257 · Replies: 36 · Views: 12,496

iamasmith
Posted on: Feb 12 2007, 02:52 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


Hi there,

Long time no see but I have been contracting and they just extended my contract by another 5 months tongue.gif Pretty much all Windows and a little tiny bit of Linux but as Strategic Design Authority for a large group of companies it pays reasonably well... shame it's not more hands on *NIX and paying the same sad.gif

OK,

http://www.openbsd.org/zaurus.html

is under the control of the OpenBSD site of course. Any 'interesting' changes on the Zaurus can be found on http://www.openbsd.org/plus.html if you search for Zaurus.

Of course anything major should be updated on the zaurus page but sometimes it is forgotten. Send an email to misc@openbsd.org if they missed something and it usually gets updated.

-Andy
  Forum: OpenBSD · Post Preview: #153930 · Replies: 3 · Views: 2,141

iamasmith
Posted on: Oct 30 2006, 01:34 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(witzgall @ Apr 3 2006, 08:02 PM)
There has got to be a way to get a copy of this OS for tinkering!
*


Guys, this is warez talk... like it or not it is. You haven't paid for the license (and legitimately the only way to do so is buy the device) so please don't follow this track.

-Andy
  Forum: 6000 - Tosa · Post Preview: #145152 · Replies: 13 · Views: 9,239

iamasmith
Posted on: Oct 19 2006, 11:45 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(jpmatrix @ Oct 19 2006, 12:02 PM)
QUOTE(iamasmith @ Feb 18 2006, 09:25 PM)
Note the xscale binaries/libraries seem to be somewhat bigger than the standard ARM versions so I suggest you decide on performance critical things to build with these flags.

- Andy
*


are you talking about ports in ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/arm/ ?

do you mean that we should rebuild them with the xscale options ???
*



Umm, see top of thread
  Forum: OpenBSD · Post Preview: #144359 · Replies: 4 · Views: 2,736

iamasmith
Posted on: Oct 15 2006, 04:43 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(jpmatrix @ Oct 15 2006, 09:01 AM)
QUOTE(mathemajikian @ Oct 15 2006, 03:03 AM)
1. The hdd led will remain on since the hdd is always in use when running openbsd on your zaurii.


isn't that a power issue ?
i find that running openbsd makes my zaurus run on battery shortage so quickly!! isn't it a problem for the hdd too to remain up all the time as it wasn't build for that (i guess) ?
is there a way to just pause the hdd ?
*



1. Quite right the HDD is active all the time and yes it is a power issue, however, this is a full blown operating system and not something aimed just at PDAs. The installation that you get 'out of the box' is the same install that you get if you install on a PC, VAX, SparcStation etc.

2. The only way of 'pausing the hdd' would be to run from a ram disk. Basically to run OpenBSD without having the disk run all the time you need to stop logging and swap as well as all read/write operations that occur as a normal consequence of running the OS on the disk. With some heavy customisation you may succeed in removing all the writes from the basic install, however, it may be almost impossible to stop all reads on the drive without, as I say, moving a significant portion of the file system to a ram based file system. Since the zaurus is fairly short on ram for a BSD system anyway I suggest this isn't the optimal way to go.

Also note that the flash chips aren't supported by OpenBSD and aren't used at all. Simply enabling them (writing a driver) and running them as disk devices wouldn't be great since UFS doesn't implement write spreading like jffs2 does and OpenBSD doesn't have jffs2 support.

-Andy
  Forum: OpenBSD · Post Preview: #144030 · Replies: 5 · Views: 3,892

iamasmith
Posted on: Oct 13 2006, 12:36 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


This isn't going to work. zboot only looks at CF.
  Forum: OpenBSD · Post Preview: #143950 · Replies: 13 · Views: 4,899

iamasmith
Posted on: Sep 20 2006, 10:31 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(sylvain @ Sep 17 2006, 08:29 PM)
What is really lacking, IMHO, is the Linux emulation, that would solve the browser problem (allowing Opera to be used), and would also allow a few neat thing to be used, like a java machine.
*


Actually no, unless you build Qtopia for OpenBSD also since Opera for ARM Linux is built for Qtopia only afaik

-Andy
  Forum: OpenBSD · Post Preview: #141879 · Replies: 33 · Views: 9,966

iamasmith
Posted on: Sep 17 2006, 02:02 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


ok, I mailed the tech@ group last night and got a response from Theo, initially the response was..

QUOTE
Wierd. I've never seen this (these)  patches before.


and after he did a little more digging, when I mentioned that Miod had also proposed a an alternate fix...

QUOTE
There are large problems with our wscons keymap stuff not being able to deal with that nightmare of a keyboard. It is rather ugly to deal with.
Yes, talk to him in a few weeks, and keep talking to him every 2-3 weeks.


A translation of that for the folks that haven't spent time with the wscons source code is really that wscons (as is most of the Kernel source) is actually quite cleanly and simply implemented. It is good clean code, nicely written and easily read but doesn't handle the case scenario for wierd keyboards that don't have dedicated lock keys such as Caps or Num lock.

My fix implements the Caps Lock in an early part of wscons and duplicates some effort that the wscons driver performs a little later so it is feasible that a good rework of wscons could handle this keyboard and a few others in a nice clean manner that doesn't offend the standards of the project. For now that means that the patch is 'apply it seperately' if you need it and if you don't then don't bother.

Note that the code we are considering for the wscons fix is core OpenBSD code and nothing specific to the Zaurus... Zaurus specific hacks for certain things would be ugly and perhaps only just bearable in the Zaurus specific portions of the tree, however, they would clearly be unacceptable in the main portion of the source tree.

X is a different matter, however, it seems that very few folks like the XOrg source and Theo makes no comment on that patch. XOrg uses raw keyboard handling and manages Caps Lock state independently of the Kernel state which is ugly in its own right.. it may be that Matthieu who maintains the XOrg part of OpenBSD could be swayed to take a look at the patch, however, I acknowlege that it is a little ugly in the way that it works and he may not have much time to fix it in a cleaner way.

For now the message really is if you want Caps Lock under Console and or X, consider implementing these patches.

-Andy
  Forum: OpenBSD · Post Preview: #141618 · Replies: 7 · Views: 2,997

iamasmith
Posted on: Sep 9 2006, 03:10 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


I have a suspicion that font loading isn't enabled for the Zaurus display and maybe for good reason. The display of the clamshell units actually starts it's bitmap in the bottom left of the screen - natural orientation is portrait and there is special handling for the Zaurus to rotate all the fonts for the rasops library to render.

I would take a look a the wscons/rasops and wsfont handling code if I was you.

-Andy
  Forum: OpenBSD · Post Preview: #141024 · Replies: 1 · Views: 1,788

iamasmith
Posted on: Sep 9 2006, 02:27 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(coreilly @ Aug 31 2006, 12:00 AM)
any news on the CF card in the Zaurus Andy???
still going good?

...
*


Yeah, my card is still error and trouble free.

and I have been running at 520Mhz pretty much since I fitted it.

(sorry, I haven't been checking the board as often... just started a new contract)

-Andy
  Forum: OpenBSD · Post Preview: #141021 · Replies: 30 · Views: 11,204

iamasmith
Posted on: Sep 1 2006, 12:10 PM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(koen @ Sep 1 2006, 05:35 PM)
QUOTE(adf @ Sep 1 2006, 04:43 PM)
wait a second. You can "move on" from a "limited" portage, but you can't make a working package manager?  Sadly, that sounds very par for the OE course...
*


What are you talking about? OE is a buildsystem. I think you are being a bit clueless, or deliberately insulting. OE is a buildsystem, not a package-manager, so it is 'not working' as a package manager as your bike is 'not working' as a boat. Please stop posting nonsensical flames.
*



and if there is anybody that shouldn't be 'casting stones' about flames..... well I think we have all learned to ignore that bit.

I just hope that the patronising tone, pointlessly militant attitude etc. doesn't actually put folk off from reading the useful bits and pieces that are occasionally in those posts.

-Andy
  Forum: Software · Post Preview: #140489 · Replies: 20 · Views: 3,135

iamasmith
Posted on: Aug 26 2006, 01:09 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(mathemajikian @ Aug 24 2006, 01:01 PM)
Say I wanted to install cacko in the flash area but wanted Openbsd to continue to autoload like it does now what would I have to change inorder to have the bootloader give me the option of booting cacko instead? What files would I need to edit?
*


Well, the OpenBSD boot loader won't specifically boot Linux for you, have a hunt around though, I think doing the IPK version of the install is going to suit your requirements somehow.

Basically I would suggest adding something conditional in the Zaurus boot that lets you select OpenBSD as a startup and have it conditionally insmod the module and run zboot if that option is selected.

Under Cacko you may want to take a look at /usr/sharp/etc/launch.conf and since Cacko doesn't have launch.default set to immediately select Qtopia from the launch.conf you can hit / to get the launch menu defined in launch.conf. Personally if I wanted a dual boot system this is probably where I would implement the selection.

-Andy
  Forum: OpenBSD · Post Preview: #139844 · Replies: 7 · Views: 3,337

iamasmith
Posted on: Aug 26 2006, 12:39 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


QUOTE(Ferret-Simpson @ Aug 26 2006, 08:29 AM)
Anyone want to tell me a good graphical package manager for OpenBSD 3.9? I have it on my Sparc64 workstation, and Downloading, Installing a package, downloading and installing it's dependencies, then on and on. . Till I've installed 20 packages just to get one on the system. And I've downloaded Matchbox and can't make it start! ARGH!
*


No I can't suggest anything however, look at pkg_add(1) again..

Look at the definition of PKG_PATH environment variable in the man page...

Then you can try things like...

export PKG_PATH=ftp://www.anopenbsdmirrorsite.org/pub/OpenBSD/3.9/packages/arm/all
pkg_add abiword

and this will install all of the dependencies from the specified package location also.

-Andy
  Forum: OpenBSD · Post Preview: #139843 · Replies: 12 · Views: 4,131

iamasmith
Posted on: Aug 26 2006, 12:35 AM





Group: Members
Posts: 1,248
Joined: 6-July 04
Member No.: 3,928


Personally I'm not really into titles like 'OpenBSD vs Linux' and was pleasantly surprised to see that it wasn't some kind of shoot-out thread smile.gif

I have nothing against Linux and if this is your only device that you use as a PDA then certainly something like Cacko is going to be far easier to use as a PDA, be more functional in a number of areas and give better battery life etc.

Your point about SD support is fair enough.. the way things are done in BSD though is to ensure that there is no BSD license ambiguity by only borrowing BSD licensed code and engineering from first principals and data sheets to avoid tainting the BSD license with GPL licensed code from other projects.

The use of OpenBSD is really more about the goals of that project. If you are into new features and rapid adoption of various types of peripherals etc. then OpenBSD is probably not for you. You will not get a rapid adoption, or for that matter in many cases a timely adoption of technologies into OpenBSD if there isn't a consensus that the implementation of that technology within OpenBSD is beneficial and has been performed correctly. This has driven many folks out of OpenBSD in pure frustration but at the end of the day you only have to look at the stability of the environment and cleanliness of the coding within the project to see the long term benefits of this over a system.

At the end of the day the controversy with GPL is a viewpoint of many BSD folks and many believe that GPL is more about imposing ones views and conditions upon others than true freedom to use software exactly as you please.

Personally I think...

if you want to use your Zaurus as a PDA then Cacko is the way to go.

if you primarily want to run X applications on your Zaurus then go either pdaXrom or GPE..
(depending upon the model of Zaurus you have and the type of X application that you want either pdaXrom or GPE could work for you better... I'm certainly not going to join in the fracas of arguing which is better but I think that currently each suit a particular type of user in their own ways).

if you want to use your old Zaurus as a PDA and Sharp gave up developing ROMs for it and your Zaurus is well supported by OZ then run OPIE.
(Note that this is really only one of the very, very many reasons that people would run OPIE on a Zaurus.. it is probably the only reason why I would run OPIE on a Zaurus though at the moment)

and lastly if you don't want your Zaurus to be a games machine or specifically a PDA but want to have desktop equivalent functionality then OpenBSD may be for you.
(other Linux solutions like Pocketworkstation may be more applicable to your needs but this is the niche that OpenBSD on the Zaurus sits in at the moment).

-Andy
  Forum: OpenBSD · Post Preview: #139842 · Replies: 12 · Views: 4,131

50 Pages V   1 2 3 > » 

New Posts  New Replies
No New Posts  No New Replies
Hot topic  Hot Topic (New)
No new  Hot Topic (No New)
Poll  Poll (New)
No new votes  Poll (No New)
Closed  Locked Topic
Moved  Moved Topic
 

RSS Lo-Fi Version Time is now: 21st October 2018 - 06:45 AM