2003-07-31 15:36 Pixel * ldetect.spec, pci.c: - detect ohci1394 & ehci-hcd based on the pci class (as done in RedHat's kudzu) 2003-04-22 11:45 Pixel * ldetect.spec: - Use read() instead of fread() to read from "/proc/bus/pci/%02x/%02x.%d". Thanks a lot to Tom Cox for finding this bug: The proc.c module in the kernel source clearly states that reading more than 64 bytes can cause problems. The pci.c module in the ldetect library uses the buffered fread() function. This function always reads in blocks, so when run as root, the read always tried to read more than the user requested amount. This should fix freezes when doing a full probe 2003-04-22 11:04 Pixel * pci.c: Use read() instead of fread() to read from "/proc/bus/pci/%02x/%02x.%d". Thanks a lot to Tom Cox for finding this bug: The proc.c module in the kernel source clearly states that reading more than 64 bytes can cause problems. The pci.c module in the ldetect library uses the buffered fread() function. This function always reads in blocks, so when run as root, the read always tried to read more than the user requested amount. 2003-01-28 16:44 Thierry Vignaud * Makefile: only check for latest logs 2003-01-28 15:39 Thierry Vignaud * Makefile: - sanitize ChangeLog - add log rule 2003-01-06 15:34 Thierry Vignaud * ldetect.spec: add pixel changes 2003-01-06 15:32 Thierry Vignaud * ldetect.spec: 0.4.8-1mdk 2003-01-06 15:24 Thierry Vignaud * pciusb.c: special case for buggy 0x0 usb entry so that we eventually got a class, thus normalizing lspcidrake & harddrake output 2002-11-05 16:12 Pixel * pci.c, usb.c: no error message when -p is not used and there is neither pci nor usb bus 2002-11-05 15:27 Thierry Vignaud * usb.c: fix access check 2002-10-15 16:40 Thierry Vignaud * ldetect.spec: 0.4.7-1mdk 2002-10-07 11:32 Thierry Vignaud * pciusb.c: enforce gc coding rules 2002-10-07 11:21 Thierry Vignaud * pciusb.c: - remove gc hack that tried to fix my bug (which i fixed in last commit) - simplify subids match; explay why we can only test for nb==4 2002-10-07 09:47 Thierry Vignaud * pciusb.c: fix "skipping already handled device" (aka kill stupid remaining test) 2002-10-04 17:30 Guillaume Cottenceau * pciusb.c: try to detect correctly the module when subv/subd differ with non-subv/subd 2002-09-12 12:20 Thierry Vignaud * AUTHORS: fix gc 2002-09-05 13:25 Pixel * ldetect.spec, pciusb.c: fix ugly case for snd-usb-audio which should have made titi think that something was broken. Really fixing the right way (this fixes automatic detection of unknown usb controllers) 2002-08-29 14:18 Pixel * ldetect.spec: fix getting the Product name in usb (occurs when there is no entry in usbtable) 2002-08-29 14:17 Pixel * usb.c: fix getting the Product name 2002-08-29 14:17 Thierry Vignaud * pci.c: fix PCI_CLASS_PROG offset 2002-08-26 04:50 Thierry Vignaud * ldetect.spec: 0.4.6-4mdk 2002-08-26 00:47 Thierry Vignaud * pci.c: - kill last fseek - change if(cdt) cascade into if(!cdt) continue - move loop invariant out of loop 2002-08-22 12:31 Thierry Vignaud * ldetect.spec: 0.4.6-3mdk 2002-08-22 12:27 Thierry Vignaud * pci.c: try to not freeze on buggy motherboard by preventing: - seeking in /proc/bus/pci//. - not reading the whole /proc/bus/pci//. we now read 48 linear bytes the same way lspci read 64 linear bytes. 2002-08-17 16:18 Thierry Vignaud * ldetect.spec: - rpmlint fixes (url, doc) - simplification 2002-08-17 16:12 Thierry Vignaud * Makefile: split rpm target in srpm and rpm 2002-08-17 16:08 Thierry Vignaud * ldetect.spec: 4.6mdk 2002-08-17 16:06 Thierry Vignaud * Makefile: default RPM to ~/rpm 2002-08-16 18:03 Thierry Vignaud * Makefile, pci.c, usb.c: - usb.c: allocate mem as pci.c does - 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 2002-08-15 23:23 Thierry Vignaud * usb.c, pciusb.c: usb audio devices can use new alsa modules snd-usb-audio 2002-08-08 17:25 Thierry Vignaud * ldetect.spec: 0.4.5-1mdk: don't depend of the table order 2002-08-08 17:20 Thierry Vignaud * libldetect.h, pciusb.c: - struct pciusb_entrie : add already_found flag - pciusb::pciusb_initialize() : zero the above flag - pciusb::pciusb_find_modules() : use the above flag: o if device subids matches the table ones, switch the already_found flag o skip already handled device (if already_found==1) 2002-07-31 13:42 Pixel * ldetect.spec: use -fPIC on every arch 2002-07-30 21:03 Pixel * ldetect.spec, usb.c: fill in pci_bus and pci_device for USB 2002-07-25 14:07 Thierry Vignaud * ldetect.spec: 0.4.4-1mdk 2002-07-25 14:04 Thierry Vignaud * pciusb.c: fix "(null) description" bug: don't skip entries where module has already be set by pci.c workaround 2002-07-24 17:22 Thierry Vignaud * ldetect.spec: 0.4.3-1mdk 2002-07-23 10:10 Thierry Vignaud * lspcidrake.c: enhanced help 2002-07-22 23:37 Pixel * ldetect.spec, pci.c, usb.c: - don't die when missing /proc/bus/pci/devices (resp. /proc/bus/usb/devices), since on some boxes, this is *normal*! - free error messages obtained via asprintf - remove debugging message "TOTO" 2002-07-16 22:36 Pixel * ldetect.spec, pciusb.c: teach titi that !(a && !b) is not (!a && !b) but (!a || b) (the other solution is to teach him to *test*) (oh, remind me to teach him not to re-indent the whole code until he doesn't make stupid bugs) 2002-07-16 17:34 Thierry Vignaud * ldetect.spec: next release is ok 2002-07-16 17:33 Thierry Vignaud * lspcidrake.c: explain what does -f 2002-07-16 17:30 Thierry Vignaud * pci.c: no need for unistd.h 2002-07-16 17:29 Thierry Vignaud * pci.c, usb.c: - print error message if unable to open the arguement passed to -u,-p - print error message if usb service isn't started (commented for now to follow previous behaviour) 2002-07-16 17:28 Thierry Vignaud * lspcidrake.c: - fix usb "url" - prevent potential segfault if no argument to -u in next test 2002-07-16 17:07 Thierry Vignaud * ldetect.spec, libldetect-private.h, lspcidrake.c, pci.c: - pci.c: add the ability to read pci devices list from a file instead of /proc/bus/pci/devices - spec: prepare for next release - add ChangeLog 2002-07-16 16:54 Thierry Vignaud * libldetect-private.h, lspcidrake.c, usb.c: - move usb devices proc entry path into 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 2002-07-16 16:51 Thierry Vignaud * pci.c: - change memory pattern : MAX*sizeof(entry) on stack + REAL_NB*sizeof() in heap to MAX*sizeof(entry) on heap then downsized to real size - make if (test) action clearer by rejecting action singleton in next line 2002-07-16 16:39 Thierry Vignaud * pci.c: don't do useless stuff when full probe isn't requires: - allocatestuff on stack - call snprintf 2002-07-15 18:26 Thierry Vignaud * lspcidrake.c: compacificazion 2002-07-09 23:28 Thierry Vignaud * lspcidrake.c: fix for "gcc-2.95.3 don't compile" (reported by Ian White) 2002-07-05 11:02 Thierry Vignaud * Makefile: add explicit depandancies so that make rebuild files if needed when header're altered 2002-07-05 10:56 Thierry Vignaud * Makefile: compile with -Os (which results in saving 12% of text size) 2002-07-04 17:15 Thierry Vignaud * pci.c: factorize common constants in private header 2002-07-04 17:14 Thierry Vignaud * usb.c: typo fix 2002-07-04 17:14 Thierry Vignaud * usb.c: - factorize common constants in private header - factorize strlen() call 2002-07-04 17:04 Thierry Vignaud * libldetect-private.h, pci.c, usb.c: factorize common constants in private header 2002-07-04 16:59 Thierry Vignaud * lspcidrake.c: we don't really need stdlib.h 2002-07-04 16:58 Thierry Vignaud * lspcidrake.c: move full_probe definition nearer its usage, aka in main() - kill print_name() and print_id() [used only once] 2002-07-04 16:53 Thierry Vignaud * lspcidrake.c: - merge {pci,usb}_printit into printit - kill usage() 2002-07-04 13:44 Thierry Vignaud * ldetect.spec: 0.4.1-1mdk 2002-07-04 13:29 Thierry Vignaud * usb.c: make an if clearer 2002-07-03 14:03 Thierry Vignaud * pciusb.c: s/zcat/gzip -cd/ back for lord pixou 2002-07-03 12:20 Thierry Vignaud * pciusb.c: ifree(e->text) to prevent mem leak with usb 2002-07-03 12:09 Thierry Vignaud * pciusb.c: - fix pipe() error path - make pciusb_find_modules() normal path clearer: rewrite tests cascade into a single path were exceptions're just "go away" 2002-07-03 12:01 Thierry Vignaud * pciusb.c: - make gzip path in fh_open() be clearer - pciusb_find_modules() optimization / cleanups : - only calc module and description once so that if there're multiples identical cards, we just gives the same result - do less copies : - only copy when setting e->{text,module} - it's useless to do copies on the stack, just play with strndup() instead of strdup() - skip comments in {usb,pci}table - remove if (q) test which is uneeded since we've already parsed the buffer with sscanf() and we've skipped comments - remove uneeded ifree (it's impossible to get valid pointer a this point) 2002-07-03 11:14 Thierry Vignaud * pciusb.c: - no need to allocate fname_gz in fast path - reduce cmd size - use zcat rather than gzip 2002-07-03 11:06 Thierry Vignaud * libldetect-private.h, pci.c, pciusb.c, usb.c: get rid of more uneeded copies 2002-07-03 11:05 Thierry Vignaud * AUTHORS: list all contributors 2002-07-03 10:54 Thierry Vignaud * pci.c, usb.c: get rid of {pci,usb}_find_modules() 2002-07-03 10:53 Thierry Vignaud * libldetect.h, lspcidrake.c: prevent signed vs unsigned comp warnings 2002-07-03 10:49 Thierry Vignaud * lspcidrake.c, pci.c, pciusb.c, usb.c: indent-region 2002-07-03 10:42 Thierry Vignaud * libldetect.h, lspcidrake.c, pciusb.c: don't do uneeded copies (saves 2% of text size) 2002-07-03 10:41 Thierry Vignaud * Makefile: be more strict 2002-07-03 10:27 Thierry Vignaud * lspcidrake.c: simplify (source is clearer, binary isn't really altered) 2002-06-26 16:10 Gwenole Beauchesne * ldetect.spec: sanitize specfile 2002-06-10 20:39 Pixel * generate_pciclass.pl, generate_usbclass.pl, ldetect.spec, libldetect.h, lspcidrake.c, pci.c, pciusb.c, usb.c: ensure the header file are C++ compliant (do not use "class" for struct field name) 2002-05-06 20:48 Pixel * AUTHORS: [no log message] 2001-12-28 13:04 Pixel * ldetect.spec, pci.c: in probe_type=1, recognize usb controllers (is either usb-uhci or usb-ohci) 2001-11-23 00:16 Guillaume Cottenceau * generate_usbclass.pl: - don't limitate to CLASS ID's with a Protocol number - fix bug that made ID's with a-f not appear (\d not very good to parse hexadecimal) 2001-10-11 17:44 Pixel * ldetect.spec: s/Copyright/License/ 2001-09-13 15:40 Pixel * generate_pciclass.pl, generate_usbclass.pl, libldetect.h, usb.c, ldetect.spec: use the sub-category for usb probing 2001-09-11 00:11 Guillaume Cottenceau * ldetect.spec, lspcidrake.c: add "-v" and "-f" options to lspcidrake for (v)erbose mode and (f)ull probe 2001-08-29 18:33 Pixel * ldetect.spec: fix when 2 similar devices are there 2001-07-03 22:28 Pixel * pciusb.c: fix pb when 2 similar cards are there 2001-04-12 17:15 Pixel * generate_usbclass.pl: add the line in comment 2001-04-12 17:13 Pixel * pciusb.c, ldetect.spec: close fdno's of the pipe which are unused or dup2'ed 2001-04-11 18:53 Fançois Pons * ldetect.spec, pciusb.c: [no log message] 2001-04-05 02:12 Chmouel Boudjnah * usb.c: Don't print ugly can't open. 2001-03-29 12:38 Pixel * ldetect.spec: fix some memory leak and a few segfaults 2001-03-29 12:36 Pixel * pciusb.c: fix some memory leak a few segfaults 2001-03-24 11:48 Pixel * ldetect.spec, pciusb.c: nasty C, fclose on popen'ed gets a segfault, in /some/ cases :-( 2001-03-23 16:17 Pixel * ldetect.spec, pciusb.c: handle gzip'ed pcitable/usbtable 2001-03-21 19:05 Pixel * ldetect.spec: use subids if they are needed 2001-03-21 19:03 Pixel * libldetect-private.h, lspcidrake.c, pci.c, pciusb.c, usb.c: if subid can be useful, use them. use probe_type==-1 to ensure no subid is used 2001-03-15 15:11 Fançois Pons * ldetect.spec: [no log message] 2001-03-15 15:00 Fançois Pons * ldetect.spec, libldetect.h, pci.c, pciusb.c: added pci(bus,device,function) for DrakX. 2001-03-06 17:17 Fançois Pons * ldetect.spec, pci.c, usb.c: [no log message] 2001-03-06 17:05 Pixel * ldetect.spec: [no log message] 2001-02-13 13:25 uid553 * common.h: ifree must be a macro, so let it be 2001-02-10 12:53 Pixel * pci.c: fix the fclose 2001-02-06 17:56 Pixel * ldetect.spec: add missing fclose's 2001-02-06 17:55 Pixel * pci.c, pciusb.c: add some fclose where it should 2000-12-22 15:53 Guillaume Cottenceau * ldetect.spec, lspcidrake.c: see changelog 2000-12-16 19:22 Pixel * .cvsignore, Makefile, common.h, generate_usbclass.pl, ldetect.spec, libldetect-private.h, libldetect.h, lspcidrake.c, pci.c, pciusb.c, usb.c: now detect usb 2000-12-15 19:19 Pixel * Makefile: [no log message] 2000-12-15 16:32 Pixel * ldetect.spec: - add requires ldetect-lst 2000-12-15 16:30 Pixel * ldetect.spec: fix description tag 2000-12-15 16:25 Pixel * Makefile, ldetect.spec: put the version in .spec too, otherwise can't use rpm C-c e :) 2000-12-15 16:19 Pixel * Makefile, generate_pciclass.pl, ldetect.spec, libldetect.h, lspcidrake.c, pci.c: creation