device_reprobe(9)
β¨ NAME β¨
okay bestie, meet device_reprobe from the Kernel API Manual β itβs literally the βremove driver for a device and probe for a new driverβ function. glow-up energy for device drivers, no cap π
π¦ SYNOPSIS π¦
int device_reprobe (struct device *dev );
π ARGUMENTS π
devβ the device to reprobe. thatβs the main character getting the driver situation re-checked π
πΈ DESCRIPTION πΈ
so hereβs the tea: this function detaches the attached driver (if any) for the given device and restarts the driver probing process. it is intended to use if probing criteria changed during a devices lifetime and driver attachment should change accordingly. translation: if the probing criteria shifted while the device was living its life, and the driver attachment should change to match, this is the function doing that work π₯
π SEE ALSO π
Kernel file ./drivers/base/bus.c, plus the whole squad:
bus_to_subsys(9)bus_for_each_dev(9)bus_find_device(9)bus_for_each_drv(9)bus_add_device(9)bus_probe_device(9)bus_remove_device(9)bus_add_driver(9)bus_remove_driver(9)bus_rescan_devices(9)bus_register(9)bus_unregister(9)subsys_dev_iter_init(9)subsys_dev_iter_next(9)subsys_dev_iter_exit(9)subsys_system_register(9)subsys_virtual_register(9)driver_find(9)bus_get_dev_root(9)
source: ./drivers/base Β· date: October 2026 Β· page: device_reprobe(9) Β· Kernel API Manual signing off, periodt π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms