History log of /freebsd-10.1-release/etc/devd.conf
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 261509 05-Feb-2014 hselasky

MFC r261260, r261262, r261315 and r261343:
Add support for trackpads found in Apple MacBook products. While at it
add some missing devd entries.


# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 247660 02-Mar-2013 schweikh

Comment cosmetics: capitalize SCSI
Fix some hard tabs in the wrong place.

MFC after: 2 weeks


# 240891 24-Sep-2012 hselasky

Make sure moused is exiting as quick as possible after that the
umsX character device returns a read error. Update devd.conf rules
to use "DEVFS" events which are generated after that the umsX
character device node has been created/destroyed, and then there
should be no need for moused to wait up to 10 seconds for umsX to
be ready. Opening umsX should not fail except if the kernel is low
on memory. In that case the user can replug the USB mouse or use
"usbconfig" to reset the device. In case of USB mouse devices,
moused should neither retry to open its character device,
once the first read error has happened. This is an indication
of device detach.

MFC after: 1 week


# 238308 09-Jul-2012 hrs

Fix a missing ";".


# 226775 26-Oct-2011 hrs

- Add support for a "!" character in regex matching in devd(8). It inverts
the logic (true/false) of the matching.

- Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default
devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached.

Reviewed by: imp


# 225861 29-Sep-2011 wblock

Fix a confusing sentence. [1]
Other wording tweaks.

Reviewed by: imp [1]
Approved by: gjb


# 220168 30-Mar-2011 trasz

Add example devd.conf entry.


# 216983 04-Jan-2011 jpaetzel

Fix typo in default config file.

Approved by: Warner Losh <imp@FreeBSD.org>
MFC after: 3 days


# 215195 12-Nov-2010 emax

Add firmware downloader for Atheros AR3011 based USB Bluetooth devices.

Hardware donated by: Rusty Nejdl rnejdl at ringofsaturn dot com
Tested by: Rusty Nejdl rnejdl at ringofsaturn dot com
Tested by: Andrzej Tobola ato at iem dot pw dot edu dot pl
MFC after: 3 weeks


# 208060 14-May-2010 dougb

Remove trailing white space. No functional changes.


# 207020 21-Apr-2010 thompsa

Change usb devd events from fake attach to a notify. The ugen device is not a
proper device_t so it faked the devctl event to appear like one, this is now a
notify which allows more information to be passed.

We notify for both the device attach/detach and for each usb interface. A devd
rule can now match on the interface properties, including composite devices
which may have a uvideo interface and also usound and possibly uhid too.

An example to match a umass device with a scsi subclass and BBB protocol would be

notify 100 {
match "system" "USB";
match "subsystem" "INTERFACE";
match "type" "ATTACH";
match "intclass" "0x08";
match "intsubclass" "0x06";
match "intprotocol" "0x50";
action ...
};

The old attach devctl event has been retained for the moment to make merging to
8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex
change needed.

Reviewed by: warner
MFC after: 1 week


# 192198 16-May-2009 maxim

o Add missed semicolon in action script.

PR: conf/134579
Submitted by: Lucius Windschuh
MFC after: 1 week


# 187743 26-Jan-2009 sam

Remove DETACH event handling; this is race prone and does nothing useful.
Leave a comment for the next person that thinks they need to be helpful.

Reviewed by: imp, jhb
MFC after: 2 weeks


# 186432 23-Dec-2008 thompsa

Move another block of ASUS events to devd/asus.conf that were missed in r186249


# 186249 17-Dec-2008 thompsa

Add /etc/devd/ and move hardware specific configuration there. This makes it
easier to maintain custom rules for non-system things like ACPI hotkeys.

/etc/devd.conf is already set up to check this directory, no change needed there.


# 184663 04-Nov-2008 delphij

Correct a typo that prevented my laptop from starting
devd.


# 184625 04-Nov-2008 rpaulo

Add support for Asus A8Sr notebooks.

PR: 128553
Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
Reviewed by: philip
MFC after: 2 months


