Revision: 7909
http://sourceforge.net/p/ipcop/svn/7909
Author: owes
Date: 2015-03-01 11:25:39 +0000 (Sun, 01 Mar 2015)
Log Message:
-----------
Add some logging to track trouble with USB scanning. Probably caused by changes
from commit #7907
Modified Paths:
--------------
ipcop/trunk/src/installer/hardware.c
ipcop/trunk/src/installer/helper_kernel.c
Modified: ipcop/trunk/src/installer/hardware.c
===================================================================
--- ipcop/trunk/src/installer/hardware.c 2015-02-24 20:35:31 UTC (rev
7908)
+++ ipcop/trunk/src/installer/hardware.c 2015-03-01 11:25:39 UTC (rev
7909)
@@ -435,6 +435,8 @@
newtScaleSet(scale, numBusses * 10 + 1);
newtRefresh();
+ fprintf(flog, "Scan PCI\n");
+
pciacc = pci_alloc(); /* Get the pci_access structure */
pci_init(pciacc); /* Initialize the PCI library */
@@ -582,6 +584,8 @@
goto skipusb;
}
+ fprintf(flog, "Scan USB\n");
+
snprintf(line, STRING_SIZE, ipcop_gettext("TR_SCANNING_HARDWARE"), "USB");
strcat(line, " ");
newtLabelSetText(text, line);
@@ -680,6 +684,8 @@
goto skippcmcia;
}
+ fprintf(flog, "Scan PCMCIA\n");
+
snprintf(line, STRING_SIZE, ipcop_gettext("TR_SCANNING_HARDWARE"),
"PCMCIA");
strcat(line, " ");
newtLabelSetText(text, line);
@@ -700,6 +706,8 @@
newtFormDestroy(form);
newtPopWindow();
+ fprintf(flog, "Scanned busses. Continue with manual etc.\n");
+
while (manualmodule) {
newtComponent button_done, button_add;
newtComponent module, moduleentry;
Modified: ipcop/trunk/src/installer/helper_kernel.c
===================================================================
--- ipcop/trunk/src/installer/helper_kernel.c 2015-02-24 20:35:31 UTC (rev
7908)
+++ ipcop/trunk/src/installer/helper_kernel.c 2015-03-01 11:25:39 UTC (rev
7909)
@@ -104,6 +104,7 @@
if ((module = strrchr(modulemap, ' ')) != NULL) {
strcpy(module_find, module+1);
stripnl(module_find);
+ pclose(p);
return module_find;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn