merged
authorOleksandr Gavenko <gavenkoa@gmail.com>
Thu, 04 Nov 2010 17:59:16 +0200
changeset 654 7969d71777c0
parent 648 d46bffeb8fa9 (current diff)
parent 653 82f1a982109d (diff)
child 659 c4b9fbbe7bbd
child 661 29cbccc8854c
merged
--- a/driver-win.rst	Mon Nov 01 23:03:37 2010 +0200
+++ b/driver-win.rst	Thu Nov 04 17:59:16 2010 +0200
@@ -192,6 +192,10 @@
                 Code-Signing Best Practices.
   http://msdn.microsoft.com/en-us/library/ff550764.aspx
                 Device Installation Signing Requirements.
+  http://www.microsoft.com/whdc/winlogo/categories.mspx
+                Windows Logo Program Test Categories.
+  http://www.microsoft.com/whdc/driver/install/drvsign/crosscert.mspx
+                Root Authority Cross-Certificate List
 
 ** Tools for Signing Drivers.
 
@@ -236,3 +240,28 @@
    package for the user's device, can legally distribute it, and can automatically download it.
 
   http://msdn.microsoft.com/en-us/library/ff554874.aspx
+
+* Hardware ID.
+
+PCI and AGP buses: Contain subsystem ID and subsystem vendor ID (&SUBSYS in the ID string). Drivers
+must have VID/DID/SVID/SID PNP ID entries to be published via Windows Update.
+
+PCI Device Subsystem IDs and Windows specifications are available at:
+http://www.microsoft.com/whdc/archive/pciidspec.mspx
+
+PCMCIA: Always specific; contains PCMCIA in the ID string.
+
+USB: Contains VID and &PID in the ID string.
+
+IEEE 1394: Always specific; contains 1394 in the ID string.
+
+HID: Contains &VID and &PID in the ID string.
+
+IDE: Contains IDE\ in the ID string.
+
+Parallel Port Printers: Contain LPTENUM\ in the ID string.
+
+IrDA Printers: IDs begin with HWP.
+
+  http://www.microsoft.com/whdc/winlogo/winup/default.mspx
+                Windows Update Driver Publishing
--- a/emacs.rst	Mon Nov 01 23:03:37 2010 +0200
+++ b/emacs.rst	Thu Nov 04 17:59:16 2010 +0200
@@ -279,3 +279,15 @@
 
   http://xslt-process.sourceforge.net/
                 home page
+
+* Useful program logging.
+
+Put first line to your log file, you must replace default-directory to dir where you build program:
+
+  -*- mode: compilation-minor; mode: auto-revert-tail; default-directory: "~/devel/proj" -*-
+
+Program must use one of supported by 'compilation-minor-mode' (see
+'compilation-error-regexp-alist'), like:
+
+  printf(__FILE__ ":%d: %s\n", __LINE__, msg);  /* msg - user defined string */
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/http.rst	Thu Nov 04 17:59:16 2010 +0200
@@ -0,0 +1,6 @@
+-*- mode: outline; coding: utf-8 -*-
+
+* Web server in Cygwin.
+
+  $ setup -p apache2,lighttpd,dhttp
+
--- a/windows.rst	Mon Nov 01 23:03:37 2010 +0200
+++ b/windows.rst	Thu Nov 04 17:59:16 2010 +0200
@@ -307,3 +307,21 @@
   1. Start Control Panel and double-click User Accounts.
   2. In the User Accounts tasks window, click Turn User Account Control on or off.
   3. Clear the Use User Account Control (UAC) to help protect your computer check box, and then click OK.
+
+* Fix file association.
+
+Check current association:
+
+  $ cmd /c assoc | grep -i "^\.mp3"
+.mp3=mp3file
+
+Get list of all available commands:
+
+  $ cmd /c ftype
+...
+AIMP.mp3="C:\Program Files\AIMP2\AIMP2.exe" "%1"
+...
+
+and select one on them:
+
+  $ cmd /c assoc .mp3=AIMP.mp3