# 184344 27-Oct-2008 thompsa

Make a note about the notify codes for the four special function keys above the
keyboard on the EeePC.


# 180062 27-Jun-2008 rpaulo

Add the missing support for Asus Eee PC in acpi_asus(4).
This includes hotkeys support and sysctl variables to control camera
and card reader. These new sysctls don't have CTFLAG_ANYBODY set.

While there add entries to devd.conf related to the Eee volume keys.

Reviewed by: phillip
MFC after: 1 week
Also tested by: lme (previous version)


# 179805 15-Jun-2008 kmacy

remove incorrect comment that I missed in my last change


# 179804 15-Jun-2008 kmacy

Stop moused on a detach event. Remove incorrect comment.

This fixes frequent problems with usb mice and kvm switches caused by moused hanging around.

Suggested by: Matthew Dodd

MFC after: 2 weeks


# 175683 26-Jan-2008 mtm

Generally, anything that runs rc.d scripts internally should
start using the quiet prefix (i.e. quietstart, quietstop, etc...).


# 170976 21-Jun-2007 njl

Update the suspend/resume user API while maintaining backwards compat.

Improvements:
* /etc/rc.suspend,rc.resume are always run, no matter the source of the
suspend request (user or kernel, apm or acpi)
* suspend now requires positive user acknowledgement. If a user program
wants to cancel the suspend, they can. If one of the user programs
hangs or doesn't respond within 10 seconds, the system suspends anyway.
* /dev/apm is clonable, allowing multiple listeners for suspend events.
In the future, xorg-server can use this to be informed about suspend
even if there are other listeners (i.e. apmd).

Changes:
* Two new ACPI ioctls: REQSLPSTATE and ACKSLPSTATE. Request begins the
process of suspending by notifying all listeners. acpi is monitored by
devd(8) and /dev/apm listener(s) are also counted. Users register their
approval or disapproval via Ack. If anyone disapproves, suspend is vetoed.
* Old user programs or kernel modules that used SETSLPSTATE continue to
work. A message is printed once that this interface is deprecated.
* acpiconf gains the -k flag to ack the suspend request. This flag is
undocumented on purpose since it's only used by /etc/rc.suspend. It is
not intended to be a permanent change and will be removed once a better
power API is implemented.
* S5 (power off) is no longer supported via acpiconf -s 5 or apm -z/-Z.
This restores previous behavior of halt/shutdown -p being the interface.
* Miscellaneous improvements to error reporting

Approved by: re


# 168497 08-Apr-2007 pjd

There can be many reasons of VDEV failures, so log type as well.


# 168495 08-Apr-2007 pjd

Provide sample entries to handle ZFS problem reports.
It'd be nice to send them via e-mail...


# 166754 15-Feb-2007 imp

fix comment about what pnpinfo is set


# 166701 14-Feb-2007 joerg

Add some entries to log unknown devices, based on the bus they appear
on.

Some things appear to be completely missing though, like the USB vendor
and product strings.


# 159126 31-May-2006 thompsa

Announce all interfaces to devd on attach/detach. This adds a new devctl
notification so all interfaces including pseudo are reported. When netif
creates the clones at startup devctl_disable has not been turned off yet so the
interfaces will not be initialised twice, enforce this by adding an explicit
order between rc.d/netif and rc.d/devd.

This change allows actions to taken in userland when an interface is cloned
and the pseudo interface will be automatically configured if a ifconfig_<int>=""
line exists in rc.conf.

Reviewed by: brooks
No objections on: net


# 156782 16-Mar-2006 emax

Reorganize /etc/rc.d/syscons and move all keyboard related settings
into one function syscons_configure_keyboard(). Call new function from
both syscons_start() and sysconst_setkeyboard(). The reason for this
is because syscons_start() will (re)configure both keyboard and screen
settings. Apparently, some graphics cards have problems with running
vidcontrol(1) while X11 is running.

Remove "/etc/rc.d/syscons restart" from /etc/devd.conf. It is no longer
required. Using "/etc/rc.d/syscons setkeyboard" is enough. This also
should fix annoying "syscons not running?" message.

Tested by: Ulrich Spoerlein < q at galgenberg dot net >
MFC after: 3 days


# 156331 06-Mar-2006 emax

Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts the
keyboard device name (i.e. /dev/kbd0). This method will do nothing is
kbdmux(4) is the current active keyboard, otherwise it will switch
active keyboard as requested.

Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons
and new 'setkeyboard' method.

No comments from: freebsd-current@
MFC after: 1 day


# 153300 10-Dec-2005 iedowse

Move the remaining entries from usbd.conf to devd.conf. This now
makes usbd redundant.

PR: conf/73799
Submitted by: Anish Mistry


# 152326 12-Nov-2005 emax

Add section to start/stop Bluetooth USB devices (via ng_ubt(4))

Submitted by: Panagiotis Astithas ( past at ebs dot gr )
Reviewed by: brooks, imp
MFC after: 1 week


# 148642 02-Aug-2005 sam

eliminate the regex used to match ethernet and 802.11 devices;
instead use the interface's media-type

Reviewed by: imp
MFC after: 1 week


# 148471 28-Jul-2005 imp

Add a couple of missing nic interfaces that have been added: iwi, ipw,
ral and ural. Add a comment about this regexp being lame, which
should shock no-one. Add a comment about why rescans are disabled on scsi
cards.


# 147088 07-Jun-2005 brooks

Support code for the OpenBSD dhclient. This significantly changes the
way interfaces are configured. Some key points:

- At startup, all interfaces are configured through /etc/rc.d/netif.
- ifconfig_<if> variables my now mix real ifconfig commands the with
DHCP and WPA directives. For example, this allows media
configuration prior to running dhclient.
- /etc/rc.d/dhclient is not run at startup except by netif to start
dhclient on specific interfaces.
- /etc/pccard_ether calls "/etc/rc.d/netif start <if>" to do most of
it's work.
- /etc/pccard_ether no longer takes additional arguments to pass to
ifconfig. Instead, ifconfig_<if> variables are now honored in favor
of pccard_ifconfig when available.
- /etc/pccard_ether will only run on interfaces specified in
removable_interfaces, even if pccard_ifconfig is set.


# 146969 04-Jun-2005 marius

Add esp(4) to scsi-controller-regex.

MFC after: 1 month


# 146548 23-May-2005 sobomax

Add cdce(4) into the list of ethernet interfaces.


# 146086 11-May-2005 brian

Run /etc/rc.d/syscons restart when a usb keyboard is attached so that the
keymap and other settings are correct.


# 139897 08-Jan-2005 brooks

When ukbd0 arrives, attach to /dev/ukbd0 rather then /dev/kbd1 since
kbd1 might be something else.


# 139281 24-Dec-2004 brueffer

Changes in comments:

- correct a sentence so it actually has some meaning [1]
- sprinkle some full stops

Spotted by: markus [1]
MFC after: 3 days


# 139027 18-Dec-2004 brueffer

In the ethernet-nic-regex:

- add udav(4)

In the scsi-controller-regex:

- correct an entry
- move another one to the right place
- add a bunch of missing drivers

Glanced at by: trhodes (scsi-controller-regex part)
MFC after: 3 days


# 138175 28-Nov-2004 iedowse

Move the purely device-name based entries for mice and ethernet
adapters from usbd.conf to devd.conf. USB ethernet devices were
already handled in devd.conf so this just removes their usbd.conf
entry.

PR: conf/73799


# 137413 08-Nov-2004 ru

Removed the remnants of gx(4).


# 135048 10-Sep-2004 wpaul

Add device driver support for the VIA Networking Technologies
VT6122 gigabit ethernet chip and integrated 10/100/1000 copper PHY.
The vge driver has been added to GENERIC for i386, pc98 and amd64,
but not to sparc or ia64 since I don't have the ability to test
it there. The vge(4) driver supports VLANs, checksum offload and
jumbo frames.

