sin()/cos()/tan() for kernel code? '_ 'a

2007-02-11 Thread Eugene M. Kim
Hello all, I am writing a mouse device driver for my Wacom tablet (Intuos 2 9x12). The tablet comes with a mouse and I managed to get valid coordinate data from the device. However, unlike usual mice, the coordinate system is tied not to the orientation of the mouse itself, but to the tablet, wh

Re: portupgrade and dependencies

2006-12-14 Thread Eugene M. Kim
Unfortunately, the semantics of -r and -R options of pkg_info is the opposite of the semantics used by pkgtools (such as portupgrade/portinstall, pkg_glob and so on). Eugene Marek Denis wrote: On Tue, Dec 12, 2006 at 05:55:40PM -0500, Dino Michailidis wrote: portupgrade -r will also upgra

Re: dump(8) performance

2006-05-31 Thread Eugene M. Kim
Dan Nelson wrote: Are you using the -C option to dump? I would expact that to help more in the "dumping directories" step, but it might help later phases too. Yep, -C32. Eugene ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/ma

dump(8) performance

2006-05-31 Thread Eugene M. Kim
While watching the output of iostat -dxz -w10 -n100 to monitor the progress/performance of a dump(8) process straight to a tape, I found out something interesting and disappointing at the same time: The disk read throughput was exactly twice as high as the tape write throughput, throughout the ent

cpu_idle_hlt (Re: Confused about HyperThreading and Performance)

2003-11-13 Thread Eugene M. Kim
John Baldwin wrote: Also, as someone else mentioned, setting 'machdep.cpu_idle_hlt=1' can be useful on some HTT systems. However, p4's have a problem with their interrupt routing that can leave the second CPU halted for a long time if you do that. I have a few quick questions... Searched on

pam_opieaccess.so and opiepasswd -d

2003-10-02 Thread Eugene M. Kim
Greetings, pam_opieaccess.so is documented to allow cleartext password (by returning PAM_SUCCESS) when OPIE is disabled for the user. However, on both -current and 4-stable, pam_opieaccess.so checks whether OPIE is enabled only by checking the existence of the user's record from /etc/opiekeys.

Re: USB "Memorybird" quirks

2002-02-08 Thread Eugene M. Kim
There is hardly a performance issue about 10-byte READ, considering the size of a whole transaction (command + transfer) is at least as large as a disk sector (512 bytes on most modern drives); a four-byte difference is almost nothing here. IMHO the best way is to `try a 10-byte READ first, and i

Re: USB "Memorybird" quirks

2002-02-07 Thread Eugene M. Kim
On Thu, Feb 07, 2002 at 03:52:26PM -0800, Terry Lambert wrote: > > > "Eugene M. Kim" wrote: > > > > This is a common problem of most umass devices that implements BBB > > protocol, and arises from the fact that those devices don't understand > &

Re: USB "Memorybird" quirks

2002-02-07 Thread Eugene M. Kim
This is a common problem of most umass devices that implements BBB protocol, and arises from the fact that those devices don't understand the 6-byte SCSI READ command. You can add a quirk entry to src/sys/cam/scsi_da.c (refer to quirk entries that have DA_Q_NO_6_BYTE). IIRC this problem is being

Re: contigmalloc + contigfree = memory leak?

2001-10-15 Thread Eugene M. Kim
Oops, I'm sorry for the self-reply. Just found a highly helpful thread posted from 11th (`contigfree, free what?'), so please disregard my message. /me bonks his head against a wall that says `mea culpa' Thanks, Eugene On Tue, Oct 16, 2001 at 02:42:17PM +0900, Euge

contigmalloc + contigfree = memory leak?

2001-10-15 Thread Eugene M. Kim
Greetings, QUESTION: Does contigfree() really free up memory allocated using contigmalloc()? BACKGROUND: I've been trying to make up a kmod that allocates/deallocates memory in a specific physical address range. Mike Smith suggested using busdma functions to do the job, so I followed it. After

Re: VM question (I hate Intel 810/815 chipsets...)

2001-10-09 Thread Eugene M. Kim
Thank you for the reply. I also found contigmalloc() shortly after I posted the original question (what an embarrassment ;-p), then met another restriction: Because these memory regions are to be accessed by a userland process (X server), they have to be somehow mapped into the user space. So fa

VM question (I hate Intel 810/815 chipsets...)

2001-10-09 Thread Eugene M. Kim
What would be the best way to allocate: 1) a VM page whose physical address falls within a certain boundary, and 2) a VM object whose pages are contiguous in physical address space? Background: The !@*%^*!&#^%*&!#^$!@ Intel 810/815 graphics controller requires its instruction and hardware cursor

RE: IDE CDRW

2001-01-26 Thread Eugene M. Kim
One more similar question: Does/will FreeBSD support ATAPI CD-R(W) drives in disk-at-once mode, perhaps using burncd(1)? I wanted to burn some audio CDs in that manner but burncd on 4-stable didn't support DAO writing. Thank you, Eugene -Original Message- From: [EMAIL PROTECTED] [mailto

Re: Unicode on FreeBSD

2000-04-05 Thread Eugene M. Kim
If you don't feel right about the current approach by IETF, and you've got enough confidence how it should be, then I strongly suggest you start the work right away. I think there are tons of programmers and other experts, my being one of course, who will gladly give some input towards

Re: Unicode on FreeBSD

2000-04-04 Thread Eugene M. Kim
(which you might not realize until you had to mix all different languages in one document; I did :-p), and there has to be an alternative. I'm not saying that the entire UN*X world should migrate to the Unicode world in months. We all know that is just impossible. Eugene -- Eugene M. Kim <[EMAIL PROTECTED]> "Is your music unpopular? Make it popular; make music which people like, or make people who like your music." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Unicode on FreeBSD

2000-04-03 Thread Eugene M. Kim
On Mon, 3 Apr 2000, Nik Clayton wrote: | On Mon, Apr 03, 2000 at 11:37:22AM -0700, Eugene M. Kim wrote: | > On 2 Apr 2000, Christian Weisgerber wrote: | > | I also think the creating of a freebsd-i18n list is long overdue. | > | I18N issues are largely lost among the traffic on -ha

Re: Unicode on FreeBSD

2000-04-03 Thread Eugene M. Kim
existing non-solutions. I second this idea. Regards, Eugene -- Eugene M. Kim <[EMAIL PROTECTED]> "Is your music unpopular? Make it popular; make music which people like, or make people who like your music." To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Session leader releasing the ctty

1999-06-07 Thread Eugene M. Kim
ow using a workaround that the shell will forward the SIGHUP that it received because it's a session leader, but this isn't a clean way. :-p -- Eugene M. Kim NTT Multimedia Communications Laboratories Software Developer 250 Cambridge Avenue, Suite