passing events to userland

2003-10-11 Thread edscott wilson garcia
Hi,

I'm using Hiroyuki's toshiba_acpi patch (posted on the freebsd-mobile
list), and it captures the extra buttons for acpi settings. I want to
use such events to do things in userland.

Does anybody know how to pass make a kernel module generate a specific
keypress event in userland?

Any ideas or pointers to where to look will be greatly
appreciated. Maybe there is some kernel module that I can examine the
code? Using 5.1-RELEASE.

regards,

Edscott 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


toshiba-acpi-extras

2003-08-17 Thread edscott wilson garcia

Does anybody know if there are plans to port the toshiba-acpi-extras
from linux to the freebsd kernel? Without these additional acpi
variables it is not possible to adjust the LCD brightness for recent
Toshiba laptops (satellite 2400,2450,2455 and others). Not being able to
dim the LCD screen is a real bummer.



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ehci in kernel

2003-07-28 Thread edscott wilson garcia
I have already done everything to make my usb keyboard work in FreeBSD
(both 4.8 and 5.1) to no avail. It detects is correctly and sets it up
as supposed to, but the show does not go on. 

In linux the usbkeyboard works but there is also a ehci controller
loaded (ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller). I
took a shot in the dark and added  

   optionsehci

to the kernel configuration, but compilation bombs complaining about
missing modules at the link stage. What else is needed to get the ehci
controller to work? Or what is supposed to be done in this case? 

TIA

Edscott



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


incorrect keyboard response

2003-07-28 Thread edscott wilson garcia
I am installing FreeBSD on a new laptop but have problems with the
keyboard within X. 

Symptoms: if the pause between stroking key1 and key2 is short, key1 is
repeated.  

When: FreeBSD 5.1, always. FreeBSD 4.8, only when  the XKEYBOARD
extension is enabled. 

I've tried modifying the key repeat rate, both in X and on console, to
no avail. 

The problem is not present in Linux or in older laptops.

Laptop configuration: Toshiba [EMAIL PROTECTED], 533MHz system bus,
nvidia-geoforce4-32MB.

TIA

Edscott

Option  "XkbDisable" is not set.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


checking for headers

2003-01-22 Thread edscott wilson garcia


Hi,

  I'm trying to get a "configure" program to check for dbh.h, but the
following line only checks in /usr/include:

AC_CHECK_HEADERS(dbh.h, ac_cv_dbh_library=yes, ac_cv_dbh_library=no)

The generated configure in Linux searches both /usr/include and
/usr/local/include, but not in FreeBSD. What do I have to add so that it
will search /usr/local/include in FreeBSD?

MTIA,


Edscott Wilson Garcia


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message



front end to pkg_xxx

2002-09-24 Thread edscott wilson garcia


I've been thinking about writing a gtk2 frontend for the pkg_ series of
programs (pkg_add, pkg_create, pkg_delete, pkg_info, pkg_update,
pkg_version) but maybe it's already been done. Has it been done before?

Edscott Wilson Garcia


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message