Also added the lge(4) and nge(4) drivers to GENERIC for i386 and
pc98 since I was in the neighborhood. There's no reason to leave them
out anymore.


# 134867 06-Sep-2004 glebius

Add axe(4) to ethernet-nic-regex.

PR: conf/71410
Submitted by: Andrew Thompson <thompsa AT thingy.tbd.co.nz>
Approved by: julian (mentor)
MFC after: 3 days


# 134584 31-Aug-2004 brooks

When an USB keyboard is plugged in to a machine with a builtin keyboard,
cause the USB keyboard to take over from the builtin one. This means my
laptop just works when I'm using it as a desktop.

Reviewed by: imp


# 131646 05-Jul-2004 imp

Disable rescanning of the scsi bus for the scsi controllers. There
are some that really hate this, so now that devd is default, be more
conservative about what we do.

Noticed by: marcel


# 130151 06-Jun-2004 schweikh

Removed whitespace at BOF, EOL & EOF.


# 126905 13-Mar-2004 cperciva

Fix odd grammar in comment.

PR: docs/64190
Submitted by: Dan Langille


# 125366 03-Feb-2004 njl

Notify the user (at kern.emerg) that the system will be shutting down if
it is still above the critical temperature on the next poll cycle. This
is a 10 second advance notice by default. Document the private
(non-standard) notify we will be using with devd(8).


# 123626 18-Dec-2003 njl

Add power_profile, a script that changes the ACPI CPU Cx idle state and/or
the throttling state in response to line transitions. Future plans
include adding support for CPU frequency changes.

Add a devd.conf entry for calling this script.

The default values for this are:
performance_cx_lowest="HIGH" # Use HLT (C0) online
performance_throttle_state="HIGH" # 100% (no throttling)
economy_cx_lowest="LOW" # Use the lowest Cx state possible
economy_throttle_state="HIGH" # 100% (no throttling)


# 121493 25-Oct-2003 njl

Add devctl(4) notify support to ACPI. Various subsystems now notify
userland whenever events occur. See the example in devd.conf below
to see how to use it.


# 119917 09-Sep-2003 wpaul

Add a device driver for the Broadcom BCM4401 ethernet controller,
written by Stuart Walsh and Duncan Barclay (with some kibbitzing by
me). I'm checking it in on Stuart's behalf.

The BCM4401 is built into several x86 laptop and desktop systems. For the
moment, I have only enabled it in the x86 kernel config because although
it's a PCI device, I haven't heard of any standalone NICs that use it. If
somebody knows of one, we can easily add it to the other arches.

This driver uses register/structure data gleaned from the Linux
driver released by Broadcom, but does not contain any of the code
from the Linux driver itself. It uses busdma.


# 119870 08-Sep-2003 wpaul

Fix PATH: directive in sys/modules/re/Makefile, and add the re(4) driver to
devd.conf.

Pointed out by: Larry Rosenman


# 119254 22-Aug-2003 imp

Remove workaround that I had in place. devd didn't use to be able to
handle the empty section, but it has been able to do so for some time
now.


# 114852 09-May-2003 imp

Comment out the entire nomatch entry. The partially commented out
entry causes problems :-(

This effectively backs out the commit the re@ allowed me to commit.


# 114799 07-May-2003 imp

Don't use logger by default just yet for unmatched devices. It is a
little too chatty on boot and doesn't give enough information.

Approved by: re@ (bmah)


# 114577 03-May-2003 akiyama

Add RealTek RTL8150 USB to fast Ethernet controller driver.
This driver now supports the Melco LUA-KTX and the GREEN HOUSE
GH-USB100B.

Reviewed by: imp
MFC after: 2 weeks


# 111971 07-Mar-2003 sam

add ath to the list of Ethernet devices


# 108983 09-Jan-2003 imp

Move devd.conf here and install it by default (didn't do a repo copy
because there's so little history to save).

MFC After: 10 millifortnights