summaryrefslogtreecommitdiffstats
path: root/etc/devd
Commit message (Collapse)AuthorAgeFilesLines
* MFC 321762sephe2017-08-071-0/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hyperv: Add VF bringup scripts and devd rules. How network VF works with hn(4) on Hyper-V in non-transparent mode: - Each network VF has a cooresponding hn(4). - The network VF and the it's cooresponding hn(4) have the same hardware address. - Once the network VF is up, e.g. ifconfig VF up: o All of the transmission should go through the network VF. o Most of the reception goes through the network VF. o Small amount of reception may go through the cooresponding hn(4). This reception will happen, even if the the cooresponding hn(4) is down. The cooresponding hn(4) will change the reception interface to the network VF, so that network layer and application layer will be tricked into thinking that these packets were received by the network VF. o The cooresponding hn(4) pretends the physical link is down. - Once the network VF is down or detached: o All of the transmission should go through the cooresponding hn(4). o All of the reception goes through the cooresponding hn(4). o The cooresponding hn(4) fallbacks to the original physical link detection logic. All these features are mainly used to help live migration, during which the network VF will be detached, while the network communication to the VM must not be cut off. In order to reach this level of live migration transparency, we use failover mode lagg(4) with the network VF and the cooresponding hn(4) attached to it. To ease user configuration for both network VF and non-network VF, the lagg(4) will be created by the following rules, and the configuration of the cooresponding hn(4) will be applied to the lagg(4) automatically. Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11635
* MFC 308664,308742,308743sephe2017-01-051-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 308664 hyperv/vss: Add driver and tools for VSS VSS stands for "Volume Shadow Copy Service". Unlike virtual machine snapshot, it only takes snapshot for the virtual disks, so both filesystem and applications have to aware of it, and cooperate the whole VSS process. This driver exposes two device files to the userland: /dev/hv_fsvss_dev Normally userland programs should _not_ mess with this device file. It is currently used by the hv_vss_daemon(8), which freezes and thaws the filesystem. NOTE: currently only UFS is supported, if the system mounts _any_ other filesystems, the hv_vss_daemon(8) will veto the VSS process. If hv_vss_daemon(8) was disabled, then this device file must be opened, and proper ioctls must be issued to keep the VSS working. /dev/hv_appvss_dev Userland application can opened this device file to receive the VSS freeze notification, hold the VSS for a while (mainly to flush application data to filesystem), release the VSS process, and receive the VSS thaw notification i.e. applications can run again. The VSS will still work, even if this device file is not opened. However, only filesystem consistency is promised, if this device file is not opened or is not operated properly. hv_vss_daemon(8) is started by devd(8) by default. It can be disabled by editting /etc/devd/hyperv.conf. Submitted by: Hongjiang Zhang <honzhan microsoft com> Reviewed by: kib, mckusick Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8224 308742 hyperv/vss: Nuke unused variables. Submitted by: markj Reported by: markj Sponsored by: Microsoft 308743 hyperv/vss: Install the userland daemon to /usr/sbin instead of / Submitted by: markj Reported by: markj Sponsored by: Microsoft
* Regenerate usb.conf .hselasky2016-04-291-4/+20
| | | | MFC after: 1 week
* Fix etcupdate(8) with rc.sendmail and devd/*. It turns outgjb2016-04-171-6/+1
| | | | | | | BIN1 and such in etc/* cannot use FILESGROUPS. Reported by: peter Sponsored by: The FreeBSD Foundation
* MFH r289384-r293170gjb2016-01-041-12/+228
|\ | | | | | | Sponsored by: The FreeBSD Foundation
| * Regenerate usb.conf .hselasky2015-12-031-12/+228
| | | | | | | | MFC after: 1 week
* | Finish merging from head, messed up in previous attemptbapt2015-09-121-1/+10
|\ \ | |/
| * - Fix compilation after r285909 with USB_DEBUG defined.marius2015-07-271-1/+10
| | | | | | | | - Regenerate usb.conf.
* | Merge from head @274131bapt2015-06-201-11/+35
|\ \ | |/
| * Regenerate usb.conf .hselasky2015-06-191-11/+35
| | | | | | | | MFC after: 1 week
* | Make acpi an individual packagebapt2015-03-051-2/+7
|/ | | | Flag /etc/devd/asus.conf as a config file so it will be automatically merged on updates
* Honor MK_ACPI in etc/devd and etc/rc.dngie2015-01-261-0/+4
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Regenerate usb.conf .hselasky2014-12-151-18/+69
| | | | MFC after: 1 week
* Missed a terminating ';'.jhibbits2014-11-181-1/+1
| | | | X-MFC-with: r273009
* HYPERV isn't available on all architectures, but just on by defaultimp2014-10-161-4/+3
| | | | | | | | for i386/amd64. Rather, it only works on i386/amd64 and should only be built there. Rather than change the default based on which architecutre, do things more directly by only building it on i386/amd64 and having it always on. This is how we handle other options that are relevant only for a few architectures.
* Add an AC line monitor so power_profile can workjhibbits2014-10-121-1/+7
| | | | | | | | | | | | | | | | | | | Summary: Add a polling loop (1Hz) to monitor the battery and AC status, to notify devd like ACPI does for power monitoring. This allows /etc/rc.d/power_profile to work on PowerPC laptops Test Plan: Tested on a Titanium PowerBook, configuring economy_cpu_freq and performance_cpu_freq, disabling powerd. Reviewers: #powerpc, nwhitehorn Reviewed By: nwhitehorn Subscribers: rpaulo Differential Revision: https://reviews.freebsd.org/D937
* Add example devd configuration file for USB printers.hselasky2014-10-092-1/+19
|
* Regenerate usb.confhselasky2014-09-281-13/+115
| | | | MFC after: 3 days
* Fix cdev. It is a device node name, not a pathname.hrs2014-09-191-2/+2
|
* Use a devd event to start hv_kvpd instead of doing so in rc.d script.delphij2014-09-172-0/+23
| | | | | | | | This is cleaner and eliminates the unneeded startup of KVP daemon on systems that do not run as a Hyper-V guest. Submitted by: hrs X-MFC-with: 271493, 271688, 271699
* Make the USB and ZFS devd configuration files optional depending on thengie2014-08-151-1/+9
| | | | | | | | | | | values of MK_USB/MK_ZFS Making zfs.conf optional resolves PR # 186971 PR: 186971 Phabric: D606 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
* move devd rules for zfs events into a separate file and fix stale event typesavg2014-02-142-1/+78
| | | | | | | | | | 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
* Regenerate usb.confhselasky2014-02-061-1/+19
| | | | MFC after: 2 weeks
* Regenerate usb.confhselasky2014-02-041-19/+35
| | | | MFC after: 2 days
* Regen.kevlo2014-01-031-4/+28
|
* Regen.kevlo2013-12-271-2/+2
|
* Regen.kevlo2013-12-061-3/+3
|
* Regenerate after r258363 (alternate ID for Novatel MiFi 2200) andtruckman2013-11-201-3/+3
| | | | r258333 (bus_autoconf.sh tweak).
* Regenerate usb.conf after r258331.markj2013-11-191-9/+90
|
* Regenerate after recent addition of FTDI and bluetooth device IDs.ian2013-09-011-4/+96
|
* Regen for if_rsu.rpaulo2013-08-041-7/+239
|
* Regenerate usb.confhselasky2013-07-261-67/+27
| | | | MFC after: 1 week
* Regenerate usb.conf after r252196.kevlo2013-06-251-2/+2
| | | | Spotted by: rpaulo
* Regen.rpaulo2013-06-101-2/+229
|
* Regenerate usb.confhselasky2013-04-061-10/+124
| | | | MFC after: 1 week
* Regenerate usb.confhselasky2012-12-151-1/+25
| | | | MFC after: 1 week
* Regenerate usb.confhselasky2012-11-281-2/+13
| | | | MFC after: 1 week
* Regenerate usb.confhselasky2012-10-011-4/+4
| | | | MFC after: 1 week
* Regenerate usb.confhselasky2012-08-051-13/+269
| | | | MFC after: 2 weeks
* Regenerate usb.confhselasky2012-05-211-5/+13
| | | | MFC after: 3 days
* Regenerate usb.conf to use new -n option when doing kldload.hselasky2012-03-181-539/+539
| | | | MFC after: 1 week
* Add backlight control to ATI-graphics PowerBooks and iBooks.jhibbits2012-02-261-0/+20
| | | | | Approved by: nwhitehorn (mentor) MFC after: 1 week
* Re-generate /etc/devd/usb.confhselasky2012-02-131-6/+15
| | | | MFC after: 1 day
* Remove the notify match from a couple devd apple events, the events don'tjhibbits2012-01-281-2/+0
| | | | | | | include notify tags. Approved by: nwhitehorn (mentor) MFC after: 3 days
* Fix style(9) issues from r228270.jhibbits2011-12-051-1/+1
| | | | Approved by: nwhitehorn (mentor)
* Add a devd notification for closing/opening the lid on PowerBooks and iBooks.jhibbits2011-12-051-0/+10
| | | | Approved by: nwhitehorn (mentor)
* Add new USB IDs to RUN driver. Update usb.conf.hselasky2011-10-191-7/+71
| | | | | PR: usb/161798 MFC after: 3 days
* Add support for special keys (volume/brightness/eject) on Apple laptops withnwhitehorn2011-10-162-1/+55
| | | | | | | ADB keyboards. Submitted by: Justin Hibbits <jrh29 at alumni dot cwru dot edu> MFC after: 9.0-RELEASE
* Regenerate usb.conf after r223566.hselasky2011-06-271-9/+1
|
* The SMCWUSBG is a zyd(4) device, not an uath(4) device. Remove from thegavin2011-06-261-2/+2
| | | | | | | | | | | | | | | latter. It appears that the addition to uath(4) came in through PR kern/135009, which had tested another device, the SMCWUSBTG2, successfully with uath(4) and included the SMCWUSBG as it "has the same chipset". I can find no other evidence that these two do actually share the same chipset. Moreover, Linux treats the SMCWUSBG as a zyd(4) device also. This reverts r223537. Discussed with: hselasky, kevlo MFC after: 1 week
OpenPOWER on IntegriCloud