CMedia 8788 (Asus Xonar D2X)

2012-04-04 Thread Patsy

Hi list,

I'm wondering if anybody is working on support for the Asus Xonar
D2X (a branded CMedia 8788).

If not, then I was planning on having a look at the OSS driver from
http://developer.opensound.com/sources/ (the page states that the
sources are GPLv2 or CDDL 1, but I think it just hasn't been updated
(there are source tarballs available in a bsd directory that
includes a 2-clause BSD licence.

Is there any reason that this would be a bad place to start? If so,
can anybody suggest a better place?

Thanks,
Patsy



Re: Multi-byte nvi

2011-10-28 Thread patsy
Check the latest post on http://undeadly.org (naddy@'s report)

On Fri, Oct 28, 2011 at 07:41:20PM +0200, Sime Ramov wrote:
 Since OpenBSD libc now supports multi-byte characters, are there any
 forthcoming plans to bring this support to nvi?
 
 There is no editor in base which supports it and I don't want to install
 or use vim.



Question about .PATH.o in Makefiles

2011-07-21 Thread Patsy

Hello list,

I'm a little confused by the .PATH.o target in makefiles. For
the record I'm running on a snapshot from the 29th of June
(amd64).

I have the following file structure:

./Makefile
./port.c
./cheese.c
./Makefile
./objects/
./include/
./include/port.h

I have the following makefile:

=
.SUFFIXES: .o .c .h
.INCLUDES: .h

.PATH.h: include
.PATH.o: objects

OBJ_DIR=objects
CFLAGS=-Iinclude

happiness:  cheese.o \
port.o
gcc $(CFLAGS) -o happiness \
$(OBJ_DIR)/cheese.o \
$(OBJ_DIR)/port.o

port.o: port.c  port.h
gcc -c $(CFLAGS) -o $(OBJ_DIR)/port.o port.c

cheese.o:   cheese.c port.h
gcc -c $(CFLAGS) -o $(OBJ_DIR)/cheese.o cheese.c



If I run make, I get the following output:

gcc -c -Iinclude -o objects/cheese.o cheese.c
gcc -c -Iinclude -o objects/port.o port.c
gcc -Iinclude -o happiness  objects/cheese.o  objects/port.o

which is fine, dandy and what I expect. If I run make again
however, I get the same result. running make -d m indicates
that it isn't finding port.o or cheese.o in the objects
directory, it is only looking in the current directory.

Prefixing port.o/cheese.o with $(OBJ_DIR) results in their
targets not being found. Adding $(OBJ_DIR) as a prefix to all
.o files seem a little verbose.

I thought that specifying .PATH.o in the manner above would
mean that make would interpret port.o as $(.PATH.o)/port.o
whether it be a dependency or a target. I have read the man
page (hence I know that .PATH.o exists) but I can't see why
what I have shouldn't work.

It seems obvious to me that I'm missing something, but I can't
see what it is. Could somebody explain it to me, or suggest
how I could patch the above makefile to make use of .PATH.o?

Thanks,
Patsy

It appears to be able to find port.h (removing .PATH.h causes
a non-existant error).



Re: 4.9 firewalls

2011-05-11 Thread Patsy
On Wed, 11 May 2011 23:14:36 +1000, David Gwynne l...@animata.net 
wrote:

anyone replaced firewalls with 4.9 boxes yet? noticed a difference?


It has a new sticker on it :-)



Re: Like OpenBSD? Like to see new stuff happening? You really need to order a CD today :)

2011-04-18 Thread Patsy

On Mon, 18 Apr 2011 13:39:19 -0600, Bob Beck b...@obtuse.com wrote:

Hi all,
  So, short answer? go buy a CD.  pre-orders are a little slow this
release, and we need
to see some more activity in that area.

  Then maybe I'll stop worrying about it and commit that thing that
will make your
amd64 use even  more buttloads of memory too!



I've just ordered my CD set and a hoodie. Sorry for not doing it
sooner - you guy certainly deserve it. If I meet you in person,
remind me to buy you a drink or three :-)

Patsy



Re: Wildest Africa Tour

2011-04-05 Thread Patsy
On Tue, 5 Apr 2011 16:59:21 +, Kevin Chadwick 
ma1l1i...@yahoo.co.uk wrote:

On Tue, 05 Apr 2011 17:15:53 +0200
FrC)dC)ric Perrin wrote:


Stuart VanZee stua...@datalinesys.com writes:
 Don't be silly.  While Lions do provide excelent physical security
 they don't provide any data security at all.


[...snip...]

hmm. how to get a lion to swallow a large bowl and how do I feed 
puffy.


Now there's security.


Run your ethernet cables through the lion. You'd just need to wrap one 
end

in bacon and wait for a while.



