summaryrefslogtreecommitdiffstats
path: root/etc/devd.conf
Commit message (Collapse)AuthorAgeFilesLines
* move devd rules for zfs events into a separate file and fix stale event typesavg2014-02-141-31/+0
| | | | | | | | | | Also, extend with some new events. Additionally, tag syslog messages with 'ZFS' instead of using explicit "ZFS: " prefix in the messages themselves. Tested by: Daniel O'Connor <doconnor@gsoft.com.au> MFC after: 8 days Sponsored by: HybridCluster
* Add support for trackpads found in Apple MacBook products. While at ithselasky2014-01-291-0/+18
| | | | | | | add some missing devd entries. Submitted by: Huang Wen Hui <huanghwh@gmail.com> MFC after: 1 week
* Comment cosmetics: capitalize SCSIschweikh2013-03-021-8/+8
| | | | | | Fix some hard tabs in the wrong place. MFC after: 2 weeks
* Make sure moused is exiting as quick as possible after that thehselasky2012-09-241-6/+14
| | | | | | | | | | | | | | | 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
* Fix a missing ";".hrs2012-07-091-1/+1
|
* - Add support for a "!" character in regex matching in devd(8). It invertshrs2011-10-261-0/+1
| | | | | | | | | 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
* Fix a confusing sentence. [1]wblock2011-09-291-17/+16
| | | | | | | Other wording tweaks. Reviewed by: imp [1] Approved by: gjb
* Add example devd.conf entry.trasz2011-03-301-0/+10
|
* Fix typo in default config file.jpaetzel2011-01-041-1/+1
| | | | | Approved by: Warner Losh <imp@FreeBSD.org> MFC after: 3 days
* Add firmware downloader for Atheros AR3011 based USB Bluetooth devices.emax2010-11-121-0/+7
| | | | | | | 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
* Remove trailing white space. No functional changes.dougb2010-05-141-4/+4
|
* Change usb devd events from fake attach to a notify. The ugen device is not athompsa2010-04-211-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* o Add missed semicolon in action script.maxim2009-05-161-1/+1
| | | | | | PR: conf/134579 Submitted by: Lucius Windschuh MFC after: 1 week
* Remove DETACH event handling; this is race prone and does nothing useful.sam2009-01-261-6/+5
| | | | | | | Leave a comment for the next person that thinks they need to be helpful. Reviewed by: imp, jhb MFC after: 2 weeks
* Move another block of ASUS events to devd/asus.conf that were missed in r186249thompsa2008-12-231-22/+0
|
* Add /etc/devd/ and move hardware specific configuration there. This makes itthompsa2008-12-171-23/+0
| | | | | | 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.
* Correct a typo that prevented my laptop from startingdelphij2008-11-041-1/+1
| | | | devd.
* Add support for Asus A8Sr notebooks.rpaulo2008-11-041-0/+22
| | | | | | | PR: 128553 Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru> Reviewed by: philip MFC after: 2 months
* Make a note about the notify codes for the four special function keys above thethompsa2008-10-271-0/+1
| | | | keyboard on the EeePC.
* Add the missing support for Asus Eee PC in acpi_asus(4).rpaulo2008-06-271-0/+22
| | | | | | | | | | | 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)
* remove incorrect comment that I missed in my last changekmacy2008-06-151-2/+0
|
* Stop moused on a detach event. Remove incorrect comment.kmacy2008-06-151-0/+5
| | | | | | | | This fixes frequent problems with usb mice and kvm switches caused by moused hanging around. Suggested by: Matthew Dodd MFC after: 2 weeks
* Generally, anything that runs rc.d scripts internally shouldmtm2008-01-261-5/+5
| | | | start using the quiet prefix (i.e. quietstart, quietstop, etc...).
* Update the suspend/resume user API while maintaining backwards compat.njl2007-06-211-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* There can be many reasons of VDEV failures, so log type as well.pjd2007-04-081-1/+1
|
* Provide sample entries to handle ZFS problem reports.pjd2007-04-081-0/+31
| | | | It'd be nice to send them via e-mail...
* fix comment about what pnpinfo is setimp2007-02-151-1/+2
|
* Add some entries to log unknown devices, based on the bus they appearjoerg2007-02-141-0/+30
| | | | | | | on. Some things appear to be completely missing though, like the USB vendor and product strings.
* Announce all interfaces to devd on attach/detach. This adds a new devctlthompsa2006-06-011-8/+10
| | | | | | | | | | | | | | 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
* Reorganize /etc/rc.d/syscons and move all keyboard related settingsemax2006-03-161-1/+1
| | | | | | | | | | | | | | | 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
* Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts theemax2006-03-061-2/+2
| | | | | | | | | | | | 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
* Move the remaining entries from usbd.conf to devd.conf. This nowiedowse2005-12-111-0/+29
| | | | | | | makes usbd redundant. PR: conf/73799 Submitted by: Anish Mistry
* Add section to start/stop Bluetooth USB devices (via ng_ubt(4))emax2005-11-121-0/+10
| | | | | | Submitted by: Panagiotis Astithas ( past at ebs dot gr ) Reviewed by: brooks, imp MFC after: 1 week
* eliminate the regex used to match ethernet and 802.11 devices;sam2005-08-021-9/+23
| | | | | | | instead use the interface's media-type Reviewed by: imp MFC after: 1 week
* Add a couple of missing nic interfaces that have been added: iwi, ipw,imp2005-07-281-4/+7
| | | | | | 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.
* Support code for the OpenBSD dhclient. This significantly changes thebrooks2005-06-071-1/+14
| | | | | | | | | | | | | | | | | | 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.
* Add esp(4) to scsi-controller-regex.marius2005-06-041-1/+1
| | | | MFC after: 1 month
* Add cdce(4) into the list of ethernet interfaces.sobomax2005-05-231-1/+1
|
* Run /etc/rc.d/syscons restart when a usb keyboard is attached so that thebrian2005-05-111-1/+1
| | | | keymap and other settings are correct.
* When ukbd0 arrives, attach to /dev/ukbd0 rather then /dev/kbd1 sincebrooks2005-01-081-1/+1
| | | | kbd1 might be something else.
* Changes in comments:brueffer2004-12-251-4/+4
| | | | | | | | - correct a sentence so it actually has some meaning [1] - sprinkle some full stops Spotted by: markus [1] MFC after: 3 days
* In the ethernet-nic-regex:brueffer2004-12-191-5/+6
| | | | | | | | | | | | | - 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
* Move the purely device-name based entries for mice and ethernetiedowse2004-11-281-0/+7
| | | | | | | | 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
* Removed the remnants of gx(4).ru2004-11-081-1/+1
|
* Add device driver support for the VIA Networking Technologieswpaul2004-09-101-1/+2
| | | | | | | | | | | | 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.
* Add axe(4) to ethernet-nic-regex.glebius2004-09-061-3/+3
| | | | | | | PR: conf/71410 Submitted by: Andrew Thompson <thompsa AT thingy.tbd.co.nz> Approved by: julian (mentor) MFC after: 3 days
* When an USB keyboard is plugged in to a machine with a builtin keyboard,brooks2004-09-011-0/+10
| | | | | | | 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
* Disable rescanning of the scsi bus for the scsi controllers. Thereimp2004-07-051-1/+1
| | | | | | | are some that really hate this, so now that devd is default, be more conservative about what we do. Noticed by: marcel
* Removed whitespace at BOF, EOL & EOF.schweikh2004-06-061-1/+1
|
* Fix odd grammar in comment.cperciva2004-03-131-1/+1
| | | | | PR: docs/64190 Submitted by: Dan Langille
OpenPOWER on IntegriCloud