aboutsummaryrefslogtreecommitdiff
path: root/etc/devd.conf
Commit message (Collapse)AuthorAgeFilesLines
* Move all devd related configs to sbin/devd/Brad Davis2018-08-211-353/+0
| | | | | | | | | | | This helps with pkgbase as it switches these to using CONFS so they are properly tagged as config files. Approved by: will (mentor), imp Differential Revision: https://reviews.freebsd.org/D16781 Notes: svn path=/head/; revision=338144
* User service foo rather than /etc/rc.d/foo.Warner Losh2018-06-111-12/+12
| | | | | | | | | | | | devd predates service in the system. Modernize usage to use service to start/stop things in reaction to events rather than calling the rc file directly. This was pointed out in my talk at BSDcan as well as indirectly referrred to as a barrier to entry for OpenRC in that working group. Notes: svn path=/head/; revision=334982
* Add example devd.conf(5) entry for notifying init(8) about new USB ttys.Edward Tomasz Napierala2018-03-061-0/+11
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=330547
* devd.conf: add mps and mpr to the scsi controllers regexAlan Somers2017-11-141-1/+2
| | | | | | | | | MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D12744 Notes: svn path=/head/; revision=325812
* Update devd.conf for ports change 421360Alan Somers2017-02-271-2/+2
| | | | | | | | | | | | Ports change 421360 changed the name and UID of the postgres user Reviewed by: trasz, imp, girgen MFC after: 3 weeks Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D9746 Notes: svn path=/head/; revision=314341
* The ct driver was removed by r312910.Yoshihiro Takahashi2017-02-231-1/+1
| | | | Notes: svn path=/head/; revision=314149
* Remove more stray EISA refernces: ahb was removed. Remove the crossWarner Losh2017-02-221-1/+1
| | | | | | | reference and replace, where appropiate, with ahd.4. Notes: svn path=/head/; revision=314110
* Use kldload -n when loading if_deqnaEnji Cooper2017-02-051-1/+1
| | | | | | | | | | | This fixes if_deqna from being loaded by accident twice if it's already loaded in the kernel. MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=313276
* Fix device driver name if devd.conf + move it into appropriate place.Andriy Voskoboinyk2016-11-061-2/+2
| | | | | | | Noticed by: Idwer Vollering <vidwer@gmail.com> Notes: svn path=/head/; revision=308387
* rtwn(4), urtwn(4): merge common code, add support for 11ac devices.Andriy Voskoboinyk2016-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All devices: - add support for rate adaptation via ieee80211_amrr(9); - use short preamble for transmitted frames when needed; - multi-bss support: * for RTL8821AU: 2 VAPs at the same time; * other: 1 any VAP + 1 sta VAP. RTL8188CE: - fix IQ calibration bug (reason of significant speed degradation); - add h/w crypto acceleration support. USB: - A-MPDU Tx support; - short GI support; Other: - add support for RTL8812AU / RTL8821AU chipsets (a/b/g/n only; no ac yet); - split merged code into subparts: * bus glue (usb/*, pci/*, rtl*/usb/*, rtl*/pci/*) * common (if_rtwn*) * chip-specific (rtl*/*) - various other bugfixes. Due to code reorganization, module names / requirements were changed too: urtwn urtwnfw -> rtwn rtwn_usb rtwnfw rtwn rtwnfw -> rtwn rtwn_pci rtwnfw Tested with RTL8188CE, RTL8188CUS, RTL8188EU and RTL8821AU. Tested by: kevlo, garga, Peter Garshtja <peter.garshtja@ambient-md.com>, Kevin McAleavey <kevin.mcaleavey@knosproject.com>, Ilias-Dimitrios Vrachnis <id@vrachnis.com>, <otacilio.neto@bsd.com.br> Relnotes: yes Notes: svn path=/head/; revision=307529
* Remove stale drivers (amd(4) and asr(4)) from the SCSI controller regex.John Baldwin2016-08-191-1/+1
| | | | Notes: svn path=/head/; revision=304504
* Remove the wds(4) driver for the WD700 ISA SCSI HBA.John Baldwin2016-08-191-1/+1
| | | | | | | | | | While this driver does do DMA, it bounce buffers all transactions through a single 64k buffer. It also does not have a manpage. Relnotes: yes Notes: svn path=/head/; revision=304503
* Add iwm(4), that was missing in r287394.Gleb Smirnoff2015-09-021-2/+2
| | | | | | | Submitted by: Shawn Webb Notes: svn path=/head/; revision=287398
* Fix dynamic attach/detach of 802.11 devices after r287197:Gleb Smirnoff2015-09-021-9/+11
| | | | | | | | | | | | | | o In pccard_ether add code to start children of a 802.11 device, that are configured in rc.conf. o In devd.conf provide a regex matching all 802.11 devices, and on match run pccard_ether to spawn children. PR: 202784 Submitted by: <vidwer gmail.com> In collaboration with: "Oleg V. Nauman" <oleg opentransfer.com> Notes: svn path=/head/; revision=287394
* Remove a comment in the wrong place.Edward Tomasz Napierala2015-07-181-1/+0
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=285675
* Notify devd(8) when a process crashed.Rui Paulo2015-02-091-0/+12
| | | | | | | | | | | | | | | This change implements a notification (via devctl) to userland when the kernel produces coredumps after a process has crashed. devd can then run a specific command to produce a human readable crash report. The command is most usually a helper that runs gdb/lldb commands on the file/coredump pair. It's possible to use this functionality for implementing automatic generation of crash reports. devd(8) will be notified of the full path of the binary that crashed and the full path of the coredump file. Notes: svn path=/head/; revision=278479
* Use newly added GEOM notifications to discard autofs caches.Edward Tomasz Napierala2015-01-141-9/+4
| | | | | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=277171
* Add "-media" autofs map, to access data on removable media, such as CDEdward Tomasz Napierala2014-12-101-0/+12
| | | | | | | | | | | | | | | | | drives or flash keys. It can be enabled by uncommenting a single entry in default /etc/auto_master. It can also be easily modified to use fuse-based filesystems instead of in-kernel ones. There is still one deficiency - the mountpoints are permanent, they don't disappear when user removes the media. Fixing it needs some autofs changes. Differential Revision: https://reviews.freebsd.org/D1210 MFC after: 1 month Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=275681
* move devd rules for zfs events into a separate file and fix stale event typesAndriy Gapon2014-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 Notes: svn path=/head/; revision=261894
* Add support for trackpads found in Apple MacBook products. While at itHans Petter Selasky2014-01-291-0/+18
| | | | | | | | | | add some missing devd entries. Submitted by: Huang Wen Hui <huanghwh@gmail.com> MFC after: 1 week Notes: svn path=/head/; revision=261260
* Comment cosmetics: capitalize SCSIJens Schweikhardt2013-03-021-8/+8
| | | | | | | | | Fix some hard tabs in the wrong place. MFC after: 2 weeks Notes: svn path=/head/; revision=247660
* Make sure moused is exiting as quick as possible after that theHans Petter Selasky2012-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 Notes: svn path=/head/; revision=240891
* Fix a missing ";".Hiroki Sato2012-07-091-1/+1
| | | | Notes: svn path=/head/; revision=238308
* - Add support for a "!" character in regex matching in devd(8). It invertsHiroki Sato2011-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 Notes: svn path=/head/; revision=226775
* Fix a confusing sentence. [1]Warren Block2011-09-291-17/+16
| | | | | | | | | | Other wording tweaks. Reviewed by: imp [1] Approved by: gjb Notes: svn path=/head/; revision=225861
* Add example devd.conf entry.Edward Tomasz Napierala2011-03-301-0/+10
| | | | Notes: svn path=/head/; revision=220168
* Fix typo in default config file.Josh Paetzel2011-01-041-1/+1
| | | | | | | | Approved by: Warner Losh <imp@FreeBSD.org> MFC after: 3 days Notes: svn path=/head/; revision=216983
* Add firmware downloader for Atheros AR3011 based USB Bluetooth devices.Maksim Yevmenkin2010-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 Notes: svn path=/head/; revision=215195
* Remove trailing white space. No functional changes.Doug Barton2010-05-141-4/+4
| | | | Notes: svn path=/head/; revision=208060
* Change usb devd events from fake attach to a notify. The ugen device is not aAndrew Thompson2010-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 Notes: svn path=/head/; revision=207020
* o Add missed semicolon in action script.Maxim Konovalov2009-05-161-1/+1
| | | | | | | | | PR: conf/134579 Submitted by: Lucius Windschuh MFC after: 1 week Notes: svn path=/head/; revision=192198
* Remove DETACH event handling; this is race prone and does nothing useful.Sam Leffler2009-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 Notes: svn path=/head/; revision=187743
* Move another block of ASUS events to devd/asus.conf that were missed in r186249Andrew Thompson2008-12-231-22/+0
| | | | Notes: svn path=/head/; revision=186432
* Add /etc/devd/ and move hardware specific configuration there. This makes itAndrew Thompson2008-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. Notes: svn path=/head/; revision=186249
* Correct a typo that prevented my laptop from startingXin LI2008-11-041-1/+1
| | | | | | | devd. Notes: svn path=/head/; revision=184663
* Add support for Asus A8Sr notebooks.Rui Paulo2008-11-041-0/+22
| | | | | | | | | | PR: 128553 Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru> Reviewed by: philip MFC after: 2 months Notes: svn path=/head/; revision=184625
* Make a note about the notify codes for the four special function keys above theAndrew Thompson2008-10-271-0/+1
| | | | | | | keyboard on the EeePC. Notes: svn path=/head/; revision=184344
* Add the missing support for Asus Eee PC in acpi_asus(4).Rui Paulo2008-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) Notes: svn path=/head/; revision=180062
* remove incorrect comment that I missed in my last changeKip Macy2008-06-151-2/+0
| | | | Notes: svn path=/head/; revision=179805
* Stop moused on a detach event. Remove incorrect comment.Kip Macy2008-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 Notes: svn path=/head/; revision=179804
* Generally, anything that runs rc.d scripts internally shouldMike Makonnen2008-01-261-5/+5
| | | | | | | start using the quiet prefix (i.e. quietstart, quietstop, etc...). Notes: svn path=/head/; revision=175683
* Update the suspend/resume user API while maintaining backwards compat.Nate Lawson2007-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 Notes: svn path=/head/; revision=170976
* There can be many reasons of VDEV failures, so log type as well.Pawel Jakub Dawidek2007-04-081-1/+1
| | | | Notes: svn path=/head/; revision=168497
* Provide sample entries to handle ZFS problem reports.Pawel Jakub Dawidek2007-04-081-0/+31
| | | | | | | It'd be nice to send them via e-mail... Notes: svn path=/head/; revision=168495
* fix comment about what pnpinfo is setWarner Losh2007-02-151-1/+2
| | | | Notes: svn path=/head/; revision=166754
* Add some entries to log unknown devices, based on the bus they appearJoerg Wunsch2007-02-141-0/+30
| | | | | | | | | | on. Some things appear to be completely missing though, like the USB vendor and product strings. Notes: svn path=/head/; revision=166701
* Announce all interfaces to devd on attach/detach. This adds a new devctlAndrew Thompson2006-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 Notes: svn path=/head/; revision=159126
* Reorganize /etc/rc.d/syscons and move all keyboard related settingsMaksim Yevmenkin2006-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 Notes: svn path=/head/; revision=156782
* Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts theMaksim Yevmenkin2006-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 Notes: svn path=/head/; revision=156331
* Move the remaining entries from usbd.conf to devd.conf. This nowIan Dowse2005-12-111-0/+29
| | | | | | | | | | makes usbd redundant. PR: conf/73799 Submitted by: Anish Mistry Notes: svn path=/head/; revision=153300