Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> Mike Pritchard writes: : Here are the codes for the Compaq "Easy Access Internet Keyboard". : They also have a newer version with even more buttons, but I don't : have access to one, so I can't supply the codes for it. If someone : is going to do some work to get th

Re: PC Keyboard Scancodes

2000-04-14 Thread Mike Pritchard
Here are the codes for the Compaq "Easy Access Internet Keyboard". They also have a newer version with even more buttons, but I don't have access to one, so I can't supply the codes for it. If someone is going to do some work to get the Microsoft keyboard's extra keys to work, it shouldn't be har

Re: kernel file I/O

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Parthasarathy M. Aji" writes: : I know how to read and write to a text file in the user level , but I am : assigned the task of reading data from a file while writing a kernel : level C program. I don't know what functions to use, can any of you help : me. If you

Re: PC Keyboard Scancodes

2000-04-14 Thread Daniel O'Connor
On 14-Apr-00 Warner Losh wrote: > That's what I'm seeing here. > now, to find some time to "package" it into something the FreeBSD can > use. > > And also to hack XFree86 into groking them. > > Ah, but that would require that I have something like freetime. Well, I can probably get FreeBSD to

Re: kernel file I/O

2000-04-14 Thread Gary T. Corcoran
Parthasarathy M. Aji wrote: > > Hey All, > I know how to read and write to a text file in the user level , but I am > assigned the task of reading data from a file while writing a kernel > level C program. I don't know what functions to use, can any of you help > me. If you can point me to some

kernel file I/O

2000-04-14 Thread Parthasarathy M. Aji
Hey All, I know how to read and write to a text file in the user level , but I am assigned the task of reading data from a file while writing a kernel level C program. I don't know what functions to use, can any of you help me. If you can point me to some web links or some code it would be reall

Re: Authorization broken in 4.0 REL/XDM?

2000-04-14 Thread Robert Withrow
Ted is still the man, but the patch I sent earlier had a typo that prevents correct authorization processing... To recap, in 4.0 REL, xdm is built with the ability to do XDM-AUTHORIZATION-1, but, apparently, the servers are not. This prevents all clients from connecting to the server. The follo

Re: XDR porting problems

2000-04-14 Thread vns
Hi! Just try to use the next hack: #define xdrproc_t hack_xdrproc_t #include #undef xdrproc_t typedef bool_t (*xdrproc_t) __P((XDR *, void *, ...)); But probably it's better to fix this problem in the /usr/src/include/rpc/xdr.h file. With best regards, Vladimir Silyaev ---

Re: login.conf question

2000-04-14 Thread James Halstead
Actually I tested this theory (all with remote logins, not sued) and it let me login 13 times (maxproc set to 12) however once i hit the 11'th login it made all the logins useless. Anytime i tried to run a process I got an error from bash that it could not fork. After the 11'th login i got this er

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> Anatoly Vorobey writes: : Also this may be of help: : : http://www.microsoft.com/hwdev/desinit/scancode.htm : : It doesn't seem to contain anything about enabling them though, seems : like they should just emit the scancodes listed. That's what I'm seeing he

Re: login.conf question

2000-04-14 Thread Bhishan Hemrajani
Instead of using sessionlimit, why don't you limit the number of processes. That way, the number of shells that they can have is limited also. --bhishan > > That might make sence at first, but that should still keep one person from > logging in more than 4 times. Also i tested the session time

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> Anatoly Vorobey writes: : Use this simple prog to cough up the scancodes: OK. Looks like the new microsoft keyboard that I have does indeed just send the scan codes. I have just a few keys: Key DownUp --

XDR porting problems

2000-04-14 Thread Nick Sayer
in RELENG_4, /usr/src/include/rpc/xdr.h, there is... #ifdef _KERNEL typedef bool_t (*xdrproc_t) __P((XDR *, void *, u_int)); #else /* * XXX can't actually prototype it, because some take two args!!! */ typedef bool_t (*xdrproc_t) __P((/* XDR *, void *, u_int */)); #endif This causes heartburn

Re: vnode_free_list corruption [patch]

2000-04-14 Thread Matthew Dillon
:On Fri, Apr 14, 2000, Dave Chapeskie wrote: :> Greetings. :> :> I've been seeing a rash of "free vnode isn't" panics lately. Some :> machines were panicing several times a day. Along with this we saw :> occasional "object inconsistent state: RPC: %d, RC: %d" messages. : : :Throw it into a PR,

Re: vnode_free_list corruption [patch]

