Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | make ldetect 3x faster (and even faster on machines quite quite a lot | Thierry Vignaud | 2012-09-12 | 1 | -11/+13 |
| | | | | | | | | | | | | of devices such as servers) (modalias_init) split it out of modalias_resolve_module() (modalias_cleanup) move libkmod related cleanups here (hid_probe,find_modules_through_aliases) only initialize libkmod once (which reduces user time from 0.26 to 0.08s & elapsed time from 0.28 to 0.9s) | ||||
* | switch from libmodprobe to new libkmod | Thierry Vignaud | 2012-01-13 | 1 | -4/+0 |
| | |||||
* | (pciusb_free) fix small memleak | Thierry Vignaud | 2012-01-05 | 1 | -0/+1 |
| | | | | | (introduced in r44672 by tv on 2007-02-26 ("(pci_probe) get PCI class as reported by pciutils...") | ||||
* | (modalias_resolve_module, pciusb_find_modules) use saner API for quieting ↵ | Thierry Vignaud | 2011-11-21 | 1 | -1/+1 |
| | | | | libmodprobe | ||||
* | make libmodprobe.so quiet | Thierry Vignaud | 2011-10-18 | 1 | -0/+4 |
| | |||||
* | remove useless include | Thierry Vignaud | 2011-10-18 | 1 | -1/+0 |
| | |||||
* | use same types as in libpci (in order to please Teuf) | Thierry Vignaud | 2009-10-01 | 1 | -3/+3 |
| | |||||
* | (pci_probe) use libpci in order to retrieve PCI capabilities in order to have | Thierry Vignaud | 2009-09-30 | 1 | -0/+1 |
| | | | | a better test for identifying PCI Express devices | ||||
* | (pciusb_initialize) initialize pci revision to 0 | Thierry Vignaud | 2009-09-29 | 1 | -0/+1 |
| | |||||
* | Move modalias parsing code to generic code | Christophe Fergeau | 2009-04-03 | 1 | -70/+3 |
| | |||||
* | Fix some memory leaks | Christophe Fergeau | 2009-04-03 | 1 | -3/+9 |
| | |||||
* | do not use random string as device description | Olivier Blin | 2009-03-27 | 1 | -1/+1 |
| | | | | | | | | | broken since commit r225445 from 2007-08-06: (pciusb_find_modules) handle pcitable without description field Broken output was the following: Mouse:USB|Generic 2 Button Mouse: base.frm" [Human Interface Device|Boot Interface Subclass|Mouse] (vendor:0603 device:6871) | ||||
* | update comment | Olivier Blin | 2009-03-27 | 1 | -2/+2 |
| | |||||
* | use /sys/bus/usb/devices instead of /sys/class/usb_device (disabled in ↵ | Olivier Blin | 2009-03-27 | 1 | -2/+3 |
| | | | | kernel) to find modalias (this breaks ABI because we now need to keep port number) | ||||
* | - pciusb.c: Include <sys/utsname.h>, needed by uname(2) | Luiz Fernando Capitulino | 2009-02-05 | 1 | -0/+1 |
| | |||||
* | use usb_prefix as variable name | Olivier Blin | 2008-04-03 | 1 | -3/+3 |
| | |||||
* | correctly use usbdev busnum and devnum when finding USB device in sysfs to ↵ | Olivier Blin | 2008-04-03 | 1 | -2/+3 |
| | | | | get its modalias (#38721) | ||||
* | fix bus type (and segfault on x86_64) | Olivier Blin | 2008-02-29 | 1 | -1/+1 |
| | |||||
* | do not free aliasfilename that early (really use modules.alias file from ↵ | Olivier Blin | 2008-02-28 | 1 | -2/+4 |
| | | | | kernel or ldetect-lst) | ||||
* | check opendir return code | Olivier Blin | 2008-02-27 | 1 | -0/+2 |
| | |||||
* | find modules from USB modaliases as well (useful when module is a | Olivier Blin | 2008-02-27 | 1 | -5/+32 |
| | | | | | | dkms one, or during install where modules are not autoloaded, this could allow to remove most modules from usbtable) | ||||
* | cosmetics | Olivier Blin | 2008-02-27 | 1 | -0/+1 |
| | |||||
* | extract pci-specific function | Olivier Blin | 2008-02-27 | 1 | -1/+7 |
| | |||||
* | extract set_modules_from_modalias_file (bus-independant) | Olivier Blin | 2008-02-27 | 1 | -7/+13 |
| | |||||
* | move libmodprobe variables declaration | Olivier Blin | 2008-02-27 | 1 | -7/+6 |
| | |||||
* | make some functions static | Olivier Blin | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | free modalias | Olivier Blin | 2008-02-27 | 1 | -0/+1 |
| | |||||
* | free modalias path earlier | Olivier Blin | 2008-02-27 | 1 | -1/+1 |
| | |||||
* | set module in find_modules_through_aliases_one | Olivier Blin | 2008-02-27 | 1 | -9/+6 |
| | |||||
* | fix indentation | Olivier Blin | 2008-02-27 | 1 | -12/+12 |
| | |||||
* | find default alias file once only | Olivier Blin | 2008-02-27 | 1 | -20/+26 |
| | |||||
* | extract set_modules_from_modalias() | Olivier Blin | 2008-02-27 | 1 | -33/+36 |
| | |||||
* | remove unused symfilename | Olivier Blin | 2008-02-27 | 1 | -3/+1 |
| | |||||
* | pass bus to find_modalias | Olivier Blin | 2008-02-27 | 1 | -4/+4 |
| | |||||
* | extract find_modalias function | Olivier Blin | 2008-02-27 | 1 | -21/+28 |
| | |||||
* | fix indentation | Olivier Blin | 2008-02-27 | 1 | -5/+5 |
| | |||||
* | do not ignore subsequent modaliases if resolving one fails | Olivier Blin | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | allow to modify the fh type more easily by adding more wrappers | Olivier Blin | 2008-02-27 | 1 | -2/+2 |
| | |||||
* | fix modalias fd leak (thanks to Anssi for the report) | Olivier Blin | 2007-09-28 | 1 | -0/+2 |
| | |||||
* | use ldetect-lst aliases from /lib/module-init-tools/, not from /usr | Olivier Blin | 2007-09-11 | 1 | -1/+1 |
| | |||||
* | indent | Olivier Blin | 2007-09-11 | 1 | -14/+14 |
| | |||||
* | do not read modules.dep and do not try to find command, we always try to ↵ | Olivier Blin | 2007-09-11 | 1 | -7/+0 |
| | | | | find a modalias, not a module name (lspcidrake is now twice faster) | ||||
* | do not read depends twice | Olivier Blin | 2007-09-09 | 1 | -13/+15 |
| | |||||
* | use module aliases from first match only | Olivier Blin | 2007-09-09 | 1 | -1/+1 |
| | |||||
* | use table_name_to_file() not to hardcode ldetect-lst path everywhere | Olivier Blin | 2007-09-07 | 1 | -7/+9 |
| | |||||
* | use ldetect's preferred-modules.alias file before other aliases files | Olivier Blin | 2007-09-07 | 1 | -1/+2 |
| | |||||
* | rewrite | Olivier Blin | 2007-09-07 | 1 | -5/+5 |
| | |||||
* | fallback on ldetect-lst's dkms-modules.alias if no alias is found (to find ↵ | Olivier Blin | 2007-08-31 | 1 | -2/+6 |
| | | | | modules available in dkms packages) | ||||
* | avoid a useless alloc + free | Olivier Blin | 2007-08-31 | 1 | -7/+5 |
| | |||||
* | move fallback path in a macro | Olivier Blin | 2007-08-31 | 1 | -1/+3 |
| |