Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Niclas Zeising
On 11/24/12 14:38, Hans Petter Selasky wrote: On Saturday 24 November 2012 14:24:07 Niclas Zeising wrote: On 11/24/12 14:19, Hans Petter Selasky wrote: On Saturday 24 November 2012 13:54:45 Niclas Zeising wrote: On 11/24/12 13:23, Niclas Zeising wrote: On 11/24/12 13:17, Hans Petter Selasky w

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Hans Petter Selasky
On Saturday 24 November 2012 14:24:07 Niclas Zeising wrote: > On 11/24/12 14:19, Hans Petter Selasky wrote: > > On Saturday 24 November 2012 13:54:45 Niclas Zeising wrote: > >> On 11/24/12 13:23, Niclas Zeising wrote: > >>> On 11/24/12 13:17, Hans Petter Selasky wrote: > On Saturday 24 Novembe

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Niclas Zeising
On 11/24/12 14:19, Hans Petter Selasky wrote: On Saturday 24 November 2012 13:54:45 Niclas Zeising wrote: On 11/24/12 13:23, Niclas Zeising wrote: On 11/24/12 13:17, Hans Petter Selasky wrote: On Saturday 24 November 2012 12:13:49 Hans Petter Selasky wrote: On Saturday 24 November 2012 00:00:

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Hans Petter Selasky
On Saturday 24 November 2012 13:54:45 Niclas Zeising wrote: > On 11/24/12 13:23, Niclas Zeising wrote: > > On 11/24/12 13:17, Hans Petter Selasky wrote: > >> On Saturday 24 November 2012 12:13:49 Hans Petter Selasky wrote: > >>> On Saturday 24 November 2012 00:00:44 Niclas Zeising wrote: > Hi!

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Niclas Zeising
On 11/24/12 13:23, Niclas Zeising wrote: On 11/24/12 13:17, Hans Petter Selasky wrote: On Saturday 24 November 2012 12:13:49 Hans Petter Selasky wrote: On Saturday 24 November 2012 00:00:44 Niclas Zeising wrote: Hi! I have a couple of questions about USB. I recently bought a new USB keyboard,

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Niclas Zeising
On 11/24/12 13:17, Hans Petter Selasky wrote: On Saturday 24 November 2012 12:13:49 Hans Petter Selasky wrote: On Saturday 24 November 2012 00:00:44 Niclas Zeising wrote: Hi! I have a couple of questions about USB. I recently bought a new USB keyboard, a Logitech K120. When attaching this to a

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Hans Petter Selasky
On Saturday 24 November 2012 12:13:49 Hans Petter Selasky wrote: > On Saturday 24 November 2012 00:00:44 Niclas Zeising wrote: > > Hi! > > I have a couple of questions about USB. > > I recently bought a new USB keyboard, a Logitech K120. When attaching > > this to a FreeBSD system, however, it is

Re: Questions about USB, uhid, ukbd and quirks

2012-11-24 Thread Hans Petter Selasky
On Saturday 24 November 2012 00:00:44 Niclas Zeising wrote: > Hi! > I have a couple of questions about USB. > I recently bought a new USB keyboard, a Logitech K120. When attaching > this to a FreeBSD system, however, it is detected as a hid device > (attaching to uhid) rather than a keyboard (atta

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
Fri, Dec 31, 2010 at 01:39:03PM -0500, Eitan Adler wrote: > Thank you. I was stuck for a week on the ncurses issue - but now I > don't think I will have that problem anymore. :-} No problems, glad to help ;)) While we're on this topic, may I suggest to meld two buttons, "Accept the license" and "

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eitan Adler
Thank you. I was stuck for a week on the ncurses issue - but now I don't think I will have that problem anymore. :-} On Fri, Dec 31, 2010 at 5:49 AM, Eygene Ryabinkin wrote: > Thu, Dec 30, 2010 at 07:03:44PM -0500, Eitan Adler wrote: >> 2) The "help" screen just doesn't show up despite having tex

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
Thu, Dec 30, 2010 at 07:03:44PM -0500, Eitan Adler wrote: > 2) The "help" screen just doesn't show up despite having text and a > border and not generating any errors (which are all checked) You're using 'frameCols' while calculating windowStatList[HELP].rowStart, so your window is starting somewh

Re: questions relating to ncurses and dialog(1)

2010-12-31 Thread Eygene Ryabinkin
Eitan, good day. Thu, Dec 30, 2010 at 07:03:44PM -0500, Eitan Adler wrote: > 1) When clicking the "View" button on the license window (using the > withlicense.sh script) I fork() and then exec less. Less opens fine - > but when I hit "q" it seems that any actions I took in less also took > place i

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-17 Thread John Baldwin
On Friday, September 17, 2010 1:42:44 pm Andrey Simonenko wrote: > On Thu, Sep 16, 2010 at 02:16:05PM -0400, John Baldwin wrote: > > On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > > > The mtx_owned(9) macro uses this property, mtx_owned() does not use > > > anything > > > spe

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-17 Thread Andrey Simonenko
On Thu, Sep 16, 2010 at 02:16:05PM -0400, John Baldwin wrote: > On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > > > "Current" value means that the value of a variable read by one thread > > is equal to the value of this variable successfully updated by another > > thread by the

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-17 Thread John Baldwin
On Thursday, September 16, 2010 11:24:29 pm Benjamin Kaduk wrote: > On Thu, 16 Sep 2010, John Baldwin wrote: > > > On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > > > >> The mtx_owned(9) macro uses this property, mtx_owned() does not use > >> anything > >> special to compare

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-16 Thread Benjamin Kaduk
On Thu, 16 Sep 2010, John Baldwin wrote: On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: The mtx_owned(9) macro uses this property, mtx_owned() does not use anything special to compare the value of m->mtx_lock (volatile) with current thread pointer, all other functions that

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-16 Thread John Baldwin
On Thursday, September 16, 2010 1:33:07 pm Andrey Simonenko wrote: > On Wed, Sep 15, 2010 at 08:46:00AM -0700, Matthew Fleming wrote: > > I'll take a stab at answering these... > > > > On Wed, Sep 15, 2010 at 6:44 AM, Andrey Simonenko > > wrote: > > > Hello, > > > > > > I have questions about mut

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-16 Thread Andrey Simonenko
On Wed, Sep 15, 2010 at 08:46:00AM -0700, Matthew Fleming wrote: > I'll take a stab at answering these... > > On Wed, Sep 15, 2010 at 6:44 AM, Andrey Simonenko > wrote: > > Hello, > > > > I have questions about mutex implementation in kern/kern_mutex.c > > and sys/mutex.h files (current versions

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-15 Thread John Baldwin
On Wednesday, September 15, 2010 11:46:00 am Matthew Fleming wrote: > I'll take a stab at answering these... > > On Wed, Sep 15, 2010 at 6:44 AM, Andrey Simonenko > wrote: > > Hello, > > > > I have questions about mutex implementation in kern/kern_mutex.c > > and sys/mutex.h files (current versio

Re: Questions about mutex implementation in kern/kern_mutex.c

2010-09-15 Thread Matthew Fleming
I'll take a stab at answering these... On Wed, Sep 15, 2010 at 6:44 AM, Andrey Simonenko wrote: > Hello, > > I have questions about mutex implementation in kern/kern_mutex.c > and sys/mutex.h files (current versions of these files): > > 1. Is the following statement correct for a volatile pointer

Re: questions on development(7)

2007-12-18 Thread Jeremie Le Hen
Hi, Sorry for the late reply. On Fri, Nov 09, 2007 at 04:56:24AM +, Aryeh M. Friedman wrote: > 4. Mergemaster behaves strange now: everytime I run it does a > buildworld before doing the merge (even if I just did a > installworld)... also it seems to default this to /usr/src2 (which is > mo

Re: questions on development(7)

2007-11-14 Thread Adrian Chadd
On 15/11/2007, Simon 'corecode' Schubert <[EMAIL PROTECTED]> wrote: > This is due to the fact that CVS doesn't have changesets. It is too > late now and it is also quite complicated to explain, but it boils down > to the fact that aggregating changesets will remove information, namely > the singl

Re: questions on development(7)

2007-11-14 Thread Simon 'corecode' Schubert
Giorgos Keramidas wrote: >>> I'm only tracking 'HEAD' most of the time, but there are some efforts >>> underway to convert the history of src/. One notable example is the >>> effort to convert to Subversion first, and then use the tags/branches >>> and changesets of Subversion to populate an Hg tr

Re: questions on development(7)

2007-11-14 Thread Giorgos Keramidas
On 2007-11-14 19:08, Simon 'corecode' Schubert <[EMAIL PROTECTED]> wrote: > [cc cleaned, dropped -current] > >Giorgos Keramidas wrote: >> I'm only tracking 'HEAD' most of the time, but there are some efforts >> underway to convert the history of src/. One notable example is the >> effort to conver

Re: questions on development(7)

2007-11-14 Thread Simon 'corecode' Schubert
OutbackDingo wrote: >> I suppose you know about fromcvs. I also guess you know that I suggest >> using git instead of hg. Doesn't produce nasty large index files either :) > So would you think cvs -> git -> hg might be easier to accomplish ?? > Since one of my goals is to update projects Ive done

Re: questions on development(7)

2007-11-14 Thread OutbackDingo
> I suppose you know about fromcvs. I also guess you know that I suggest > using git instead of hg. Doesn't produce nasty large index files either :) > > cheers > simon So would you think cvs -> git -> hg might be easier to accomplish ?? Since one of my goals is to update projects Ive done b

Re: questions on development(7)

2007-11-14 Thread Simon 'corecode' Schubert
[cc cleaned, dropped -current] Giorgos Keramidas wrote: > I'm only tracking 'HEAD' most of the time, but there are some efforts > underway to convert the history of src/. One notable example is the > effort to convert to Subversion first, and then use the tags/branches > and changesets of Subvers

Re: questions on development(7)

2007-11-14 Thread Giorgos Keramidas
On 2007-11-14 15:31, OutbackDingo <[EMAIL PROTECTED]> wrote: > All ive seen in FreeBSD hg branches is a current and a releng_6 Id > like to see a complete tree converted if there is one out there. I do > have some bandwidth to potentially host such a conversion for others. > question is does one ex

Re: questions on development(7)

2007-11-14 Thread Giorgos Keramidas
On 2007-11-14 17:48, Daniel O'Connor <[EMAIL PROTECTED]> wrote: >> I've been using a 'converted' tree for almost a year and a half now, >> to keep a local mirror of the src repository at `/ws/freebsd/head' on >> my laptop. The first clean import of the current tree I am using was >> done during la

Re: questions on development(7)

2007-11-13 Thread OutbackDingo
All ive seen in FreeBSD hg branches is a current and a releng_6 Id like to see a complete tree converted if there is one out there. I do have some bandwidth to potentially host such a conversion for others. question is does one exist ? On Wed, 2007-11-14 at 17:48 +1030, Daniel O'Connor wrote: > On

Re: questions on development(7)

2007-11-13 Thread Daniel O'Connor
On Wed, 14 Nov 2007, Giorgos Keramidas wrote: > * Periodic 'imports' of the FreeBSD src/ tree as 'vendor' code > > * Incremental conversion of /home/ncvs/src in 'changesets' > > I've been using a 'converted' tree for almost a year and a half now, > to keep a local mirror of the src repository a

Re: questions on development(7)

2007-11-13 Thread Mike Meyer
On Tue, 13 Nov 2007 21:45:30 +0200 Giorgos Keramidas <[EMAIL PROTECTED]> wrote: > > I wonder if ther is a way we could broadcast changes to the p4 'head' > > branch so that people could keep their own p4 servers up to date. > > Unfortunately, no. Perforce is not easy to 'mirror' around the world,

Re: questions on development(7)

2007-11-13 Thread Giorgos Keramidas
On 2007-11-09 11:23, Julian Elischer <[EMAIL PROTECTED]> wrote: > ok having done this for years here's how it goes. If you have a > private CVS repo mirroring the FreeBSD tree then you can keep your > changes up to date in your "checked out" source tree. but you can > generally not check them in a

Re: questions on development(7)

2007-11-09 Thread Julian Elischer
OutbackDingo wrote: On Fri, 2007-11-09 at 14:43 +, Tom Evans wrote: On Fri, 2007-11-09 at 21:49 +0800, OutbackDingo wrote: well thats kinda hard to do with CVS, though other revision systems such as mercurial, bazaar, git and perforce, even subversion do it well, there is also a mercurial r

Re: questions on development(7)

2007-11-09 Thread Stefan Sperling
> > You won't be able to commit to the BSD repo from your server. Well, Aryeh wants to commit to a _local_ copy of the BSD repo. This works. See development(7). One thing the man page does not mention is that you need to change the commit hook in CVSROOT (which you only copy on first sync and nev

Re: questions on development(7)

2007-11-09 Thread Beech Rintoul
On Thursday 08 November 2007, Aryeh M. Friedman said: > First of all I am posting to both -current and -hackers because > -hackers seems to be very low volume. Please do not cross post. It is considered bad form and generates thousands of unnecessary emails. Beech -- -

Re: questions on development(7)

2007-11-09 Thread Giorgos Keramidas
On 2007-11-09 21:49, OutbackDingo <[EMAIL PROTECTED]> wrote: > well thats kinda hard to do with CVS, though other revision systems such > as mercurial, bazaar, git and perforce, even subversion do it well, > there is also a mercurial respository for FreeBSD out there some where That is cool, but i

Re: questions on development(7)

2007-11-09 Thread James
On Fri, 2007-11-09 at 05:47 +, Aryeh M. Friedman wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > > > > > If you keep a local repo, and checkout from the local repo, then > > your checkout will merge the changes (unless there are conflicts). > > Thanks the fact I know the an

Re: questions on development(7)

2007-11-09 Thread OutbackDingo
On Fri, 2007-11-09 at 14:43 +, Tom Evans wrote: > On Fri, 2007-11-09 at 21:49 +0800, OutbackDingo wrote: > > well thats kinda hard to do with CVS, though other revision systems such > > as mercurial, bazaar, git and perforce, even subversion do it well, > > there is also a mercurial respositor

Re: questions on development(7)

2007-11-09 Thread Tom Evans
On Fri, 2007-11-09 at 21:49 +0800, OutbackDingo wrote: > well thats kinda hard to do with CVS, though other revision systems such > as mercurial, bazaar, git and perforce, even subversion do it well, > there is also a mercurial respository for FreeBSD out there some where > > On Fri, 2007-11-09 at

Re: questions on development(7)

2007-11-09 Thread OutbackDingo
well thats kinda hard to do with CVS, though other revision systems such as mercurial, bazaar, git and perforce, even subversion do it well, there is also a mercurial respository for FreeBSD out there some where On Fri, 2007-11-09 at 05:36 +, Aryeh M. Friedman wrote: > >> > >> 2. If yes to #1

Re: questions on development(7)

2007-11-09 Thread Ian FREISLICH
"Aryeh M. Friedman" wrote: > First of all I am posting to both -current and -hackers because > -hackers seems to be very low volume. > > I just set up a master server development server using the procedure > in development(7) which was fairly clear but left a few questions > unanswered (and one od

Re: questions on development(7)

2007-11-09 Thread Eric Anderson
On Nov 8, 2007, at 11:36 PM, Aryeh M. Friedman wrote: 2. If yes to #1 how do I setup keeping everything except my modified code in sync (and if possible to retro activally apply patchs from the local branch unto the main source tree [/usr/src2]) You won't be able to commit to the BSD re

Re: questions on development(7)

2007-11-09 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 OutbackDingo wrote: > well thats kinda hard to do with CVS, though other revision systems > such as mercurial, bazaar, git and perforce, even subversion do it > well, there is also a mercurial respository for FreeBSD out there > some where If I need t

Re: questions on development(7)

2007-11-09 Thread Stefan Sperling
On Fri, Nov 09, 2007 at 04:56:24AM +, Aryeh M. Friedman wrote: > 1. If I am modifing code and such should I have a local branch? You can either maintain a local branch or keep backing up your diffs against the main source tree. Which one is better depends on the size of your changes and your w

Re: questions on development(7)

2007-11-09 Thread Aryeh M. Friedman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > > > If you keep a local repo, and checkout from the local repo, then > your checkout will merge the changes (unless there are conflicts). Thanks the fact I know the answer you gave is quite simple but completely over my head shows I need a good tut

Re: questions on development(7)

2007-11-09 Thread Aryeh M. Friedman
>> >> 2. If yes to #1 how do I setup keeping everything except my modified >> code in sync (and if possible to retro activally apply patchs from the >> local branch unto the main source tree [/usr/src2]) > > You won't be able to commit to the BSD repo from your server. I > think you should treat

Re: questions on nonsleepable lock

2007-08-15 Thread Andrey V. Elsukov
Ronnel P. Maglasang wrote: this is getting to be a serious problem in freebsd. i'm also encountering the same panic problem. my box runs on freebsd 6.1 with ipfw, pf, forwarding/routing enabled and several network-based applications. the panic occurs when the system is subjected to a very high

Re: questions on nonsleepable lock

2007-08-15 Thread Ronnel P. Maglasang
this is getting to be a serious problem in freebsd. i'm also encountering the same panic problem. my box runs on freebsd 6.1 with ipfw, pf, forwarding/routing enabled and several network-based applications. the panic occurs when the system is subjected to a very high traffic load and some applicat

Re: questions on nonsleepable lock

2007-08-15 Thread John Baldwin
On Wednesday 15 August 2007 02:27:56 am Nex Mon wrote: > Hello All, > > Can someone point me out or explain the technical details of this kernel > panic: > > sleeping thread (tid 100093, pid 2676) owns nonsleepable lock > panic: sleeping thread > -- > -- > > > Is this caused by incorrect use of

Re: questions on nonsleepable lock

2007-08-15 Thread Roman Divacky
On Wed, Aug 15, 2007 at 05:10:48PM +0800, Nex Mon wrote: > thanks for your reply. > > i didn't use WITNESS. it is disabled. > > is their a list a list of which locks are sleepable and non-sleepable > in FreeBSD6.2? is sleeping triggered by a call to "sleep", IO operation > or a result of context

Re: questions on nonsleepable lock

2007-08-15 Thread Nex Mon
thanks for your reply. i didn't use WITNESS. it is disabled. is their a list a list of which locks are sleepable and non-sleepable in FreeBSD6.2? is sleeping triggered by a call to "sleep", IO operation or a result of context switching by kernel? thanks On 8/15/07, Roman Divacky <[EMAIL PROTECT

Re: questions on nonsleepable lock

2007-08-15 Thread Roman Divacky
On Wed, Aug 15, 2007 at 02:27:56PM +0800, Nex Mon wrote: > Hello All, > > Can someone point me out or explain the technical details of this kernel > panic: > > sleeping thread (tid 100093, pid 2676) owns nonsleepable lock > panic: sleeping thread it just says that some thread owns a nonsleepable

Re: Questions about devices and input.

2006-08-14 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Dag-Erling Smørgrav) writes: : "Sean Bryant" <[EMAIL PROTECTED]> writes: : > How about when media is loaded. I have a detection routine that'll ask : > for media, but what about when any media is loaded? Is there some kind : > of event

Re: Questions about devices and input.

2006-08-14 Thread Intron
The section 4.11.1 "Removable Media Status Notification feature set" of ATA/ATAPI-7 (http://t13.org/docs2004/d1532v1r4b-ATA-ATAPI-7.pdf) reads, d) Host system periodically checks media status using the GET MEDIA STATUS command to determine if any of the following events occurred: - no media is

Re: Questions about devices and input.

2006-08-14 Thread Sean Bryant
Thanks anyway :( On 8/14/06, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: "Sean Bryant" <[EMAIL PROTECTED]> writes: > How about when media is loaded. I have a detection routine that'll ask > for media, but what about when any media is loaded? Is there some kind > of event or some way I can be n

Re: Questions about devices and input.

2006-08-14 Thread Dag-Erling Smørgrav
"Sean Bryant" <[EMAIL PROTECTED]> writes: > How about when media is loaded. I have a detection routine that'll ask > for media, but what about when any media is loaded? Is there some kind > of event or some way I can be notified. Sorry, no. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED]

Re: Questions about devices and input.

2006-08-14 Thread Sean Bryant
How about when media is loaded. I have a detection routine that'll ask for media, but what about when any media is loaded? Is there some kind of event or some way I can be notified. On 8/14/06, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: "Sean Bryant" <[EMAIL PROTECTED]> writes: > I'm writing

Re: Questions about devices and input.

2006-08-14 Thread Sean Bryant
Thanks. Was just checking. On 8/14/06, Dag-Erling Smørgrav <[EMAIL PROTECTED]> wrote: "Sean Bryant" <[EMAIL PROTECTED]> writes: > I'm writing some cd buring software using burncd as a reference. I was > wondering if its possible to detect opening and closing of the doors. Unfortunately, no. The

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: "Intron" <[EMAIL PROTECTED]> writes: "Dag-Erling Smo/rgrav" <[EMAIL PROTECTED]> writes: > How does ridiculing me help Sean? Can your unilateral judgement give real help to Sean? Welcome to my kill file. Enjoy your stay. DES -- Dag-Erling Smo/rgrav -

Re: Questions about devices and input.

2006-08-14 Thread Dag-Erling Smørgrav
"Intron" <[EMAIL PROTECTED]> writes: > "Dag-Erling Smo/rgrav" <[EMAIL PROTECTED]> writes: > > How does ridiculing me help Sean? > Can your unilateral judgement give real help to Sean? Welcome to my kill file. Enjoy your stay. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] __

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: "Intron" <[EMAIL PROTECTED]> writes: "Dag-Erling Smo/rgrav" <[EMAIL PROTECTED]> writes: > "Intron" <[EMAIL PROTECTED]> writes: > > However, software can command the drive to open/close its door. > This is not what Sean wants. I want to tell Sean that he

Re: Questions about devices and input.

2006-08-14 Thread Dag-Erling Smørgrav
"Intron" <[EMAIL PROTECTED]> writes: > "Dag-Erling Smørgrav" <[EMAIL PROTECTED]> writes: > > "Intron" <[EMAIL PROTECTED]> writes: > > > However, software can command the drive to open/close its door. > > This is not what Sean wants. > I want to tell Sean that he is not worth spending time in findin

Re: Questions about devices and input.

2006-08-14 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: "Intron" <[EMAIL PROTECTED]> writes: "Dag-Erling Smo/rgrav" <[EMAIL PROTECTED]> writes: > "Sean Bryant" <[EMAIL PROTECTED]> writes: > > I'm writing some cd buring software using burncd as a reference. > > I was wondering if its possible to detect openin

Re: Questions about devices and input.

2006-08-14 Thread Dag-Erling Smørgrav
"Intron" <[EMAIL PROTECTED]> writes: > "Dag-Erling Smørgrav" <[EMAIL PROTECTED]> writes: > > "Sean Bryant" <[EMAIL PROTECTED]> writes: > > > I'm writing some cd buring software using burncd as a reference. > > > I was wondering if its possible to detect opening and closing of > > > the doors. > > U

Re: Questions about devices and input.

2006-08-13 Thread Intron
Dag-Erling [iso-8859-1] Smo/rgrav wrote: "Sean Bryant" <[EMAIL PROTECTED]> writes: I'm writing some cd buring software using burncd as a reference. I was wondering if its possible to detect opening and closing of the doors. Unfortunately, no. The drive may not even have a door. DES -- Dag-

Re: Questions about devices and input.

2006-08-13 Thread Dag-Erling Smørgrav
"Sean Bryant" <[EMAIL PROTECTED]> writes: > I'm writing some cd buring software using burncd as a reference. I was > wondering if its possible to detect opening and closing of the doors. Unfortunately, no. The drive may not even have a door. DES -- Dag-Erling Smørgrav - [EMAIL PROTECTED] __

Re: Questions about CPU related sysctls

2004-02-26 Thread Philip Reynolds
Craig Rodrigues <[EMAIL PROTECTED]> 27 lines of wisdom included: > What is the difference between these two sysctls? > > kern.smp.cpus: Number of CPUs online > hw.ncpu: Number of active CPUs These two are exactly the same thing from the little SMP I have done with FreeBSD. I would use hw.ncpu, as

Re: Questions on intercepting execve syscall

2003-11-17 Thread Pawel Jakub Dawidek
On Mon, Nov 17, 2003 at 11:02:10AM +0300, Samy Al Bahra wrote: +> > See http://www.enderunix.org/murat/linux_subexec/linux_subexec.c for a simple +> > example. +> +> This is 4.X specific (proc usage). I would just like to note that there is an +> execve symbol which you can reference in your code

Re: Questions on intercepting execve syscall

2003-11-17 Thread Samy Al Bahra
Quoting Murat Balaban <[EMAIL PROTECTED]>: > It might be that you have some bad address in the execve index of sysent > array. This is likely. He could add a printf statement before calling the original execve just to be sure. > See http://www.enderunix.org/murat/linux_subexec/linux_subexec.c f

Re: Questions on intercepting execve syscall

2003-11-16 Thread Kai Zhu
Thanks Murat! I have tried your example, and fixed the problem of my code accordingly. Murat Balaban <[EMAIL PROTECTED]> wrote: Hi, It might be that you have some bad address in the execve index of sysent array. See http://www.enderunix.org/murat/linux_subexec/linux_subexec.c for a simple example

Re: Questions on intercepting execve syscall

2003-11-16 Thread Murat Balaban
Hi, It might be that you have some bad address in the execve index of sysent array. See http://www.enderunix.org/murat/linux_subexec/linux_subexec.c for a simple example. PS: don't mind the naming :). On Sun, Nov 16, 2003 at 07:53:30AM -0800, Kai Zhu wrote: > Hello all, > > I am writing a KLD

Re: Questions

2003-06-30 Thread Paul Robinson
On Sun, Jun 29, 2003 at 08:57:46AM +, Edward Tiruvsky wrote: > i know this might be a long shot but ive got some questions and i was > hoping someone could help me out or point me in the direction of someone > who can...reply through the digest I think you've misunderstood the use of the w

Re: Questions

2003-06-29 Thread Raunchy McSmutbag
becuz you obviously have no idea what this list is about From: "Edward Tiruvsky" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: Questions Date: Sun, 29 Jun 2003 19:18:09 + MIME-Version: 1.0 X-Originating-IP: [63.185.112.139] X-Originating-Email: [EMAIL PROTECTED

Re: Questions

2003-06-29 Thread Raunchy McSmutbag
is this the right list to send this to? From: "Edward Tiruvsky" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Questions Date: Sun, 29 Jun 2003 08:57:46 + MIME-Version: 1.0 X-Originating-IP: [158.253.192.33] X-Originating-Email: [EMAIL PROTECTED] Received: from mx2.freebsd.org ([216.136.20

RE: [Questions] What hardware do you use ?

2002-07-22 Thread Robert L Sowders
[EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [Questions] What hardware do you use ? I'm not on the heckers list at the moment, but the frustrating thing I have found regarding that question is once I have finaly tested something (most often motherboards) and have found i

Re: Questions about kernel/userspace backwards compatibilty between minor revisions

2002-06-09 Thread Alfred Perlstein
* Matthew Emmerton <[EMAIL PROTECTED]> [020609 19:21] wrote: > I' m working on getting OpenAFS working 100% on FreeBSD, and while reviewing > the first set of my patches with the OpenAFS maintainer, some questions > about kernel/userspace backwards compatibility came about. > > More specifically,

Re: Questions about kernel space functions

2001-03-09 Thread Alfred Perlstein
* kaworu <[EMAIL PROTECTED]> [010309 16:34] wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hey, > > Perhaps this is not the right place to post this, if so, I apoligize. But, > I have a dilema. Is there any documentation I can find which gives the > arguments for all kernel space f

Re: questions regarding the MGET function.

2001-02-28 Thread Bosko Milekic
Shankar Agarwal wrote: > Hi, > Can you please tell me when did the MGET function change it > implementation from using MALLOC to using pool_get to allocate a mbuf. I Never. We don't use pool_get(). That's a NetBSD-ism. :-) The mbuf subsystem uses its own allocator and stats are kept in

Re: Questions on i2c

2001-01-11 Thread Nicolas Souchu
On Thu, Jan 04, 2001 at 10:10:41AM +0100, Volker Stolz wrote: > Hi, is someone working actively on new i2c-stuff? > I´d be interested in talking to someone who could take a short peek at > http://www2.lm-sensors.nu/~lm78/info.html, a Linux-site providing > i2c-drivers to various things, and could

Re: Questions on i2c

2001-01-04 Thread Robert Withrow
[EMAIL PROTECTED] said: :- Devices include video-devices like TV-Out on the Voodoo3 which could :- seemingly be enabled using i2c. And, I think, Meade telescopes... -- Robert Withrow -- (+1 978 288 8256) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fre

Re: Questions of the syncer process

2000-04-19 Thread Zhihui Zhang
On Wed, 19 Apr 2000, Matthew Dillon wrote: > : > :I have two questions related to the syncer process that replaces the old > :update process: > : > :(1) The syncer process is waken up once a second (it sleeps on lbolt). If > :I have more than 30 mounted filesystems, then each filesystem's dirty

Re: Questions of the syncer process

2000-04-19 Thread Matthew Dillon
: :I have two questions related to the syncer process that replaces the old :update process: : :(1) The syncer process is waken up once a second (it sleeps on lbolt). If :I have more than 30 mounted filesystems, then each filesystem's dirty data :will stay more than 30 seconds. If I only have a c

Re: Questions regarding memory usage

1999-10-08 Thread Dan Nelson
In the last episode (Oct 08), Mike Smith said: > > > > Does FreeBSD have the following features: > > > > (1) Limit the physical memory it uses even if the machine has larger > > memory without having to pull out the memory chip physically. This should > > be done at the boot time. > > In -cur

Re: Questions regarding memory usage

1999-10-08 Thread Mike Smith
> > Does FreeBSD have the following features: > > (1) Limit the physical memory it uses even if the machine has larger > memory without having to pull out the memory chip physically. This should > be done at the boot time. In -current and (I think) -stable, you can set the 'hw.physmem' tunabl

Re: Questions on new-bus source code

1999-08-11 Thread Nick Hibma
> (2) I guess that the probe process of all devices on the tree is triggered > by root_bus_configure() in subr_bus.c. It is done from top to bottom, > i.e. the probe process should be propagated down the device tree from > root_bus. Am I right? How does this tree structure achieve the dynamic

Re: Questions on new-bus source code

1999-08-11 Thread Nick Hibma
> (2) I guess that the probe process of all devices on the tree is triggered > by root_bus_configure() in subr_bus.c. It is done from top to bottom, > i.e. the probe process should be propagated down the device tree from > root_bus. Am I right? How does this tree structure achieve the dynamic

Re: Questions on new-bus source code

1999-08-07 Thread Doug Rabson
On Fri, 6 Aug 1999, Zhihui Zhang wrote: > > In FreeBSD new-bus architecture, all devices are linked into a device > tree. The root of the tree is root_bus, it has a child called nexus0 added > during the device configuration phase. I have two questions about this > new-bus code: > > (1) What is

Re: Questions on new-bus source code

1999-08-07 Thread Doug Rabson
On Fri, 6 Aug 1999, Zhihui Zhang wrote: > > In FreeBSD new-bus architecture, all devices are linked into a device > tree. The root of the tree is root_bus, it has a child called nexus0 added > during the device configuration phase. I have two questions about this > new-bus code: > > (1) What i