summaryrefslogtreecommitdiffstats
path: root/usb.c
Commit message (Collapse)AuthorAgeFilesLines
* port to hwdb + drop dependency on usb.idsThierry Vignaud2015-02-241-1/+1
| | | | aka sync with usbutils-008
* add spacingThierry Vignaud2013-01-141-1/+1
|
* dynamically resize memory when reaching max devices limit (mga#8320)Thierry Vignaud2013-01-141-1/+6
|
* fix retrieving info about USB devices with kernel-3.5+ (mga#7248)Thierry Vignaud2012-08-301-1/+1
| | | | | poke in /sys/kernel/debug/usb/devices instead of /proc/bus/usb/devices (needs "mount -t debugfs none /sys/kernel/debug")
* (usb_probe) free last memleak by using new usbutils' names_exit()Thierry Vignaud2012-01-051-1/+4
| | | | (introduced in r258129 by pterjan on 2009-06-25: "Use usb.ids")
* (pci_probe,usb_probe) commentThierry Vignaud2009-12-011-0/+2
|
* (usb_probe) do not display any warning when driver field is empty inThierry Vignaud2009-09-031-2/+2
| | | | | /proc/bus/usb/devices (#53412)
* Use usb.idsPascal Terjan2009-06-251-6/+38
|
* same for usbPascal Terjan2009-06-251-1/+1
|
* ignore usb interfaces not activePascal Terjan2009-04-101-1/+3
|
* fix parsing of /proc/bus/usb/device I: lines and use the classPascal Terjan2009-04-101-5/+7
| | | | | | | | | | | of the first interface used by a driver instead of the first interface (or first one like before when none is used). That fixes presenting something as usb_storage even if the device is ignored by usb_storage driver and handled on another interface by option driver
* use /sys/bus/usb/devices instead of /sys/class/usb_device (disabled in ↵Olivier Blin2009-03-271-2/+3
| | | | kernel) to find modalias (this breaks ABI because we now need to keep port number)
* use snd_usb_audio (with underscores)Olivier Blin2007-09-191-1/+1
|
* replace '-' characters from USB drivers with '_' to be compliant with ↵Olivier Blin2007-09-191-1/+9
| | | | modnames from modaliases
* reuse modprobe code in order to resolve modalias (need to be optimized)Thierry Vignaud2007-08-041-1/+1
|
* (struct pciusb_entry) rename class_ as class_idThierry Vignaud2007-02-261-6/+6
|
* stop performing descriptions lookup from pcitable for PCIThierry Vignaud2007-02-261-1/+1
|
* (usb_probe) fix parsing /proc/bus/usb/devices with kernel-2.6.20Thierry Vignaud2007-01-101-2/+2
| | | | | (eg: "I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage")
* (usb_probe) fix parsing /proc/bus/usb/devices with large "parentThierry Vignaud2006-11-061-1/+1
| | | | | | device" field (eg when some special usb keys are plugged on a non root USB hub)
* fix freeing a reference to a constant string (fredl)Thierry Vignaud2006-02-221-1/+1
|
* (usb_probe) prevent spurious warnings for strange USB interfacesThierry Vignaud2005-08-051-0/+2
|
* libify and simplifyPascal Rigaux2005-03-141-2/+1
|
* (usb_probe) ask the kernel for module to use with usb devicesThierry Vignaud2004-06-171-1/+4
|
* a little cleanupPascal Rigaux2003-08-201-1/+1
|
* do full-probe by default; remove support for no full-probeThierry Vignaud2003-08-191-1/+1
|
* no error message when -p is not used and there is neither pci nor usb busPascal Rigaux2002-11-051-8/+5
|
* fix access checkThierry Vignaud2002-11-051-1/+1
|
* fix getting the Product namePascal Rigaux2002-08-291-1/+1
|
* - usb.c: allocate mem as pci.c doesThierry Vignaud2002-08-161-32/+31
| | | | | | | | | - usb.c: kill dead code - usb.c: give url to get info on /proc/bus/usb/devices format - usb.c: the /proc/bus/usb/devices really is a state machine; use switch to make it clearer - {usb,pci}.c: r.nb is zeroed in all path, let's do it only time
* usb audio devices can use new alsa modules snd-usb-audioThierry Vignaud2002-08-151-0/+3
|
* fill in pci_bus and pci_device for USBPascal Rigaux2002-07-301-4/+16
|
* - don't die when missing /proc/bus/pci/devices (resp. /proc/bus/usb/devices),Pascal Rigaux2002-07-221-3/+6
| | | | | | | since on some boxes, this is *normal*! - free error messages obtained via asprintf - remove debugging message "TOTO"
* - print error message if unable to open the arguement passed to -u,-pThierry Vignaud2002-07-161-1/+21
| | | | | | - print error message if usb service isn't started (commented for now to follow previous behaviour)
* - move usb devices proc entry path intoThierry Vignaud2002-07-161-4/+5
| | | | | | | | | | | | | libldetect-private.h::proc_usb_path - add -u option so that lspcidrake can read usb devices from a file in order to understand what happened to remote testers - make if (test) action clearer by rejecting action singleton in next line - lspcidrake: describe all options
* typo fixThierry Vignaud2002-07-041-1/+1
|
* - factorize common constants in private headerThierry Vignaud2002-07-041-4/+5
| | | | | - factorize strlen() call
* factorize common constants in private headerThierry Vignaud2002-07-041-1/+1
|
* make an if clearerThierry Vignaud2002-07-041-1/+2
|
* get rid of more uneeded copiesThierry Vignaud2002-07-031-1/+1
|
* get rid of {pci,usb}_find_modules()Thierry Vignaud2002-07-031-4/+1
|
* indent-regionThierry Vignaud2002-07-031-42/+43
|
* ensure the header file are C++ compliant (do not use "class" for struct ↵Pascal Rigaux2002-06-101-4/+4
| | | | field name)
* use the sub-category for usb probingPascal Rigaux2001-09-131-4/+3
|
* Don't print ugly can't open.Chmouel Boudjnah2001-04-051-5/+2
|
* if subid can be useful, use them. use probe_type==-1 to ensure no subid is usedPascal Rigaux2001-03-211-9/+2
|
* *** empty log message ***Francois Pons2001-03-061-1/+8
|
* now detect usbPascal Rigaux2000-12-161-0/+63