| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
PR: conf/134579
Submitted by: Lucius Windschuh
MFC after: 1 week
|
|
|
|
|
|
|
| |
Leave a comment for the next person that thinks they need to be helpful.
Reviewed by: imp, jhb
MFC after: 2 weeks
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
devd.
|
|
|
|
|
|
|
| |
PR: 128553
Submitted by: Eygene Ryabinkin <rea-fbsd at codelabs.ru>
Reviewed by: philip
MFC after: 2 months
|
|
|
|
| |
keyboard on the EeePC.
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
|
|
|
|
|
|
|
| |
This fixes frequent problems with usb mice and kvm switches caused by moused hanging around.
Suggested by: Matthew Dodd
MFC after: 2 weeks
|
|
|
|
| |
start using the quiet prefix (i.e. quietstart, quietstop, etc...).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
It'd be nice to send them via e-mail...
|
| |
|
|
|
|
|
|
|
| |
on.
Some things appear to be completely missing though, like the USB vendor
and product strings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
makes usbd redundant.
PR: conf/73799
Submitted by: Anish Mistry
|
|
|
|
|
|
| |
Submitted by: Panagiotis Astithas ( past at ebs dot gr )
Reviewed by: brooks, imp
MFC after: 1 week
|
|
|
|
|
|
|
| |
instead use the interface's media-type
Reviewed by: imp
MFC after: 1 week
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
MFC after: 1 month
|
| |
|
|
|
|
| |
keymap and other settings are correct.
|
|
|
|
| |
kbd1 might be something else.
|
|
|
|
|
|
|
|
| |
- correct a sentence so it actually has some meaning [1]
- sprinkle some full stops
Spotted by: markus [1]
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
PR: conf/71410
Submitted by: Andrew Thompson <thompsa AT thingy.tbd.co.nz>
Approved by: julian (mentor)
MFC after: 3 days
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
are some that really hate this, so now that devd is default, be more
conservative about what we do.
Noticed by: marcel
|
| |
|
|
|
|
|
| |
PR: docs/64190
Submitted by: Dan Langille
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
userland whenever events occur. See the example in devd.conf below
to see how to use it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
devd.conf.
Pointed out by: Larry Rosenman
|
|
|
|
|
| |
handle the empty section, but it has been able to do so for some time
now.
|
|
|
|
|
|
| |
entry causes problems :-(
This effectively backs out the commit the re@ allowed me to commit.
|
|
|
|
|
|
| |
little too chatty on boot and doesn't give enough information.
Approved by: re@ (bmah)
|
|
|
|
|
|
|
|
| |
This driver now supports the Melco LUA-KTX and the GREEN HOUSE
GH-USB100B.
Reviewed by: imp
MFC after: 2 weeks
|
| |
|
|
because there's so little history to save).
MFC After: 10 millifortnights
|