2000-04-14 Thread Adrian Chadd
On Fri, Apr 14, 2000, Dave Chapeskie wrote: > Greetings. > > I've been seeing a rash of "free vnode isn't" panics lately. Some > machines were panicing several times a day. Along with this we saw > occasional "object inconsistent state: RPC: %d, RC: %d" messages. Throw it into a PR, and I'll

vnode_free_list corruption [patch]

2000-04-14 Thread Dave Chapeskie
Greetings. I've been seeing a rash of "free vnode isn't" panics lately. Some machines were panicing several times a day. Along with this we saw occasional "object inconsistent state: RPC: %d, RC: %d" messages. I was able to replicate the problem by running multiple (~8 on a pentium 200 system

Re: PC Keyboard Scancodes

2000-04-14 Thread Anatoly Vorobey
On Sat, Apr 15, 2000 at 01:43:40AM +0930, Daniel O'Connor <[EMAIL PROTECTED]\ >,Daniel O'Connor wrote: > > On 14-Apr-00 Warner Losh wrote: > > I also yesterday got one of those damn microsoft internet keyboards > > and it has lots of extra keys that don't show up either. Including > > the W

Re: PC Keyboard Scancodes

2000-04-14 Thread Anatoly Vorobey
> I will see if I can try what Anatoly suggests.. :) Use this simple prog to cough up the scancodes: #include #include #include #include #include void die(char *str) { perror(str); exit(0); } int main(void) { int err, mode; struct termios term_saved, term; int i; char ch; e

RE: PC Keyboard Scancodes

2000-04-14 Thread Koster, K.J.
> > > explicitly enable the extra keys? > I think Windows NT makes it pretty easy to snoop a serial port on the local machine. I wonder if that also applies to the keyboard port as well. Otherwise, we need someone with a good old logic analyser. :-) Kees Jan

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Daniel O'Connor <[EMAIL PROTECTED]>,Daniel O'Connor" writes: : I couldn't find any info about the technical jiggery pokery of them on the web : though :( Yea. Once I get a few minutes to play with it, I'll see what's up. In the past when I've had keyboards with e

Re: PC Keyboard Scancodes

2000-04-14 Thread Daniel O'Connor <[EMAIL PROTECTED]>,Daniel O'Connor
On 14-Apr-00 Warner Losh wrote: > I also yesterday got one of those damn microsoft internet keyboards > and it has lots of extra keys that don't show up either. Including > the Wakeup, Sleep and power. My belief is that maybe you have to > explicitly enable the extra keys? Could be :-/ I coul

Re: PC Keyboard Scancodes

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Daniel O'Connor" writes: : I put together a new PC and noticed the keyboard I bought has 3 extra keys : (Wakeup, Sleep, and Power). I wondered if they could be used by mapping : scancodes to the corresponding meanings, but I can't find the scan codes. I also yester

Re: Misuse of options BRIDGE?

2000-04-14 Thread Luigi Rizzo
> I've got a machine I'm trying to use to break a /24 into a few smaller > groups. I've got it options BRIDGE in the kernel, four ethernet cards > (mx0, pn0, ed0, ed1), and need to figure out the right way to do this: sysctl -w net.link.ether.bridge=1 is necessary to enable bridging, and you need

Re: PC Keyboard Scancodes

2000-04-14 Thread Anatoly Vorobey
You, Daniel O'Connor, were spotted writing this on Fri, Apr 14, 2000 at 05:54:16PM +0930: > Hi, > I put together a new PC and noticed the keyboard I bought has 3 extra keys > (Wakeup, Sleep, and Power). I wondered if they could be used by mapping > scancodes to the corresponding meanings, but I c

No Subject

2000-04-14 Thread Anandamoy Roychowdhury
unsubscribe To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

PC Keyboard Scancodes

2000-04-14 Thread Daniel O'Connor
Hi, I put together a new PC and noticed the keyboard I bought has 3 extra keys (Wakeup, Sleep, and Power). I wondered if they could be used by mapping scancodes to the corresponding meanings, but I can't find the scan codes. I made a keymap file which mapped the scan codes from 109 to 255 to 'deb

Misuse of options BRIDGE?

2000-04-14 Thread Kris Kirby
I've got a machine I'm trying to use to break a /24 into a few smaller groups. I've got it options BRIDGE in the kernel, four ethernet cards (mx0, pn0, ed0, ed1), and need to figure out the right way to do this: I've got /24 on one side of the machine. I need a /27 (0-32) to be seen on both side

Re: Setting device options

2000-04-14 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Gary T. Corcoran" writes: : I'm sorry, but I don't know what "hints" are. Can you briefly explain : (to start)? OK. hints are what are set by the isa hints driver. I have a driver that will set these at boot, but it isn't quite ready to be distributed. Your bes