confusion over getrusage(2)

2010-12-29 Thread patsy
Hello list,

I have written a program and would like to trace its memory usage as it runs 
and output the data to a file for easy logging/comparison/graphing.

getrusage(2) looks as though it would be appropriate for this. Unfortunately I 
seem to be misunderstanding how it should be used, since I would not expect the 
program below to output five 0's, yet it does on 4.8-release (i386) and a 
slightly out of date 4.8-current (amd64).

Could somebody give me a hint as to where my misunderstanding lies or how else 
I might track the memory usage of my program?

Many thanks,
Patsy



#include stdio.h
#include sys/time.h
#include sys/resource.h

int main()
{
struct rusage val;
int retval;
long buf[1];

retval = getrusage(RUSAGE_SELF, val);

printf(retval = %d\n, retval);
printf(mem = %ld\n, val.ru_maxrss);
printf(mem = %ld\n, val.ru_ixrss);
printf(mem = %ld\n, val.ru_idrss);
printf(mem = %ld\n, val.ru_isrss);

return 0;
}



Re: BitCoin on OpenBSD

2010-12-12 Thread patsy
On Sat, Dec 11, 2010 at 02:28:53PM +0100, Cato Auestad wrote:
 Is anyone working on a port for it?

It requires wxWidgets 2.9.0, the version in ports is 2.8.11 (it says not to 
even try with 2.8).

Patsy



Re: symbol ( - - - - ) size mismatch, relink your program

2010-12-11 Thread patsy
On Sat, Dec 11, 2010 at 11:07:02PM +0200, Mihai Popescu B.S. wrote:
 Sorry folks,
 
 First, my ATI HD4350 refused to startx, effectively putting my display
 in some unusable state: I had to remove power from display to get it
 back online. I searched the archive and found out that Xorg became a
 joke since Intel put some code in it. Too sad.
 Then I got the messages about symbol size mismatch. I've installed
 empathy but got some strange messages like Cannot execute the script
 ... (not a manual?) and empathy refused to start being unable to load
 some lib.so files. Now I replaced the ATI HD4350 with ATI X1650 and
 managed to get X working.
 Are there new things in snapshot which I don't know ? Should I wait
 for another compile of packages, to have a date close to the base
 compile time ?
 If X is so crappy, is there another thing to use ?
 
 Many thanks.
 

I don't mean to brag, but my Radeon HD4350 works fine with X. Sending
a dmesg to the list is never a bad idea if hardware is misbehaving.
Are you using an xorg.conf?

Incidentally, if you are using a snapshot then you should use the
ports.tar.gz that comes with the snapshot, the packages that may be
available won't necessarily work (they usually do, but it's not by
design). There was a thread about it recently, I'm afraid I can't
recall the title though.

Patsy



Geomview man page woes

2010-12-11 Thread patsy
Hello list,

Attached is my current port of geomview - it's functionally unchanged
from the previous port.

I'm having a slight problem with the man pages though. Geomview is
adamant that their extension should be .Ngv (N == section). The man
command doesn't find such files, however, if I rename them to .N all is
well.

Is there a precedent for dealing with this? It looks as though editing
/etc/man.conf would work, but it seems...messy. I tried to look at the
FreeBSD port, but FreeBSD seems quite happy with the .Ngv extension.

It works on what was -current/amd64 about a week ago (and has been
working consistently on -current/amd64's since my original submission.


Any advice would be appreciated.

Patsy

[demime 1.01d removed an attachment of type application/x-tar-gz]



Re: OT - gmail alternatives

2010-12-09 Thread patsy
On Thu, Dec 09, 2010 at 03:33:26PM -0800, James Hozier wrote:
 The only issue I have with running my own mail server is that I can receive 
 e-mails, but for whatever reason I cannot send out e-mails. I'm assuming it's 
 because mail servers are denying e-mails from my IP or something since I'm on 
 a residential connection. It doesn't even reach the Spam box, just doesn't 
 show up at all even though a test with telnet says the mail was successfully 
 sent out.

 
I believe it's an issue with DNS records. If I recall correctly, you need to 
ask your ISP to change some DNS records. I don't recall what needs to be done, 
perhaps somebody else can clarify this.

At the risk of sounding like an advertisement, dyndns.com's outbound mailhop 
service gives you an SMTP server you can send email from: it's the one I use 
and I've so far had no problems sending email.

Patsy



Re: Sun SMP Hardware [was RE: Version 4.0 release ]

2006-10-11 Thread Patsy
 So far, every reply has been, It's yours if you pay
 to ship it.
 Count me in; I will help pay shipping as well.

Count me in too, I have slightly limited funds but will help as much as I can. 
Please contact me off list if I can be of any use.

Patsy



Re: kernel rebuild - and rebuild userland?

2006-09-20 Thread Patsy
On Wed, 20 Sep 2006, John Costello wrote:

 This is in regards to a 3.9 system that I installed and am patching.

 After rebuilding the kernel (patches 007 and 009), is it , unnecessary,
 necessary, advised, or imperative to rebuild userland (FAQ 5.3.5)?
 Thanks,

Imperative.

Your programs might work, but they might not, or they might work
unpredictably. The kernel, userland (and ports for that matter) are all
intended to be kept in sync, not half -stable and half -release, so if you
have a -stable kernel, you should have a -stable userland as well. i.e.
yes, rebuild your userland.

Hope this helps,
Patsy



Re: kernel rebuild - and rebuild userland?

2006-09-20 Thread Patsy
On Wed, 20 Sep 2006, Greg Thomas wrote:

 On 9/20/06, Patsy [EMAIL PROTECTED] wrote:
  On Wed, 20 Sep 2006, John Costello wrote:
 
   This is in regards to a 3.9 system that I installed and am patching.
  
   After rebuilding the kernel (patches 007 and 009), is it , unnecessary,
   necessary, advised, or imperative to rebuild userland (FAQ 5.3.5)?
   Thanks,
  
  Imperative.
 
  Your programs might work, but they might not, or they might work
  unpredictably. The kernel, userland (and ports for that matter) are all
  intended to be kept in sync, not half -stable and half -release, so if you
  have a -stable kernel, you should have a -stable userland as well. i.e.
  yes, rebuild your userland.
 

 Even if he is just patching, not using -stable?

 Greg
I thought you did but after a brief search I can't find anything to
suggest that you need to. Please ignore my last email.

Sorry for the noise.

Patsy



Re: playing flash videos

2006-09-19 Thread Patsy
 I will like to try Gnash, however I am very new, and what is CVS?

 Thanks and best regards,
 Riwan

CVS = Concurrent Versions System
It's a method of source code management/distribution.
http://www.openbsd.org/anoncvs.html

If you're on i386, I'd recommend CVSup ( www.openbsd.org/cvsup.html)
though, it's more efficient and (IMO) easier.

Good luck,
Patsy



Re: Upgrading 3.7 - 3.9

2006-09-19 Thread Patsy
On Tue, 19 Sep 2006, ICMan wrote:
 I want to upgrade from 3.7 to 3.9.  Can someone give me some pointers?
http://www.openbsd.org/faq/upgrade39/html

Particularly the sentence:Upgrades are only supported from one release to
the release immediately following it. Do not skip releases.

so I think a reasonable pointer would be: upgrade to 3.8, then to 3.9,
or if that's too much hassle, reinstall, it's probably a lot simpler.

Regards,
Patsy



Re: OpenSSH Server

2006-04-27 Thread Patsy
http://www.openssh.com/openbsd.html

Basically it is installed, client and server.

Take a peek in /etc/rc.conf to find 'sshd_flags' to see if sshd (the
server) starts when you boot.

Patsy

On Thu, 27 Apr 2006, David B. wrote:

 3.8 on sparc64.
 How do I determine if OpenSSH is installed on my box? (command line only, no
 X11),
 and whether it's a server versus a client?  I'm getting to the stage where I
 need to
 be able to log into my server remotely.

 thanks



Re: (newbie) a network related question

2006-03-14 Thread Patsy
On Tue, 14 Mar 2006, FTP wrote:

 Hi there,

 my question isn't really OBSD related but I would like to ask if the 
 following scenario can be implemented by using a two NICs OBSD box!

 If I get a static IP from my provider, is it possible to 'multiple' this and 
 create my own static IPs which are accessible via the Internet? If the answer 
 is 'yes', is this done via PF configuration?

 To make the above more clear. If I have following set-up:

 Server 1 : 10.1.1.1 -- router ADSL
 Server 2 : 10.1.1.2 -- router ADSL-- 86.178.23.4
 Server 3 : 10.1.1.3 -- router ADSL

 can I convert to soemthing like this:

 Server 1 : 10.1.1.1 -- router ADSL-- 86.x.x.x1 (public 
 static IP!)
 Server 2 : 10.1.1.2 -- router ADSL-- 86.178.23.4
 Server 3 : 10.1.1.3 -- router ADSL-- 86.x.x.x2 (public 
 static IP!)
 
 Server N : 10.1.1.N -- router ADSL-- 86.x.x.xN (public 
 static IP!)

 Thanks for your time



Hello,

No it's not possible, your ISP would only send you information that was
destined for the static IP address it assigned you. All data sent
to the other IP's would go to their rightful destination (if the IP
addresses are being used elsewhere) or they would be dropped by your ISP.

Patsy