1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209
|
commit 8f54ac8be1768261e113cb15fcdf81013f712674
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 23:01:26 2014 +0200
Doxyfile/Doxyfile_internal: Bump version number to 0.3.0.
commit 4133caab1d2467a582850a3713ee083827364c8b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 23:00:08 2014 +0200
configure.ac: Bump package version to 0.3.0.
commit 85ca913cae0d9514949db8f638ecb4ef7bca706e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 22:59:00 2014 +0200
configure.ac: Bump libtool/library version from 1:2:0 to 2:0:0.
The libtool current:revision:age numbers change from 1:2:0 to 2:0:0.
Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from libsigrok.so.1.0.2
to libsigrok.so.2.0.0, the SONAME (+symlink) becomes libsigrok.so.2.
commit 8f8289dc1dc4532d33cda04141c8080f6dda00f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 09:00:00 2014 +0200
NEWS: Add list of user-visible changes so far.
commit ace218f9223c39a3eb6738e36f4b89fae5142673
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 6 20:18:54 2014 +0200
Rename SR_T_CHAR to SR_T_STRING.
This is more correct and less confusing.
commit 05238d2830c1cc2217d9e2c6d64203914e7fa95b
Author: Martin Ling <martin-git@earth.li>
Date: Mon May 5 00:38:58 2014 +0100
rigol-ds: Quick hack to fix bug #354.
commit a9af7b1b8bc76e1c25df7b97c51ce88f4428b9d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 22:04:37 2014 +0200
README: Mention missing dependency 'librevisa'.
commit f897acaee82d5bc3c511da14167fbbd7951cbf3d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 20:57:38 2014 +0200
log.c: Avoid using the same name for a variable and enum.
commit 4711724141f9073af8b2493c3fc6a643d5c77cbe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 20:51:05 2014 +0200
Add/update Doxygen @since tags.
commit 768579456c7800e462a404c2c28af1e306989fd8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 19:58:56 2014 +0200
libsigrok.h: Add some missing enum names for consistency.
commit 6b2d33856f15d2ea6642aa4643805ab8ca24f638
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 4 11:48:17 2014 -0700
asix-sigma: Don't set invalid configuration options.
commit f0554946600a7db68f9ef33d25646f17562bf284
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 17:55:46 2014 +0200
doxygen: Updated Doxyfile to doxygen 1.8.6.
commit 8c21897f59b4b78e1caade7cf7b11318b11b3f8b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 17:44:05 2014 +0200
Unhook the Link Instruments MSO-19 from the build for now.
This driver is neither working nor has it been in a compiling state for
a long time, so unhook it from the build until it is fixed and works.
The files (api.c and protocol.[ch]) are still in git, but won't end up in
released tarballs and they don't get built (neither git nor tarballs).
This also allows us to drop the otherwise unneeded dependency on libudev.
When the MSO-19 driver comes back, it should be in a form that doesn't
require the inherently Linux-only libudev anyway. See also:
http://sigrok.org/bugzilla/show_bug.cgi?id=65
commit 2fa222c78b522f6f23e8930f5a8c0bbc134fcc5c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 17:38:09 2014 +0200
Drop obsolete Linux-only usbtmc backend.
We're now using a portable libusb-based (userspace) backend which should
in theory work on any OS with libusb support.
commit e311f770159244725a33a412a9f9ef6eda9126c3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 17:35:47 2014 +0200
README.devices: Various updates and fixes.
commit 71422cb6eb8be34f6fca8a3be7ebe10fe1bea319
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 4 16:57:58 2014 +0200
Drop left-overs of the removed alsa driver.
commit 144f6660d004d60264a57db7150ed90e5f68ea77
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 22:14:01 2014 +0200
Don't define names ending with _t (POSIX reserved).
Avoid defining any names ending in _t, those are generally reserved
for POSIX usage. For details see:
http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html
http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
commit 999f6730c66fafc76fe32f7090cc740d901a2226
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 4 00:35:24 2014 -0700
asix-sigma: Disable sample-limited capture for now.
This is not really supported yet in the driver.
commit fb2e6de774816b4298dcc9eed66d2d9282d53cab
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 4 00:34:24 2014 -0700
asix-sigma: Publish capture ratio correctly.
commit b9a53103cf1f66a09cde1b5887d3290c579c5d43
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 3 21:22:38 2014 +0200
saleae-logic16: Minor whitespace fixes, cosmetics.
commit 1b822521f77f8ec61405cc662a4fa19579e90398
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Fri Apr 25 21:27:49 2014 +0200
saleae-logic16: Use unitsize 1 if none of channels 8-15 are used.
commit 2db959063b073b87cfb45a433f2a422b594731b0
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Fri Apr 25 21:07:16 2014 +0200
saleae-logic16: Don't send more samples than requested.
This fixes bug #350.
commit 831d7c70eb901788d6fa7551807644b1130cce32
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 15 21:26:26 2014 +0100
Add SR_CONF_DEVICE_MODE and SR_CONF_TEST_MODE config keys.
commit e826239c85a18ce554e5011a99b51b4e71ef48ef
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 15 21:16:20 2014 +0100
fx2lafw: Allow matching USB descriptor strings as well as VID/PID.
commit 1c48000dc7aa38c8e4fae9fbc5848be570c94366
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 15 11:23:51 2014 +0100
fx2lafw: tidy up config_set().
commit a920a7d899be7aabcf7cc70c671b15e628c3d51f
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 15 11:03:59 2014 +0100
fx2lafw: implement config_get for SR_CONF_LIMIT_SAMPLES and tidy up.
commit a54edb1dfb44c863618779d42b03090de8711961
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 14 21:32:01 2014 +0100
fx2lafw: pass sdi to command functions.
commit 23b886bc40eaf14cc44c00cf9dba85404ddc267f
Author: Marek Vasut <marex@denx.de>
Date: Fri Apr 25 18:03:47 2014 +0200
asix-sigma: Init cur_sample_rate
Init the cur_sample_rate to 200kHz. This is now the default sample
rate for the ASIX Sigma if no other is specified by -c samplerate=N
on the command line. Without this change, the driver would crash on
SIGFPE because a division by zero would happen.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 1e23158b933e2c7d818d95fbbc45cb21cbff7065
Author: Marek Vasut <marex@denx.de>
Date: Mon Apr 21 01:44:36 2014 +0200
asix-sigma: Fix the trigger handling
Due to the recent changes in the sigma driver, the trigger handling got
broken. Fix this by properly calculating and propagating the fact that
the trigger happened.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 23239b5c84aec17d5d5ae0885a59517f61259c9f
Author: Marek Vasut <marex@denx.de>
Date: Mon Apr 21 01:29:52 2014 +0200
asix-sigma: Pull out cluster decoding
Pull out the code for decoding the DRAM clusters into separate function.
This shall improve readability some more.
Signed-off-by: Marek Vasut <marex@denx.de>
commit a16a6391b5cc1479d791c8b760352a937b9d3770
Author: Marek Vasut <marex@denx.de>
Date: Mon Apr 21 01:14:54 2014 +0200
asix-sigma: Exterminate passing lastts and lastsample
These two values can pulled out from devc->state, so there really is
no need to pass them as function argument when we already pass the
devc.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 5fc01191eb13c21e4b0ae1ee117f723d48b2d10d
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 03:10:05 2014 +0200
asix-sigma: Rework decode_chunk_ts()
This function could have never returned correct data. Rework the decoding
logic according to the Sigma documentation. This patch also fixes the
handling of partial DRAM lines and partial DRAM clusters.
While at it, do not allocate megabytes of data on stack, just allocate 2KiB
which is plenty for all the work this function needs to do.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 46641facd4ad8de4a93910d7089c7b289b412443
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 22:58:34 2014 +0200
asix-sigma: Suspend support for trailing DRAM lines
The support for trailing DRAM lines was broken. This patch starts
rework of support for this, but in order to do that, we need to
rework decode_chunk_ts() a little first.
This patch adjusts the decode_chunk_ts() a little to receive the
total amount of events in DRAM line instead of some nonsense value.
This patch temporarily removes the support for the trailing DRAM
lines until the decode_chunk_ts() is fixed to cope with this, so
yes, this patch introduces breakage!
Signed-off-by: Marek Vasut <marex@denx.de>
commit 3628074d09723f20fa1b0a2026d6300ff69242c3
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 22:45:25 2014 +0200
asix-sigma: Properly fetch timestamp in decode_chunk_ts()
Instead of this ad-hoc readout voodoo, use proper function to read
the timestemp. One which will not break even on big-endian machines.
Signed-off-by: Marek Vasut <marex@denx.de>
commit f41a4cae4966fb0237211d163a7afc581e29cbd7
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 22:40:38 2014 +0200
asix-sigma: Use proper structure for DRAM lines
Use proper structure instead of plain buffer of uint8_t for the contents
of DRAM in download_capture(). This is beneficial as we can interpret the
contents easily.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 3513d965699c663c329955f1a96f79fce73dcc6e
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 22:36:55 2014 +0200
asix-sigma: Introduce function to read DRAM cluster timestamp
Introduce helper function which returns the timestamp of DRAM cluster
and use it in download_capture().
Signed-off-by: Marek Vasut <marex@denx.de>
commit e69ad48e084138c72b5cb5a419efed628c0996bc
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 22:28:33 2014 +0200
asix-sigma: Unify calling of decode_chunk_ts()
Clean up the way decode_chunk_ts() is called a little. Introduce a variable
which will not be -1 only in case a trigger happened on the particular DRAM
line.
Signed-off-by: Marek Vasut <marex@denx.de>
commit c6648b663c717f85d05e928102127b0024d22984
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 22:19:11 2014 +0200
asix-sigma: Rework download_capture() to support more than 32 lines
In the current configuration, the download capture used 32KiB buffer
for samples. This was the upper limit this function could download
from the Sigma. Even the sigma_read_dram() was only called once to
read up-to 32 DRAM line from address 0x0 in the DRAM.
This patch reworks the function to call sigma_read_dram() in a loop
in case there is need to download more than 32 DRAM lines of data
from Sigma. The data are then correctly passed for decoding to the
decoding function.
Signed-off-by: Marek Vasut <marex@denx.de>
commit fd830beb6751a966a0f12a9ca48a8550bbe5bbba
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 21:34:36 2014 +0200
asix-sigma: Remove stack-based alloc in download_capture()
Avoid allocating 32KiB of data on stack in download_capture(). Instead,
do a glib-variant of calloc(1, ) to allocate the data for the samples
which will be downloaded. This avoids explosions of stack on systems
with tight stack limits.
Furthermore, define structures describing the organisation of Sigma's
DRAM memory and start using those instead of ad-hoc preprocessor macros
defining the sizes of various structures in memory.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 462fe786641df67e99d67f0f7031e7ca76430981
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 20:50:10 2014 +0200
asix-sigma: Localize variables
The trigger position, stop position and chunk in which the trigger happened
are no longer needed in the global scope. Make those variables local to the
download_capture() function.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 6057d9fa54fc0c4023e4324cc9540db71ab6cfe7
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 20:45:40 2014 +0200
asix-sigma: Move all register I/O into download_capture()
Move all the register I/O that is necessary to do the download of samples
from Sigma into download_capture() function. This makes the downloading
code contained a bit more again.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 00c8650877a169a04f309f5ecccf7b1b67c75987
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 20:40:00 2014 +0200
asix-sigma: Clearly separate the sample download
Reorder the sigma_capture_mode() function so that the part which handles
the download of samples from Sigma is clearly separated from the tests if
the download should be started.
Signed-off-by: Marek Vasut <marex@denx.de>
commit d405193074b11296e33acb56945978c08f2f4f98
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 20:30:16 2014 +0200
asix-sigma: Pull out the CAPTURE mode handler
Pull out the code handling the Sigma which is in CAPTURE mode into
a separate function. This is so we can start reworking this entire
code easily soon.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 58d6f20748e6b33677da3b4a388ac3b8fcaa12f7
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:57:02 2014 +0200
asix-sigma: Read position only in CAPTURE state
Check the position of ForceStop and Trigger events only in case we
are in CAPTURE state, it's useless to do this unconditionally when
receive_data() is called.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 011f1091fa6d85aef3c36758bd090809f2fde0c9
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:49:44 2014 +0200
asix-sigma: Decrypt the LA mode switch sequence
Decode the logic mode start sequence into a series of FPGA instructions
instead and get rid of this sequence of magic numbers.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 1c2736f90912b58df18595d474e5c917c7ecd195
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:41:23 2014 +0200
asix-sigma: Encode the opcodes as hex values
Just encode the opcodes as hexadecimal values. This makes for better
readability when mapping the communication dump with the sigma to the
code.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 64fe661b87c119079516b9ba7b395bdd8af14994
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:36:40 2014 +0200
asix-sigma: Pull out the logic-mode switching
Pull out the code which switches Sigma from the FPGA programming mode
into Logic-Analyzer mode into separate function. Also, given the reply
is only ever 3-byte long, do not allocate 32 byte big buffer, but only
a 3-byte long one.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 29b66a2eb0ffac181c2d7b0c0d7868e5344fc272
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:29:52 2014 +0200
asix-sigma: Squash yoda-condition in upload_firmware()
Signed-off-by: Marek Vasut <marex@denx.de>
commit a80226bbb9966e8692a6d8b63c63e0630831041f
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:27:43 2014 +0200
asix-sigma: Move the sigma_fw_2_bitbang()
Move the sigma_fw_2_bitbang() function closer to the upload_firmware()
function so there's not such a horrible mess in the file.
Signed-off-by: Marek Vasut <marex@denx.de>
commit d485d4436177b04e305f1e6c880edf62755380e0
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 19:19:33 2014 +0200
asix-sigma: Cleanup the bit2bitbang
Rework the bit2bitbang function. Remarkable changes are:
- The function was renamed to sigma_fw_2_bitbang()
- We use glib function calls to work with the file
- We mmap the file containing firmware instead of opening the file
and then reading it into a buffer.
- The magic firmware transformation is now type-safe.
- Documentation and comments were added where applicable.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 8bbf7627df3706fd1fee6d094c09a010dcda9b1a
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 17:58:35 2014 +0200
asix-sigma: Weed out in-condition assignments
Remove all those if ((ret = foo(bar)) < 0) constructs from upload_firmware()
function. This is just a confusing programming practice, kill it. While at it,
replace all the uses of &devc->ftdic with plain ftdic , which is defined at
the begining.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 499b17e9c043e1ec92e71095289d63f09b981eea
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 17:49:29 2014 +0200
asix-sigma: Fix firmware path construction
The code silently assumed the firmware path can be no longer than 128 bytes.
This doesn't scale. This patch fixes it in such a way that it completely
rips out the run-time computation of firmware path and instead replaces it
with compile-time computation. It's true this makes the library grow by a
couple bytes, but makes the code cleaner.
Signed-off-by: Marek Vasut <marex@denx.de>
commit d5fa188ac93149cb75340d615a1815cbca1f852b
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 17:18:31 2014 +0200
asix-sigma: Cleanup FPGA initialization
Rework the pre-firmware-upload FPGA initialization sequence so it matches
the documentation. Also, since this sequence is documented in a separate
section, wrap it into separate function.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 790c7ccc884df9503ec84d61825d5c016bec02e1
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 17:02:05 2014 +0200
asix-sigma: Remove NUM_CHANNELS macro
The NUM_CHANNELS macro is inflexible, since in 100MHz and 200MHz modes
we don't support 16 channels. Moreover, it's only used to limit the size
of array of channel labels, which can be done in much cleaner way.
Signed-off-by: Marek Vasut <marex@denx.de>
commit b1648dea88d378d814bc7168c1ad6247677f65cc
Author: Marek Vasut <marex@denx.de>
Date: Sun Apr 20 16:53:13 2014 +0200
asix-sigma: Document sampling rate table
Add comments to the sampling rate table explaining how the frequencies
are selected and where do those numbers come from.
Signed-off-by: Marek Vasut <marex@denx.de>
commit 6868626bd3c62aa04daae24b268665092b6c3bd8
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 2 15:22:49 2014 +0200
asix-sigma: Acquisition fixes.
commit 6cb45d96c802190aef675e96c6037ee6ab0a8622
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 30 07:40:56 2014 -0700
output/vcd: Support getting samplerate from meta packets.
commit 83023573d9a3c0fc1d5823d4dc5f9e85b72084d9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 29 14:00:47 2014 -0700
output/gnuplot: Support getting samplerate from meta packets.
commit 0f3d8c89673f7044852434073bb0c4f7a2c97deb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 28 19:09:32 2014 -0700
output/csv: Support getting samplerate from meta packets.
commit 787e9bc970386c543a16560eff236fd97fcd3357
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 28 15:11:17 2014 -0700
output/ascii: Support getting samplerate from meta packets.
commit 7bcbbfae3e0262ed25693adb7aa1f0b864722827
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 28 15:06:36 2014 -0700
output/hex: Support getting samplerate from meta packets.
commit 35159a6b28adfbed14d10b745668bee47b5b8c1a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 28 14:54:47 2014 -0700
output/bits: Support getting samplerate from meta packets.
commit 7ea458625c34c9c1c7da8431e8af55b9a6f3759c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 25 19:34:41 2014 +0200
session: Show unitsize of the received data.
commit bdf6c50c9338c10fe174df0fec386df0632614c0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 25 18:44:21 2014 +0200
Don't include NO_LOG_WRAPPERS in the Doxygen output.
commit 2ad1deb89d9f459752687a03c3d0539d122ea354
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 25 18:40:59 2014 +0200
Don't include LOG_PREFIX in the Doxygen output.
(files in hardware/, input/, and output/ don't need this since none of
those directories contain API stuff and are thus not included in the
list of input files for Doxygen at all).
commit 4f10853e67056297fe71c8645608c371cb8907e2
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 18 19:11:47 2014 +0100
configure.ac: Separate library flags from other CFLAGS.
commit e958f9217c5ac3880a63b0bba9c9393f985af700
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 18 19:13:13 2014 +0100
Give type names to all enumerations.
commit d72b0cc8985644cd79fb772e9affaf1c111c87e6
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 21 02:17:03 2014 +0100
Remove orphaned prototype for sr_filter_channels from proto.h.
commit 06b5d7f70dc121da80a2a0b71b06d2d4b4c170f3
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 24 21:04:23 2014 +0200
fx2lafw: Don't send more samples than requested.
It's the new law.
commit b0ccd64d021ae7c9dbcebc8413dc2ebe94099f68
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 22 18:08:40 2014 +0200
WIP
commit bda100ec0f99166ff391a4f4b44662a6eed5641b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 21 23:35:26 2014 +0200
output/ascii/bits/hex: Remove stray g_free().
commit 1e1dac0c0707f73a4c86e27cd02bb90515550354
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 21 14:46:49 2014 +0200
ols: Allow disabling all channels.
This fixed bug 316.
commit dba3e6826e3d37309ed49dd77cde346b369bc5a9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 20 22:51:09 2014 +0200
output: Introduce output module API wrappers.
commit 7e7b7fb7d323f7600958bf29025ca089a15829e3
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 19 13:37:53 2014 +0200
Removed ALSA driver.
This driver has been unmaintained for years, and was never good code
to begin with. It's also questionable whether it was ever useful,
particularly with the demo driver now supporting various analog
signalling.
commit 3b15586812e47e885ed69e3cd1188b1ccf25f807
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 19 13:34:46 2014 +0200
Removed obsolete sr_filter_channels().
commit 44559b2c3bfa2c892242097e3aba871a11f943eb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 19 13:28:17 2014 +0200
Remove obsolete output API.
commit 6f64ebb22306d1436becd9da4fb3761c99462810
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 19 12:34:30 2014 +0200
output/ascii: Rewrite for new output API.
commit 8d3af2e868c4fcfb0119ec74c541fb5d04a10fce
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 19 12:31:50 2014 +0200
output/hex: Rewrite for new output API.
commit dbd0aeff352c93d6091f141550683966504a72d5
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 19 12:25:02 2014 +0200
output/bits: Rewrite for new output API.
This also fixes the performance problems in the old module.
commit 71e16f47e3b02a4d2a8208ab02ee183ac6162137
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 17 14:40:47 2014 +0200
output/binary: Use new output API.
commit d42eb9d89938d5ec079fe004ccc4ab5128c5d85a
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 17 14:10:49 2014 +0200
output/chronovu_la8: Use new output API.
This somewhat naively copies whatever it gets into the output, regardless
of how many channels are in there, or which ones are enabled. Not sure
what the best way to deal with that is, but for now you have to feed it
a channel setup the Chronovu software can read.
commit 2a035e539ab0f1f96fd90f64ac5a654056040971
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 16 20:02:39 2014 +0200
output/csv: Use the logic stream's unitsize.
This also fixes the channel index, instead of counting on the logic
data being arranged according to enabled channels only.
commit 2b78ffea549eafb3835c8e58390008cc5f0ca24c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 16 15:29:53 2014 +0200
output/vcd: Use the logic stream's unitsize.
Also code cleanup and some memory leaks fixed.
commit b240ee0856349d72d30ad75f010a079338b76baa
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 16 15:26:10 2014 +0200
output/gnuplot: Use new output API.
commit 1458018224d98bfc080c571e2145f816afbcac39
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 13 18:59:08 2014 +0200
.gitignore: Add test-suite.log.
commit 55f98c65332cf08ff3f87480f07f8419fe49fab6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 2 18:29:36 2014 +0200
sr_dev_inst_new(): Use NULL (not "") if version unknown/nonexisting.
Unify the whole code-base to use NULL there, not a mix of "" and NULL.
commit cfe01d0607a65bf4e17e3a8d15e4c0f2b20fb55c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 2 18:23:23 2014 +0200
chronovu-la: Show errors other than "device not found".
This can be useful for the user to see, e.g. for permission related
issues (device is there, but cannot be accessed).
commit 958326f8c685667239127a59ef883e7bceb63ac0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 5 13:35:49 2014 +0200
configure.ac: Clearly mark required and optional libs.
commit 99af83b7380ef7d8d48e15616b8910062890e7d3
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Apr 6 22:47:44 2014 +0200
rigol-ds: fix long memory depth setting on DS1000
commit f589a6d49971194737910faa11236012eed22c5a
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Apr 6 22:47:44 2014 +0200
scpi_usbtmc_libusb: disable all clear_halt for Rigol DS1000
commit 50e6311a1b76ead9e082d99bdea91c1cba08fd4e
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Apr 6 01:31:12 2014 +0200
scpi_usbtmc_libusb: disable bulk_out clear_halt for Rigol DS1000
fix hangup issue with Rigol firmware version 00.02.02.02.00
commit eb28f1b7b2c89a9986e799adcfffe2e2fc9c72b6
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sat Apr 5 17:42:33 2014 +0200
fx2lafw: fix possible use of uninitialized variable (gcc-4.9 warning fix)
hardware/fx2lafw/protocol.c: In function 'fx2lafw_command_start_acquisition':
hardware/fx2lafw/protocol.c:113:7: warning: 'cmd.flags' may be used uninitialized in this function [-Wmaybe-uninitialized]
(cmd.flags & CMD_START_FLAGS_CLK_48MHZ) ? "48" : "30");
^
commit 38d32464973b828bf327b9271ef4b0437d85c9f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 2 09:37:29 2014 +0200
Various drivers: Expose SR_CONF_TRIGGER_TYPE.
Without this, sigrok-cli --show (for example) will not show the
supported trigger types.
commit 69bdcd8bb44f3368d473da4f9ad5069778b139e7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 2 09:29:23 2014 +0200
chronovu-la: LA16 has fewer max. samples than LA8.
Each LA16 sample is 16bits wide (LA8 samples are 8 bits wide). Adapt the
number returned for SR_CONF_LIMIT_SAMPLES in config_list() accordingly.
commit 05266f36a5d4cd9371983bb5f659266489327af2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 1 23:23:23 2014 +0200
chronovu-la: Fix byte order for LA16 samples sent to the bus.
commit b0efc84e12c97afc59ae53225a4e59c2fa9459ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 1 22:41:02 2014 +0200
chronovu-la: Document that streaming is not possible.
This closes bug #261.
commit 7b3567126c22622180d82463f4f848606d52d2cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 1 21:47:11 2014 +0200
Rename 'chronovu-la8' driver to 'chronovu-la'.
The driver now also supports the LA16 device (and possibly others in the
future).
commit 00910580bb73862856cd3f09d20934f086b3fac0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 31 01:26:07 2014 +0200
la8: Add support for the ChronoVu LA16.
The ChronoVu LA16 is a new logic analyzer from ChronoVu with some
differences in features compared to the LA8, e.g.
- Supports 16 channels (instead of 8).
- Max. 200MHz samplerate (instead of 100MHz).
- Supports state triggering (low and high channel value) and edge triggering
(rising or falling edge), the LA8 only supports state triggering.
This driver now supports both the LA8 and LA16, but it needed a few
changes:
- Add support for detecting multiple device instances at all.
- Add support for both LA8 and/or LA16 devices being detected.
- Add a device profile struct for LA8-/LA16-specific device properties.
- Move the samplerates list to devc (it's different for LA8 and LA16).
- Split scan() into two functions, one for scanning, one for adding a device.
- Expand some variables and fields from uint8_t to uint16_t in order to
support 16 channels.
- Update the samplerate related functions to support the LA16's 200MHz.
- Various other minor updates in order to better handle both device types.
- Various error handling improvements and simplifications.
- Also, replace time() with g_get_monotonic_time() everywhere.
This also fixes bug #247 (which was related to incorrect handling of
resources during scan and open of the device, which was exposed by
PulseView allowing multiple consecutive scan/close/open calls).
commit b172c1301e183646fbe9a2b7e096d9c7ee8e2458
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 30 22:40:27 2014 +0200
la8: Cleanups, cosmetics, simplifications.
Also, make some LA8 references more generic in preparation of
LA16 support.
commit 9503583268cb322dc67b0e11d928739cbdcdb342
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 25 21:38:47 2014 +0100
demo: Fix typos.
commit 8bd3daa48ad3c5e043fc9f468144f9a455ad80ce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 25 21:35:31 2014 +0100
Various drivers: Drop some unneeded lines.
commit 0bcfc9dcd83e3bf8200a268782fddad1f15f17a7
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Mar 27 15:13:24 2014 +0100
rigol-ds: Don't close SCPI handle we didn't open.
commit 5d336f1130ddc2faaeabd7ed6ec602904054bfb8
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Mar 25 23:09:57 2014 +0100
rigol-ds: Add the TRIGGER_SLOPE entry to config_get() and config_list()
commit 61e77667de34752838a8b0d29b5bfcb14b6b95a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 25 09:26:05 2014 +0100
hameg-hmo: Change some PG_/pg_ names to CG_/cg_.
This fixes parts of bug #259.
commit fca75cbb741ae756bf50eaf1cdc6d4d53fcc60cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 24 16:11:45 2014 +0100
A few more random 'probe' to 'channel' changes.
This fixes parts of bug #259.
commit f3ca73edd29a48f8cc19755df629ab2bc9478eea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 24 16:05:42 2014 +0100
Rename a few more API calls with 'probe' in their name.
This fixes parts of bug #259.
commit 3f239f0803b9fbc073dd7abe9fc7b2a0c606fbb6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 24 22:39:42 2014 +0100
Rename various *PROBE* macros to *CHANNEL*.
This fixes parts of bug #259.
commit 56d0d24535700fb53e47a25ad5c73d34697695fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 24 21:36:04 2014 +0100
Rename sr_probe_new() to sr_channel_new().
This fixes parts of bug #259.
commit ba7dd8bbb8168cba432a844259a3e239aa5f36d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Mar 24 21:34:20 2014 +0100
Replace 'probe' with 'channel' in most places.
Also, consistently use 'ch' for channel variables. This matches how we
consistently use sdi, devc, and so on all over the code-base.
This fixes parts of bug #259.
commit 91aea754aaed0f0f2a6fc4b2b875f0d0b7c01f8e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 20 21:58:57 2014 +0100
Rename 'struct sr_probe' to 'struct sr_channel' everywhere.
This fixes parts of bug #259.
commit 53b4680fceab9351fc87b8c5b34854733f5fdac0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 20 21:58:01 2014 +0100
Consistently use 'cg' for channel group variables.
This matches how we consistently use sdi, devc, and so on all over
the code-base.
This fixes parts of bug #259.
commit a68bf88e3a6ba0184f1d6aea4ce26b9a2950a513
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 14 21:21:09 2014 +0100
Replace channel_group.probes with channel_group.channels.
This fixes parts of bug #259.
commit 40fd0264f907cf99a92d8192a11cde4499ba4652
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 14 21:22:29 2014 +0100
Replace some 'pg' with 'cg'.
(since 'probe groups' are now called 'channel groups')
This fixes parts of bug #259.
commit 660e398fe9f5fc608787f8fd75a9df8aac61026f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 14 21:09:37 2014 +0100
Replace 'probe group' with 'channel group' everywhere.
The name 'probe' (and thus 'probe group') is a relic from the times when
sigrok was mostly about logic analyzers. Nowadays we support a lot more
device types where 'probe' is not really a good term and 'channel' is
much better suited.
This fixes parts of bug #259.
commit 3fd2dca2072fb0b205db22df8b686917a3298e99
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Mar 25 17:44:38 2014 +0100
hameg-hmo: Add missing cases in config_get().
commit bbabdaf1e2802aeef7d48fab4b0dc3507a69ffe9
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Mar 25 17:44:37 2014 +0100
hameg-hmo: Add the TRIGGER_SLOPE entry to config_list().
commit 422a1c0d58249497b982f9dbd42632e5fc2b4a79
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Mar 25 17:44:36 2014 +0100
hameg-hmo: Fix the logic for the horizontal trigger position in config_set()
This patch fixes the logic calculating the trigger position as well as the
(hopefully) last remaining locale issue.
commit e83437ae206dea1bce85c8b46f7c56ebb9667bda
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Mon Mar 24 21:50:07 2014 +0100
serial-dmm: Implemented support for Voltcraft M-3650CR (driver voltcraft-m3650cr).
commit 1656e47def5422a5273f023d542d4d6a72668b42
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Mon Mar 24 17:42:52 2014 +0100
serial-dmm: Implemented support for Voltcraft ME-42 (driver voltcraft-me42).
commit 36cf5b544537730719ca5f9098cbe0a57618ddd7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 20 00:04:45 2014 +0100
Makefile.am: Add missing vxi.h.
If it's not listed as SOURCE, it won't end up in the tarball and a build
from tarball would thus break.
commit 67bd805523f52030a6459786388ce3385be00501
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 19 23:04:55 2014 +0100
Switch to a non-recursive automake setup.
Instead of >= 44 Makefile.am's we now only have one top-level
Makefile.am, and use the 'subdir-objects' automake option to
handle the build via non-recursive (auto)make.
This has the advantage of fewer (boilerplate or other) files and less
clutter in general, as well as performance advantages since the new
setup can build many files in parallel (with 'make -j'), not only 2 or 3
files within the same (e.g. hardware/xxxx/* subdirectory) and also since
we no longer need to build intermediate libtool helper libs per subdirectory.
A quick, non-scientific test build on a quad-core laptop with 'make -j 4'
yields a build time reduction from 35s to 19s.
All autotools features that worked before are still intact without any
regressions, including the Make targets 'install', 'uninstall', 'check',
'dist', 'clean', 'distclean' and so on, as well as all the usual portability
handling (build works on any OS, with any Make implementation such as
GNU Make or BSD Make, with any shell such as sh/ksh/zsh/bash/dash, etc. etc.)
and features such as out-of-tree build support, cross-compile support,
testsuite support (also with colored output), "silent make rules", etc. etc.
commit 9ad05e6cd28e5a4c7cc4f38d2dcb561a14bb5563
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 11 19:46:39 2014 +0100
scpi_usbtmc_libusb.c: Fix two error checks.
Two error checks had a missing "ret = ", which lead to an incorrect
value being passed to libusb_error_name().
Also, lower the level for those messages from sr_err() to sr_dbg()
since they're not fatal.
commit d8cbd659ce2e24428c7e403eeebd50ad4a992caa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 11 19:41:51 2014 +0100
scpi_usbtmc_libusb.c: Consistently check for < 0 (libusb calls).
commit a84f6ad38984dd8cee2e41a1f35a4ddf373d2dfd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 5 20:48:54 2014 +0100
Fix 'aquisition' typo in a few places.
commit 846fb172db5d5688b98dce24def523f25d8a76ac
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Mar 9 23:09:47 2014 +0100
brymen-bm86x: disable driver when libusb is not present
commit 7f7f6a2e0c4f611c2096e5bc079ab5f5b674aefc
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Sat Mar 8 11:04:27 2014 +0100
gmc-mh-1x-2x: Whitespace fixes (cosmetic).
commit dc05dd606999c1b5e73d8548145b3b32d209d29c
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Sat Mar 8 10:56:16 2014 +0100
visa: Fixed missing header warnings/uninitialized variable.
commit d1d3b7dff9881acfce0923be9e66b3bddaa48221
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Sat Mar 8 10:50:21 2014 +0100
gmc-mh-1x-2x: Cosmetic fixes for Metrahit 25S.
commit c6c63b08af0f73b60de6726c9d5aea50d20d83d2
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Sat Mar 8 10:40:38 2014 +0100
gmc-mh-1x-2x: Fixed 300 µA range scaling.
commit 0bc3ab92e66ee08486e25a9a95b1300e2654fd28
Author: Fabio <sigrok@maconnect.ch>
Date: Wed Mar 5 10:04:17 2014 +0100
Fluke189 support
I can confirm that the 189 uses the same "QM" command as the 187:
<-- QM\r
--> QM,+03.225 mV AC
commit 8c9d4d67f8678a5c6819428170d5611a4c3f1dc3
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Fri Feb 28 19:51:57 2014 +0100
Fixed session_driver so that it can run more than one session.
commit 0ab702601d6b855f162340da9a19b1885ee16253
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 28 13:11:46 2014 +0100
brymen-bm86x: Remove std_dev_clear() wrapper.
commit 1b950bc79c2b8036191ace947543229c75748689
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 28 13:08:53 2014 +0100
configure.ac: Move Brymen BM86X snippet to correct place.
commit ecaa89af0e01f9c3f585e82eb849bf616bff22cf
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Wed Feb 19 15:09:03 2014 +0100
brymen-bm86x: actual driver implementation
commit 8d9c8554a53d3c22305558e6064a6a4873e83fe1
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sat Feb 8 22:40:36 2014 +0100
brymen-bm86x: Initial driver skeleton.
commit 8bbdd364d3355ee5e39b4573910f7b300ecf6d09
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Feb 26 00:29:55 2014 +0100
session: Always read a whole number of samples.
commit a66307424e7a14df8f53e04d5ff77436dbaa830f
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 26 21:37:18 2014 +0100
Remove std_dev_clear() wrappers from drivers.
commit 824fba03415058388108378dadb30b2efcb499a2
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 26 21:35:33 2014 +0100
session: Implement dev_clear().
commit 8102cee4d495c7402a7ca70ec40414312129c1f2
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 26 21:25:07 2014 +0100
device: sr_dev_clear() now always works.
If the driver does not provide a dev_clear() function, the wrapper
now calls std_dev_clear() instead.
commit 0294a409b80f21c8197fa4533fd9819f8274a381
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 12 15:13:41 2014 +0100
conrad-digi-35-cpu: Add missing Makefile.am, minor cosmetics.
commit c6a2843a58a398d0095291c2a1f397b419d164f4
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Sat Feb 8 14:26:26 2014 +0100
conrad-digi-35-cpu: Implemented driver.
commit 823b4e5817af106e88ab4be2bdb999ac9d1ee50b
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Wed Feb 5 19:50:46 2014 +0100
conrad-digi-35-cpu: Initial driver framework.
commit a90061e5d1d3f60e4dccd9a408ad53269cc7d7cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 12 15:04:54 2014 +0100
gmc-mh-1x-2x: Shorten driver names a bit.
commit fadd07072b283f7040036a1050e23e7af43f1324
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Sun Feb 9 18:13:49 2014 +0100
gmc-mh-1x-2x: Support for interface SI232-II with driver gmc-mh-2x-bd232.
commit c90beca7801b16e46ffd4d74c9dd21b02a045ab5
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Wed Feb 5 14:59:02 2014 +0100
gmc-mh-1x-2x: Added new driver gmc-mh-2x-bd232.
commit 67eb6bcbe607fdc745d34a30123c5a6ad81cad72
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Wed Feb 5 14:46:10 2014 +0100
hwdriver.c: Update/extend some Doxygen comments.
commit 6392d5992b12cf2b51d7f6704c4d23f3a2d4a294
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Wed Feb 5 14:40:40 2014 +0100
gmc-mh-1x-2x: Cleanup, docs, minor fixes.
commit 813aab691b255580d3247b9fec7ab3f7b4fc8a18
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Wed Feb 5 14:32:21 2014 +0100
Update/extend some Doxygen comments.
commit d8b6b28b803ceabef12ac9ccc3f760d0ade70512
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Fri Feb 7 20:20:20 2014 +0100
scpi_visa: Add missing callback parameter.
(scpi_visa_dev_inst_new): Fix serious compiler warning due to
missing drvc parameter in prototype.
commit 52f6951c4e15900d4c617d886d8f8298706c9684
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 7 19:42:27 2014 +0100
scpi_usbtmc_libusb: Consistent libusb error handling.
commit ed840c8612a42506e7c28cca83b4586d9bd79471
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 7 19:01:45 2014 +0100
scpi: Disable scpi_usbtmc in favor of scpi_usbtmc_libusb for now.
Having both in the list will "find" the same device twice.
commit 2a0f6924d2c8f3b203560ba0086e9d297855677a
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Feb 4 23:19:02 2014 +0100
usb: remove unused sr_usb_find_usbtmc()
commit 20ed3ceee71d97ca594931a537d035503e6d6ec4
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Fri Jan 17 10:49:00 2014 +0100
scpi: add a libusb based implementation of usbtmc
commit ca28abd6a55c87c3c17fe839b3515ce1e5f121a5
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:50:14 2014 +0100
hameg-hmo: use the new scpi scan API
commit 9d3ae01b377d73ae3ba0f45715bcd1138d2c28d9
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:49:57 2014 +0100
rigol-ds: use the new scpi scan API
commit b541f8376d8fadb1377e3140c3d79304f5d680ec
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:47:45 2014 +0100
scpi: add a generic scan API and implement it in usbtmc and serial transport
note that sr_usb_find_serial() is copied from the hameg-hmo driver
commit 17bdda58686a208424520b64f9324eba259ff535
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Fri Jan 17 10:47:42 2014 +0100
scpi: add a struct drv_context parameter to scpi_dev_inst_new()
commit ea2d6d994f28c11b7b3d0232bd1a3dbbbf67a401
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:33:09 2014 +0100
libsigrok-internal.h: endian neutral helper macro to write 8/16/32 bits integer to unaligned memory
commit a4f9c35b23e120195269f5387df6dffaabe344dc
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:29:34 2014 +0100
libsigrok-internal.h: add helper macro to read 8 bits integer
matching the 16 and 32 bits one
commit 6e94eb4142c59a92db4e6db3e715607aed30cda9
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:46:20 2014 +0100
rigol-ds: apply :KEY:LOCK DISABLE only to DS1K
commit 3918fbb0cf65df317390643f2bb143716b8d0a60
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 21:44:26 2014 +0100
rigol-ds: properly end WAIT_TRIGGER event handling
commit 83dbd9f09caa400b09fdb699a34f728f1a33b58a
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Feb 2 22:09:01 2014 +0100
rigol-ds: properly deal with dev_close() getting called multiple times
commit b84b7ee73d67273871d03ede6e7de89f187ef929
Author: Martin Ling <martin-git@earth.li>
Date: Sun Feb 2 16:21:33 2014 -0800
Fix building without librevisa.
commit fb9e91aed45a45c80014951e1dbd01c5d3e60c5b
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Feb 5 00:56:49 2014 +0100
output/vcd: Extend output stream to last sample.
(receive): Write a dummy timestamp after the last sample
to indicate the length of the sampled stream.
commit 4f2dad42f44e4de1e5a7eea79d27f4ee3284ac46
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Feb 5 00:25:32 2014 +0100
input/vcd: Remove debug output from inner loops.
(parse_contents): Do not call sr_dbg() on every signal change.
This would be excessive even for sr_spew().
(read_until): Do not call ftell() just to be able to show some
number in a debug message later on.
commit cd1b0e8f7921afc84d582eb4d95ce673912943dd
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Feb 3 01:54:20 2014 +0100
input/vcd: Avoid truncation of shift to 32 bits.
(parse_contents): Cast constant 1 to uint64_t before shifting left.
Also fix whitespace errors.
commit 7ad4e2b80b47aab7be54f1efd084b4df7eb1d6b0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 3 00:24:13 2014 +0100
scpi_visa.c: Minor cosmetics.
commit 1fb2312f99a27d552cbd13df7827eb366bcc3122
Author: Martin Ling <martin-git@earth.li>
Date: Sat Feb 1 10:01:05 2014 +0000
Add librevisa SCPI backend.
commit 191c7e5f4b3f189270ebeed3b92da4cdc594118b
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 30 22:11:10 2014 +0100
vcd: Remove bogus $dumpvars and $dumpoff commands.
These commands are superfluous and do not seem to make sense in
the context they were used. Also, $dumpvars was missing an $end,
and $dumpoff was used without any content.
commit 2b6363b433683dfc9bedb678dfe854a56b776d4d
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 30 21:57:49 2014 +0100
vcd: Output timestamp only once per change.
Avoid writing a new timestamp for every changed signal if multiple
signals change state simultaneously. Also, keep signal transitions
on the same line with their timestamp to make the output easier to
inspect in a text editor. (VCD does not care whether newlines or
spaces are used to separate tokens.)
commit 563080a8d1f1737578a313b89995a9da6ec1077c
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 30 20:49:36 2014 +0100
vcd: Fix output for more than 8 channels.
(receive): Use probe index for sample byte selection too, not just
for bit selection. Also simplify the indexing expressions a bit.
This fixes the problem of incorrect output for probes indices 8 to
31.
Also, use double rather than float in the timestamp calculation,
and format the result directly as floating point number rather than
converting it back to uint64_t.
Additionally, make sure that the state of all signals is written
for the very first sample in the stream. This fixes the problem
that signals would be displayed as indeterminate until the first
change.
(context.samplecount): Make the sample counter part of the context
struct, rather than keeping it as a global static.
commit a6c12f3f70fe301051b7de4ae144db926ebeac9c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 17:52:44 2014 +0100
Drop unneeded comments.
commit 85d8aa496e49363b0088359aaa1f90fdb4f30c43
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 17:48:10 2014 +0100
sr_probe->index is no longer deprecated (for now).
commit 7d4874c1b63c169d1847e93c0d221a16d662dd53
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 30 17:02:34 2014 +0100
configure.ac: Only check for things we actually use.
Drop checks where we don't use the result (yet). We might bring back
some of those once we start actually using the result in the code.
commit 6358f0a9568848be734a8a94ad7f510e04a4503f
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 30 00:31:42 2014 +0100
sysclk-lwla: Implement SR_CONF_CLOCK_EDGE setting.
commit 860bc59b0ff598f37f23a1882bf5822ef7c86382
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Jan 29 20:53:51 2014 +0100
hwdriver: Add SR_CONF_CLOCK_EDGE option.
Allow the edge of an external clock input to be configured by
means of an SR_CONF_CLOCK_EDGE configuration setting. This is
a string option with the same format as SR_CONF_TRIGGER_SLOPE.
commit 625763e2c2b69f79b950ad0b0cd8b779500f5d95
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 30 11:58:07 2014 +0100
ols: Code cleanup and more debug output.
commit 016e72f30e21fbec6a1097318ab36877b2c140af
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 29 08:22:02 2014 +0100
ols: Fix endianness problems in protocol.
commit e6e54bd2537ac423977f5574292f2cb987ce8629
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Jan 26 21:42:22 2014 +0100
sysclk-lwla: Add support for external trigger input.
Implement the configuration setting TRIGGER_SOURCE with the
choices CH (logic channels) and TRG (external trigger input).
Also implement the TRIGGER_SLOPE setting for selecting the
edge to trigger on (rising or falling).
commit e0df15d43600737fe225f5c68dbdbcf84d5fa326
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Jan 26 20:28:59 2014 +0100
sysclk-lwla: Simplify and optimize word extraction.
It turns out that all LWLA protocol responses consist either
of 32-bit units or of 32-bit units combined into 64-bit units.
Thus it makes sense to double the basic unit size for reading
from 16 bit to 32 bit.
We cannot do the same for command messages though, as those
actually do use 16-bit quantities in some places, and 32-bit
arguments are not always aligned to 32-bit boundaries.
(acquisition_state.xfer_buf_in): Change unit type to uint32_t,
and update related macros and code accordingly.
(LWLA_TO_UINT32): New macro to replace LWLA_READ32, operating
directly on 32-bit values instead of pointers to 16-bit units.
Make use of a compiler-recognized idiom for bitwise rotation
to efficiently swap the 16-bit halves of a 32-bit word.
(LWLA_TO_UINT16): New macro to replace LWLA_READ16.
(LWLA_READ64): Remove unused macro.
(LWLA_WORD_[0123]): Slightly simplify 16-bit word extraction.
commit 5413df19528c96c6fba3ee4cc61ec3dfe01047cb
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Jan 25 23:27:40 2014 +0100
sysclk-lwla: Limit use of SR_ERR_ARG to user-supplied arguments.
The return code SR_ERR_ARG is intended for reporting unsupported
or inapplicable device configuration settings and is not a hard
error. In order to indicate failure of internal sanity checks,
use SR_ERR_BUG instead.
commit 1c873c114cdf67b2cffa78293611d8f8f275bab8
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Jan 28 17:13:00 2014 +0100
scpi: Limit the log message in get_string() to 70 characters.
commit 9d156555a557aa079056d42fbc9ddd12338e842e
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Sun Jan 26 21:30:57 2014 +0100
demo: Cast to double while calculating the pattern frequency.
Without the cast non integer frequencies weren't possible (e.g. with a sampling
frequency of 50Hz we would end up with a signal frequency of 2Hz instead of
2.5Hz). The result were signals which had an incorrect number of samples per
period.
BugLink: http://sigrok.org/bugzilla/show_bug.cgi?id=297
commit 464d49360a02c6b378ebaf5ef38f4bb4536dd5ee
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 27 21:19:41 2014 +0100
rigol-ds: Deal with dev_close() getting called multiple times.
commit ca9b9f4834f106ba8387cf962a216425e0476de5
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Jan 27 00:22:01 2014 +0100
hwdriver: Change TRIGGER_SLOPE setting to string type.
Drivers interpreted the uint64 values to the SR_CONF_TRIGGER_SLOPE
configuration setting in different ways. In order to orthogonalize
the API, change the type of the setting to a string with the same
format as uses for logic probes.
commit fe90fbb7829ac745d59be37e61fa55e45b251a4e
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 25 21:20:29 2014 +0100
demo: Require sample limit.
commit c2066c2104f46bd88b40a6dc2f0051fe1272ff8a
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Jan 25 02:21:19 2014 +0100
sysclk-lwla: Load bitstream files in RBF format.
Modify the bitstream loading routine to work directly with the
Raw Binary Files (.rbf) generated by Altera tools. Previously,
a custom format was used which was basically an RBF preceded by
a 4-byte header specifying the transfer length.
commit 7f4975b4401a1e8de61e356b5b272fc00b658260
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 25 20:39:50 2014 +0100
demo: Keep separate counters for logic and analog sources.
Since they have different internal buffer sizes, their output counters
are not in sync. See bug 295.
commit aa48adf96059aa882da4dc8738d6a1e13068d2ae
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 25 12:44:00 2014 +0100
Properly publish samplerate when loading session file.
commit 3a841040800101909c95a9a9f95d0b0ab19b3b7c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 23 22:45:08 2014 +0100
sr file format: Bump version to 2.
The *.sr (libsigrok session) file format has changed since the last
libsigrok release. Frontends using older libsigrok versions will not
be able to read *.sr files created by frontends using the new file format.
Thus, bump the version number of the file format to 2.
Current libsigrok will read both version 1 and version 2 files
correctly, and always write version 2 files.
commit fe0d9caa88a1b6207de6760e75086007601e1169
Author: Martin Ling <martin-git@earth.li>
Date: Thu Jan 23 10:13:54 2014 +0000
rigol-ds: Fix a couple of compile warnings.
commit e36aae989cc9f747f5a0880bfae6a378d7e31e23
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 23 23:11:34 2014 +0100
output/csv: Drop last separators as needed.
commit ee38c8ba3e49fa3b8af6d2fd83396b3dd4b109a7
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 23 02:35:51 2014 +0100
sysclk-lwla: Implement config_commit() callback.
Move pre-acquisition hardware setup to the new config_commit()
callback. At the moment, the only setting applied at commit
time is switching the clock source, which involves uploading
a new bitstream to the FPGA.
commit 43db343618e81d03aa8531b4a4ed96c250a29991
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 23 02:27:58 2014 +0100
sysclk-lwla: Implement config_probe_set() callback.
Move setup of channels and trigger masks to the new probe
configuration callback. Although the actual hardware setup
still happens just before acquisition, the new approach
already has the advantage that invalid settings are caught
early.
Also, it turns out that the LWLA1034 allows triggering on
channels which are not enabled for data acquisition. This
feature is now supported as well.
commit 50cad98d1ba595d6e2da900dbe212b293a058189
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 23 01:24:29 2014 +0100
sysclk-lwla: Do not reset drv_context.instances on scan.
Apparently, frontends may call scan() more than once to accumulate
multiple devices, so do not reset the instance list pointer at the
start of each scan. Also, number devices continuously across scans.
commit 99c76642aa8d3c75bef4ef3927b4c4cf45461892
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Thu Jan 23 01:10:31 2014 +0100
sysclk-lwla: Advertise SR_CONF_CONN option.
commit 4472867a9f17101c7849f26fff9dcce7010f7ac7
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 08:15:12 2014 +0000
rigol-ds: Don't run rigol_ds_block_wait() code unless supported.
commit aff00e40880184c9f9d4a934d83af0cf052ed70c
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 08:13:27 2014 +0000
rigol-ds: Fix partial read handling in header parser.
commit 8943049cd411e194c77ca4ffed434a43af525f03
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 07:41:34 2014 +0000
scpi_serial: Reimplement to allow scpi_read_complete() to work correctly.
commit 824eb2acfd1a9047f4044370c6375a79d7e2c7b2
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 05:07:20 2014 +0000
rigol-ds: Fix divide by zero when no analog probes selected.
commit 7d63347e9083648abd82bdeb49435ec1f7a98a44
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 04:57:48 2014 +0000
rigol-ds: Stop capture cleanly on read errors.
commit ae3a1913665dcdd721c88a46bc93c5e86747b519
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 04:50:38 2014 +0000
rigol-ds: Improve protocol debugging output, abort on read errors.
commit 2b399703d10dedfbed1f6b13070e0c3f5fd9938b
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 04:49:57 2014 +0000
rigol-ds: Only protocol v3 adds trailing linefeeds to data blocks.
commit a849c43a5070fce7b39d31383d4b370872e40a2b
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 04:48:33 2014 +0000
scpi_usbtmc: Improve debugging output.
commit 569d4dbd3e4c6cef0456c2afcc9a1e3d995d96ee
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 04:08:00 2014 +0000
rigol-ds: Overhaul vendor/series/model info and protocol variants.
commit e086b750fabe4247c5d88a37fa6927f907213d75
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 00:25:32 2014 +0000
rigol-ds: Overhaul VS5000 and DS1000 support.
This change moves the handling of series differences out to the points in the
code where they actually matter, unifying the overall structure of the code.
It also adds new VS5000/DS1000 series equivalents for commands that were
previously only implemented on the later models.
After this change, trigger waiting and the 'Memory' data source are supported
on the VS5000/DS1000 series.
commit 38354d9d9eb7d63ee10ee42636b0ce0075536cf4
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 00:22:41 2014 +0000
rigol-ds: Use common rigol_ds_config_set() function throughout.
commit cf9f4bc5b0bf5ceef6ccfff7bdbf6b4ac2fd7486
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 22 00:14:42 2014 +0000
scpi: Log responses received by sr_scpi_get_string().
commit 32f09bfd9e2eaa6b909a672f779b74c53838120e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 23 01:09:16 2014 +0100
ols: Don't reduce sample count just because it's not a multiple of 4.
commit 54da58ca9b9bde79d1b22e5254d7e396ff024fea
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 22 02:44:52 2014 +0100
output/csv: Drop extra separator on every line.
commit e96cf218c08d474fca0285113ad334823a60a3b9
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 22 02:34:56 2014 +0100
output/csv: Get rid of 64-probe limit.
commit 4829d37d6ad74c9368784b3cf3cae6f1a0a651c4
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 22 01:14:26 2014 +0100
output/csv: Use new output API.
commit 2b36d6c64e16c4b4efdffacd61d6fbc0c1b7ef91
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 18:25:50 2014 +0100
demo: Cycle through all available patterns for default analog probes.
commit 03aa381efbb3fe3cb3fec8e7f2229b22bae58c56
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 18:19:57 2014 +0100
demo: Probe indexes should be unique, even if the types are different.
commit eca2f8521333b7d259cc110e025d915b50aa384c
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 18:16:52 2014 +0100
Don't mention non-logic probes in session file metadata.
They don't get saved anyway, and are very confusing to clients.
commit 22c196883d50849ac3a6ed3bffa98e43b6155069
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 21 16:51:01 2014 +0000
rigol-ds: Disable key lock when closing device.
commit 933e63a13bcedc7d4a003605449e54241e25f4eb
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 17:02:27 2014 +0100
brymen-dmm: Make protocol parser locale-independent.
commit fe9d5abefcebb3a382d990e069d93c28e9541e35
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 16:43:49 2014 +0100
agilent-dmm: Make protocol parser locale-independent.
commit 357e341d9a9e8f3834fe82c5ff4141f67c29d2d2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 16:33:34 2014 +0100
fluke-dmm: Make protocol parsers locale-independent.
commit d2cd06e7e96054973efe3b68565e66cdedeb5efe
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 14:47:05 2014 +0100
Make sure to delete temporary metadata file after use.
Fixes bug 276.
commit ac2926b37be8c569c5ca7f163a9219b08805fdd2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 14:03:27 2014 +0100
std: Fix caller prefix output.
commit 10d309c8abe03fa242409a6db398b4705cf6cf3d
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 21 02:23:38 2014 +0000
rigol-ds: DS1000 series still needs the stupid delay.
commit 32b7cd4f02a8f84a860ee57911dd71191fc96987
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Jan 20 23:04:49 2014 +0100
session: Auto-commit settings before acquisition.
(sr_session_start): Just before starting acquisition on
a device, call sr_config_commit() to apply pending config
changes to the hardware device.
(sr_session_dev_add): Ditto. Also, return an error code
if starting acquisition failed.
commit 8dd0b290eb6ce6ebf9bde8b9a52785adb45b16f7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 21 12:54:24 2014 +0100
rigol-ds: On DS1000 with firmware < 0.2.4, use legacy protocol.
Apparently the ASCII header containing length was only added in version
0.2.4.
commit fcdebbe89cca239c2270bea97ee709d26c51ae3b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 20 19:08:10 2014 +0100
rigol-ds: Shorten vendor name.
commit 67d6f6fca2b85f2ef6a7e03383ebdcd2ce877eab
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 20 19:07:48 2014 +0100
agilent-dmm: Shorten vendor name.
commit 6d16fdfb1328ba46edf0734b2b1ae62b1c26fb05
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 20 18:16:25 2014 +0100
ols: Add option to turn test patterns off again.
commit 2a854d71392d2d22c59ec975ca11eb72ab81061d
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sun Jan 19 20:39:11 2014 +0100
hwdriver: Introduce sr_config_commit() API call.
(sr_dev_driver.config_probe_set): New optional callback enabling
drivers to be notified upon changes to probe settings.
(sr_dev_probe_enable, sr_dev_trigger_set): Invoke new driver
callback on changes.
(sr_dev_driver.config_commit): New optional callback allowing
drivers to defer application of configuration settings until
an explicit call to config_commit().
(sr_config_commit): New public wrapper function.
commit 2b0e4a468a522770f27959d07efdd7b23e70a509
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 19 23:28:40 2014 +0100
rigol-ds: add support for more keys in config_get()
commit 72ecba02f44079e96a2708f3ac9ac847c85edb03
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 19 23:26:26 2014 +0100
rigol-ds: use appropriately defined NUM_VDIV constant
commit 8e06edf5282647deb9ddcc9ffad5bd6f94ae6f6a
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 19 23:24:58 2014 +0100
rigol-ds: add more valid timebases for DS2302
commit 889ef4a01cbf50d381cda0a1331b794a2c6d26c8
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 19 14:46:59 2014 +0100
rigol-ds: fix set_cfg() calls with float parameters to avoid locale issues
commit f76c24f6fdf09075a68197659df35eb1530e3004
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 15:07:15 2014 +0000
rigol-ds: Send FRAME_BEGIN and FRAME_END per frame, not per channel.
commit bac11aeb1b4f90e434ce05ee89ab1976a2a2b742
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 14:46:10 2014 +0000
rigol-ds: Cleanup and fix check for short data blocks.
commit 51bfe5363a89f7547810ed02868207a6f6be35b5
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 14:22:09 2014 +0000
rigol-ds: Use *OPC? command rather than delay to await completion.
commit 7788579e66d1bb7b3db8d3360c11f6407f596fee
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 14:17:50 2014 +0000
scpi: Remove redundant newline removal in sr_scpi_get_hw_id().
commit 334fbc2ac0ced005d558710e48ca660eaf9dcac5
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 14:10:36 2014 +0000
rigol-ds: Use standard sr_scpi_get functions, remove internal versions.
commit d03dfac6b9c07812c0b7b21858b247088d5605aa
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 13:43:34 2014 +0000
scpi: Strip trailing newlines in sr_scpi_get_string().
commit 470140fc0dff26e40000c8858c32dd84760df14a
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 02:56:45 2014 +0000
rigol-ds: DS1000 series actually use IEEE488.2 data block format.
commit d22250a96adbef6dbae44cd8e346cb5f31a3f872
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 02:56:01 2014 +0000
rigol-ds: Correct digital waveform block sizes.
commit 3ed7a40c753128d73875282cd318e1c8d96b360a
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 02:27:29 2014 +0000
rigol-ds: Check SCPI read is complete after reading expected block length.
commit 904fd29b7255958f499719f4b7f8f653596e33c6
Author: Martin Ling <martin-git@earth.li>
Date: Fri Jan 17 00:46:16 2014 +0000
rigol-ds: Update which channels are enabled after making changes.
commit f0de2dd0fa67b61e755b04657b132282acc1c9a0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 19 17:18:59 2014 +0100
Remove SR_CONF_MAX_UNCOMPRESSED_SAMPLES again.
The maximum sample size that can be set on a device is now published
by sr_config_list(SR_CONF_LIMIT_SAMPLES). This returns a tuple of
uint64_t representing minimum and maximum number of samples.
commit 9497f49ef8ce9136775c77386a79256806ee1c02
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Jan 18 18:13:40 2014 +0100
sysclk-lwla: Improve message log output.
Report settings at acquisition start as informational messages.
Print a message when the the trigger condition has been met.
Demote some other messages from information to debug, and use
the %zu format for printing size_t values.
commit 2cfd16a31672be2ef8227dcda407e8cc5a24607f
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Jan 18 17:36:23 2014 +0100
sysclk-lwla: Streamline packet output logic.
(process_sample_data): When expanding run-length samples into
session packets, calculate the number of samples to write in
advance while honoring all constraints. This is cleaner than
checking constraints within the expansion loop. Also, the new
logic always fills up packets exactly to whatever limit applies
first, thereby removing the need for truncation after the fact.
commit 29d587670df54e6dce281e942d1da0c0ee5a74f3
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Sat Jan 18 16:08:39 2014 +0100
sysclk-lwla: Implement SR_CONF_LIMIT_MSEC.
Allow the acquisition to be constrained by time in addition to
a sample count limit. Since the LWLA protocol actually provides
only a duration natively, implement the sample count limit on top
of the new duration limit.
With this change, limiting an acquisition in external clock mode
should finally work properly.
commit 17794067f96fd2b6f55b49bfcc2ce08e6edf57e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 17 20:41:56 2014 +0100
tests: Fix a few warnings.
Fix a bunch of "no previous prototype for ..." warnings exposed
by -Wmissing-prototypes.
commit 2438b737ae644ce156d5ad808439358821234191
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 15 01:51:04 2014 +0100
demo: Bring analog square wave amplitude into line with other patterns.
commit 9f54e0e84f93ca4773994d4ee3c2cf3d8989790b
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Jan 14 23:03:10 2014 +0100
demo: Add analog sawtooth pattern.
commit 091c9621275fed7b0a418b644de46efec709d47b
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Jan 14 23:03:09 2014 +0100
demo: Add triangle pattern.
commit 4374219bc8c26997bb5c13c57f0babe3a61cd47e
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Jan 14 23:03:08 2014 +0100
demo: Implement sine wave pattern.
This adds sine wave generation capabilities for the analog channels in the demo
driver. The frequency of the sine wave depends on the configured sample rate of
the demo device. The frequency of the sine wave is always 20 times smaller than
the sample rate, in other words we always have 20 samples per period.
commit e196cb6193421ec8de4f026a1bf22c14f623b3f3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 17 12:11:52 2014 +0100
uni-t-ut32x: Fix typo that prevents usage with multiple devices.
commit c2b394d56220de371280ff6e2b83559e1b1d27b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 17 01:57:09 2014 +0100
rigol-ds: Minor whitespace fixes.
commit 04e8e01ec6e5f293cde7d53e63fd29f0740af4a3
Author: Martin Ling <martin-git@earth.li>
Date: Thu Jan 16 23:25:59 2014 +0000
rigol-ds: Enable/disable LA pod when (de)selecting digital channels.
commit 51b294cd013db9d4d15f713c9ed576c343e685d6
Author: Martin Ling <martin-git@earth.li>
Date: Thu Jan 16 18:57:45 2014 +0000
rigol-ds: Reset num_frames to zero in dev_acquisition_start.
commit b751cf7a82ff04973e9525b42bb3e21ab88a1ab8
Author: Martin Ling <martin-git@earth.li>
Date: Wed Jan 15 17:06:46 2014 +0000
rigol-ds: Make sure to always send SR_DF_END at end of capture.
commit 4914dd4b9a9e38b72aa351a0322e812c9d6a0384
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 14 21:27:58 2014 +0000
rigol-ds: Calculate effective samplerate.
commit 5415e6024766fb9cd130782415eabcfe243bb3aa
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 14 21:21:31 2014 +0000
rigol-ds: Separate function to compute analog frame size.
commit c1bcb8cc633cc69ce4a872f59ec2b686bc00bd04
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 14 20:55:20 2014 +0000
rigol-ds: Advertise SR_CONF_LIMIT_FRAMES support.
commit 969edf63068d19260381274cfa4fecf6a390345b
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 14 20:48:17 2014 +0000
rigol-ds: Fix check for probe group validity.
commit 55eb33dbf8cec9d7871187fe08d834180203b484
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 17 00:37:58 2014 +0100
hameg-hmo: Fix two compiler warnings on Windows.
CC libsigrok_hw_hameg_hmo_la-protocol.lo
api.c: In function 'auto_find_usb':
api.c:70:39: warning: unused parameter 'vendor_id' [-Wunused-parameter]
static GSList *auto_find_usb(uint16_t vendor_id, uint16_t product_id)
^
api.c:70:59: warning: unused parameter 'product_id' [-Wunused-parameter]
static GSList *auto_find_usb(uint16_t vendor_id, uint16_t product_id)
^
commit dcc94340bd4c17f74c57a9ec9a2d8d9c1f06dd9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 17 00:26:30 2014 +0100
usb: Fix two compiler warnings on Windows.
CC libsigrok_hw_common_la-usb.lo
usb.c:241:18: warning: no previous prototype for 'usb_thread'
[-Wmissing-prototypes]
SR_PRIV gpointer usb_thread(gpointer data)
^
usb.c:256:13: warning: no previous prototype for 'usb_callback'
[-Wmissing-prototypes]
SR_PRIV int usb_callback(int fd, int revents, void *cb_data)
^
commit c06c24d2d321c4adb2274402857b8811485c40ac
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 19:42:27 2014 +0100
hameg-hmo: Silence warning about format security.
The command for fetching the sample rate while in single shot mode doesn't take
an argument so the snprintf here is redundant.
commit ef1a346b0b69a6ef74c75f6eb61ac5742b67b5c2
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 19:55:00 2014 +0100
hameg-hmo: Reset the number of acquired frames in acquisition stop.
commit ccf146182522391d6506dcb3944d305e8906101c
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:58 2014 +0100
hameg-hmo: Expose more options with config_get().
This patch exposes the TRIGGER_SOURCE and COUPLING options via config_get().
commit eff1ee0321166b7017765f91f5833fdf69e30d1b
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:57 2014 +0100
hameg-hmo: Advertise the frame limit option.
commit 23e1ea7a7d862a8f5173dd12c62d6a4b2e7e9015
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:56 2014 +0100
hameg-hmo: Update the sample rate when the channel states or the timebase change.
The sample rate on the Hameg scopes changes depending on the number of channels
turned on and on the current timebase.
Update the sample rate if any of the above change.
commit 14a2f74d9a5d696baab59cda426604f1750d17ba
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:55 2014 +0100
hameg-hmo: Add support for sample rate fetching.
commit c09392d092f4b4c8d979b968bacb9f9056dc45e6
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:54 2014 +0100
scpi: Add CMD_GET_SAMPLE_RATE to the command enum.
commit 8de2dc3b2e6ee1cb2df31db567e59f197623007c
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:53 2014 +0100
hameg-hmo: Change the way vdiv and timebase are saved.
The current vertical division setting (per channel) and the timebase are stored
as a floating point number. This is suboptimal since clients expect us to send
this information to them in form of a rational number.
Store only the index of the current setting since all the supported settings are
already stored inside of an array.
commit 66e3219dbd086dc57087281f10fdefbe060ee5c8
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:52 2014 +0100
hameg-hmo: Send the DF_END packet in acquisition_stop()
The DF_END packet was send out after all configured frames were fetched, but
devices may stop the acquisition at any point in time and an DF_END will not be
send out in this case.
Send the DF_END packet inside of acquisition_stop() so this can't happen.
commit 68e3d070144375fc01c54f0295a6c9acf726d9cc
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:51 2014 +0100
hameg-hmo: Close the device after initial scan.
The device is after a scan left open and clients that don't call unconditionally
dev_open() will never fetch the initial device state.
Close the device after the scan so clients know they need to open it.
commit 965b463d9825c2a72a3a1cfcc10e1a23ccc768aa
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:50 2014 +0100
hameg-hmo: Handle floating point numbers while ignoring the locale.
commit 13dbd151fee223b0cff563fbee81d31e786494e8
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:49 2014 +0100
scpi: Use sr_atof_ascii() instead of sr_atof().
commit 9806c2d573a3fde4c26a38eaab265c7a78962e94
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 15:28:48 2014 +0100
strutil: Add function to parse floating point numbers while ignoring the locale.
Most of the supported gear uses the ANSI C locale for communication, and if the
client sets up an incompatible locale parsing would fail.
This function ignores the client's locale and parses floating point numbers
using the ANSI C locale. This function should be always used when parsing
floating point numbers coming from the instrument.
commit 92b68bb5d6e5ca97990d223daaa3c74e4bbf4333
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 02:53:41 2014 +0100
device: Pass sdi as an function argument to config_list in dev_has_option()
With drivers that support multiple devices we need to know the device model
while listing options. That information is most of the time saved in the private
part of the dev_inst structure.
Pass the pointer to the dev_inst structure as an function argument so we have
access to this information.
commit 580f309948b1540a32cb1fd787ae3599c68cae4b
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Thu Jan 16 02:53:40 2014 +0100
strutil: Correctly parse floating point frequencies in parse_size_string().
parse_size_string() incorrectly parses a real number, e.g. 1.5 kHz ends up
being 1Hz.
This patch fixes parse_size_string() to take the fractional part as well into
account. The fractional part is parsed as an double precision floating point
number while ignoring the locale.
commit 0b92c32cb87f48d5f378b64c787a6f25b65915ad
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Jan 15 11:09:06 2014 +0100
sysclk-lwla: Make use of the probe index again.
(configure_probes): sr_probe::index has been un-deprecated,
so use it instead of relying on the list order.
commit d02d475442d80ed7b51449526afd5c54ac843d1d
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Jan 15 02:51:08 2014 +0100
sysclk-lwla: Bypass divider in external clock mode.
(lwla_setup_acquisition): Set the clock divider bypass
flag to 1 for the external clock modes as well.
(capture_setup): Set the clock divide count to 0 if an
external clock source is selected.
commit 313c7a7da20cb6d8e5e962844ed47d57460ff978
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Jan 15 01:12:39 2014 +0100
sysclk-lwla: Utility functions clean-up and semantic fixes.
(lwla_send_bitstream): Unref the mapped file earlier in order
to simplify the error handling.
(lwla_receive_reply): Do not treat a reply buffer length of
zero as silent no-op. That logic was left over from an earlier
iteration, before the distinction between reply buffer size and
expected read length was introduced.
commit 60e2fa0a03f689bf1e04f38e91473b8c231c4e26
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Jan 15 00:59:08 2014 +0100
sysclk-lwla: Remove unused dev_context::next_state.
commit 945e4343e2be4ad9e70e1a995182988b2331e0bd
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Wed Jan 15 00:52:26 2014 +0100
sysclk-lwla: Avoid warning due to bogus range check.
(lwla_set_clock_source): Checking whether an enum value is greater
than or equal to zero apparently results in a warning with some
compilers. Assign the enum to an unsigned variable to avoid this,
and return SR_ERR_BUG if the range is exceeded, as this indicates
a bug in the driver code itself.
commit 9e2bf9d204d153de65dd98445d9d91819198196f
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 23:30:02 2014 +0100
configure: add -Wmissing-prototypes compiler option
This should avoid introduction SR_PRIV functions when static would be enough.
commit 8a2aaffa02d333219ba9159b581a2a7482e5185f
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 23:29:17 2014 +0100
remove unused static functions
commit d87c1766f2968d121cea9d913b06dc3493adfd9e
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 23:16:55 2014 +0100
change a bunch of functions from SR_PRIV to static
None of those functions are called across compilation units.
commit 8162cad7e0727fc31d797afacfed4c23dd97aca0
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 23:38:23 2014 +0100
move function declarations to the appropriate header
commit 2588e50c63d08245547e9947e67b4247f9102b19
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 23:24:47 2014 +0100
es519xx: add missing declarations for es519xx_2400_11b_altfn
commit 365cca8aca560bdc3c5443a732e8d2620821a450
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 22:59:33 2014 +0100
gnuplot: proper error message when using gnuplot output without logic probe
commit ad7621d4451cdd3c29f92c9c0e42428e92b4ba3a
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 22:56:55 2014 +0100
add udev rule for the Rigol DS2000 series
commit 1f98295dfa0e303e05b0472cb025c03d3b0cb42b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 14 19:52:26 2014 +0100
sysclk-lwla: Fix probe name issue.
The g_ascii_formatd() function expects the "format" argument to start
with a '%' character, e.g. it should be "%f" or such (this is not
clearly documented in the glib API docs, but visible from the source code).
The usage of "CH%f" for example will trigger an assertion and thus make the
LWLA device unusable in practice (e.g. in PulseView on Windows no probenames
would be shown, and sampling wouldn't work).
Example:
GLib-CRITICAL **: g_ascii_formatd: assertion 'format[0] == '%'' failed
(not exposed in all glib versions or builds of glib on all distros
apparently, some may need G_MESSAGES_DEBUG=all or other measures)
From the glib g_ascii_formatd() code:
g_return_val_if_fail (format[0] == '%', NULL);
We now use g_snprintf() instead for simplicity. This has been tested to
fix this specific issue (i.e. the probenames now do show up in PulseView).
This closes bug #270.
commit 2379783d85a90bc2930f7eaff348c91b2d60d015
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 14 19:46:05 2014 +0100
configure.ac: Don't build sysclk-lwla if libusb-1.0 is not found.
commit 87283d98c996db225444cf0c80e19099edb6fe61
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 14 19:36:28 2014 +0100
configure.ac: Move sysclk-lwla chunk to correct location.
commit 7ebe9b9e7e8649fa592527d7cba2cf49804c3652
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Jan 14 01:43:02 2014 +0100
sysclk-lwla: Honor SR_CONF_CONN at scan time.
commit 8a3ddd8815aea40a2efd5987e754df1ec1322337
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Tue Jan 14 01:28:00 2014 +0100
sysclk-lwla: Fix calculation of the running sample count.
Field 7 of the status response is actually a duration in
milliseconds at all samplerates but 125 MHz.
commit 5874e88d83cabbec62e36c37e9016fab983d957b
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Jan 13 22:57:59 2014 +0100
sysclk-lwla: Implement support for the LWLA1034.
commit aeaad0b0b5db53f3d600359834b2738422feaeaf
Author: Daniel Elstner <daniel.kitta@gmail.com>
Date: Mon Jan 13 22:49:55 2014 +0100
sysclk-lwla: Initial driver skeleton.
commit bfaf112b689cba3ae5b3a73133fcdf7e45653550
Author: Martin Ling <martin-git@earth.li>
Date: Tue Jan 14 18:25:08 2014 +0000
rigol-ds: Use correct digital channel numbers when fetching config.
commit a4eb4b296da9818ffb04bb8023d43f6a006a81ca
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 14 00:05:24 2014 +0100
cem-dt-885x: Don't use char as signed type.
commit 613c11084915ac24de9bd0355a7479ece9adfa35
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 14 00:17:44 2014 +0100
scpi: properly check for HAVE_RPC (which is always defined)
commit d993d8d39d739d84f4927d251a826142a6a946a8
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon Jan 13 23:40:55 2014 +0100
rigol-ds: remove lonely break
commit a31b2ccbd8db3716d2b13971a8519631e06727fa
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon Jan 13 23:38:32 2014 +0100
rigol-ds: prevent config_list() to return empty g_variant
This fixes the following glib message:
$ ./sigrok-cli -d rigol-ds --show
[...]
g_variant_builder_end: assertion '!GVSB(builder)->uniform_item_types || GVSB(builder)->prev_item_type != NULL || g_variant_type_is_definite (GVSB(builder)->type)' failed
commit 69d83be9bf4b6aa7e6cabdf5ce1b6452182fa55b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 13 22:22:40 2014 +0100
Use PRIu64 for format in pretty-printer.
Thanks to Marcus Comstedt for the fix.
commit 02820f07955badeb2da144a5cc678733a8fd4750
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon Jan 13 22:49:57 2014 +0100
rigol-ds: does not depend on libserialport
commit a44a804bc6756605bcfbc3e9bff1066896303a9e
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon Jan 13 22:49:21 2014 +0100
scpi_usbtmc: does not depend on libserialport
commit 138c0652f8a24b531ee2bec9a72d623431c48bca
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Mon Jan 13 12:54:24 2014 +0100
udev: Add the Rigol DG4000 series to the udev rules
commit e22aa87808624c86ec52ea8d57d0a6f35c9e018e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 13 02:10:11 2014 +0100
atten-pps3xxx: Fix options reporting.
commit fe997353bf0c66425997bb84a0ad1041faf2a60e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 13 02:05:39 2014 +0100
atten-pps3xxx: Fix output channel mode get.
commit 2388ae860c369171d8728539ce2e9aab5810896b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 12 23:31:23 2014 +0100
demo: Properly handle logic vs. analog when setting the pattern.
commit 7a1da33198c0c4d9f982a147e5a49a128446eca8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 12 22:36:39 2014 +0100
demo: Split supported device options by probe group.
commit dc3b3be5cb633695e700b895bc3d15deb83d722d
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 12 18:46:24 2014 +0100
scpi_vxi: ensure the vxi link was properly opened before closing it
commit 104ed125532596a43f2d95d9a5d05bd6d51b9afa
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 12 00:38:08 2014 +0100
scpi_tcp: split into scpi_tcp_raw and scpi_tcp_rigol
The current implementation is renamed to tcp-rigol as it seems to be
a Rigol proprietary protocol used only on Rigol VS5000 series.
A new tcp-raw implementation is introduced which simply carries raw SCPI
commands over TCP. It is probably a much more common protocol and it is
at least available on Rigol DS2000 series on port 5555.
commit f754c1469188a5e1a82c98532cb21b334530a91a
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Jan 12 00:05:02 2014 +0100
scpi: make the scpi_dev_inst_new more generic
commit c3515cea44f7c3044fa56570e8d3225148c36a8f
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sat Jan 11 17:56:15 2014 +0100
scpi: factorize dev_inst_new calls out of individual drivers
commit d5876cfb4a51140e449e37e35937795ad43368f7
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Jan 9 23:44:35 2014 +0100
scpi: add VXI transport support
commit c84b6ab81cfd7ac6b5cde43e6a50ac2dd3fdb520
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Tue Jan 7 23:28:28 2014 +0100
import VXI RPC Language description
along with the corresponding rpcgen generated source code files
commit 1c183900d2ee1416a0281871928e4064797ee528
Author: Marc Schink <sigrok-dev@marcschink.de>
Date: Sat Jan 11 13:55:26 2014 +0100
configure.ac: Disable atten-pps3xxx driver if libserialport is not found.
commit 45357ce64f07a3ac7d3faf99d9a0966694980e2e
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sat Jan 11 17:48:53 2014 +0100
std: use #ifdef rather than #if where the constant may not be defined
commit ab988ecb237c6aa8510eaa4a53e4e3d1ba78fd9b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 10 02:10:51 2014 +0100
atten-pps3xxx: Push configured settings even without acquisition.
commit 81c9e1a0647f3329eb61d2592e937051a17ecdd4
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 10 02:09:49 2014 +0100
atten-pps3xxx: Use configured values to construct packet.
This used the values previously received from the device, not very useful.
commit 33c40990fd099c3230fdac51f84a1be7ce2e88e7
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 8 21:18:19 2014 +0100
atten-pps3xxx: Full support for the PPS3203T-3S.
commit 471607f0244e93cd67097760431a0dd3d39152eb
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 8 21:15:45 2014 +0100
Add config keys for programmable power supplies.
commit fa0d6afe19c3a545f3f940933ed079966525d142
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 5 13:12:01 2014 +0100
atten-pps3xxx: Initial driver skeleton.
commit 14563512ec720cbdfb792cff169d6bb4cde8ca6f
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 16:28:29 2014 +0100
chronovu-la8: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
commit 0b9b3c41c2768c5fda73b3e38b3483278bcab202
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 16:27:56 2014 +0100
ikalogic-scanalogic2: List all keys in device options.
commit f649fe8f8e6e2406e5187bd19a8e6641358ae010
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 16:26:58 2014 +0100
zeroplus-logic-cube: List all keys in device options.
commit 67055d4c184c8ff1db5f296608ac5c77f80ac437
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 14:30:20 2014 +0100
zeroplus-logic-cube: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
commit c2b988bd4a1986c15a0ffc8a38b3aa56d1a68c89
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 14:00:53 2014 +0100
ikalogic-scanalogic2: Publish SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
commit 7730e4f002d6ae85fa2945e8a5752c639bfb0899
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 13:08:32 2014 +0100
Add support for SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
commit d86e0b11c7dabcf8fbbb9f692a070f9679f0ea18
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 9 12:36:05 2014 +0100
Add SR_CONF_MAX_UNCOMPRESSED_SAMPLES.
commit a769b9f357f9f298f015664044ee6c48651affc2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 7 12:52:23 2014 +0100
Add sr_session_save_init().
This allows a frontend to initialize a session file, providing the
required samplerate and probe names, without having a proper
struct sr_dev_inst handy.
sr_session_append() is then used to add captured data to the session
file, as usual.
The existing sr_session_save() function works the same way as always.
commit 311622f69e35a1c82d76ece9995daf14d94c191f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 6 20:53:12 2014 +0100
serial-dmm: Drop unused DMM_COUNT.
commit ec5186f9360f307ced6083137fc99f931aaae1a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 6 20:44:44 2014 +0100
hardware/common/dmm: Fix debug output level.
Most messages from the DMM parsers are not hard errors, lower to
sr_dbg() so that the sigrok-cli output doesn't get cluttered (by default)
with debug output such as:
P1: 0.001100 V DC AUTO
sr: fs9721: Sync nibble in byte 0 (0x00) is invalid.
P1: 0.001100 V DC AUTO
(using -l 4 or -l 5 will still allow the user to see such messages)
commit 2710cb53fd4e56eb0ffe0b76657a67cce932c734
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 6 18:08:55 2014 +0100
serial-dmm: Support the Tenma 72-7745 via UT-D02 cable.
(it was already supported in uni-t-dmm via UT-D04 cable)
commit d9e79c512289201a76e55435c09d7d7e68a1cf1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 6 17:20:35 2014 +0100
Add support for the Tenma 72-7750 (UNI-T UT60G rebadge).
commit 4104ef810e56cd68ccfd66919a24e9e8c572ef58
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 3 22:32:16 2014 +0100
Add initial support for the UNI-T UT60G.
commit 1267f128acc0464d195abdb89de9c126259e7b83
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 4 00:18:29 2014 +0100
README.devices: Cosmetics, consistency fixes, updates.
commit 48d3238e66bac0958fbec316db837aa3a8a1075a
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Fri Jan 3 14:37:39 2014 +0100
serial: Improved docs.
commit 8ae157d976d9825f77c46b1cfa9ecaeacad25436
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Fri Jan 3 17:50:16 2014 +0100
scpi_usbtmc: fix reading of blocks bigger than the 2048 bytes buffer
commit a53278de01008e1ea04f06d6ae3a32de37d1797c
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Wed Jan 1 18:24:45 2014 +0100
rigol-ds: fix waveform reception on DS2000 series
The ":WAV:DATA?" scpi command must be sent before calling
sr_scpi_read_begin().
commit 036d378a628213f71afd24e9de475eacd592ca32
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Wed Jan 1 18:23:48 2014 +0100
rigol-ds: add a few more DS2000 models to the supported list
commit 7142d6b9d5d65749e0cedfcff9025dffe38c76c2
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 23:29:04 2013 -0800
zeroplus: Add voltage threshold support
It doesn't currently mesh well with libsigrok, but at least the support is there.
commit 42ceb77726b6314fc999cf3664114820eaeddba9
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 30 07:12:49 2013 -0800
zeroplus: Major rework of sample buffer processing
The sample buffer is a still a bit of a mystery, but this should help.
The variables in play:
triggerbar/ramsize_trigger - These two variables added together indicate
how many samples we want captured. ramsize_trigger - triggerbar
indicades how many samples must be captured. The ratio between the two
is determined by capture ratio.
memory_size - This indicates the number of samples in the circular
capture buffer. stop_address, now_address, and trigger_address are
pointers within the zeroplus that wrap based on this size.
now_address - The address that the zeroplus was about to write to when
it finished capturing, and now the address that will be read from when
reads are done from the capture buffer
stop_address - The address that the zeroplus last wrote to when it
completed capture.
trigger_address - The sample address for which the trigger occured.
status - This one is a bit tricky. Some testing has shown that if the
zeroplus has captured memory_size or less samples, the STATUS_READY bit
is set. For all captures generated with more samples than this,
STATUS_READY was cleared. However, boundary conditions are difficult to
test and values such as, memory_size + 1 have not been tested. We use
this to determine if the capture has wrapped through the sample buffer.
More testing is required, but this improves behavior in a number of
cases, specifically capturing sample amounts that are not a power of 2
of the sample buffer size. Before, random data was passed to libsigrok.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit a864a05b25d150214978f51e21b724d912648129
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 30 07:04:42 2013 -0800
zeroplus: Add getters for memory configuration
This is needed at capture readback time to determine how many samples to read
in.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit aad031928e5457ea8f7e4452401d55dcb8cb4cf1
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Tue Dec 31 16:25:51 2013 -0800
zeroplus: Modify analyzer_read_start to just prep for bulk reads.
Let the capture loop manage which samples are thrown out rather
than throwing out two here.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit bc059b42a26bbfa1d64bbf617abe4d440bdc57c5
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 30 06:59:55 2013 -0800
zeroplus: Always set DONT_CARE_TRIGGERBAR to 1
Experimentation with the windows driver has found no situation where
this is set to anything other than 1. The zerominus software also never
sets this to anything other than one. Revert the code change made in
0ab0cb942f.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit 4c1433d172e974f8b47ade71ef5e9557ba77a9f5
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 22:00:30 2013 -0800
zeroplus: Ignore capture ratio if there is no trigger
If there is no trigger, don't try to capture anything before it. There
won't be any because we trigger immediately.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit 05f853b5c3b8d1666ad1adecf5321c61801bda5e
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 30 07:05:17 2013 -0800
zeroplus: Add missing config_get for SR_CONF_CAPTURE_RATIO
Without this, latest pulseview gets an assert and dies.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit 5db0c668fa691f44be6caf173ad64b4765d06a29
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 21:25:10 2013 -0800
zeroplus: Support all 32 channels of 32 channel models
This will need some additional work when support is added for compression
modes since group D is disabled for RLE compression and C and D are
disabled for "double" compression.
Signed-off-by: Russ Dill <Russ.Dill@gmail.com>
commit 1d4a28392800bde47c51334bea45060a45fd7450
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Thu Jan 2 19:38:52 2014 +0100
gmc_mh_1x_2x: Fixed sign and AC/DC for current measurements with Metrahit <= 16.
commit 124c548de85346ff7ff9c6776a963b911559faac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 2 14:25:06 2014 +0100
serial-dmm: Increase timeout when scanning for DMMs.
We have to wait a bit longer than 1s for a valid DMM packet to arrive,
since for various DMMs some modes (Hz/% for example) the packets will
arrive a lot less often than in other modes. If the waiting period is
too short detection of the DMM will fail.
commit 7fb5f0a0f5daf0666fded59abf8be63a7fcece46
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 2 02:48:13 2014 +0100
serial-dmm: Drop obsolete function prototypes.
commit d327972b9720b4c69b3aaca895416121757806e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 2 01:34:21 2014 +0100
Add initial support for the V&A VA40B multimeter.
commit 641d8f276ce52e84903a3d918187cf4d74c7dda4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 1 17:38:05 2014 +0100
output/analog: Add missing space (consistency).
commit 79bc9924d70d6c785c3ab28d35ac67f4a3601e1d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 1 16:40:36 2014 +0100
uni-t-dmm: Fix incorrect order which breaks UT61B/C.
commit 7cb69b1870f507cf235e22463e9201427fb2f5d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 1 15:25:39 2014 +0100
Add support for the UNI-T UT61B multimeter.
commit 162a48bfc7e94598fb15911001f84f8b1c1bd77b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 31 19:22:16 2013 +0100
teleinfo: Fix a compiler warning (clang).
CC libsigrok_hw_teleinfo_la-protocol.lo
protocol.c:62:41: warning: missing field 'num_samples' initializer
[-Wmissing-field-initializers]
struct sr_datafeed_analog analog = { 0 };
^
commit 42f2f8a533e33ab77e737fbd880ef6e06bdb2b93
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 31 19:21:04 2013 +0100
gmc-mh-1x-2x: Fix compiler warning (clang).
CC libsigrok_hw_gmc_mh_1x_2x_la-protocol.lo
protocol.c:133:32: warning: equality comparison with extraneous
parentheses
[-Wparentheses-equality]
} else if ((devc->scale1000 == 2)) {
~~~~~~~~~~~~~~~~^~~~
protocol.c:133:32: note: remove extraneous parentheses around the
comparison to
silence this warning
} else if ((devc->scale1000 == 2)) {
~ ^ ~
commit 35b904a7924472522b1675427e9a630c2189a94f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 31 19:20:51 2013 +0100
es519xx.c: Fix a few compiler warnings (clang).
CC libsigrok_hw_common_dmm_la-es519xx.lo
es519xx.c:632:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
es519xx.c:659:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
es519xx.c:688:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
es519xx.c:717:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
es519xx.c:746:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
es519xx.c:773:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
es519xx.c:800:33: warning: missing field 'is_voltage' initializer
[-Wmissing-field-initializers]
struct es519xx_info info = { 0 };
^
7 warnings generated.
commit 79a1176b3f027f0d29628d98a69c9e97864ed052
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon Dec 30 19:23:54 2013 +0100
fix endian neutral helper macro to return an integer type
commit 264c99eda2084659492c18e0e7d0e662319053d9
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 30 04:00:41 2013 +0100
ols: Use serial source management wrappers.
commit 9f5d4c3cc31bf6dd3ceac62dc8f5266c5f1189cf
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 30 03:54:55 2013 +0100
ols: Mark all serial calls as blocking or nonblocking.
commit 9a47421157a3881265daef50ffd11df9f444d1d9
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 30 03:52:17 2013 +0100
Add blocking and nonblocking versions of serial_read and serial_write.
commit cb410697fb0bab583624cb31db05185206c75bbb
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 3 23:35:33 2013 +0200
remove the es51922 protocol parser, superseded by the es519xx protocol parser
commit d97824e52e3367115860b60c10a5dbb63187f032
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 3 23:30:18 2013 +0200
switch the UNI-T UT61E driver to the new es519xx parser
commit 29bad967a437f3e14a01b043ccca483e890346bc
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Dec 29 17:15:42 2013 +0100
es519xx: correctly handle the VAHZ function
This handles the frequency and duty cycle display in voltage or current mode.
commit c3e871dc8e7df18a49a0ac244b86c9f8cb488c82
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Dec 29 17:14:37 2013 +0100
es519xx: apply the proper fixed factor in duty cycle mode
commit e1f9f1e1f2c64e9501ba2ef79670b5e26f220ffe
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Dec 29 17:07:42 2013 +0100
es519xx: fix switching between frequency and duty cycle mode on 14 bytes chips
Here is what the datasheet says about this:
"If judge bit is 1, it means frequency mode. If judge bit is 0,
it means duty cycle mode."
But this is plain wrong. Reality proves this is the other way around.
commit 4d2630e63a6456ab84d0968fbd8f1c319f034c46
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Dec 29 17:04:19 2013 +0100
es519xx: correctly handle the voltage factor in diode mode
commit a7c01629f6e96a79912977ed7262841cedf4ddfa
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Dec 29 16:59:30 2013 +0100
es519xx: fix continuity mode handling
Depending on the chip, the limit value for the buzzer is between 25 and 35 Ω,
so this code set the limit for continuity to 25 Ω to be on the safe side.
commit 5f985df23cb2a15d498d60fec8a4e5d14e38a7c0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 29 17:35:51 2013 +0100
Add support for the UNI-T UT61C multimeter.
commit 683fd1613735d0e86c3b14c18b11d22492cee88a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 29 14:17:10 2013 +0100
fx2lafw: Fix incorrect unitsize when a trigger fires.
The unitsize was always being set to 2, regardless of whether an fx2lafw
device with 8 or 16 probes was used.
This fixes bug #182.
commit 87b545fba4d537a255dffcf2d8053908e3847480
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 29 14:09:34 2013 +0100
fx2lafw: Minor cleanups.
commit 0709197deb6cfb5189a2402df23bbda6961793ce
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 13:20:09 2013 +0100
rigol-ds: Correct usage of NUM_TIMEBASE and NUM_VDIV config keys.
commit bc7b7eb196b7e3f15bed857ee8b3533c0d899b3f
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 13:13:04 2013 +0100
scpi: Strip trailing newline from *IDN response if present.
commit b178c79d35be85a3980248061655f15ca2fa85f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 29 12:33:10 2013 +0100
victor-dmm: Fix MIN/MAX always being reported.
This fixes bug #228.
commit 8b2d41edb3fe095a71f1cb416fff4abf1402a8c0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 27 23:52:23 2013 +0100
demo: Analog probe support.
commit c07f60e73dba95479c96650a94db77c3639639ce
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 24 11:27:40 2013 +0100
demo: User-configurable number of probes.
The sigrok and incremental patterns repeat every 8 probes, shifted by
one probe.
commit bf90d4c666cac50308577741e64d7cd42dbaad8d
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 23 00:01:59 2013 +0100
Add config keys for setting the number of analog probes.
This is primarily of use in the demo driver, but this patch also
takes in the logic probe setting config key used only by the
session driver so far.
commit 3699a8a1ff68a2f5f781c6ae74946adc8bc82673
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 29 10:57:38 2013 +0100
Skip analog probes in logic-only output formats.
commit 05c644ea081f5973fcbb2429318b808b931edfe3
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 02:36:49 2013 +0100
Revise SCPI read API to allow backend-independent data handling.
commit b76eca818a66c5bb5b409c44e46ac0f5d851b0ce
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 01:48:40 2013 +0100
Add udev rule for Agilent DSO1000 series.
commit 227a0981c0da72df610306fe2eb4ca1cd26453f5
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 01:39:49 2013 +0100
rigol-ds: Support the rest of the DSO1000 range.
commit 821fbcadcc18c0e88fa7d78156dadae4aa466b89
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 01:34:58 2013 +0100
rigol-ds: Support 4 analog channels.
commit 0d9f5a12cb32758b739d4c816964d186fc6a8b54
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 00:35:09 2013 +0100
rigol-ds: Use correct live waveform size for Agilent DSO1000 series.
commit 10afee13a3a08b4852d4214bc6d9f0ff468b1ce6
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 00:27:11 2013 +0100
rigol-ds: Add support for Agilent DSO1014A.
commit 77c16c04639f0657bcb12e4b9f5201875f975b8a
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 29 00:26:54 2013 +0100
scpi: Log IDN? result.
commit 32c426d204e6133b19db486504beffd33a6f6548
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 28 21:00:46 2013 +0100
Add config keys for upcoming RF demodulator drivers.
Langford driver will be first.
commit 07ccb2b3f1beda0f2bbb7cdbb830975b7bc739f2
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 23:28:17 2013 +0100
rigol-ds: Fix rigol_ds_channel_start() for digital channels.
commit 9e4b7d98337658d02a1789b0b8a11939eb6ef087
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 23:24:40 2013 +0100
rigol-ds: Use correct analog frame size for VS5000 series.
commit 6396b0a76bea8cf85f5501685bb77c776f0598a7
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 23:19:55 2013 +0100
rigol-ds: Use set_cfg wrapper for capture setup commands.
commit 1fed20cb387550e858a48a59a2c42e96b7b01541
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 23:13:21 2013 +0100
rigol-ds: Select channels before issuing RUN command.
commit 48460c6f3e46be7c60ab9ea5271ca773bce7d60e
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 19:50:48 2013 +0100
rigol-ds: Unify partial read handling.
commit f80a0bf232b19009dece9517542717d4ea087390
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 18:56:59 2013 +0100
rigol-ds: Unify code for counting expected incoming bytes.
commit 677f85d00bacfce05ad50ec2e9f6d7c47a761a43
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 17:03:13 2013 +0100
rigol-ds: Use rigol_ds_channel_start() function for legacy protocol too.
commit 0d87bd93eb5323b3bb325814a786efe3e336618d
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 27 15:59:25 2013 +0100
rigol-ds: Rename and document some confusingly named variables.
commit c36923b03b343bcdbda55e5167a36e1c63b527a7
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Fri Dec 27 17:29:03 2013 +0100
asix-sigma: fix incorrect pointer cast (non-aligned memory and endiannes issue)
This fixes the following warning:
asix-sigma.c: In function 'receive_data':
asix-sigma.c:1064:4: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
devc->state.lastts = *(uint16_t *) buf - 1;
^
commit 9ee78f234739be21bceb9caef1894dfaab39b8df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 17:27:52 2013 +0100
appa-55ii: Don't use _t suffix for a typedef.
Names ending with _t are reserved for POSIX.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html
(last line in table 2)
commit 53cd1c78f56c533652c8bc15f6823f3e92303606
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 27 16:00:25 2013 +0100
hameg-hmo: Support DC LINE coupling.
commit df823ac4445ed6f708136e208c8b8bd4930f4a9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 16:18:28 2013 +0100
Doxygen fixes: Hide private stuff, document some structs.
commit 00f24b9fd89e9edb34cf2cfd270020c8a40817be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 15:50:27 2013 +0100
Doxyfile/Doxyfile_internal: Ignore doxy/* when creating docs.
commit 170fbcb3f769e89a9f1d1d2394986dbc5a78ec21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 15:36:22 2013 +0100
Doxyfile/Doxyfile_internal: Update to same 1.8.5 template, sync them.
This also makes the diff from Doxyfile to Doxyfile_internal more readable.
Also, put public API docs into doxy/html-api/, private stuff into
doxy/html-internal/.
commit b95dd7619d2add244c3173cad4c5ac53849171bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 13:05:54 2013 +0100
log prefixes: Cosmetics, consistency fixes, typo fixes.
commit 3544f848e0d7f67af8e11ce7ec344b34cd797df3
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 23 03:38:35 2013 +0000
Centralise duplicated logging helper defines.
commit dafafb0e9429fcc9185df1c861184ce79defb7ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 00:35:42 2013 +0100
teleinfo: Minor cleanups.
commit 76b4d4f422060718673da16fee6ab054d505ab7d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 27 00:22:19 2013 +0100
appa-55ii: Minor cosmetics, whitespace fixes.
commit 27fd2eaacb46c28c40dae8db6db762eb4e15aa60
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 26 13:15:46 2013 +0100
gmc-mh-1x-2x: Use standard API callback names for now.
If multiple functions need to be differentiated later, we can bring
back more specific names.
commit 873e0c1295b78022ef95f7dd537fa2557f72c681
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 26 13:02:02 2013 +0100
gmc-mh-1x-2x: Don't put driver-specific things in sr/SR namespace.
commit 3a6095d0058bb9989ec393295ced1718bde96a69
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 26 12:55:54 2013 +0100
gmc-mh-1x-2x: Use 'di' variable to match other drivers.
commit ec29a878e0ca0b18969b00274744d0788234b54d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 26 12:52:29 2013 +0100
gmc-mh-1x-2x: Fix two compiler warnings.
commit fc348b770a2a9354cdf407f7501c5098b63e4bd7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 26 12:51:18 2013 +0100
gmc-mh-1x-2x: Cosmetics, whitespace, cleanups.
commit 7574e58c1a9f2c9665d9680a8b02ac30f407cdbc
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 23 01:53:30 2013 +0100
appa-55ii: Coding style fixes.
commit 81a9ab725f9ce9125c9bc22bc5ebd2903c26bc35
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Dec 12 00:22:32 2013 +0100
appa-55ii: driver implementation with Live and Memory data source support
commit 5e7a8e57d4c042b4a4673e9f9cef19306a8b861b
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sun Dec 1 01:13:44 2013 +0100
appa-55ii: Initial driver skeleton.
commit e28ef28a3c9a5cd2c86e4ab4de2516ab82d91082
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Dec 12 00:20:47 2013 +0100
endian neutral helper macro to read 16/32 bits integer from unaligned memory
commit f5027ca481d91fc92ec878d2eec2b6b446d3b7de
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Dec 12 00:18:00 2013 +0100
add support for AVG mqflag
commit 61c39f54bbcae7bdde86ddb11b2fd0ff308d319b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 22 18:46:45 2013 +0100
demo: Code cleanup.
commit 34ea7f9695794ea4654b26dd4aa6b79cdee90b71
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 22 17:38:24 2013 +0000
Windows usb: don't try to resume thread if shut down in callback.
commit 6640324f7f2730dc5a120af90a849b8d8fee52fa
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 22 17:27:13 2013 +0000
usb: Enforce that there can only be one USB event source for now.
commit b5328e1dfaf8a03ce503ab89abed0d83c58a7bb2
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 22 17:10:57 2013 +0000
Windows usb: Unlock mutex when shutting down wait thread.
commit 589edd9b81bce493de73075c9cdd6a5928ed3f59
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 22 14:50:11 2013 +0000
Winsock2.h must be included before anything that includes Winsock.h.
commit 5321ac6b5296cad499d6b27a8b3f04cef6611165
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 22 07:16:56 2013 +0000
Implement usb_source_add and usb_source_remove for Windows.
commit 6c60facc190a03c50aa66d4b1d17c825fec5d20e
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 21 23:03:24 2013 +0000
Use common usb_source_add and usb_source_remove functions.
commit ba1949f583de322e74f43eb880529155a763a84f
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 20 17:45:46 2013 +0000
Use new libserialport event set API to make GPollFDs for serial sources.
commit 17e9317b247844ac09539a20e76e9e2548d64b13
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 19 10:45:36 2013 +0100
Bump minimum libusb version to 1.0.16
This gets us the libusb version checking mechanism itself, hopefully
making this sort of thing easier in future.
Also hotplug, device tree traversal, and lots of fixes.
commit 95ecc765463462938200cf5cbcffba663f893c29
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 19 00:31:26 2013 +0100
bbcgm-m2110: Minor cosmetics.
commit 825da8b20f8eb879cd6b3e7911b4aa7b35a5b9ed
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Wed Dec 18 23:37:42 2013 +0100
serial-dmm: Add BBC Goerz Metrawatt M2110 DMM driver.
commit 5d03743096a1e850c6ccbb1eb902705a62604e80
Author: Matthias Heidbrink <m-sourcetree@heidbrink.biz>
Date: Wed Dec 18 23:33:45 2013 +0100
serial-dmm: Commented struct dmm_info.
commit e9a6213976eca51006e8459a5e3f062a88aee719
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Mon Dec 9 14:35:29 2013 +0100
hameg-hmo: Move the declaration of the driver info out of protocol.h
This fixes duplicate symbol error on Mac OS X.
BugLink: http://sigrok.org/bugzilla/show_bug.cgi?id=216
commit cb7b165b3dc073c49729173132a37203e9d98838
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 17 17:46:24 2013 +0100
serial.c: Show both error code and error message.
This is helpful in many cases, e.g. when trying to identify which of the
16000 system error codes from
http://msdn.microsoft.com/en-us/library/ms681381%28VS.85%29.aspx
has been encountered (which is not trivial if you only have an,
e.g. German, string message alone).
commit 2eb84c983584490153fe2bcbf10cc7ceaf46d033
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 16 10:24:32 2013 +0100
Doxygen: Consistently use @ notation everywhere.
commit 9d122af8f0c243278cc5edd79aae234aaa34984d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 10 18:18:58 2013 +0100
Drop superfluous \n in some debug messages.
commit a582788653a34479c1523290cb9343e445085d71
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 10 17:39:31 2013 +0100
Fix a few #include guard names.
commit 865730188c64765fd40fc45f28aed7fa5771550f
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 16:25:13 2013 +0000
python: Use OrderedDict for input formats.
commit 772b21d42566f5ccf79075bfdf65a4e0e323f74b
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 16:10:08 2013 +0000
python: Split up Device class and add InputFileDevice class.
commit 01e9ff61c2b32cd607c71c55b72b729851a19abc
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 13:11:43 2013 +0000
python: Give config keys an auto lowercase name if they have none defined.
commit cad0acef5d21fefc4c5dd4c284d91f7be3f7deeb
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 13:01:35 2013 +0000
python: Add ConfigKey.info and ConfigKey.<id> shortcuts.
commit 14e8eb33539dedf7760efff3165b3a0a1e09edbd
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 13:01:11 2013 +0000
python: ConfigInfo: return None from constructor if not available.
commit 8593c8e30dcf9155d15b0bce7d943bf7fc82582d
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 12:47:49 2013 +0000
python: Add ConfigInfo and DataType classes.
commit 409d85b3ac23c2915413c97354533f1d05f7dd9e
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 17 00:42:33 2013 +0000
python: Finish output format support.
commit f0e764de7babf8004169732749040d9a2fc4ad71
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 16 02:11:42 2013 +0000
python: Finish input format support.
commit a64198c8ea721c3a7867e9a753f1a761b89769c9
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 16 01:21:39 2013 +0000
python: Add initial support for input and output formats.
commit 945e23a57dc5e639c96fd00294f735848f8d463e
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 16 18:09:57 2013 +0000
python: fix setting device/probe group configuration.
commit 4e5c64e35855885987b065e5923d0339d818680b
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 15 20:02:05 2013 +0000
python: whitespace fix.
commit 5f9c4c8a34e6c1d122d36efd2e8263f0456541bd
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 10:49:01 2013 +0100
Detect non-existent file before libzip does.
commit 1e7134dc8cff3f28a312e41c997ed488fb071e96
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 11 00:33:11 2013 +0100
std: Don't build serial helpers without libserialport present.
commit 98582bf53f61043e6918be291648f8f6dfb5f6b4
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 9 22:49:12 2013 +0100
Make API docs more consistent, avoid tabs to line up comments.
commit 5483bb8349d361be62ae5197b871afa6c8520c36
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Fri Nov 22 21:08:49 2013 +0100
doxygen: Created Doxyfile_internal to extract „everything“ that is possible into a separate directory doxy/html-internal.
commit 04cb915716ecdc1ee26440b4c09bc2f2de183631
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Fri Nov 22 20:40:52 2013 +0100
Improved doxygen docs.
commit 86fa0ef594dbe6492eb781d5b7f17722edbbf586
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Fri Nov 22 14:08:04 2013 +0100
doxygen: Updated Doxyfile to doxygen 1.8.5.
commit 854434de0bc581f16f87f85595f473ee41ca9e0c
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 7 21:36:27 2013 +0100
Use std_serial_dev_open().
commit 23dc6661667b05a91b01ab6a6fa425aa57af6daf
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 7 20:26:15 2013 +0100
std: Add std_serial_dev_open().
commit d43b090816f61e77d8054084e85202de1a1ebeb7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 7 20:39:55 2013 +0100
std: Standardize function name.
std_dev_acquisition_stop_serial() is now std_serial_dev_acquisition_stop().
commit 37fa80b4be4808958340b56dc62265e2d4f14e85
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:42:35 2013 +0000
Disable OLS driver on Windows.
commit b6eb8252e545f358d359d4aa7a01073f10f1cd00
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:35:50 2013 +0000
Remove now-unused fd field from struct sr_serial_dev_inst.
commit bf72f649999a6e8741ffee1ca2850db4d478f9f8
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:35:13 2013 +0000
ols: Get fd from sp_get_port_handle() rather than serial struct.
commit 64ecf7ee52aecdf225f4e45240025a4a734e351a
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:29:16 2013 +0000
Eliminate internal usage of serial->fd in serial.c.
commit a0a4c0fb09cac1105ad03325d7232a8f492f181c
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:19:20 2013 +0000
Use sp_get_port_handle to get an fd for adding/removing serial sources.
commit af473e0eb2db5475bdc1da6a87edb828d163c015
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:17:49 2013 +0000
brymen-dmm: Use port name instead of fd in debug message.
commit 6936af3292b6a76a4ef5521fd8ea752333f13ae8
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 19:16:30 2013 +0000
Use sdi->status instead of serial->fd to tell if port needs closing.
commit bf2c987fdef6787a5ce826ed9d98a70f52a1ff96
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 18:47:43 2013 +0000
Use std_serial_dev_close() to replace matching dev_close functions.
commit 043e899a5155dcdc353abc20006424973d8e2ed0
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 18:41:09 2013 +0000
Add std_serial_dev_close() function.
commit 7faa3e8821735e063e17fcad326c68aae14fe907
Author: Martin Ling <martin-git@earth.li>
Date: Mon Dec 2 13:06:08 2013 +0000
Route sr_source_remove for all serial devices through a wrapper.
commit abc4b3356d184401cb62aaa521d1c80ebd7d6f0f
Author: Martin Ling <martin-git@earth.li>
Date: Sat Nov 30 12:54:02 2013 +0000
Route sr_source_add for all serial devices through a serial_source_add wrapper.
commit b4936bae0a4b2e8527324416faf81704e53216d2
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 17:54:33 2013 +0000
rigol-ds: close SCPI device after using for scan.
commit 721fc2272ea1e7f3036eca570380bafe40146859
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 7 16:11:27 2013 +0000
scpi_serial: Iterate serial_write as necessary to send full commands.
commit bb9d6116f828c4790334d98c65414dcef660d169
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 7 18:50:12 2013 +0100
filter.c: Work around const warning.
commit 764e7bbfec52f0530f1f965879b0d81a7fc9acb2
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sat Dec 7 17:09:06 2013 +0100
filter.c: Fix endianness bug in sr_filter_probes
commit c1e45c6511eb4e9023095fc364913db85a092651
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 7 15:50:25 2013 +0100
Minor whitespace fix.
Really just for testing some git hooks.
commit c3e2b08dc9a252ada9b9a51ae47ea588135944e1
Author: Marvin Schmidt <marv@exherbo.org>
Date: Tue Nov 26 08:50:52 2013 +0100
Fix test failure
The GError object has to initialized to NULL before being passed to
g_file_set_contents or it will throw the following critical warning
GLib-CRITICAL **: g_file_set_contents: assertion 'error == NULL || *error == NULL' failed
and return FALSE, which leads to failed assertion and subsequently
to the test failing
commit 0f4a4350579604c874e1ad4b741f9b059f3585f3
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 6 03:20:48 2013 +0000
scpi_tcp: must define _WIN32_WINNT to 0x0501 or higher to get getaddrinfo().
commit 1c6736ab862815db0530cb01ba83e1556e2a55d8
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 6 02:26:58 2013 +0000
Link against the ws2_32 library on Windows.
commit 789840741cc680908754531a3fcb59d313276677
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 6 01:55:04 2013 +0000
rigol-ds: Enable for non-Linux, as it now supports other transports.
commit 987a053084b521f3f2af7beb2da68a24a24da363
Author: Martin Ling <martin-git@earth.li>
Date: Fri Dec 6 01:14:55 2013 +0000
scpi_tcp: Fix building on Windows.
commit b9a5614dbf88d0046e4c1f22e1b8b7666c4f52f8
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 22:00:30 2013 -0800
zeroplus: Rework triggerbar/trigger address logic
This reworks the triggerbar/trigger address logic to match the values sent
by the windows app for all models (The zerominus tool was used to reprogram
the USB device ID on a single device). Additionally, the DONT_CARE_TRIGGERBAR
register is always set by the windows app and does not seem to indicate that
these registers are "don't care"'s.
commit c38e64c7425aaf82f8a49b702cae764c403d2acd
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 21:57:46 2013 -0800
zeroplus: Clip sampling sizes larger that our sample memory
Otherwise, we'll return a non-sensical result for our memory_size
enumeration.
commit 3e43da1f70d48aba917026074d46ca4c91e43bf1
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 21:57:04 2013 -0800
zeroplus: Add support for additional memory sizes
The zeroplus can have up to a 8M SRAM. Avoid some extensive if/else
blocks by noting that all sizes except the first are related by their power
of 2.
commit e93fb98b8ab4f9aea905c027b69d08ceb64befc5
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 21:51:53 2013 -0800
zeroplus: Rename max_memory_size to max_sample_depth
This private variable is measured in samples, not bytes. Avoid confusion
by renaming it.
commit d20844e28b82704aaf0a5929d7078f57b6c59f5a
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 21:47:14 2013 -0800
zeroplus: Just wait until not busy on data capture
While captures using a trigger do set the STATUS_READY bit, immediate
captures do not set the STATUS_READY bit, they just clear the STATUS_BUSY
bit. This was confirmed with packet captures using the "official" driver/app.
commit 60cc6f85795315d3257a55cc257bdc3e511b6f45
Author: Russ Dill <Russ.Dill@gmail.com>
Date: Mon Dec 2 21:25:10 2013 -0800
zeroplus: Add usb IDs for 32 channel models, but only use 16 channels
The code needs some work to support 32 channels. Until then, support
the 32 channel models, but only allow the use of 16 channels.
commit 7cf1a98d733b97656ef1b28259d5cd2b4190a104
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 5 00:21:15 2013 +0100
rigol-ds: Minor error reporting fix.
commit 91e406b9210b2b2c009e9ef8662d2634e5b6e997
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 5 00:16:11 2013 +0100
scpi/usbtmc: Prototype fixes.
commit bc03a7cc2ccadeb5951525fae708bd3f840836b0
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 5 00:09:34 2013 +0100
scpi/serial: Use stubs for all SCPI functions.
Avoids some gcc warnings, since the SCPI prototypes don't exactly
match serial_*.
commit 962af1a379f2c1715b22f0779ed3ebc6f0d8c2ec
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 21:38:05 2013 +0000
rigol-ds: Support VS5000 series devices.
commit b8705e99e45224941d43f10438d69726d8f2d85b
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 21:32:47 2013 +0000
scpi_tcp: Adjust to observed protocol for Rigol VS5000 series.
commit 3520422fc761d50830a45a43cd7d34cca589ad1b
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 20:42:22 2013 +0000
rigol-ds: Support TCP connection.
commit 08a359138b3e363ecbba6396a939c48eeab31f92
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 20:23:14 2013 +0000
Add implementation for SCPI over TCP.
commit 56868b5d6b7401f3916df1468b537bd0d04087f5
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 13:08:49 2013 +0000
rigol-ds: Handle partial analog frame reads.
Reading a frame over the DS1xx2 RS232 connection now sometimes works,
but most of the time stalls part way through with g_poll showing the
fd as not ready.
commit 9dfeb81b09377cd5413c7ccd448fca2e77615084
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 13:03:23 2013 +0000
scpi_serial: Flush buffers after opening port.
commit 0dc7b43eb77865aae515039734d76d27ad156c6e
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 12:49:38 2013 +0000
rigol-ds: Support RS232 connection.
Probing tested OK over RS232 for DS1052E and DS1102D. Capture needs work.
commit 4d7a9a14a3cfeb4cba2a9996ac1e11d9cecf70fa
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 10:55:32 2013 +0000
rigol-ds: Eliminate fixed-size buffer in set_cfg.
commit 87c410830d9967d9eea73ae18bef12e668b94e92
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 10:53:51 2013 +0000
Add sr_scpi_send_variadic() function.
commit 17b5b202640c1ea5de09b0685a5ed6635f2e06df
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 10:25:15 2013 +0000
Replace rigol_ds_send() function with sr_scpi_send().
commit 504f40a5749b34f2d0932868188e7d94da929be4
Author: Martin Ling <martin-git@earth.li>
Date: Wed Dec 4 10:24:52 2013 +0000
Make sr_scpi_send() take printf-style arguments.
commit 1ef513807124f5c3f3706896fa943e9adf10ef30
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 3 23:31:32 2013 +0000
Only scpi_serial.c functions need HAVE_LIBSERIALPORT, not scpi.c.
commit 4b4474ed6a4701e28961569eb777052d0b74673d
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 3 23:29:20 2013 +0000
Remove SR_INST_USBTMC which is no longer used.
commit ae1bc1cc2631f5d56cdffb4d4426f0c2bdd30500
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 3 23:19:40 2013 +0000
Port rigol-ds driver to use common SCPI functions.
commit a1ff9c1897262faa3b284ea5bb82593c45de70d0
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 3 22:56:32 2013 +0000
Add sr_scpi_read() operation for reading arbitrary data.
commit 31034792da84daa5163b7d72bb98664c65aa7cc0
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 3 22:25:33 2013 +0000
Implement SCPI over USBTMC.
commit 23f43dff15abf5202d81f36e062b0ae5b0ca01cd
Author: Martin Ling <martin-git@earth.li>
Date: Tue Dec 3 20:40:19 2013 +0000
Make SCPI functions device independent, with separate serial backend.
commit 8d558c7a9fd96f60077fc2b176576846f5089110
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 17:16:59 2013 +0100
strutil.c: Don't expose sr_atox() as API calls for now.
commit 082972e8c5deb48eba5c2b558e451dea1005e23f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 17:13:50 2013 +0100
hameg-hmo: Reduce unnecessarily high nesting level.
commit 719eff68ad03b4acaea87e227eda361ef2e299be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 16:58:34 2013 +0100
hameg-hmo: Use hmo_ prefix for driver-local SR_PRIV functions.
commit 89280b1a4c0675b1383ccc6a5a63e8a2a6add05e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 16:48:21 2013 +0100
hameg-hmo: Minor cosmetics, coding-style fixes.
commit d5976d8be5ee72a89e82b4a3baeae6eba48a8d3a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 16:08:59 2013 +0100
scpi.c: Minor cleanups, cosmetics.
commit c6e35004cb7b5de7c2e9cff785d08589daf96e7e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 15:48:02 2013 +0100
configure.ac: Don't build hameg-hmo if libserialport is not found.
commit 582b3d21d39526b602f3611ae0082eacfad8e11e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 3 15:37:36 2013 +0100
configure.ac: Move Hameg HMO AM_CONDITIONAL to the correct place.
commit 13f2b9d789fdc7130c0f31b88319bd0f3445109a
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Fri Oct 25 18:15:00 2013 +0200
hameg-hmo: Add initial working driver version.
This patch adds initial support for Hameg's HMO oscilloscopes. It currently
supports only the HMO compact series (70MHz-200MHz).
commit 06a3e78adb41974ed759b39812ba1f83fd21a5aa
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Tue Oct 15 20:45:14 2013 +0200
hameg-hmo: Initial driver skeleton.
commit 1bd9e678ac2c00c4b6336ed2506c28cdcfe3a25c
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Fri Oct 25 18:13:20 2013 +0200
serial: Add function to extract serial options.
This patch adds a function for a common operation of all serial based drivers.
It extracts the serial options from the options linked list that is passed down
to every hardware driver.
commit 1a323dd887e655ac76133af1f018e3eeabd174e2
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Mon Nov 18 16:13:12 2013 +0100
scpi: Add function to fetch uint8_t.
This patch adds a function to read and parse a SCPI response which contains a
comma separated list of unsignet 8-bit integer numbers (e.g "1,0,64").
This is particularly useful if the instrument sends digital measurement data
in this format.
commit 8acbb89a1dd38f15e53c5a46c226c074db5c4efa
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Fri Nov 1 20:40:04 2013 +0100
scpi: Add function to get an array of floats.
This patch adds a function to read and parse a SCPI response which contains a
comma-separated list of floating-point numbers (e.g. "1.0e-5,2.0e-4,3.0e-3").
This is particularly useful if the instrument sends analog measurement
data in this format.
commit f5922adef5a866bd1c292436f1c4bc6b93103aef
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Sat Nov 9 12:49:08 2013 +0100
scpi: Add a function to read and wait on a *OPC? reply.
The SCPI standard specifies the "*OPC?" command (Operation complete query) which
queries the instrument for its operative state. When all pending operations are
complete, the instrument responds with a "1".
Some manufacturers block before completing all operations and don't respond
with anything and some of them respond with a "0". This function handles both
cases uniformly.
commit d730f70e06653c60d65c668cce02f358decce991
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Fri Nov 1 19:27:44 2013 +0100
scpi: Add more functions (getting int/bool/float/double).
This patch adds helper functions to read an SCPI response and parse the response
as an integer, boolean, floating-point or double-precision floating-point number.
commit aa1e3b400b95b7f16716bfd65a2ebbf870e42fa5
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Fri Nov 1 19:25:32 2013 +0100
scpi: Add function to strictly parse bool strings.
This patch adds a function that is similar to sr_parse_boolstring but its
matching rules are more strict.
commit 7b9d73203163daa70273f0adfa854a1dc01f08f0
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Tue Oct 29 12:15:47 2013 +0100
scpi: Add helper functions for SCPI communication.
The Standard Commands for Programmable Instruments (SCPI) defines a standard
for syntax and commands to use in controlling programmable test and measurement
devices.
SCPI documentation:
http://www.ivifoundation.org/docs/scpi-99.pdf
This patch adds helper functions for sending SCPI commands, reading a SCPI
response and reading and parsing a SCPI "*IDN?" response.
commit 9e4f8cf93b465fb34b35b083935f45ba5427045e
Author: poljar (Damir Jelić) <poljarinho@gmail.com>
Date: Fri Nov 1 18:40:06 2013 +0100
strutil: Add helper functions: string to number.
This patch adds helper functions for converting a string to different number
formats (double, long, float, int).
These functions are exposed in the public API.
commit 3ba7b61ab23ff61f112206601b8a57a5c5545ae3
Author: Dan Horák <dan@danny.cz>
Date: Sun Dec 1 22:07:18 2013 +0100
define correct variable for the unified Rigol driver
commit 66a435766721dd6ecdbce7b31a2f43c2e0752a12
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 1 19:30:35 2013 +0100
serial-dmm: No error message upon 0 new bytes.
commit 9647ce694b1f76cc7196420bb9932e4ff6c8b349
Author: Martin Ling <martin-git@earth.li>
Date: Wed Nov 27 01:43:49 2013 +0000
Use new libserialport blocking/nonblocking API calls.
commit 016f2e005ddbc604594c863dca8a89212bf46a5c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 29 17:32:55 2013 +0100
Fix memory leak when loading session files.
commit b3916147a505681a9c9612bbc2261c281d57b576
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 29 01:40:50 2013 +0000
rigol-ds: Fix duplicated "LA" probe group.
commit ae67644fe5340d9c6e450fb0443178af356e0647
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 29 00:48:42 2013 +0000
Create & use new sr_usbtmc_dev_inst for Rigol DS driver.
commit babab6225b44eeeb73aa62e281d50636ec170bd5
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 29 00:14:54 2013 +0000
DS2000 sample memory capture patches from Mathias Grimmberger.
commit 355de5a1101076d29c8d1c223c1b07b2bb6b06b3
Author: Martin Ling <martin-git@earth.li>
Date: Thu Nov 7 23:13:30 2013 +0000
Fix handling second channel on DS2000 series.
Patch from Mathias Grimmberger.
commit 6ff1394ed1be4700123e9c6165128eb39f294648
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 1 21:49:05 2013 +0000
rigol-ds: brown paper bag, using timebases instead of vdivs.
commit 7cc1a55091fc06c1c616c8d11c42abeb412cb994
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 1 21:32:33 2013 +0000
rigol-ds: fix calls to config_list with NULL sdi/devc.
commit bafd489094c42e626ee0b1964893a308751c50b7
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 1 11:05:49 2013 +0000
rigol-ds: Add support for DS2xx2 series.
Based on patch by Mathias Grimmberger <mgri@zaphod.sax.de>.
commit 3086efdd73885820da142ce8c36053bbc3cf0e5f
Author: Martin Ling <martin-git@earth.li>
Date: Thu Oct 31 17:31:39 2013 +0000
Rename rigol-ds1xx2 driver to rigol-ds.
commit 6c57446d415dfb21bea448513bd61a17867a64f8
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 26 22:20:30 2013 +0100
Don't accept over 64 probes.
The code is limited to 64 probes for now, so don't accept setting
the probe limit to higher than that.
See bug 194.
commit e4c8a4d7cb00c26d55a8600011ab22a33d4ab95a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 26 22:11:48 2013 +0100
input/vcd: Coding style fixes.
commit 34539700795f6ef4879105818cf8ed4e7336d6c1
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 26 16:59:04 2013 +0100
output/csv: Fix wrong cast.
commit c4d85a4026cd9c593521a635b1e477aac15eb86a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 26 16:29:43 2013 +0100
serial.c: Re-enable serial_read() error reporting.
libserialport now returns 0 (not SP_ERR_FAIL) as return value when a
non-blocking read would return EAGAIN.
This fixes bug #188.
commit 25b66c3c61629d2c679d3c1b6dea9e4a0c9f1a1e
Author: Martin Ling <martin-git@earth.li>
Date: Sat Nov 23 21:00:28 2013 +0000
Use new libserialport opaque configuration structure.
commit 3182932d360303df459abce20dbe093ce9c453e8
Author: Martin Ling <martin-git@earth.li>
Date: Sat Nov 23 20:48:15 2013 +0000
Use accessor for new libserialport opaque port structure.
commit 067b3836b2720866444e400e2f67562c68b981f4
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 26 01:50:21 2013 +0100
gmc-mh-1x-2x driver depends on libserialport
commit 79b9a237bdf974c826d222086424bc1edb089976
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Nov 23 15:24:40 2013 +0100
uni-t-dmm: Drop unnecessary DMM count.
commit 5e1f7c890d099ba47fca543936417a94f989445f
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Nov 23 12:50:33 2013 +0100
uni-t-dmm: Add support for the Tenma 72-7745.
This is a rebadged UNI-T UT60E.
commit a147c7b416c51d115708dce56f096cf1fe8bfb06
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 22 20:03:03 2013 +0100
hantek-dso: config_list(): Only SR_CONF_BUFFERSIZE needs sdi.
commit 7c07a1783e62dc76bce6238fb3a54160aefedbc3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 22 19:56:20 2013 +0100
ols: config_list(): Handle SR_CONF_PATTERN_MODE.
SR_CONF_PATTERN_MODE was not handled in config_list(), yielding
non-working OLS support in PulseView (due to an assert), and a missing
pattern list in sigrok-cli's --show output.
This fixes bug #184.
commit 330af0ec899c3b5f0fd6943941d1785faba4dcb1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 22 15:13:04 2013 +0100
Update to 3-digit libserialport package version format.
commit e2b238210187e40ad434f659e68d604ed5f523d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 22 15:02:12 2013 +0100
Make struct sr_session opaque.
The fields of this structure should not be used directly by frontends
(and none of the current ones do). Thus, make the struct opaque and hide
its contents from the API.
commit f57924179d08dee9d24099233ffbee2123613a22
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Nov 21 15:47:09 2013 +0100
gmc_mh_1x_2x: Completed driver for Metrahit 1x/2x
This driver supports devices with “RS232“ interface (Metrahit 16I,
18S, Siemens B1105 tested, 29S incomplete).
commit 367983a7443d12d85243215bdc83f6cbdd82daeb
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Tue Nov 19 22:30:34 2013 +0100
Added SR_MQ_TIME and SR_MQFLAG_DURATION.
commit a970522b6d0551360f66ed08b10104f25cc0537c
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Tue Nov 19 22:26:53 2013 +0100
serial: Allow 5 and 6 data bits.
commit 7b4edcb654d6b36da4369bac3688ad77f6132766
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Tue Nov 19 17:49:23 2013 +0100
gmc_mh_1x_2x: Inital driver skeleton.
commit 13cd8197eb1980cae4c5676ef88717c2cc9164b0
Author: Martin Ling <martin-git@earth.li>
Date: Thu Nov 21 17:33:02 2013 +0000
Update for libserialport v0.1 API.
commit c4650aca12630038fa034e2c0a2915073bdceedf
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 20 22:06:01 2013 +0100
Suppress compile warning
commit 8c273ac57ce34d5a8c8b5093413564af69968041
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Nov 19 12:03:20 2013 +0100
output/text: Fix memory leak of internal state buffers.
The text output module keeps buffers for internal state, upon receiving a DF_END
packet it frees the internal context but the buffers are never freed.
This adds a text_cleanup() helper function and registers it as the cleanup
function within all the text output modules.
commit 61bab807f4b85660c07b1ac62a3ae2b35b333e5e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 20 00:42:08 2013 +0100
DT4000ZC/TP4000ZC: Force DTR=1 on the serial port.
This fixes the driver e.g. on NetBSD.
commit 4403c39fe4c681352d1bac7efc1725f4eecb6215
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 19 23:22:46 2013 +0100
ols: Always open serial port in nonblocking mode.
The scan() function was opening the port in non-blocking mode, the dev_open()
function however was not using the SERIAL_NONBLOCK flag. This led to hangs
in certain situations.
This fixes the OLS e.g. on NetBSD.
commit 1a54044299c0da7bc894bf429fa306b236c10b68
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 19 20:09:59 2013 +0100
serial.c: Minor cosmetic fix.
commit a82635f252167ccfb3c5e3e698439af62adca29c
Author: Martin Ling <martin-git@earth.li>
Date: Fri Nov 15 00:26:45 2013 +0000
Use new sp_port_config fields.
commit e385e2ed90d9f66ed72124c8c4c9a04f771fe5e1
Author: Martin Ling <martin-git@earth.li>
Date: Thu Nov 14 18:52:57 2013 +0000
serial: Use new sp_set_config instead of sp_set_params.
commit 066d42b1c803e3b78b7d34df1f1516f729f81085
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Nov 19 01:08:19 2013 +0100
serial: Fix leak in serial_open.
A new sp_port is created every time we call serial_open (sp_get_port_by_name
implicitly creates one for us), so free it every time we call serial_close.
commit 90c7f4e92d020a50b17bb64484209b6e5805003b
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Tue Nov 19 01:08:18 2013 +0100
device: Fix leak if probe groups are created.
commit 1130e4229b2df4b9f308761928d44747cd568aee
Author: poljar (Damir Jelić) <poljar@poljar.org>
Date: Fri Nov 15 16:54:55 2013 +0100
rigol-ds1xx2: Send a SR_DF_END packet before acquisition stop.
Without a SR_DF_END samples could be cached in the internal buffer of an output
module and never flushed, therefore they would be missing in the final output.
By sending a SR_DF_END packet we force the output to be flushed.
commit 449cc16bb279e5d3322846ce6bd390e867e71ccb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 15 12:23:09 2013 +0100
serial.c: Temporary quickfix until a libserialport fix is done.
commit dc99135322eef1926da9aff7c9013154efbf3f3c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 15 09:48:34 2013 +0100
libsigrok-internal.h: Fix libserialport.h name.
commit 26e0361cc61e8a2236f6667f3e2ac4edd3dc68d2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 13 22:43:26 2013 +0100
uni-t-dmm: Drop unused packet_request callback.
commit c4f2dfd0f0df07e6e2b10e33c46c9c457c9c5016
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 13 19:56:13 2013 +0100
configure.ac: libserialport is optional.
Disable drivers that need serial port support if libserialport is not found.
Also, disable building various other serial port related code in that case.
commit 0dcb0c981eccf8df444a9ab0d49dcacf791930f7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 13 19:35:27 2013 +0100
README: Document new libserialport requirement.
commit 6a76efebc1f4d7dab7b1ec0819c2ac06b123f36b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 13 19:09:46 2013 +0100
serial.c: Fix a few return values.
commit a0dfaa6c4c34fd37e4ea5294960526145e043e4c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 13 19:04:54 2013 +0100
serial.c: Cosmetics, coding-style.
commit 0d4405ce5e9373d2dcd90a9188b79d79eaafae5d
Author: Martin Ling <martin-git@earth.li>
Date: Mon Nov 4 12:54:27 2013 +0000
Update for renamed libserialport header file.
commit f2b830f71df551e68f85eace38b01f4c741da328
Author: Martin Ling <martin-git@earth.li>
Date: Sun Nov 3 23:10:17 2013 +0000
Fix silly copy-paste error.
commit c9bc57b6bc0c13d7bf4fef60db3030f88eeebda5
Author: Martin Ling <martin-git@earth.li>
Date: Sun Nov 3 22:53:04 2013 +0000
Update to new libserialport API.
commit a9bce5a56199e44d4e2ec42d7aab7f57f386d55a
Author: Martin Ling <martin-git@earth.li>
Date: Sun Oct 27 15:51:24 2013 +0000
Use libserialport for serial port access.
commit 3220827c57d6c3970b925303000dca095d6cf900
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 11 07:53:52 2013 +0100
error.c: Add SR_ERR_PROBE_GROUP handling.
commit a0dc461d7b2a345bd0e28e87e7bbf343825f0182
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 11 07:42:51 2013 +0100
doxygen: Fix/improve 'struct sr_probe_group' documentation.
commit 57d0a2e195c6dac9e00bf6af3aa35bc394500b15
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 10 23:22:18 2013 +0100
unittests: Update for probe-groups changes.
commit 58f433696301321bda26431789abb2ba05e56dde
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 3 14:16:10 2013 +0100
rigol-ds1xx2: Unbreak listing of _VDIV and _COUPLING
commit 5f77dffc027b22a80998ac3037b87546004c6bca
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 3 14:15:35 2013 +0100
rigol-ds1xx2: Unbreak listing of SR_CONF_DEVICE_OPTIONS
commit be60a9e4a97ab68a140511afca83db1f202e7a0e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 3 14:13:59 2013 +0100
rigol-ds1xx2: Better error reporting when probe groups are required
commit 78bcc55afa19dc2d8432afccf2fb78a0114db509
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 3 14:11:43 2013 +0100
rigol-ds1xx2: Minor coding style fixes
commit bdc955bc0628afc643e672ba1493a6bd6c3d8ce5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 3 14:04:15 2013 +0100
Add SR_ERR_PROBE_GROUP, denoting a probe group requirement
commit d3c74a6fb05118e32ad421443251b7b3288918f9
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 31 23:58:33 2013 +0100
probe_groups: API changes required to implement probe groups.
commit ba358ffd83810fe0c03248992b9076fb435f7b4b
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 31 22:53:22 2013 +0100
rigol-ds1xx2: fix bitrot in device cleanup code
commit e43fdd8d4f207046939c67d5f60481b42ca35650
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 28 22:11:43 2013 +0200
rigol-ds1xx2: Don't assume valid sdi
commit 57ecdbd74245dab0b14b43e4ed5a470e50e63e42
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 28 22:11:05 2013 +0200
Update API documentation
commit 45311368de0e860711cded2718c85f6e06c2d613
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 28 13:05:27 2013 +0200
rigol-ds1xx2: Skip obsolete fields
commit af54bac90a98e3ab0c34b00e91bd31775f84e51f
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 16:02:12 2013 +0100
python: Map probe group configuration to ProbeGroup attributes.
commit 417e9f3ab427ceb61bde663e357b67dfdac09371
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 15:46:48 2013 +0100
python: Add classes for probes and probe groups.
commit f48e0249b45592811598c493b08a1fbf5219b659
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 14:48:56 2013 +0100
rigol-ds1xx2: implement probe group specific options.
commit 3d3a601e803d4fe10e2f633b5f0e06104dcf9017
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 13:44:34 2013 +0100
rigol-ds1xx2: create probe groups.
commit 5150ef336b69bfece769eef746f522270d6de90b
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 21:07:16 2013 +0100
probe_groups: Add a name field to sr_probe_group.
commit 909cc050bf96ce7b26e5431cccfe44cc95c62842
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 21:05:03 2013 +0100
probe_groups: initialise sdi->probe_groups to NULL.
commit 54e7a3d0d7bd80c993db9ff37b4a38ed38af7b0a
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 21:11:32 2013 +0100
probe_groups: Update Python bindings for API change.
commit 5daed4bc6d984a4e03881bcc7fe9104e930a18e1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 21 00:45:01 2013 +0200
Use priv for consistency
commit 8f996b89481670219c7576e2c68b128a0a2ce026
Author: Martin Ling <martin-git@earth.li>
Date: Sat Apr 20 01:00:49 2013 +0100
probe_groups: API changes required to implement probe groups.
commit 8dce54f7aa9eed362f2c9e41412c6b71ba1a32b6
Author: Dan Horák <dan@danny.cz>
Date: Mon Nov 4 10:53:36 2013 +0100
update udev rules
With usbtmc driver being classified under usbmisc in newer kernels the udev rules
need an update.
commit 360079e78efaa44142458dde329042b97da68a87
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 23:34:21 2013 +0100
configure.ac: Bump libtool/library version from 1:1:0 to 1:2:0.
The libtool current:revision:age numbers change from 1:1:0 to 1:2:0
(i.e., revision is increased) since the library source code has changed,
but no interfaces were added or changed or removed.
Details:
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
This changes the library filename (e.g. on Linux) from libsigrok.so.1.0.1
to libsigrok.so.1.0.2, but the SONAME (+symlink) remains the same
(libsigrok.so.1) since this release is API- and ABI-compatible with the last.
commit 3f6549307bba0483a20e1f434aab5ae95005117e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 23:32:23 2013 +0100
configure.ac: Bump package version to 0.2.2.
commit 8e2da1a650dade6529668d4b22e906ccec172b17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 19:23:00 2013 +0100
NEWS: Update for upcoming 0.2.2 release.
commit d69d26429f33b7ae15b786fcc73e644bbb153a60
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 4 00:18:47 2013 +0100
output/analog: SR_UNIT_REVOLUTIONS_PER_MINUTE: Add missing break.
commit 21d464a7e53efc9ac9810d9301a12b6a56fdb061
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 4 00:46:45 2013 +0100
contrib/z60_libsigrok.rules: Also mention UNI-T UT325.
The same USB/HID based IC is used in the UNI-T UT-D04 cable (for various
multimeters) and the UNI-T UT325 thermometer.
commit 8823146edff2f539fba48da807e011d94f1321f4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 4 00:41:56 2013 +0100
contrib/z60_libsigrok.rules: Add entry for the Saleae Logic16.
commit 5724a20af7a6449204d79972c6804d6c9b34b3f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 23:28:55 2013 +0100
configure.ac: Fix list sorting (cosmetic).
commit 122d33d47d17fd56c6306190b7066d8819b43145
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 23:28:03 2013 +0100
configure.ac: Move a teleinfo snippet to the correct place.
This breaks some configure use-cases otherwise.
commit 9b2f03bbd2e5d5a6efe056645b34e17ace9d8b90
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 18:18:44 2013 +0100
README.devices: uni-t-dmm devices need VID/PID now.
commit 5fa12e93e3f1cf2825591e76e1f63d974fec9cc2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 17:30:42 2013 +0100
README.devices: Updates.
commit 53f05fa80f1f9d7657f1173f24d9d1e2b740a312
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 16:08:38 2013 +0100
doxygen: @since tags document only last API change.
If a function existed before but the API changed, the @since
tag only reflects the release of the last API change.
commit ef1020f9cba528b542968b32fe662241e96e6119
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 3 16:06:15 2013 +0100
HACKING: Updates, some additions.
commit b775d753e3874d69ee342b1d6c0961a6f1494f18
Author: Dan Horák <dan@danny.cz>
Date: Sat Nov 2 16:47:11 2013 +0100
rigol-ds1xx2: detect Rigol DS1xx2 with upgraded bandwith
The bandwith in Rigol DS1xx2D/E scopes can be upgraded to 150 MHz in software.
So detect also scopes with the upgraded bandwith.
using libsigrok-0.2.1 + this change + commit da970d24ec (required for newer kernels):
[dan@eagle sigrok]$ sigrok-cli --scan -d rigol-ds1xx2 -l 5
sr: libsigrok loglevel set to 5.
sr: Sanity-checking all drivers.
sr: Sanity-checking all input modules.
sr: Sanity-checking all output modules.
srd: libsigrokdecode loglevel set to 5.
sr: hwdriver: Initializing driver 'rigol-ds1xx2'.
sr: serial: Opening serial port '/dev/usbtmc0' (flags 1).
sr: serial: Opened serial port '/dev/usbtmc0' (fd 7).
sr: serial: Wrote 5/5 bytes (fd 7).
sr: serial: Closing serial port /dev/usbtmc0 (fd 7).
sr: rigol-ds1xx2: response: /dev/usbtmc0 [Rigol Technologies,DS1152D,DS1EU150XXXXXX,00.04.01.00.02]
sr: hwdriver: Scan of 'rigol-ds1xx2' found 1 devices.
The following devices were found:
rigol-ds1xx2 - Rigol Technologies DS1152D 00.04.01.00.02 with 18 probes: CH1 CH2 D0 D1 D2 D3 D4 D5 D6 D7 D8 D9 D10 D11 D12 D13 D14 D15
commit 3a8cad91374739ec7143b94894f14435c1d09426
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 31 13:47:30 2013 +0100
metex14: Handle a few missing cases for overflow.
commit 88f544f27e56e8cd4a022d3de1f37153b941d158
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 29 20:31:24 2013 +0100
Add support for the Metex M-4650CR.
(the Voltcraft M-4650CR is a rebadged Metex M-4650CR)
commit 2b83d7fee11dddba7603e180c3528b14ff8aba0e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 29 18:10:10 2013 +0100
Add support for the Voltcraft M-4650CR.
commit 4a35548bbee613149fa4fbfa3dd9eaacb7511376
Author: Marc Schink <sigrok-dev@marcschink.de>
Date: Wed Oct 23 10:13:53 2013 +0200
Initial Comma-separated values (CSV) input support.
commit 6bf4273ee8bb6477ba55e0540e370547bd804641
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 28 22:59:32 2013 +0100
Fix two FreeBSD build issues related to libusb-1.0.
FreeBSD's libusb-1.0 compatible library has a few differences compared
to the "normal" libusb-1.0 from libusb.org which we have to work around.
LIBUSB_CLASS_APPLICATION doesn't exist in FreeBSD's libusb, and
libusb_handle_events_timeout_completed() doesn't exist either.
The latter is basically libusb_handle_events_timeout() with an extra
(unused by us) parameter, so the workaround is relatively simple.
This fixes bug #185.
commit 71185b48a114a8278e8baac04f5053ae046fdbcf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 13 09:46:08 2013 +0100
Unit tests for 'binary' input format & version APIs.
commit e790bd5cda9ccf99474b2d4998d3dd4e204416ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 25 20:10:01 2013 +0200
norma-dmm: Minor cosmetics, coding-style, consistency fixes.
Also, add a missing "%" in an sr_err() and a missing parameter in
another sr_err().
commit f8e76e2e74bf09024af50d68a0e90a558be126b9
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:18 2013 +0200
norma dmm: Implemented driver.
commit bfd48770fc18dae79d140120e6af3b7ac4bdb2ee
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:17 2013 +0200
norma dmm: Initial driver skeleton.
commit 1477a9a6dc4f470cb91c64c71c139825e8329adb
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:16 2013 +0200
std.c: Changed return value of std_dev_acquisition_stop_serial() for non-active device to SR_ERR_DEV_CLOSED for consistency with other functions.
commit 50a9aba21b912b44559290ece466b46aaa8840cf
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:14 2013 +0200
serial: Removed flag OPOST (turn off all output processing).
commit a510d55571a970fd90e6aca30771dd34bcc73296
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:13 2013 +0200
serial: Added flags CLOCAL (ignore modem status lines) and CREAD (start receiver).
commit 1b943b6d8b81be8b91216525a56007c5bdef43df
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:12 2013 +0200
serial: Added flag IXANY (any char will restart) to XON/XOFF handshaking.
commit 0c30b35fce5777592ff781ec9660b7e46f0af9c6
Author: Sean Young <sean@mess.org>
Date: Sun Oct 13 12:36:02 2013 +0100
saleae-logic16: claim device before using it
The kernel warns:
[ 7461.925685] usb 2-4: usbfs: process 11303 (sigrok-cli) did not claim interface 0 before use
commit 5542bee61b0e18e9ae3fa6edb361b8ed1bb77425
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 3 21:20:18 2013 +0200
teleinfo: actual parser implementation
commit 8e796cb438a80c6bcab5d44afaae0c74d757b673
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Mon Sep 23 22:02:02 2013 +0200
teleinfo: Initial driver skeleton.
commit 45315d0460aa9d66b520f80dbd0dee66e48df12d
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 10 22:28:35 2013 +0200
add energy meter device type and related units
commit c02dc3e26141a13554828be9a4ffa2def857d2b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 23 18:41:13 2013 +0200
metex14: Add support for pF (picofarad).
This is used on some Metex DMMs.
commit ee6cb5a417713a3080d03be44643b47131d59e2e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 23 18:07:54 2013 +0200
metex14: Use case-insensitive string compares.
This allows some other DMMs to be supported that use e.g. "kOhm" vs.
"KOhm", and so on.
commit 1a807c13fcf4bc015fb22311c70292e9c51bb5f9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 20 14:45:20 2013 +0200
metex14: Support DMMs with slightly different protocol.
This adds support for DMMs with 5 digits in the protocol (instead of 4)
and some more whitespace variants.
commit 71f1302b4b4b712149303d235876146e8d1d9af5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 29 17:43:28 2013 +0200
metex14: Support DMMs with whitespace differences.
Most Metex DMMs use e.g. " mV" as unit field, others use "mV ",
though. Support these (and other) whitespace variants by stripping all
spaces and only comparing non-space characters.
commit bfb926c1d2e248336dd57a5ab63cf503cb2b00b7
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 10 23:11:06 2013 +0200
es519xx: restore correct packet size
commit b21d7eebe24093269e78f84fb13e03f492abc502
Author: Matthias Heidbrink <m-sigrok@heidbrink.biz>
Date: Thu Oct 17 10:57:15 2013 +0200
serial: Changed order of flags PARENB and PARODD in deletion to same order as in setting (cosmetic).
commit 8819bf5a960c37561e2bbbffa2685ec477938083
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 16 18:10:29 2013 +0200
Bump libzip requirement to >= 0.10.
We now use zip_int64_t and zip_get_num_entries() for example, which
requires at least libzip 0.10. This version was released in 03/2012,
which is old enough that we don't necessarily have to do a work-around
for older versions. Thus, simply bump the requirement to >= 0.10.
commit 568dcacc1a43f5bfb5a103e6e9b6a5ad50ea2d08
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Oct 16 10:40:38 2013 +0200
Better error reporting on session start failure
commit df6b0f99af1c2f4be963a7fb388e21a718cce6f3
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Fri Oct 11 01:36:52 2013 +0200
ISO-TECH IDM103N: remove the useless -ser postfix
commit 94e9021b3ee2d18ef0480c6fa95f0d950cf12eb9
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Sat Oct 12 17:25:29 2013 +0200
es519xx: correct initialization of es519xx_info structure
commit 93d719cde6dbd3cc79b035b223e5a0d4ab5926cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 7 00:24:44 2013 +0200
es519xx: Fix incorrect packet size, and a typo.
commit 72e1672fc9267cd34fe9e6b174a80ec6aae420d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 6 14:59:10 2013 +0200
es519xx: Cosmetics, coding style, minor fixes.
commit de737bfc11f37ecaf9e028ba17fceafe510fc68c
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 3 22:10:25 2013 +0200
add ISO-TECH IDM103N serial-dmm driver
commit c01bdebc575cc3abdba30610afa374f0364b0b94
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 3 22:00:22 2013 +0200
add cyrustek es519xx generic protocol parser
commit 87532f23a4dbfb6ae1454cbea4566725d5a7555c
Author: Aurelien Jacobs <aurel@gnuage.org>
Date: Thu Oct 3 21:37:14 2013 +0200
output/analog: add revolutions per minute unit
commit 2f9376117c804898eaf75c3efebdbd97b6d89695
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Sep 7 14:48:38 2013 +0200
fx2lafw: Organize driver into api.c / protocol.[ch].
This now matches the naming conventions of the other drivers.
commit fbf07e020995b2d50ef337a2c629b2b8997dd047
Author: Daniel Thompson <daniel@redfelineninja.org.uk>
Date: Fri Oct 4 08:34:05 2013 +0100
agilent-dmm: Fix SEGV during incomplete reply from meter.
If buf contains exactly the string "Agilent Technologies" (for example if
there are bugs in the timeout logic or serial driver causing the reply from
the meter to be abridged) then this code will SEGV. This is because tokens[1]
is NULL but only tokens[2] and tokens[3] (both of which are undefined) are
NULL checked.
Can be trivially corrected by NULL checking tokens[1] as well.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
commit 5715e84fe3335e519148d7f6252b046598a982a8
Author: Daniel Thompson <daniel@redfelineninja.org.uk>
Date: Thu Sep 19 16:39:24 2013 +0100
serial: Only sleep when no characters are received.
g_usleep(XX) sleeps for *at least* XX microseconds but may sleep for
longers (on older kernels the sleep will typically be 10000us). Thus
byte receive loops containing an unconditional sleep will perform
very poorly (for example it causes the scan in agilent-dmm to timeout
prematurely).
Even on modern kernels serial_readline() has a 2ms sleep per byte which
means it will read at a maximum rate of half a character per millisecond
(~4800baud).
This is fixed by only sleeping when read() returns no data.
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
commit 1b142b78274d74563a084299a01ef1a92206356f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 24 09:25:32 2013 +0200
README.devices: Various updates and additions.
commit ba26f45d1d0472597aa257eb1aaff61834ab7e5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 24 09:20:15 2013 +0200
configure.ac: Don't build uni-t-ut32x if libusb-1.0 is not found.
commit 45c0841b2576fab58e7e059fd7fb839c740ba758
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 24 09:16:44 2013 +0200
uni-t-ut32x: Shorten dev_list().
commit 1ca48e29d436ccbd2a8faefd388840ca6de7aebf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 24 09:02:38 2013 +0200
Makefile.am: Add missing HACKING file.
commit d5c5ea2a29d1a7063e26327b87fa820dc1babd16
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Sep 24 09:00:16 2013 +0200
libsigrok.h: Fix enum entries order.
New enum items must be added at the bottom of the respective "category"
within the enum in order to not change any numbers (i.e. break the ABI).
commit 72a08bccffe5a73376113e07287327e4f89d270f
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Sep 25 11:51:38 2013 +0200
Minor documentation fixes
commit 5451816fd1676eab2942aba8cec6188451772760
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 21 17:44:49 2013 +0200
When adding a device instance to a running session, start acquisition on it
commit f438e0c923a114d7fd34fe0729ecd6891cb262f4
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Sep 18 13:28:07 2013 +0200
Add sr_session_append(): add captured data to an existing session file
This extends the session file format to contain logic data files named
either "logic-1" as before, or "logic-1-1", "logic-1-2", ...
representing chronologically ordered chunks of captured data.
The chunks are transparently concatenated together by sr_session_load().
commit 6ebe003985ac566fb2a35f1c5df8207dc9947d01
Author: Matt Ranostay <mranostay@gmail.com>
Date: Fri Sep 6 22:27:46 2013 -0700
ols: fixed demux mode disable noise filter
Demux flag wasn't getting set off if one non-demux sample was ran
beforehand.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 6a53bde6716ce761af11e2bf34527ece629d0c21
Author: Matt Ranostay <mranostay@gmail.com>
Date: Thu Sep 5 23:38:59 2013 -0700
ols: Moved FLAG_FILTER to demux check
Demux mode was having filter mode set which it doesn't
support per FPGA demon core docs.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 4ac4595ad08e58a3f1e6310fffb34624ce6f4c07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Sep 4 09:36:47 2013 +0200
configure.ac: Properly use $HW_ENABLED_DEFAULT everywhere.
Otherwise --enable-all-drivers / --disable-all-drivers doesn't work
correctly.
commit c542391f8243e9307950820fa8dc3fad6fec3600
Author: Matt Ranostay <mranostay@gmail.com>
Date: Tue Sep 3 20:47:10 2013 -0700
proto: Add missing prototype in proto.h
Add missing prototype sr_session_dev_list that was
breaking the Pulseview build.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 2bb311b482d587a7d20c35bf54f084bc0011d72d
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 2 14:24:32 2013 +0200
New API function sr_session_dev_list()
This exposes the list of devices added to the session. In the case of
loading a session from file, these struct sr_dev_inst are otherwise
not exposed to the frontend. See bug 145.
commit fa93154fe6cb0962c1a1551dacb6619a7b3f4810
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 2 14:23:42 2013 +0200
Properly initialize session
commit e52bb9be8351b8c4f960d998a62dfbd05b8fa637
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 1 13:10:54 2013 +0200
Voltcraft VC-830: Fix diode mode handling.
This DMM is not using the standard bits in the FS9922 protocol/structure
to indicate the "volt" and "diode mode" flags. Instead, it only sets the
user-defined bit "z1" to indicate both "diode mode" and "volt".
This fixes #142.
commit a6ed50f4055b9377d1ebe9e4b886ae357acc578e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 1 13:40:17 2013 +0200
es51922/fs9721/fs9922/metex14: Use diode MQFLAG.
This fixes #141.
commit 98494dc8a393f6e1b73fddb1e59aa3a3f590d764
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Sep 1 13:41:02 2013 +0200
fs9922: Fix typo.
commit 045e9a99186396694fb10f3155a7fb868705ecb8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 30 16:34:39 2013 +0200
serial.c: Drop unneeded <glob.h>.
This is no longer used, and also it is not available on Android and thus
breaks cross-compilation for Android.
Thanks Marcus Comstedt <marcus@mc.pp.se> for reporting.
commit e6523173cff4b39e78566495786e43f0917c860f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 30 08:57:09 2013 +0200
output/analog: Support all known MQFLAGs.
commit b1de040700de67dd41a881922f21a691c3aec77e
Author: Matt Ranostay <mranostay@gmail.com>
Date: Thu Aug 29 00:06:53 2013 -0700
ols: fixed channel limit check
For demux mode we half the channels. Previous check method broke
the OLS randomly and but it in a bad state.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit da970d24ecfcf67f89a9532f3a53ade8cb1131ed
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 30 13:57:15 2013 +0200
rigol-ds1xx2: newer Linux kernels have USBTMC in /sys/class/usbmisc
commit f51acd69d74b007281f6016e466d026d61a375f3
Author: Matt Ranostay <mranostay@gmail.com>
Date: Tue Aug 27 22:17:05 2013 -0700
ols: combine demux samples
demux mode allows DDR sampling which disables group 2 & 3
and thus samples group 0 & 1 to sample on rising and falling of
the clock.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 7b0a57fd1c1d1b658864b81df2357849ccc4715c
Author: Matt Ranostay <mranostay@gmail.com>
Date: Tue Aug 27 21:19:56 2013 -0700
ols: add swap channels feature
Allow channel groups to be swapped. This is useful
for demux at 200mhz with the unbuffered channels.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit de524099823d7a7b9aeae3e87e79c14cfc809fd6
Author: Matt Ranostay <mranostay@gmail.com>
Date: Tue Aug 27 21:19:55 2013 -0700
ols: Display noise filter flag
Show if noise filter is on. This is important to be
sure is off for demux mode.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 00d04d3b0eca2898409fe78b33c1bbf177cd8504
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Aug 27 00:33:20 2013 +0200
ols: Fix RLE count handling
The high bit of the sample, denoting this is a count, was not getting
properly cleared. This resulted in an inevitably negative count, and
corruption of the sample buffer before it was transferred to the
frontend.
commit abb39e6b8c9f2d512920dce440c0d8dd7a9a90f0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Aug 26 23:42:09 2013 +0200
ols: Properly initialize entire single-sample buffer before start
The single sample buffer, up to 4 bytes long, was not getting initialized
on (every) acquisition start, only after the first full sample was in.
This caused the first sample to potentially hold garbage.
commit eb1b610b1281bd83cb4dbd02b2eccdf4888bb093
Author: Matt Ranostay <mranostay@gmail.com>
Date: Sat Aug 24 22:01:15 2013 -0700
ols: add external clock support
Add external clock support that allows you to use the tracing
targets bus clock line for sampling.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 967760a8937e997ba9d7b729442f882947be154e
Author: Matt Ranostay <mranostay@gmail.com>
Date: Sat Aug 24 22:00:52 2013 -0700
ols: add test mode support
ols allows both external and internal test patterns at ~20khz
which are helpful for unit tests and demos.
pattern=internal -> route pattern internally to all 32 pins
(input otherwise disabled)
pattern=external -> generates pattern on unbuffered pins 16:31
(which can be looped back to the buffered pins 0:15)
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 503133bb5fcf9304d9bd93c023bc9c6c20c3aa0b
Author: Matt Ranostay <mranostay@gmail.com>
Date: Fri Aug 23 21:42:51 2013 -0700
ols: fixed parallel stage triggers
Stage count was always getting incremented one more than
actual stages, and this caused a extra stage with zero'ed data
probe lines to have the start bit field.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit d0107565c1e61e7b705fb9c0c84c72490da57d8f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 21 11:41:21 2013 +0200
saleae-logic16: Drop unneeded NUM_PROBES.
commit 87b537ced00b56ec7c8b3cfb9ea375a5501017d2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 21 11:37:40 2013 +0200
saleae-logic16: Shorten dev_list() implementation.
commit 96484e22b46af66216d1e0357c6e3478494d416c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 21 02:02:41 2013 +0200
saleae-logic16: Whitespace fixes, cosmetics.
commit 186dde8d724c19fc62eb7c0d5dcabfd98579d7ee
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Mon Aug 5 18:34:47 2013 +0200
saleae-logic16: Cleanup the prime_fpga function
The driver should now work on any Logic16.
commit fec7aa6a44fdd3ed835bd2b15ea5cf63beecda10
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Mon Aug 5 12:05:40 2013 +0200
saleae-logic16: Update copyright blurbs.
Copied copyright lines from fx2lafw driver, since much of the code is
taken from there.
commit db11d7d2d05c9e38978ae92920d96b61cf982d14
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Aug 4 16:20:07 2013 +0200
saleae-logic16: Add voltage threshold conf.
commit b117363ad7510e300501612c0cda23b81adeccc5
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Aug 4 14:28:04 2013 +0200
saleae-logic16: Declare confs.
commit 7b5daad45c6526f6eed368e30d262dcbe610b7f5
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Aug 4 13:46:35 2013 +0200
saleae-logic16: Implemented acquisition.
commit 15abcf0f5888dab4c077af6600fab219342af830
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sat Aug 3 00:35:44 2013 +0200
saleae-logic16: Initialize the FPGA.
The map_eeprom_data function is currently unknown. The map entries
provided were observed via bus-snooping of the vendor software on my
device. Other devices may need additional values.
commit 5eea4305ad108b8549257170985688004e65d00b
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Fri Aug 2 21:02:00 2013 +0200
saleae-logic16: Reworked scan/open to handle FW upload.
The new code is based on code from the fx2lafw driver.
commit f6a21fa50c3276eab4aacf61cae4ecfb16a98e73
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Wed Jul 31 16:53:35 2013 +0200
saleae-logic16: Detect the hardware.
commit 6383365795b8f9a3408315f8726fa75fa25e19d1
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Wed Jul 31 11:44:57 2013 +0200
configure.ac: Fix build when libusb-1.0 not available.
The Saleae Logic16 needs libusb-1.0, thus disable this driver when
libusb-1.0 cannot be found.
commit c463dcf06cdeb7f6ec0d2bafda707cce3a486bf0
Author: Marcus Comstedt <marcus@mc.pp.se>
Date: Sun Jul 21 12:30:32 2013 +0200
saleae-logic16: Initial driver skeleton.
commit 56e76981bc5e8e8d138275ad215e96d8ab4939af
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 11 10:52:43 2013 +0200
uni-t-dmm: Require conn parameter for scan
Since the uni-t-ut32x series handles devices with the same USB VID.PID,
which is linked to the WCH CH9325 USB/HID-UART interface chip, this
driver can no longer assume it can handle anything with this VID.PID.
commit d6ff054ae58f1423282d52c37ac9e76296163504
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 11 10:44:03 2013 +0200
uni-t-ut32x: Full acquisition support
commit 6513f97fbe18ba1f4a093e882b0d19284234b8b3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 9 22:39:15 2013 +0200
uni-t-ut32x: Flesh out driver
commit 3877dde43a08c23e37a6d944321005320bdcf784
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 9 00:29:04 2013 +0200
uni-t-ut32x: Initial driver skeleton.
commit 4a8bbed76d127663e62d83f6a3ac5b7e315e5f00
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jul 22 19:48:15 2013 +0200
center-3xx: Initial Center 309 / Voltcraft K204 support.
commit 4433145f481d077570b371b466e98b17a77ec7e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jul 19 09:35:48 2013 +0200
center-3xx: Initial driver skeleton.
commit fc1bb735e4ce1fd4e8a109b50d2fd698dec39aac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Aug 8 19:39:50 2013 +0200
Doxyfile: Set version to "unreleased development snapshot".
commit f6b59690146fc45050cef965a6be1590b47852b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 01:08:37 2013 +0200
Bump package version to 0.2.1, libtool version to 1:1:0.
The last release (0.2.0) had the libtool version (current:revision:age)
set to 1:0:0. Since this release doesn't add/change/remove any
interfaces, only 'revision' is increased, resulting in 1:1:0.
http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info
Frontends using libsigrok don't need to be recompiled or relinked.
commit b11df97ad5650e17f336373b5170b4ff02e4e2aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 6 22:32:46 2013 +0200
Doxyfile: Change version to 0.2.1.
commit f93c89b2140e1f1b67f7822887322376a9b92448
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 6 22:31:18 2013 +0200
NEWS: Add entries for the upcoming 0.2.1 release.
commit 6cda4600c14e20e8849a071413bf70890979eadb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 00:40:51 2013 +0200
README.devices: Minor documentation updates.
commit 1861be0baf8792e48e0bc009a20074210b2c1370
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 00:34:06 2013 +0200
Make sr_session_iteration() static.
This function is not used outside of session.c at the moment, so make
it static for now.
commit cdc30138c54a781c83a0b125e26216b6799cb045
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 00:28:40 2013 +0200
udev rules: Add missing IKALOGIC ScanaPLUS entry.
commit ce95428cca4ee7f8263389dd44a02d228d2be88e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 00:22:14 2013 +0200
Consistent use of "IKALOGIC" spelling.
The company name is written all-caps pretty consistently on the
vendor website and docs, so use that spelling everywhere.
commit b07b42f319488d821d23c3310133872df70987c5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 00:18:36 2013 +0200
Cosmetics, typos.
commit 059f36325e456e71a66beab929ee04e9d43475eb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Aug 7 00:03:14 2013 +0200
unittests: Comment out a testcase.
The boundary test-case with SR_GHZ(18446744073ULL) currently fails, but
that is not practically relevant so comment it out for now, until we add
a proper fix.
commit 094e6b815972240fbc210f8c5ef2eaa8c989fbc0
Author: Peter Stuge <peter@stuge.se>
Date: Tue Jun 4 02:20:57 2013 +0200
Format decimals correctly in sr_si_string_u64()
The function previously formatted 1004 as 1.4 k and 1004000 as 1.4 M.
The function now formats 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.
Fixes #73.
commit ba253f2bb97b7a69ad8b486f411d8d81d33792a4
Author: Paul Sokolovsky <pfalcon@users.sourceforge.net>
Date: Mon Jun 3 22:23:57 2013 +0300
Fix sr_si_string_u64() test cases.
The function shall format 1004 as 1.004 k, 1004000 as 1.004 M and
1004000000 as 1.004 G.
References #73.
commit e11a1ebaccd6232227cdbec24e2b2654940f1138
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 6 21:45:27 2013 +0200
alsa: Fix double-free issue.
This fixes bug #129.
commit 4d7ddff75b8c23fc8d5355c480df029b130cec0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Aug 6 23:25:18 2013 +0200
uni-t-dmm: Fix UT61E bug related to the UNI-T UD-D04 cable.
This fixes bug #136.
commit ee2cc2d4dc42d833f549f476dd93654c0c674cec
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 5 14:52:44 2013 +0200
ikalogic-scanaplus: Don't build if libftdi was not found.
commit 37d80736ab601a2e6fb9bf846c9790c3cac8d8ac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 5 13:34:10 2013 +0200
kecheng-kc-330b: Don't build if libusb-1.0 was not found.
commit 1a0c33822077e5c8a13d1a98961c6b9090181427
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 5 13:19:21 2013 +0200
.gitignore: Add some files from the testsuite.
commit 59142ae17756417781018cf81f5a69ba6654f3b2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 5 13:16:31 2013 +0200
Disable mso-19 per default, mark experimental.
This driver is not yet in a really usable or working state, it'll be
re-enabled by default when we're sure it works properly.
commit c51bbdec345b0d7e1c9013e0a1bea2586cf6daa7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Aug 5 12:59:23 2013 +0200
Drop nexus-osciprime skeleton for now.
This is mostly just a skeleton driver framework at the moment, we'll
bring it back when the driver is fully implemented.
commit c93ebace3053de2ca37a280fec5e0f7ca036df08
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Aug 2 01:02:03 2013 +0200
uni-t-dmm: Drop DMM table (comment).
This info is in the wiki already, no need to duplicate in the code.
commit faf720246ae6ec17e9ac47ee28c0320c1cfbd956
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 1 19:14:49 2013 +0200
ols: Workaround for mac os X stray events
commit ce4d26ddf96ceb62ada8ccd25347976ac5e4029f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 31 13:09:48 2013 +0200
Various cosmetics, whitespace, consistency fixes.
commit 1663ebe27f95a297c36dd8e9e494dec1fe9c6be7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 31 12:31:47 2013 +0200
udev rules file: Only list supported devices.
The udev rules file should only list devices that are actually supported
by a driver in the current libsigrok version. Thus, drop all entries for
devices which will get support later on (at which point the respective udev
rule will be re-added again).
Also, add a few missing entries.
commit d1056603a00b92d12170e6e7d3da33473147c5f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 31 12:22:06 2013 +0200
udev rules file: Drop URLs and lsusb.
The URLs to vendor webpages and the full lsusb are in the wiki
already, no need to duplicate them here.
commit f6eb2cb555aa79d57a20a754df66e83d897be668
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 18 15:06:06 2013 +0200
Make sr_session_iteration() private
commit 2b691be80654ca0cba58576c907c2c3e02e1f680
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 17 22:17:17 2013 +0200
serial-dmm/uni-t-dmm: Drop Tecpel DMM-8060.
The Tecpel DMM-8060 was added since we assumed it would be a rebadged
Voltcraft VC-820 (since we know the Tecpel DMM-8061 is a rebadged VC-840).
However, according to the vendor webpage it doesn't have PC connectivity
at all, so drop it for now (until someone can confirm that it does or does
not actually have RS232/USB connectivity).
commit e84e0096db5eb2b00300abe5e40487b190dd291d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 16 17:18:20 2013 +0200
Fix build
commit b979d0c9cbf3a697c0ac4b06031ffb18b5f60006
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 16 17:17:54 2013 +0200
kecheng-kc-330b: Code cleanup
commit d406dccd6a7486d3a2913338d4d023aa93322de3
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 16 15:58:46 2013 +0200
lascar-el-usb: Don't close device after acquisition
commit 85ed4ab3bae4e5a6fbc741c4c8f8e2d9923e9594
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 16 15:58:11 2013 +0200
kecheng-kc-330b: Acquisition from stored logs
commit b483be7456fbc2e29efa50a49f6e8d60a8107527
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 15 14:14:28 2013 +0200
Add sr_session_iteration() API function
commit f336618c3d1dc766da1c9f8ba46b322de9c746fa
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 25 22:00:29 2013 +0200
kecheng-kc-330b: Check device status before acquisition
Can't really count on it either way though, the device is just
too flaky to conclude whether it's going to work or not, regardless
of the status returned.
commit df03552894dc80e2de6f818622936663c5b05946
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 25 14:09:01 2013 +0200
kecheng-kc-330b: Live SPL acquisition
commit bc7be4a9f4940dd9708208bddab87bd190ef816f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 24 13:24:43 2013 +0200
kecheng-kc-330b: Implement all SR_CONF options
commit c8bab81c5c862868ea8bf7e72d240c8fc24627e7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jun 21 15:58:08 2013 +0200
Add Kecheng KC-330B
commit a8806f032cb0fe3d86d9c75ed7069d6bdf6c78ea
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jun 21 15:57:48 2013 +0200
kecheng-kc-330b: Flesh out driver, add scan functionality
commit ed759a08351394a060ad9352bf2617d41bdeea28
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jun 20 21:31:31 2013 +0200
kecheng-kc-330b: Initial driver skeleton.
commit ab4bb6eb7c6d7ab2eb212088a764fb696726c8dc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 4 15:32:20 2013 +0200
ikalogic-scanaplus: Initial driver implementation.
commit fdf4a1f5a0a04046ec014786b4a8fce125e1163c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 21 17:15:10 2013 +0200
ikalogic-scanaplus: Initial driver skeleton.
commit a7a163a795c9ad8cb06b5fe5458d7c98c405bf5a
Author: Florian Knodt <git@adlerweb.info>
Date: Fri Jul 5 14:02:50 2013 +0200
Support for UNI-T UT60A/E multimeters via RS232 or USB
commit fb8d593cfea094dd50d74873c8c00445eb0a040f
Author: Marc Schink <sigrok-dev@marcschink.de>
Date: Tue Jul 2 21:52:23 2013 +0200
Use GET_REPORT request for device to host transfer.
commit f05e7b7a9bf32388afc5dad77448621164887b7c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jun 22 17:12:38 2013 +0200
error.c: Simplify and shorten.
commit 45bb47a7f7ea3062b7df1e505fb6687f63d6c1e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jun 22 17:05:57 2013 +0200
README.devices: Minor updates.
commit c134574938ef5746775ac62e10025da34d83ae47
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jun 22 16:53:13 2013 +0200
uni-t-dmm: Add support for the Voltcraft VC-830.
commit 6045b91aa43bd824db528e2cc52d93ebf8a819d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jun 22 16:48:00 2013 +0200
serial-dmm: Add support for the Voltcraft VC-830.
commit 32be5b22462fa271c8837694d7f242a0bda2f2f7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 21 15:18:33 2013 +0200
configure.ac: Move an AM_CONDITIONAL to the correct location.
commit 1f36a6c6852d175b5b0ad37bd5da8da039cc2896
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 21 15:11:36 2013 +0200
configure.ac: Fix build when libusb-1.0 not available.
The IKALOGIC Scanalogic2 needs libusb-1.0, thus disable this driver when
libusb-1.0 cannot be found.
commit cea26f6e9f1a58f28a4b790756a2f95dcf0eaa9d
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jun 20 14:35:34 2013 +0200
cem-dt-885x: Support for retrieving stored samples
commit 662172d4f4eaada1b4a107317ca085c80ff38954
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 19 12:23:30 2013 +0200
cem-dt-885x: Support for SR_CONF_DATA_SOURCE
This device can do both live and memory-based acquisition.
commit 6caeef6ee5795232b78c8986619f8919e2b09c8c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 19 12:18:00 2013 +0200
Add SR_CONF key for data source
commit 4c22355f046fefff812042ef9764199df17fb809
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 17 15:46:14 2013 +0200
cem-dt-885x: Support for powering off the device
commit 32de50b7f3f0155589d90b273cac6b0c3dcfeec6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 17 11:54:37 2013 +0200
Add SR_CONF key for powering off a device
commit f157b2eebb8523792bd085eeb8fb3632b5d4c172
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 17 01:26:25 2013 +0200
cem-dt-885x: Support for sound pressure level measurement range
commit 8417ebad122cfade0f9ae6db6cbd8e7249156753
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 17 01:25:41 2013 +0200
Add SR_CONF key for sound pressure level measurement range
commit 0cd9107dfb6fc36d816fd93a7b45dc2e0a990578
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 16 13:23:58 2013 +0200
cem-dt-885x: Fix datalog on/off setting in max/min hold mode
As it turns out, the device randomly decides to send no logging state
info when max hold or min hold mode is enabled.
commit a90e480cdc808d0c91eecc6b5078e745a751882b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 16 12:14:09 2013 +0200
cem-dt-885x: Support for max/min hold modes
commit 9fd6bc205433eae242960e9e976d28ac0fd20254
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 16 12:12:20 2013 +0200
Add SR_CONF keys for max/min hold modes
commit 1487ce4fbc0368058d16d42666fd8703e976f072
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 15 13:00:41 2013 +0200
cem-dt-885x: Support for changing time weighting
commit be73391982fc49c9eab45f6863eaca08e76a8b48
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 15 12:17:55 2013 +0200
cem-dt-885x: Support for changing frequency weighting
commit fd8854c4d030288be1007a4f81e0ba1228a9dbac
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 15 12:09:31 2013 +0200
Add SR_CONF keys for sound pressure level time and frequency weighting
commit e1af0e85b9b48b309f3552bceeed81d356735a33
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jun 13 14:33:15 2013 +0200
cem-dt-885x: Support for turning data logging on/off
commit 3e62166ed3d0a2763b3627b5434b599a4b65c479
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jun 13 14:23:06 2013 +0200
Add SR_ERR_TIMEOUT
commit 5f2a4aff4bbea36044203e700901973520f285a1
Author: Florian Steinhardt <mail@floriansteinhardt.de>
Date: Tue Jun 11 20:35:57 2013 +0200
added Voltcraft M-3650D Multimeter
commit 14cf708fef6d1dfd371923c7749f8cecd8a896a2
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 12 16:04:23 2013 +0200
cem-dt-885x: Send last measurement at normal rate in hold mode
The device only sends the "hold" token otherwise, which clashes somewhat
with other devices. This makes the device more predictable for frontends.
commit bc1143280f7ca878e1309a1d1c0899275ff32d27
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 12 15:45:37 2013 +0200
cem-dt-885x: Hold off measurements in max/min hold mode
commit e37c4b3959052691a9e9d9ec4cfcdf0f8c6e36e1
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 12 13:10:56 2013 +0200
cem-dt-885x: Live SPL acquisition
commit 7fb8279c9b7e1e7f564725970bbafff74f5d2394
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 11 23:33:25 2013 +0200
cem-dt-885x: Flesh out driver, add scan functionality
commit 8fa9368eb41c7cb040a9eaef34aecc9f8a9e6d7e
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 8 01:12:10 2013 +0200
cem-dt-885x: Initial driver skeleton.
commit 28083961fbbd7ff76ee1199d3aebde21dded77ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 11 18:55:47 2013 +0200
scanalogic2: Only print actual state changes in the log.
commit 9526f2d4f80968e9b2d00442fd4705d6902db589
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 11 18:55:47 2013 +0200
scanalogic2: Replace %i with %s where needed.
commit 79914b3a62adb1b0b054d23c2721ce80eb7ba9ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 11 18:55:47 2013 +0200
scanalogic2: Shorten a few function name prefixes.
The driver-private helper functions in protocol.c can have a shorter
prefix to make the code look nicer.
commit c824eb6323282def1cb7d6cf03b6c00c7a060810
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 11 18:55:47 2013 +0200
scanalogic2: Cosmetics, whitespace, typos, etc.
commit e52e712d05419e4387704262a07e00904b2acbed
Author: Marc Schink <sigrok-dev@marcschink.de>
Date: Mon Jun 10 10:10:13 2013 +0200
Initial driver for IKALOGIC Scanalogic-2
commit 16e76baec9b1df806e46d4da61269375924ab950
Author: Marc Schink <sigrok-dev@marcschink.de>
Date: Fri Jun 7 20:34:40 2013 +0200
ikalogic-scanalogic2: Initial driver skeleton.
commit eea49cf10d4cf5b990dcf24b4ead2977a5f36a6e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jun 2 16:54:31 2013 +0200
ols/link-mso19: Consistency fixes.
Use the same setup/ordering/naming for the cleanup/dev_clear functions
as all other drivers do.
commit 1c2d542df2bad5a719863d5c5cb38334c80e2ac6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jun 2 16:43:26 2013 +0200
demo: Use std_dev_clear().
commit 3b412e3a305cf06ac9bbb91ca5025d1712617b71
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 16:09:57 2013 +0200
s/clear_instances/dev_clear/.
Consistently use the same name for the dev_clear() API callback
everywhere.
commit f6beaac55ca58c406d6621038abe57c16a47e87f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 15:46:57 2013 +0200
std: Drop hw_ from function names.
The per-driver API calls no longer have a hw_ prefix (e.g. hw_init()
became init() and so on), so drop the 'hw_' from the std versions
for those API callbacks too.
commit 3678cf73fea3c7903eb8887d8bb0dec61cb09e6e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 15:33:58 2013 +0200
asix-sigma: Use std_dev_clear().
commit c43cf4d40e2b73d992c73c340a887888f05595e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 15:28:43 2013 +0200
alsa: Use std_dev_clear().
commit fa85f376301dd43232032867f8df834e746060c6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 15:19:53 2013 +0200
rigol-ds1xx2: Use std_dev_clear().
commit dec6c583a2d8097ef3214b5d37432ef8edfbfb3a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 15:18:47 2013 +0200
hantek-dso: Simplify cleanup().
commit 658636f1c934b5b865efd0b4a8202603c577dd0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 15:18:22 2013 +0200
nexus-osciprime: Use std_dev_clear().
commit c9d622a4208813966ab5ae40a444fe136c7b2cea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 14:25:33 2013 +0200
lascar-el-usb: Use std_dev_clear().
commit 771bd216fad9ad09666b4a41712e7fcb33ed6d9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 14:20:34 2013 +0200
fluke-dmm: Use std_dev_clear().
commit 732899f8cf87798b61d67a1c28e4bb4d46146cae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 14:17:38 2013 +0200
colead-slm: Use std_dev_clear().
commit 676c28a846ed8854c35e4d9b8914ff9a0f5a9b26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 14:13:20 2013 +0200
agilent-dmm: Use std_dev_clear().
commit 8d18d266f5cff373287e7bb122fa63581a4f88af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 14:10:59 2013 +0200
victor-dmm: Use std_dev_clear().
commit 40bbc64293f7a93cc25e594801315c6990b3bb03
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 31 14:00:30 2013 +0200
brymen-dmm: Use std_dev_clear().
commit adf33ecce5e0bc2dff53087b01da6d5baaa89ee3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 21 20:54:42 2013 +0200
csv output: Fix incorrect ordering of the probes.
The comment for the CSV output module says probes are ordered e.g.
0,1,2,3, but the actual values were in the 3,2,1,0 order.
We're fixing this by making the order of the probe values 0,1,2,3 too
for now, but this will become a configurable option later on.
Thanks Patrick Servello <patrick.servello@gmail.com> for the patch.
commit ee8ddd8f5aadee71749882ba897c29e3c12fe1ed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 20:59:42 2013 +0200
Always link against the math library.
This fixes bug #115.
commit 96ea73db236ce6c0146f9a33c280b7cbcdc500cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 20:31:25 2013 +0200
session_driver: Fix return codes, cosmetics.
commit 6078d2c99619233173d4536b74258c15e6be73ba
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 19:37:54 2013 +0200
Use consistent API callback function names.
This now matches what the 'new-driver' tool generates.
commit 8111446ae005bb4feb8859dd2cd12f46ec4d6050
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 19:16:25 2013 +0200
zeroplus: Properly set inst_type to SR_INST_USB.
commit d6445cb0da6e6406f6cbf24f89bd570850d44fb1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 19:06:47 2013 +0200
zeroplus: Use std_dev_clear().
commit 8dca646ef9f045751353aa0929c7be25a29fcb2e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 18:59:46 2013 +0200
uni-t-dmm: Use std_dev_clear().
commit 3f0513bac1eaed3273398b362c35c1494fe94850
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 18:53:42 2013 +0200
serial-dmm: Use std_dev_clear().
commit 97900799618d9d529f69eeed94d28349bc671d8d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 18:40:13 2013 +0200
chronovu-la8: Use std_dev_clear().
commit decfe89d4e8c0902c1ca56933f2da30b97e9fa72
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 18:30:32 2013 +0200
Drop some lines that are no longer needed.
commit 0bdb4f2e4aae1f9589897fc4b47cd012e9a25e49
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 17:56:53 2013 +0200
tondaj-sl-814: Use std_dev_clear().
commit 25e7adada7a398542eeca703d23972a9eb81cc7a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 10 17:54:53 2013 +0200
mic-985xx: Use std_dev_clear().
commit 2a052cc4d68acac9ac4847adba219d418df628f1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 8 19:49:23 2013 +0200
Use consistent naming for internal libtool helper libs.
This now also matches what the 'new-driver' tool generates.
commit 9e165e742fcaf247fe36644192194e59a02698aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 8 19:33:30 2013 +0200
Use consistent HW_ name prefixes everywhere.
Older drivers used LA_* previously, we now use HW_* everywhere though.
commit 576ff5b0ba72cf9d682cf62736b4b9dc2048647d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 5 17:14:20 2013 +0200
device.c: Add missing @since markers.
Also, add Doxygen comments for functions which don't have any yet.
commit 01169de39195e2e54e4534504b60ed2408129b81
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 8 16:41:18 2013 +0200
Doxyfile: Set version to "unreleased development snapshot".
commit 7ab89f4827d516313cafc9b7b9670ee99dc9c584
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 8 16:40:45 2013 +0200
Re-enable link-mso19 and nexus-osciprime drivers.
commit 9dc7a75e3d4bc4078b23c62626c359e5a9e73b57
Author: Bert Vermeulen <bert@biot.com>
Date: Mon May 6 20:44:26 2013 +0200
fx2lafw: Fix memory leak
commit 03f4de8cf298b6ca8510f49377c2e8e43cc88516
Author: Bert Vermeulen <bert@biot.com>
Date: Mon May 6 00:42:18 2013 +0200
ols: Code cleanup
This also fixes a memory leak.
commit a006798b9979ed3b8a2803927727dfbd870277f7
Author: Bert Vermeulen <bert@biot.com>
Date: Mon May 6 00:40:17 2013 +0200
Fix various memory leaks
commit 12a33563b9cfd14c6dbf23d89c644f4ba16d304f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon May 6 00:36:50 2013 +0200
std: Fix memory leak, code cleanup
commit 26aec7fdc4c5d1f3e7ec6c373b16b6605b4a6e38
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 19:01:54 2013 +0200
Drop link-mso19/nexus-osciprime in preparation for release.
These two drivers are currently unfinished and don't work, so disable
and "unhook" them for now in preparation of the next libsigrok release.
They're still in the git repository, but not hooked up to the build
system, so that they won't get detected or built, and also don't end up
in the release tarball.
Since link-mso19 is the only driver that currently requires libudev,
drop any reference to that, too.
It should be relatively easy to apply this patch in reverse after the
release to bring back both drivers.
commit a4fdbbe1c2d9e95982c48aea46773affd6812ec8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:55:11 2013 +0200
Doxyfile: Set version number to 0.2.0.
commit 7c3e7b43067d14fc717a0bf825e57ed959032771
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:22:45 2013 +0200
udev rules file: Add entry for the ZEROPLUS LAP-16128U.
commit 048e8babf73565721707dd9e9ecf4f915941d23e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:17:50 2013 +0200
NEWS: Minor update.
commit 6941f84568b0e362decdc25e6aecaf304dc670bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 15:12:20 2013 +0200
Fix libsigrok lib version (current:revision:age).
The last release (libsigrok 0.1.1) had a lib version of 0:0:0.
This release thus gets 1:0:0 according to the libtool manual guidelines.
commit c5ffac414899eb7f0e187b8eb9d61e381d40f0a6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 4 00:07:34 2013 +0200
uni-t-dmm: Add missing SR_CONF_LIMIT_MSEC support.
commit 29a27196a13de2ffd9b671185e4b464b9db9b549
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 21:59:32 2013 +0200
s/DRIVER_LOG_DOMAIN/LOG_PREFIX/.
This is more correct anyway, and also a bit shorter and more readable.
commit 06c45a66f76f986cd845a05fdee36956b1339621
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 3 14:03:49 2013 +0200
Minor whitespace fixes.
commit e6b2b4df9dcfaf9eb6fa10f94e0aa5e039230e21
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 2 23:37:23 2013 +0200
README.devices: Document how to make some DMMs log.
commit 456dfd9f704885c8ffbeb5dd1c2b281d27fff053
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 2 19:03:47 2013 +0200
NEWS: Various updates and minor fixes.
commit a0c7e23ad871c0e77dd8632c76f87bec1c6fd002
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 2 17:37:55 2013 +0200
Fix the build when libusb is not available.
Thanks Simon Richter <Simon.Richter@hogyros.de> for reporting.
commit 3a277f3b2b01da3d7d1e26ddbb30471db68fc11c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed May 1 14:54:44 2013 +0200
Deal with uninitialized drivers
commit c2fa697afa86a8e6f37bef13acb5b8532714274e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:16:47 2013 +0200
serial-dmm: Add Tecpel DMM-8060 support.
commit b38e08fbb7b6fec5ff22495f13f039b1f7218361
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:13:15 2013 +0200
serial-dmm: Add Tecpel DMM-8061 support.
commit 4554314c4f72d8df69b7236cb19d15a00fdceaeb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:04:46 2013 +0200
uni-t-dmm: Add Tecpel DMM-8060 support.
This is _very_ likely to be a rebadged Voltcraft VC-820, treating as such.
commit b6bad47c91a7cbc19571cbe49918a0612ad2babe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 03:00:08 2013 +0200
uni-t-dmm: Add Tecpel DMM-8061 support.
commit 2451a20ff5137d178ed4a02ee04076c6eae97235
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 02:10:56 2013 +0200
fs9721: Factor out common code from serial-dmm.
These functions are FS9721 specific (and DMM specific), and can be used
from various drivers (e.g. serial-dmm or uni-t-dmm or possibly others).
commit 48535594664cc5d55db428cd8ca5ffba328be05a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 01:56:30 2013 +0200
uni-t-dmm/serial-dmm: Handle Voltcraft VC-840 temperature.
commit ad00a54da6a17c881881d2ed7a3f3fe41170fa26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 01:02:46 2013 +0200
fs9922: Fix beep mode.
commit 649a4cd672e5ea14707c4591dd0426fdd87ddd5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 1 01:00:54 2013 +0200
fs9922: Fix diode mode parsing.
commit 767aae30edce24c9e5b8b6e083653b2f68dbc922
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 30 20:28:29 2013 +0200
uni-t-dmm: Fix incorrect UNI-T UT61D baudrate.
commit 695d0e1efa819dc98914ce1baec388c8734e98a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 30 20:27:04 2013 +0200
uni-t-dmm: Add support for the Voltcraft VC-840.
This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.
commit bbef5e326de1669b039413d8753fceda7281e936
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 29 20:23:21 2013 +0200
uni-t-dmm: Add support for the UNI-T UT61E.
This DMM is already supported via the serial-dmm driver when using the
RS232 cable. The uni-t-dmm support makes it usable with the USB/HID
cable too.
commit ae3a59de62e5912d68d8738a78a4403146cbfda5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 29 20:15:02 2013 +0200
serial-dmm: Add support for the UNI-T UT61D.
This DMM is already supported via the uni-t-dmm driver when using the
USB/HID cable. The serial-dmm support makes it usable with the RS232
cable too.
commit 3ece1dff6ce9d29021215a1aa4a4ae8cff25aa49
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 28 08:13:15 2013 +0200
uni-t-dmm: Use sr_dev_inst to store connection handle.
commit d9a7c349ed731f826b166c12f6d03dbd973cc0ec
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 28 08:01:51 2013 +0200
brymen-dmm: Use sr_dev_inst to store connection handle.
commit af51a7718eb22e9630107af814db6ae9f179a969
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 30 16:03:37 2013 +0200
output: Use sr_config_get() wrapper
This obviates the need for a valid driver, and thus makes converting
from any (non-sr) input format to any output format possible; the only
thing missing is the samplerate.
Fixes bug 105.
commit 0a7da5f8c9f1c6656672152ad48d76b5a4cd7ecd
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 30 09:55:44 2013 +0200
fx2lafw: Keep track of our own libusb fds
commit 037286445116d0f4f7f9b16a4a7353f3be207ff0
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 30 00:04:39 2013 +0200
Don't remove stray source from the session after stopping
It's up to the drivers and frontends to remove the sources they
added to the session.
Also don't tell the driver about a forced session stop more than
once, because it's sloppy.
Fixes bug 62.
commit 2a67abfe349f26f0cc9d34e36f48b250cb9cac50
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 29 19:02:26 2013 +0200
fx2lafw: Properly initialize operational state before acquisition
commit 0f75d6f5a9b5d9d479dc03d67a8c828f99dce8f0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 29 12:39:26 2013 +0200
ols: Don't close serial port after acquisition is done
commit 681803dfdeeaae66c48d6c45da194be0c6789deb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 28 22:35:42 2013 +0200
Don't try to close devices when removing them from the session
That's the frontend's job.
commit 115f82939661da6ad2d26d5ceca709bbc0ad25b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 22 21:57:51 2013 +0200
NEWS: Add most important items since last release.
commit a5e44c3247ae64ab1a65e7c6ebe6d66c6ab0a0a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 24 19:14:52 2013 +0200
tondaj-sl-814: Use sr_dev_inst to store connection handle.
commit 44f91e29509125a54cfd975689e6d10379645f08
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 27 19:06:27 2013 +0200
unittests: Disable a broken test for now.
commit 50c604f50bf33e68ac67caa8ebad20b87b3aacc1
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 18:27:32 2013 +0200
Don't automatically clear known instances from USB drivers on scan
This invalidates previously returned sr_dev_inst pointers, which a
frontend may be holding. It's the frontend's responsibility to clear
the list of instances a driver keeps track of by calling
sr_dev_clear(driver);
if it wants a completely new scan done.
commit c2523f221364c0df51b8093693a246a713633912
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 18:24:50 2013 +0200
Explicitly initialize all struct parameters on init
commit 17f63de642c3cb613f91eabd2e19ebed6785f755
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 17:29:46 2013 +0200
Fix output API receive() function
This changes the new output API's recv() to receive(), and has it
return an integer status code. The output of the function, if any,
is stored in a new parameter as a pointer to a newly allocated GString.
All output modules using this API have been adjusted.
commit 9c48c2e91ecdb4b0ce364f55084e8f882b7a3bf1
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:20:33 2013 +0100
Remove SR_MAX_NUM_PROBES, which is now no longer used.
commit a1be7b6c3f1f00644bdae96317f14b99fe31cf3d
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:16:30 2013 +0100
vcd output: Replace fixed length array of indices with GArray.
commit d601c0e9b37be9174c8a4447aa05aeb7be82be73
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:00:51 2013 +0100
vcd output: Eliminate unnecessary array of probe names.
commit 90f680ff006e5ae2fd4935bd885a14bd9927fd99
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:50:09 2013 +0100
gnuplot: Eliminate fixed-size header buffer based on max probes.
commit deb09083385deab1a8afc2a585200de043444464
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:29:41 2013 +0100
gnuplot: Remove unnecessary array of probe names.
commit 1c5b099a1312ae64307fb7d9a0030643936a3636
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:26:14 2013 +0100
csv: Remove unnecessary array of probe names.
commit 91a44f50f0817b32c869f9623b86a6e698ba8e19
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:20:05 2013 +0100
chronovu-l8: remove unused array of probe names.
commit d53e4e8d92242488642211f441dacba29937104d
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 22:14:57 2013 +0100
text: Use a GSList of enabled probe names, not an array.
commit db9679afc9f46bdf038efabd3ac69983d15f89cf
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 20:52:25 2013 +0100
vcd input: Use a GSList rather than fixed size array of probes.
commit b050fc481bf8fc2a55277cc3fc3b62121932e1bb
Author: Martin Ling <martin-git@earth.li>
Date: Sat Apr 27 00:13:02 2013 +0100
vcd output: fix for big-endian architectures.
commit 9c178ffa50da5bd6978d26989b79936dc341f308
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 23:57:44 2013 +0100
gnuplot: fix for big-endian architectures.
commit 3292535c878ec82756c122facddf61bbd81bec18
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Apr 27 14:24:47 2013 +0200
output/ols: Use new API
This now properly supports samplerate changes coming in from
SR_DF_META packets, and also fixes bug 99.
commit 409a811b8c078341185badadda8f4be380a5f88d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 27 10:49:52 2013 +0200
error.c: Add SR_ERR_DEV_CLOSED.
commit 3a581560f1288b4cecc4ab885c85ac7603dd21db
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:35:18 2013 +0100
ascii: fix for big-endian architectures.
commit ddb292571d03ee2e13100d749edcf0dceed5d9a2
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:22:36 2013 +0100
bits: Remove unused code.
commit 9275d232089be359ad6ffe3a7b65d6230ff912b3
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:17:36 2013 +0100
hex: fix for big-endian architectures.
commit 542dbd185b2e01e61df8a70a2ab850f5cfe03271
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 26 21:14:00 2013 +0100
bits: fix for big-endian architectures.
commit b9470914d045f05e445e9f25a3b4f0cc79bc6681
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 26 22:17:41 2013 +0200
Remove sr_rational
commit bc653a56781de54f90e9fb08b39e6c9a596cc6af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 26 23:39:24 2013 +0100
uni-t-dmm: Do proper detection of packets in the stream.
Also, various fixups in the driver.
commit c8852687778a33b9de218af800eec4ae7e3848a6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 19 19:01:54 2012 +0100
uni-t-dmm: Make driver more similar to serial-dmm.
commit 7381251e33611b6c06f3adedfcf2e1943453670e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 26 19:56:02 2013 +0200
common/dmm: Drop obsolete *is_packet_start() functions.
commit 913abe83214f68d1743c555aa3fbe112db48a0cb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 19 22:47:26 2012 +0100
fs9922: Use common DMM API.
Use the same functions and structs as the other DMM protocol parsers
in hardware/common/dmm. Among other things, this allows the functions
to be used from drivers in a generic way, e.g. in serial-dmm, uni-t-dmm,
and possibly other drivers.
commit 6d0369591b7b30009bf497a5bb285afc7f431ad8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 26 13:35:19 2013 +0200
README: Add "Copyright and license" section.
commit 695f32d89d678b20896e34affc74b4363b686387
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 26 10:47:34 2013 +0200
Bring back link-mso19/nexus-osciprime for now.
This patch will be re-introduced later.
commit 9d1164f9a12c218def0e898e4d28fcd55f2fa8cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 19:01:54 2013 +0200
Drop link-mso19/nexus-osciprime in preparation for release.
These two drivers are currently unfinished and don't work, so disable
and "unhook" them for now in preparation of the next libsigrok release.
They're still in the git repository, but not hooked up to the build
system, so that they won't get detected or built, and also don't end up
in the release tarball.
Since link-mso19 is the only driver that currently requires libudev,
drop any reference to that, too.
It should be relatively easy to apply this patch in reverse after the
release to bring back both drivers.
commit 8d3764aacad94d4bf44cbfdfd4a45dad995eeb33
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 17:42:20 2013 +0200
README.devices: Fix typo.
commit 0e77b7cab31186b35d461e7d4ad3ce8a577857ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 25 00:15:49 2013 +0200
python: Add Session.open_device().
commit 57dd5e63ecc6cad49f31f94ed0ef9a5336330c4a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 24 23:43:56 2013 +0200
python: sr_config's value field is called 'data'.
commit 3124e80bfe6189d52c5aec9a8c1cacb6ee852b91
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 24 17:48:04 2013 +0100
python: Support keyword arguments to scan()
commit f245b7669e7ffb7591dc1b1b7087e4352738c84d
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 24 17:47:40 2013 +0100
python: Add a ConfigKey class.
commit 05cfe1147a9f85d9d3db41d6025c708898a66be9
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 24 14:47:07 2013 +0100
python: Add conversion functions to/from GSList *
commit bd7bfe8c5140d459092f93f9ffc3130a487f5d58
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 23:06:50 2013 +0200
Open virtual device before loading file
commit e73ffd4238c6d1be58d3fcdcf7f100200f033856
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 23 15:14:42 2013 +0200
Enforce open device before config_set()/dev_acquisition_start()
commit efdecf4c0553ce00ea2a6365212f5fe305496fed
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 23 00:21:57 2013 +0200
Add sr_dev_open()/sr_dev_close()
Frontends will be required to open a device before using
sr_config_set() or starting acquisition.
commit 46a743c1fa77b1b68ada2b642c095b4f9034edce
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 19:07:46 2013 +0200
Whitespace fixes
Damn editor.
commit a31a4d371f3c3925a9d3a0eefa472147e7b36748
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 03:05:25 2013 +0200
fx2lafw: Minor cleanup
commit 294dbac724d5b36acea17366057bb81c70a265bb
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 03:04:12 2013 +0200
hantek-dso: Support conn scan parameter
commit cc9fd2d29c5ff4ab2509b6bb5b33a16304fafa55
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 24 02:09:49 2013 +0200
rigol-ds1xx2: Code cleanup
commit 9bd4c95606668bdc58a6df3c30bcd91f288a4ea9
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 22 16:12:06 2013 +0100
rigol-ds1xx2: Use common serial code.
commit ca55277ca8bed14dd569b793dc578212898bb1fb
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 22 14:59:55 2013 +0100
rigol-ds1xx2: Accept SR_CONF_CONN.
commit 886bd5e05686617c928be2d600ce91ed298a2331
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 23:06:02 2013 +0200
mic-985xx: Use sr_dev_inst to store connection handle.
commit 31e537725096d578e12923b811d2da79187363e4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 22:54:02 2013 +0200
Fix minor warning with some compilers.
commit 50985c2019b2b5a6ce394589d89ee925b4f5e3a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 22:24:30 2013 +0200
GPL headers: Use correct project name.
commit 1e1bfcd0fef7c397b3d8fc6cd244263e6828a5da
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 23 19:07:15 2013 +0200
serial-dmm: Use sr_dev_inst to store connection handle.
commit 625cc7834a26333b77f4a43f3c74b4aba3f41627
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 23 10:05:48 2013 +0200
More python build stuff to ignore
commit f99e32affc3a18a2a6b45c988bc440013a8b2e4e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 15:55:06 2013 +0200
sr_dev_inst_*() -> sr_dev_*()
commit 609bfd753c4a813791a6f678f545940c6d331c20
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 15:00:04 2013 +0200
zeroplus-logic-cube: Use sr_dev_inst to store connection handle
commit 459a0f2623686472b134735ae37a52f0d61d715e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 13:40:40 2013 +0200
ols: Use sr_dev_inst to store connection handle
commit 2e5b73c00c7329c9b6ef7bf8f626a22884eac5c0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 13:33:31 2013 +0200
ols: Fix stack clobbering at start of acquisition
This off-by-one was clobbering the stack since introduced in a803c0db4d58.
However it only set one bit, and that generally appears to have been set
already, so this rarely affected anything. But when it did, it affected
a pointer, causing a segfault.
commit 919681f0e8b4681b2af64db72abc1945f3b4adb2
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 01:07:35 2013 +0200
fluke-dmm: Use sr_dev_inst to store connection handle
commit aa7066353c9a54d90695fca3b303e1476dd772fd
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 22 00:27:11 2013 +0200
colead-slm: Use sr_dev_inst to store connection handle
commit fb3a15059938770a064fb7d35a813cfa20d8e363
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 21 21:44:31 2013 +0200
agilent-dmm: Use sr_dev_inst to store connection handle
commit e31d410d26c7377de83d46c1ce80525e2dc7d23b
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 20:42:22 2013 +0100
rigol-ds1xx2: fix delay time.
commit 1e2bd8af128529d686fb1ac449334a21b74d4fc0
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 19:52:09 2013 +0100
python: fix Fraction -> GVariant tuple conversion.
commit d2e0b1fa71b90faf1f7e77b72627868baf5e9135
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 21 13:17:40 2013 +0100
rigol-ds1xx2: better error handling in hw_scan.
commit 8bb2981df075082071b3edf2426a3444109726f0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 19 21:19:54 2013 +0200
victor-dmm: Allow configuration before the device is opened
commit 522a34343f78eb55ff7213e34ff3e002867dbad3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 20 13:43:48 2013 +0200
Drop obsolete g_match_info_unref() workaround.
We hard-depend on glib >= 2.32.0 now anyway, so this is no longer needed.
commit ac070c7744471350e38836a58dd565750d96ce7f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 19 20:19:14 2013 +0200
Add initial, lowlevel Ruby bindings.
commit 91bea31f6bff799f90fc21201312505d37441981
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 19 17:41:44 2013 +0100
python: unify pkg-config calls in setup.py.
commit 0cd466ccd8f1149883f535868650d4236d0b7ab4
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 19 17:30:44 2013 +0100
python: Use --cflags-only-I to get includes in setup.py.
commit 9bbd6a6a0d8747538db2e1ef03e52e4fdcadfaa2
Author: Martin Ling <martin-git@earth.li>
Date: Fri Apr 19 16:57:13 2013 +0100
python: Add classes for values of API enums.
commit 816aed6c9157721c7123f1f29fe01f353278af22
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 19 13:15:51 2013 +0200
python: Add a Log class to control libsigrok logging.
commit 0021b077416c09dc72bef411e3768bbe87afdf56
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 19 11:58:40 2013 +0200
python: config_get() now returns SR_ERR_NA.
commit ac046ef8cf64098fc20030fe60b345cd563f72f8
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 22:48:09 2013 +0200
victor-dmm: Support SR_CONF_CONN
commit 0f1506497b615b3c935b9a7bce9af85390a09d24
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 22:30:10 2013 +0200
lascar-el-usb: Support SR_CONF_CONN
commit e2033d491753c5746ddbc0b8f29a5aa56c297ac3
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 21:37:38 2013 +0200
hantek-dso: Consistently return SR_ERR_ARG if sdi is needed
commit 38ab8dbec8b1944e06dd3a809229b106c5e628df
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 21:36:25 2013 +0200
fx2lafw: Consistently return SR_ERR_ARG if sdi is needed
commit c2ec42ce938bc38bfd72ca3959611baab326530a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 18 17:45:17 2013 +0200
python: Add further properties to Analog class.
commit 15574a3cecc14dcbed38464317e37ac9cfe2d220
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 17:48:39 2013 +0100
python: Add Analog class.
commit 624f5b4c1e329e74d6bb6e7fc0fce27945506567
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 01:21:57 2013 +0200
hantek-dso: Support config_get(SR_CONF_CONN)
commit 89befd46a8a12b0ba7867e73f7aec77a7dfc0add
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 18 01:15:37 2013 +0200
fx2lafw: Support config_get(SR_CONF_CONN)
This generates a bus.address conn string which can be used to
uniquely identify the given sr_dev_inst.
commit 3bc55222c8503703ac76bc61fb9a5d2c101f0ed7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 17 17:26:46 2013 +0200
python: Add missing license headers.
commit 08d59537c353c6980c5e9a0f8b0039f2ab5b0ba5
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 15:38:33 2013 +0100
python: fix cdata to work with Python 3.x.
commit 1cad2115477176001f44cbe8a46a3c74e650f866
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 15:37:58 2013 +0100
python: Fix syntax to support Python 3.x.
commit d8f6e041aa109f328612f6d7301411abde9e5134
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 14:30:31 2013 +0100
python: Add high level API.
commit a8d162f6d33f2d5112193d6539a08e9b7beac4d7
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 14:03:38 2013 +0100
swig: Wrap additional GVariant operations.
commit cccb59914799002df75299ec98da132fcccfaac0
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 14:01:19 2013 +0100
python: Release GIL during libsigrok calls.
commit a25932e08c6b7424fec07bb2295fadd613294075
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 13:59:30 2013 +0100
python: Adding callback can fail, and refcount must be incremented.
commit 0220626994c6bac7bce967fe6dc8804667cce03e
Author: Martin Ling <martin-git@earth.li>
Date: Wed Apr 17 03:50:27 2013 +0100
python: use setuptools and put bindings into sigrok.core.lowlevel.
commit d0eec1eea17c62d731e44fc0b3b436b78d0df718
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 01:08:18 2013 +0200
hantek-dso: Mark connection as USB
commit 949b3dc0916eed68ba6f3878300feb61ad858014
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 00:49:18 2013 +0200
hantek-dso: Use std_dev_clear()
commit 72f9d6dc5e4fb4bcc33c70e601f643d0ce5d1f3e
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 00:42:06 2013 +0200
fx2lafw: No device context internals to clear
commit ae5859fff08a8ccc8cba081d7500f75cc46114f7
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Apr 17 00:41:01 2013 +0200
Allow for sdi->priv helper function in std_dev_clear
commit c118080b1db555c1eb226ea783fc186602c20315
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 23:15:34 2013 +0200
hantek-dso: Store USB connection in sr_dev_inst
commit 9bb2f327a9dd482f609b10e34f72e57816cd4531
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 22:19:00 2013 +0200
Python bindings: Small fix for Python 3 support.
commit 415e6389ce2d57e9559a04f0e3523d111843a618
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 15:42:45 2013 +0200
chronovu-la8: Fix incorrect 0Hz samplerate being reported.
This closes bug #93.
commit 250a78c7d5d049edd8c4f792f9eee56eae773a0b
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 17:55:56 2013 +0200
fx2lafw: Use standard dev_clear() instead
commit 49f00e13f72d11a9cac8523e0c1506dde138f218
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 17:53:21 2013 +0200
Add driver helper std_dev_clear()
commit 9e2e98640ac2b12545f4923a143d06d3896f8435
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 1 03:03:24 2012 +0200
sr: add conn to sdi, for storing a ptr to device-specific connection info
What's in conn depends on the long-ignored inst_type field.
commit 0223135bfb6771d7749fa39cff64a78c7a84a674
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:54:11 2013 +0200
error.c: Add missing SR_ERR_ARG and SR_ERR_NA.
commit 85222791a9f3722c1cf659cfd4e4144314dbeec0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:48:58 2013 +0200
Doxygen: Add missing parameter docs.
commit 63c290b9840d459a9dac5073b71db43688cc94e9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:45:38 2013 +0200
Doxygen: Exclude bindings/.
commit 1a64618a2f46bf4374a673dcfc413dce8771fe89
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 12:43:42 2013 +0200
Doxygen: Set SHOW_NAMESPACES=no.
Since this is a C project, a "Namespaces" page is not really useful.
commit 9fb5f2dfa6bcded8082677ed3b915ff6b880cfab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 13 18:58:11 2013 +0200
Doxygen: Add @since markers.
Add @since tags to some (not all yet) public API functions, to document
in which release they were added (and/or in which release there were
API changes).
Document the @since usage in HACKING.
Also, add Doxygen docs for the functions in version.c.
commit 22f8cb54d18bf4abd5a7513a509539f15570784c
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 03:33:56 2013 +0100
swig: wrap g_variant_new_uint64.
commit d962ed92a118a8bc9d98e00f7a218a4cc9c71e69
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 03:11:48 2013 +0100
swig: include cdata interface.
commit 966fcbe3e34de14b163987550d17b00dc84bf82e
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 03:02:52 2013 +0100
swig: add function to cast from void * to struct sr_datafeed_logic *
commit 0849c7d3104efc098aa282d7e8b841506c386ea3
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 02:55:39 2013 +0100
python: support datafeed callbacks implemented in python.
commit ab0340c804c31a146977907e90d7b1d012f401a1
Author: Martin Ling <martin-git@earth.li>
Date: Tue Apr 16 02:55:11 2013 +0100
swig: use standard wrappers for integer types.
commit 2726474a619e5d9a9bfcf797a5e306f4496a4545
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 15 21:08:55 2013 +0100
Add a void *cb_data parameter to datafeed callbacks.
commit bd6fbf628abef9fab5293e016ad11e1a1ac4a0a9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 02:33:03 2013 +0200
drivers: return SR_ERR_NA on unsupported config key
Fixes bug 89.
commit f02121f8d2623a7b8cbc87b75cf529e0a9cfd7d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 00:58:29 2013 +0200
Python bindings: Fix reported libsigrok version.
Use 'pkg-config --modversion libsigrok' to get the libsigrok package
version. 'pkg-config --version libsigrok' ignores the argument and just
reports the version of pkg-config itself.
commit 8dc93c841f73dd2dbb252c1be42701a5e03d2f26
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 16 00:57:00 2013 +0200
Python bindings: Cosmetics.
commit 7aafb892746356c9089a2ba91188bfa51c68cea2
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 15 23:05:38 2013 +0100
Tell SWIG that gpointer is really void *.
commit 758b01adcbbc2cd4c077281ad06c7bb2ac414391
Author: Martin Ling <martin-git@earth.li>
Date: Mon Apr 15 20:01:07 2013 +0100
Add SWIG interface file and build script for Python bindings.
commit 72cd99b876eb2185358bc108b488585c956f3dc7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 16 00:23:34 2013 +0200
ols: Report when a device doesn't support metadata
Not an error, but it does mean it's either a really old or really
basic device, and will help us to debug people's problems with
these.
Fixes bug 92.
commit 754b5ff2b48fc2fda3771940aa9d98108ae4f6af
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 23:50:16 2013 +0200
fx2lafw: Support conn scan parameter
This takes a USB specification. Fixes bug 82.
commit 1eb0a0df666e8ed117c9b3d3c65291367cbb961f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 23:47:04 2013 +0200
usb: Fix bus.address format detection
commit e5d15bd2a2eb8c34ee7bc9db1e70ba0741215097
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 20:05:43 2013 +0200
ols: Allow configuration before the device is opened
commit a7be14ada20d594c5338613a73788e8f89c0d9d5
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 18:45:38 2013 +0200
rigol-ds1xx2: Don't assume there's a valid sdi
commit bf256783599262b94c4b3be3797f4576053d96e1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 18:28:16 2013 +0200
ols: Properly initialize operational state before start
commit e45ad6e24ff1a3873d551f9ed08acb3ffd0d1d0d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 15 12:27:55 2013 +0200
demo: Fix compiler warning, cosmetics.
commit 1d166757694b259bbcca205ced91ac69e8a5ef7e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 15 01:30:24 2013 +0200
lascar-el-usb: Use two probes for temp/humidity loggers
commit 2150a69b7633ebd1bcf13f645c026506f3dfe03b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 19:19:35 2013 +0100
demo: Unref the IO channel when it is no longer used
commit ed20a42803c8b4e79b259ae03298dec88f2299f5
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 18:52:02 2013 +0100
demo: Free dev_contexts
commit a76842947faadad98572f011cb20f3220998f71b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 17:00:47 2013 +0100
demo: Moved demo configuration variables into dev_context
commit 33c6e4c5a428115965f980e88e6415fb782658e9
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Feb 2 00:50:00 2013 -0600
session: Make sr_session_stop thread-safe
With the sigrok session running in a worker thread, if sr_session_stop is called
from another thread, it shuts down the pollfds used by the hardware drivers,
without ensuring that the sigrok event loop is no longer using those pollfds.
On the demo driver, this involves shutting down the GIOChannels, causing a
segfault when the sigrok event loop tries to use them. This is evident when
using the Stop button in PulseView, while the session is running.
This isn't a problem with just the demo driver; any driver's resources may be
freed by sr_session_stop concurrently with the sigrok session running.
To solve this problem, we don't touch the session itself in sr_session_stop().
Instead, we mark it for decommissioning and return. The session polls this flag,
and shuts itself down when requested.
This fixes bug 4.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 33ef757383896959651c48744fabb417729424dc
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 14 15:46:15 2013 +0100
demo: Keep a pointer to dev_context in sr_dev_inst and vice-versa
commit e053204700fa0a9151e6efb54eae9dc5a73e3ccd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Apr 13 16:43:16 2013 +0100
demo: Only one GIOChannel is needed
commit bbd7ef0f18df94232bafe6606c6d37eaad9ffd80
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Apr 13 16:08:52 2013 +0100
demo: Fixed glitching in increment signal
commit f0b6ae19a8e6ae7050cde3e1fa0a3ce46b9b5f66
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 16 08:43:36 2013 +0000
alsa: Set the probe index
commit 9e5670d0ab63af4353003bf879b0aa5e1a6919f8
Author: Jan Luebbe <jluebbe@debian.org>
Date: Sat Apr 13 23:27:07 2013 +0200
zeroplus-logic-cube: add USB ID for LAP-16128U
commit 6bb192bc05f976a5660e35c9507450a573679296
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 14 02:21:55 2013 +0100
rigol-ds1xx2: support digital channels.
commit a789b61087f156f3f5b38de6c56c7744fde2c3eb
Author: Martin Ling <martin-git@earth.li>
Date: Sat Apr 13 22:25:41 2013 +0100
rigol-ds1xx2: doesn't actually support SR_CONF_LIMIT_SAMPLES
commit ee7e9bee5d943261d866f92cb8b81584e290df01
Author: Martin Ling <martin-git@earth.li>
Date: Sun Apr 14 01:58:35 2013 +0100
rigol-ds1xx2: fix handling of partial frames.
commit 4c7aca66defecb82245d2fd8b62b3ff70049982a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 14 16:44:49 2013 +0200
ignore test leftovers
commit 0c05591abf6b313aebb1f717903c5cc337f58329
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 14 00:36:05 2013 +0200
ols: Support get/set/list on all device options
Where it makes sense: _LOGIC_ANALYZER and _TRIGGER_TYPE don't have much
use for all of them.
commit 8f35be72b46769b3b51e9c91a131eaf6c256ac1a
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 12 19:42:44 2013 +0200
rigol-ds1xx2: Use g_usleep() for portability
commit 406569ddeadbbbc73c9fefb92b855e03fc107987
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 18:47:06 2013 +0200
Bump glib requirement to >= 2.32.0.
This is now required, e.g. due to the usage of g_variant_new_fixed_array().
commit 169dbe8577c2f7570f61799a064f95b39b3b6fe3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 18:44:28 2013 +0200
rigol-ds1xx2: Whitespace, minor fix.
Return SR_ERR_MALLOC for failed malloc, not SR_ERR.
commit 34e4c273916d8fd246ca6aefbff05528f92391fc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 17:59:38 2013 +0200
unittests: Adapt to new GVariant system.
commit ff08a52a0fb66abb471fa0bfe0369300c313778f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 12 17:45:01 2013 +0200
Fix two minor compiler warnings.
commit ba6568c5adcbb2075964c582bf2939b46f729b12
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 11 18:49:24 2013 +0200
output/vcd: Use selected probes, not lowest-numbered ones
Thanks to Andrew Bardsley for the patch.
commit 254dd102e84a6f9e5a62be5172bb94cbca3da4e8
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 11 16:06:55 2013 +0200
rigol-ds1xx2: Support for all channels, proper defaults
Since this driver supports devices with a control panel and display,
we take the defaults from the device -- not a set of sensible
defaults as usual.
commit 88e429c97f4fa482f8897c4795ad14f0afa96b56
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 12:01:00 2013 +0200
rigol-ds1xx2: fix channel numbers
Copyright bump, too.
commit a3df166f02201abe253b6fd4ee416394dace9e5e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 01:12:42 2013 +0200
rigol-ds1xx2: better debugging
commit 75d8a4e5766cccdcd7f017093fa822e7218749b8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:38:58 2013 +0200
rigol-ds1xx2: properly send frame begin/end packets
commit 7991784841727d39a6f71ffa4ccdc1fc86af9f98
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:37:50 2013 +0200
hantek-dso: Support SR_CONF_NUM_TIMEBASE/SR_CONF_NUM_VDIV
commit d62d7ad151e2b50484bc6bf36c94b9657ed6a500
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:37:12 2013 +0200
rigol-ds1xx2: Support SR_CONF_NUM_TIMEBASE/SR_CONF_NUM_VDIV
commit 2efa699fda95b6d2d722d41407ca741cdbfe709c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 8 00:29:37 2013 +0200
Add SR_CONF keys to report the number of timebases and vdivs
Number of timebases is needed to properly interpret a frame's worth
of samples. Number of vertical divisions isn't, but may nevertheless
be interesting for a frontend that wants to reproduce the scope's
native display.
commit d8284802ca6bbdf19e7ff0ae9bcc5b6e111056c0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 22:51:45 2013 +0200
use driver callbacks directly
commit 861c447bfb020a59ac9d197c4a74a4e8ea3998bf
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:51:26 2013 +0200
rigol-ds1xx2: SR_CONF_TIMEBASE and _VDIVS lists are now an array of tuples
commit 6cefe516aacc215fa8d144e9da09e69cfb1e5ff6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:50:42 2013 +0200
return SR_ERR_ARG if a driver doesn't implement sr_config_*()
commit 82b904b173f1443c4d6bdebdf1a7f0dda01c4982
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:28:54 2013 +0200
Add Rigol DS1052E/1102E VID:PID
commit 3973ee26f58efa469657c57d23a285273f316c35
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 21:02:18 2013 +0200
hantek-dso: SR_CONF_TIMEBASE and _VDIVS lists are now an array of tuples
commit 034accb512e43172ee292d1585870db9e2477ed0
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 2 20:54:44 2013 +0200
hantek-dso: move buffer sizes to device context
There are only two sizes for every device: 10k and the complete
per-channel buffer size. This can be doubled if one channel is disabled.
commit fe9ac252502fbb90badc84367eea75d6ab027686
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 1 16:53:14 2013 +0200
ols: Get rid of gcc warnings
commit 1bec72d2ac388bd78c1c4e573431170c4ed97f8c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:31:49 2013 +0200
chronovu-la8: Adjust to GVariant-based sr_config_* functions
commit afdf6d6a20a0d5ac7c3f9b84d1af4f782eda3177
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:28:33 2013 +0200
tondaj-sl-814: Adjust to GVariant-based sr_config_* functions
commit 7d93a62ea3b7c8853603fa267bb8b1320dde4b69
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:28:33 2013 +0200
uni-t-dmm: Adjust to GVariant-based sr_config_* functions
commit ede25f4e6f9dbf84629c0058f91014a8bab59a56
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:28:33 2013 +0200
serial-dmm: Adjust to GVariant-based sr_config_* functions
commit f6a0ac9f6217f808d02f1c64a49c7ead3afb06e1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:25:51 2013 +0200
rigol-ds1xx2: Adjust to GVariant-based sr_config_* functions
commit 2c2be401897895c0a343dfd461adcfffbee950a6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:25:51 2013 +0200
mic-985xx: Adjust to GVariant-based sr_config_* functions
commit a9ed6877f7c5e920a5ba065324be9587f3c1ffaf
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 21:25:51 2013 +0200
link-mso19: Adjust to GVariant-based sr_config_* functions
commit 510b3e692a61239bfa1c6794218acd80e5ba28ef
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:55:39 2013 +0200
brymen-dmm: Adjust to GVariant-based sr_config_* functions
commit 2c9c0df86eaf9b64cf0ba7537b3c3c84f2da4686
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:55:39 2013 +0200
asix-sigma: Adjust to GVariant-based sr_config_* functions
commit aa0dbd683c58c9dd342140a4080d2aa0b95c5bb3
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:55:39 2013 +0200
alsa: Adjust to GVariant-based sr_config_* functions
commit 3316e149d0dd03e65aca72183bc15eb839e392c6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 20:47:01 2013 +0200
zeroplus-logic-cube: fix samplerate setting
commit e0e150672af8b52f7931ad827bdfb85773cfb4bb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 31 10:27:15 2013 +0200
sr_voltage_string(): deprecate struct sr_rational
commit 8386096f013a2735553d5066ed2b96f519c12a76
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:48:38 2013 +0100
zeroplus-logic-cube: Adjust to GVariant-based sr_config_* functions
commit c8733a2bbb876496e3c6eb9e95084d9d5fb7e834
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:48:38 2013 +0100
nexus-osciprime: Adjust to GVariant-based sr_config_* functions
commit e44ac12a29c39cb873968a8fd4c02b3e05316b3b
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:48:38 2013 +0100
agilent-dmm: Adjust to GVariant-based sr_config_* functions
commit a59b4eef5576f1c32d1d4a0968be05eb17c865f9
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:29:44 2013 +0100
victor-dmm: Adjust to GVariant-based sr_config_* functions
commit 70424328c10640f0c1db0ab6334723658c043470
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:29:44 2013 +0100
fluke-dmm: Adjust to GVariant-based sr_config_* functions
commit dccda194dbd202eb0274f479b51152400ff9de88
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:29:44 2013 +0100
colead-slm: Adjust to GVariant-based sr_config_* functions
commit 7faf69da10e743820ef54d7f3c11cdcc06fc9b1a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 19:08:29 2013 +0100
lascar-el-usb: Adjust to GVariant-based sr_config_* functions
commit d40073113bc1c09f3924cac275791e53905bbab5
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 15:47:01 2013 +0100
hantek-dso: Small debug fix
commit 86bb3f4a865a7eed9f0537f01356231cf7d86012
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 15:24:37 2013 +0100
hantek-dso: deprecate struct sr_rational
commit e48a54629242584b7b2508d657815730ad80cbfe
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 15:23:44 2013 +0100
input/vcd: deprecate struct sr_rational
commit 76e107d68c010ee3aaede5a1eec2893f82062184
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 30 14:41:01 2013 +0100
sr_parse_(period|voltage): deprecate struct sr_rational
commit d00088ca6daf91270f8c2f063167eedf2644bb8f
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 26 22:02:45 2013 +0100
demo: Adjust to GVariant-based sr_config_* functions
commit f627afd65b5b544b1c10345bddf1b3a490fb8c93
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 26 21:38:32 2013 +0100
hantek-dso: Adjust to GVariant-based sr_config_* functions
commit 38f1e846a81a4fee1a28c0f3547c4ac821b0f882
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:41:28 2013 +0100
struct sr_samplerates is now obsolete
sr_config_get() of SR_CONF_SAMPLERATE now returns a GVARIANT_TYPE_DICTIONARY.
This dictionary contains a single key-value pair. Possible values for the key:
- "samplerates": the value is an array of GVARIANT_TYPE_UINT64 representing
all valid samplerates.
- "samplerate-steps": the value is an array of GVARIANT_TYPE_UINT64 with
exactly three members, which represent the lowest samplerate, highest
samplerate, and the minimum step, respectively.
commit aeea0572202fa20093534a8e97da87c324151932
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:40:40 2013 +0100
ols: allow for disabling of RLE as well
commit e46aa4f611da95cc705279c199f0e662b39eed1b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:40:15 2013 +0100
ols: Adjust to GVariant-based sr_config_* functions
commit d6836bf129adc8efbd826b8ea04246167987e0cc
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:30:56 2013 +0100
fx2lafw: Adjust to GVariant-based sr_config_* functions
commit 8e34ca86fb54ec1c841724900006868e29b180fa
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:29:45 2013 +0100
Add SR_CONF_TRIGGER_TYPE config_info list
commit ec4063b83c9b8a0693b9837787306dd5405e076b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:27:26 2013 +0100
input/output modules: Adjust to GVariant-based sr_config_* functions
commit 722db131a45dbc84aaa27cf65467a11552a32548
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:23:13 2013 +0100
Add sr_config_free()
Due to struct sr_config now containing a GVariant, this needs to be
cleaned up after use properly. This is a helper function for that.
commit 003595ac375fac61ed9ef45b13119c80e7c1ade3
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 20:21:10 2013 +0100
Adjust to GVariant-based sr_config_* functions
commit bc1c2f001a3b8499052348ec45155313153b2194
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 25 15:38:44 2013 +0100
Use GVariant for sr_config_*() functions
sr_config_get() provides a GVariant owned by the caller, so it must be
released with g_variant_unref() when done.
sr_config_set() takes a GVariant from the caller which may be floating;
it will be properly sunk and release after use by this function. Thus
the output of g_variant_new_*() may be used as an argument.
sr_config_list() also provides a GVariant owned by the caller, to be
unreferenced when done.
sr_config_make() can take a floating reference.
commit 13d8e03c4f9fb6fe9c5f682ab957173effe42d43
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 24 11:21:00 2013 +0100
Bump copyright year
commit 2e542814cb97a9937f9e4cace367ffdb7a2231cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 19:52:38 2013 +0200
configure.ac: Fix checks for cross-compiles.
When checking architecture-specific things, always check $host, i.e. the
architecture we're building _for_, not the one we happen to build _on_.
E.g. when cross-compiling _for_ Android (or Windows or others) it's important
to check for Android in $host; whether we happen to cross-compile _on_ a Linux
or Windows or OpenBSD or FreeBSD machine ($build) doesn't matter, only the
fact that we compile _for_ Android is important for most checks.
commit bbe6e336b3baf86b43f88185f25eab424cbd61f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 18:50:34 2013 +0200
vcd output: Build fix for Windows/MinGW.
On Windows/MinGW 'recv' seems to be already defined in windows.h/winsock2.h.
Use 'receive' instead, for now, otherwise we get an error:
vcd.c:147:17: error: conflicting types for 'recv'
commit 6bad8487243cb5e86979b801069f9656f627480f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 18:47:31 2013 +0200
configure.ac: Print $host and $build.
In the configure summary at the end also print the architecture we're
building on ($build) and the target host we build for ($host). The two are
not necessarily the same, e.g. in the case of cross-compiles.
commit 6e772cbe802327ed79cdaae9d366fed1ec6b081c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 18:08:16 2013 +0200
configure.ac: Mention required lib versions.
In the summary output at the end of a configure run, explicitly mention
which versions of which libraries are required, and also the version which
pkg-config has found.
commit 63cbeaeb597450a52086ff23839f5dbf8989a8a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 17:58:37 2013 +0200
configure.ac: Only enable rigol-ds1xx2 on Linux.
commit e4fad80b8534a05e7318bc4f9e0e688ae04d3ea2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 10:03:58 2013 +0200
configure.ac: Cosmetics for the list of drivers.
Use the canonical driver name (all-lowercase, e.g. "serial-dmm") in the
list of enabled/disabled drivers that configure prints after a run.
It's common to many drivers that they support multiple devices, so
printing one device name (e.g. "ChronoVu LA8") is seldom really correct.
E.g. the agilent-dmm, asix-sigma, brymen-dmm, colead-slm, fluke-dmm,
fx2lafw, hantek-dso, lascar-el-usb, mic-985xx, openbench-logic-sniffer,
rigol-ds1xx2, uni-t-dmm, victor-dmm, and zeroplus-logic-cube drivers
all support more than just one device.
So, just print the driver name instead which is more correct anyway
since it's specifically a list of enabled/disabled drivers.
commit ccf35720c0494f4102fba8ee0a44ce1d3b67fc10
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 8 15:56:54 2013 +0200
configure.ac: Improve a libusb-1.0 related check.
Don't rely on the "heuristic" that 'libusb_CFLAGS' will be non-empty if
libusb-1.0 was found, but rather use the proper method of checking the
variable 'have_libusb1_0' which pkg-config will set to "yes"/"no"
depending on whether it finds the library.
commit 3fd1d0ee1c6e8f9d1c6e30c16add1cc4253662bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 8 15:40:57 2013 +0200
configure.ac: Improve USB/EZUSB/serial checks.
- If libusb-1.0 is not found, do not compile in ezusb.c and usb.c since
they require libusb.h. The respective hardware drivers that use
libusb-1.0, and usb.c and/or ezusb.c will be excluded from the build
elsewhere in configure.ac. Rename NEED_EZUSB to NEED_USB.
- Drop the NEED_SERIAL check and always compile in serial.c. This is a
very small chunk of code, it does not depend on any external
libraries that might be missing, and it compiles on all architectures.
Thus there's no need to conditionally include or exclude it.
commit ae4c3d0431571346f489be3a370a9bb431a6ec59
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 9 12:32:30 2013 +0200
configure.ac: Fix the order of some entries.
In order for lib autodetection and disabling of drivers (which require
libs that cannot be found) to work, the order of AC_ARG_ENABLEs,
AM_CONDITIONALs, and AC_DEFINEs needs to be changed.
All drivers start out enabled or disabled (depending on whether
the --disable-drivers option was supplied or not). Then, any driver can
be enabled or disabled explicitly via --enable-<drivername> or the
resp. --disable-<drivername> option. Finally, pkg-config checks for all
libraries are performed, and all drivers which require a library that
cannot be found are disabled explicitly (regardless of any
--enable-<drivername> option that might have been supplied).
commit aba692624593131b9f1ea7cd63d1f88b9e09b668
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 8 14:46:13 2013 +0200
configure.ac: Improve pkg-config related checks.
Until now, we checked for certain (optional) libraries via pkg-config and
the configure script would abort if any of them was not found, even
though they were optional. It was up to the user to then figure out which
combination of --disable-<drivername> switches were required for his
specific OS (and set of installed libs) to get a working configure run.
Only if the user already specified enough --disable-<drivername>
switches beforehand, so that all drivers which require a missing library
were disabled, would the configure run not check for that specific lib
(and would thus not fail).
With this change, we now always unconditionally check for all libs
(required and optional) via pkg-config. However, whether an (optional) lib
is found or not, configure will not abort. Instead, it'll just disable
all drivers which need a lib that cannot be found.
The user will no longer have to supply --disable-<drivername> parameters
in order to get a working build.
commit 3f98bf7017341f70ceb92f98b976d972254c3ba0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 7 14:14:16 2013 +0200
Fix kernel driver attached check
The check is really only broken on darwin, but useful on all other
platforms, even if only Linux can actually detach a driver.
commit 8c971b6e5c6fa0242d786b3c85aabedf2d9ad432
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 2 14:33:17 2013 +0200
hantek-dso: cosmetics
commit 67b5fba8cac632ab2ec60a3e115ff9016e900114
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 6 19:28:48 2013 +0200
Doxygen: Exclude std.c and tests/*.
These don't contain any public API functions or macros and thus should
not appear in the ("public API" version of) the Doxygen docs.
commit c27e5f1e82819cad599b95a24bf9f617abd6fafb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 6 19:25:03 2013 +0200
Doxygen: Properly document and handle version.h.
commit ca0938c50b4bf5d010d6140f64542f8307d8ea17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 6 19:18:37 2013 +0200
Doxygen: Fix a few warnings.
commit 7b78b2f78fbd8309fd9898c4940b82328a2c39af
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Apr 2 14:18:59 2013 +0200
hantek-dso: use per-device firmware filenames
commit 3ebce226a2672ea4f0788f5f2a222586148aabc1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 16:50:51 2013 +0100
s/sr_config_make/sr_config_new/.
This matches the naming of other/similar functions better.
commit 333bf022e3ab268fb575ec61ccf0c0f17213647c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 12 21:40:03 2013 +0100
rigol-ds1xx2: Use ARRAY_SIZE.
commit 3864648bb6ebf24106898a1296bc106daa55e964
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Mar 20 20:36:56 2013 -0500
serial-dmm: Add support for RadioShack 22-805
Protocol-wise, this is identical to the 22-168, except that it communicates at
600 baud instead of 1200 baud.
commit 5a7587cd03d81e84a8e4538a1ec9ab36f3a077c2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Mar 19 22:07:21 2013 +0100
set proper build defaults for brymen-dmm and mic-985xx drivers
commit cc840ab618ede3d642a1f8d07c353ba91b96e22c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 15:07:50 2013 +0100
serial.c: FreeBSD and OpenBSD don't have OFILL either.
commit 22ca5aa68b55ffc9f33c6fe0138c460b0b2f8f94
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:22:22 2013 +0100
configure.ac: Add 'color-tests' (colorized 'make check').
commit 57981a0716a5d9bec807cad8289d091893de0919
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:19:57 2013 +0100
configure.ac: Drop std-options, unneeded.
The automake 'std-options' option checks whether all installed tools
and scripts have a --help and --version CLI option. This check is not
needed for libsigrok though, since it doesn't install any tools.
commit 9d67e248cab789314d758e5ee20a7b47eef69fe5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 13:07:59 2013 +0100
Don't make README.devices executable.
commit ba642e8678906a27015755f8ca04ca7f73195036
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 12:53:08 2013 +0100
README: Refer to INSTALL and new Building wiki page.
commit 898c562fd3b33b07d030ea7f57eb09cd49efe69b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 17 12:58:26 2013 +0100
autotools: Don't use "foreign" option.
This adds INSTALL and allows for a few more sanity checks being done.
commit 8e77bc20b92574076683d861687b63b416d3e965
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 16 21:50:35 2013 +0100
lascar-el-usb: push samplerate before data log
commit 7231a14590840ffdbb77c1cc076d7dcafa3ee673
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Mar 16 20:17:41 2013 +0100
add SR_CONF_SAMPLE_INTERVAL
Expresses the time between samples, in milliseconds. This can be used
for devices with a samplerate > 1 second, such as dataloggers, which
cannot be expressed with SR_CONF_SAMPLERATE.
commit c77ed446f2c08e2906883023c85feafa19a0ec10
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 13 10:33:17 2013 +0100
Add initial README.devices file.
commit bb203cde9d42df0430e64cb5d2b604c9d68b5639
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 12 23:00:58 2013 +0100
configure.ac: Add missing AM_PROG_CC_C_O.
commit 361d15110ce355dd69099d95ac8c9716e45b3173
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 11 16:36:40 2013 +0100
lascar-el-usb: support for SR_CONF_DATALOG
commit e6551ea640f113a9f7cd6bfaaf3a8d0689c71edf
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 11 16:35:18 2013 +0100
add SR_CONF_DATALOG
commit 985727626183bf1517a9046f4eb40c732e566b8f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Mar 11 15:28:41 2013 +0100
ols: use ptr to int dereference for SR_T_BOOL
This mad ptr to int casting has to go.
commit 218e629fa48e2efb970b018d8d2ff8ccfa2d9a2c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 10 17:13:15 2013 +0100
sr_init(): Sanity-check input/output modules.
commit 0b4b41eed84be29e21b0e65c8072b546b4fdd37e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 9 12:20:17 2013 +0100
Add missing ULL suffixes to SR_MHZ() et al.
This fixes bug #72.
commit 79bb0e97d53526ef6deb491ea9c7698ed6e90631
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 7 09:37:42 2013 +0100
Add a testsuite for libsigrok.
This adds a suite of unit tests for libsigrok. It uses the 'Check'
tool/library (apt-get install check) to run the tests.
The configure tool tries to find libcheck. If it succeeds, a
"make check" will run all tests. Otherwise, none of the tests will
be built and "make check" will not run any tests.
This also means that users who don't have 'check' installed will still
be able to build and install libsigrok just fine.
commit d5585e32dd856b09d78acab2aac3ba6c78ad7752
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Mar 6 23:14:00 2013 +0100
output/vcd: use new API
commit 2474d87e8c9b1133017a06c9ef0896626267e95b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Mar 3 21:17:48 2013 +0100
demo: sync get/set options
commit a819da9c258bd1f295604e4078c84ca0bab2de04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 3 18:02:24 2013 +0100
Drop deprecated sr_session_halt().
This has been deprecated in favor of sr_session_stop() since a while.
None of the current frontends use sr_session_halt() anymore, neither
does libsigrok.
commit 365f04d61f54908013021be83450d38fff67964f
Author: lelazary <lelazary@yahoo.com>
Date: Tue Jan 8 08:27:52 2013 -0800
mso-19: Initial analog probe support (unfinished).
- Added the analog probe (unfinished).
- Reset trigger to state to 0 before capture, just incase the scope is in
the middle of a capture.
commit 5952553f569f82b878717b9d97053690014604c9
Author: lelazary <lelazary@yahoo.com>
Date: Tue Jan 8 08:00:57 2013 -0800
mso-19: Fixed warning.
commit 07e1aad5c4d53ee1028613312061f261f1a7800a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 22 15:12:32 2013 +0100
doxygen: Add more output format docs.
This is largely taken from the respective wiki page (with some updates
and improvements), which will be removed in favor of the doxygen docs.
commit 8368734386f3bce5c568258b830c002d2581dfc6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 21 21:27:27 2013 +0100
doxygen: Add more input format docs.
This is largely taken from the respective wiki page (with some updates
and improvements), which will be removed in favor of the doxygen docs.
commit 1d36b4d27f737dfcd6e232bc9d9538bd64bf1afb
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Feb 21 15:20:50 2013 +0100
input: new WAV file module
commit 543d45c581658851b41af42ebdbc476ccf3d88d3
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Feb 21 14:48:43 2013 +0100
input: feed the filename to the module's init() function
This is essential if a format contains e.g. the number of probes; the
init() function needs to initialize the sr_dev_inst struct, but needs
access to the file to properly add the probes to it.
commit ff17e6ba5094d590926a2aa8130220a341fc2c04
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 11 18:23:17 2013 +0100
mic985xx: Add missing memset().
commit 6f3e5335adc5ba4488c5f7dcb791f929c20f2049
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 9 16:13:03 2013 +0100
mic-985xx: Add support for the MIC 98581.
This device only supports temperature measurements, no humidity.
commit be6db330f86707c5eadf2a3f20903860dbadaabf
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 10 17:06:38 2013 +0100
hantek-dso: minor fixes
commit 8421ffa44dc9b0ca89c554c40be39dcc151e7495
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 10 16:49:23 2013 +0100
asix-sigma: don't try to free static storage
commit d5a669a9e0319531595a8a45b6c21f0c316a24f1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 4 13:36:23 2013 +0100
properly deal with decimals
commit cd2f0fe22c35dcf3b010411ff6f123701be2a2d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 1 23:45:32 2013 +0100
Add/use std_hw_dev_acquisition_stop_serial().
commit 17548571cc836edaf45e4707e74f6537605fc924
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 8 23:13:33 2013 +0100
zeroplus: Only report supported samplerates.
The currently supported model LAP-C(16032) doesn't support the
samplerates 150MHz and 200MHz which some of the other models have.
Thus, do not report these samplerates to the frontends. E.g. sigrok-cli
should not show them via --show and GUIs should not list them in their
"Samplerates" drop-down.
commit e495a676ebda71cdcc39904ee28174ccba7ce2ae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 8 22:18:55 2013 +0100
zeroplus: Cosmetics, small fixes, drop unneeded stuff.
commit 58c5f2ed1785ead87d1398c28b5dbe60ba4610dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 7 22:09:39 2013 +0100
zeroplus: Split into api.c and protocol.c.
commit c7142604a2d29ca58f6e4d7cba070a329030e60b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 7 09:16:28 2013 +0100
session.c: Drop left-over 'session: ' prefix.
This is added automatically now.
commit 3e9b7f9c776221c2c6b0d9f51b48db31383a4b03
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 7 09:11:26 2013 +0100
Rename session_dev_id to cb_data everywhere.
We use 'cb_data' in all drivers these days, make the few remaining ones
that use 'session_dev_id' consistent.
commit 6fab7b8f5365c7be69be4a755910945b6113dd8f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 6 22:35:24 2013 +0100
Driver struct cleanups.
- Explicitly list .config_get in all drivers for consistency, and set it
to NULL if unused (whether or not a driver implements it is optional).
- List all 'struct sr_dev_driver' entries in the same order in all drivers.
- Move the check whether .config_set/.config_list exist (i.e., are non-NULL)
into sanity_check_all_drivers().
commit 4afdfd4628e9955af02a3ea619ecdfe469f9a9e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 6 19:57:32 2013 +0100
Add and use std_session_send_df_header().
This is a small helper function which sends the SR_DF_HEADER packet that
drivers usually emit in their hw_dev_acquisition_start() API callback.
It simplifies and shortens the hw_dev_acquisition_start() functions
quite a bit.
It also simplifies the input modules which send an SR_DF_HEADER packet, too.
This patch also automatically removes some unneeded malloc/free in some
drivers for the 'packet' and 'header' structs used for SR_DF_HEADER.
commit 961009b0c4002717c669a0cdcafb0fcf29f5ea1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 1 22:58:54 2013 +0100
hw_dev_close(): Move common checks to wrapper.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.
commit 0e94d524c19fe89c564243421d37c17818f87631
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 19:52:26 2013 +0100
Shorten/simplify hw_dev_list() implementations.
commit 7c8a9e1e0fada5d726bce638cf4d36147ed4ebbf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 12:22:18 2013 +0100
serial-dmm: Drop unneeded g_try_malloc0().
commit bf6f8399fc3515c0e3827a17b2fc21f4a9211a0f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 12:14:26 2013 +0100
Make 'struct rs9lcd_info' non-empty.
Empty structs can be an issue (compiler-dependent), so add a dummy entry
for this one.
commit c5d6f5cc1c0069a5141c5c76f7e17dd592427138
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 11:35:20 2013 +0100
brymen-dmm: Cosmetics, coding-style, consistency.
Also, name the driver "brymen-bm857" in preparation to doing "subdrivers"
for other Brymen models later (similar to serial-dmm).
commit 943e94f567a386e3cf754cfe7f4e15893622a95d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 2 11:19:03 2013 +0100
brymen-dmm: Use std_hw_init().
commit 601fb67cc4977d7e04e20916bde52147b35df970
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Nov 26 17:09:05 2012 -0600
brymen-dmm: Add support for Brymen BM857
This patch might also work for a number of other Brymen models
-- 859(a), 867, 869---
including their respective rebadges from Greenlee, Extech, and Amprobe.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 20cbc7854dc0a375e23fea2ca7e7feee3d3ac701
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 21:20:39 2012 -0600
brymen-dmm: Initial driver skeleton.
commit 0cd8e23140612703406a57316bb0a507fb8f1994
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 30 18:21:07 2013 +0100
Initial driver implementation for MIC 98583.
This is a USB/serial (Prolific) based temperature and humidity logger.
commit 7ec5b54955118d8c1ee003a02c3334f1a0046457
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 30 16:58:01 2013 +0100
mic-985xx: Initial driver skeleton.
commit 6d1161142dfce461c8e54c09d821443c68916df8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 28 17:43:04 2013 +0100
zeroplus: Use message logging helpers.
commit c4227fc637431113ba92092ddbda86461703c06c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
device: Cosmetics.
commit d3b38ad389a6186e2822d62b20b9f0d9d9e7c21c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
Drivers: Explicitly list sr_samplerates fields.
This makes it a bit easier to understand which value means what, just
from looking at the driver code.
commit 063e7aef6d41d4c44591ff93672079998bf9622f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
Factor out common hw_init() driver code.
Most drivers do pretty much the same things in their hw_init()
right now, so factor out that code to std_hw_init() in std.c.
commit 4b97c74e0b5c19ad0ee04620b618461248ab69d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 28 20:00:54 2013 +0100
sr_driver_scan(): Improve checks.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.
Also, do some minor whitespace and consistency improvements.
commit c0eea11c4535e071c72b357fa7e2d1288104c134
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 28 19:36:16 2013 +0100
sr_driver_init(): Improve checks.
Check the relevant arguments for != NULL before calling the actual
driver-specific function, so that the driver can safely assume those
arguments are non-NULL. This removes the need to duplicate these
checks in every driver.
Also, change one SR_ERR to the more correct SR_ERR_MALLOC, and assign
sr_ctx in the rigol-ds1xx2's hw_init() function, like all the other
drivers do.
commit bd36d826d4b9916034c6268919e2a72a0d7ea000
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
hwdriver: Use message logging helpers.
commit a421dc1d7b24bb7b8f2127b6c07df6b68eb5001f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:55:00 2013 +0100
session: Use message logging helpers.
commit cbc6f3b25331bc4acca1eff9a5e60786e2efd2f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 29 12:05:00 2013 +0100
hantek-dso: Use message logging helpers.
commit 140185af6c2b73a2b940012269f893962cbecd52
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Jan 28 20:28:03 2013 +0000
Check sr_config_set value argument is not NULL
commit 4c961f5ed5e127aae75e48cd4369dc25439f24d4
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Jan 28 20:26:37 2013 +0000
Made sr_config_list driver argument a const pointer
commit 9fd504b9eb37502b4cd2d5d105f9f24ad1b5adf9
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Jan 28 20:25:56 2013 +0000
Made sr_config_get driver argument a const pointer
commit 7d4abe5a77b39c11b2187e1768339fcd11b0b763
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 27 01:23:01 2013 +0100
serial.c: NetBSD doesn't have OFILL.
commit cbadb856d6d833f2822cf63e4884abb409da6172
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 26 01:18:19 2013 +0100
Code cleanup.
commit 41bad9283d5bf869cfdf3d54373bec4dc51eaf16
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 20:41:49 2013 +0100
Remove sr_driver_hwcap_exists().
commit 4d15e5c9077a543a452a976933286c705c2e7088
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 16:20:40 2013 +0100
Rename sr_dev_has_hwcap() to sr_dev_has_option().
commit 6a4710fac267c07cc146b2a3cd23204b08bea552
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 16:05:48 2013 +0100
drivers: Trim unused config_get() calls
None of the driver config_get/set/list calls are required.
commit ddd9b41f5af2c5f1719439546a378d91ceef6c30
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:48:44 2013 +0100
Rename sr_info_get() to sr_config_get().
commit 358d050d7a2a1729d8200eaa8ffc16318e47958b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:38:57 2013 +0100
Rename sr_dev_config_set() to sr_config_set()
commit aeba33ba219c4944b880be0b0687b7798b152ab0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:16:39 2013 +0100
Header cleanup.
commit 0d485e30c607b22b5f328512327e4e0fafc6cbb7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:09:20 2013 +0100
Deprecate SR_DI_HWOPTS.
This is replaced by SR_CONF_SCAN_OPTIONS.
commit 9a6517d14b1248855cde0d88ec9519f99184cc77
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 15:01:49 2013 +0100
Deprecate SR_DI_HWCAPS.
This is replaced by SR_CONF_DEVICE_OPTIONS.
commit c50277a6ec09fb35de3a6e0f2ae3401bc72a1526
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:52:27 2013 +0100
Deprecate SR_DI_TRIGGER_TYPES.
This is replaced by SR_CONF_TRIGGER_TYPE.
commit 328bafabd4781e416e3d711dabd8c4c43f219794
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:25:32 2013 +0100
Deprecate SR_DI_TRIGGER_SOURCES.
This is replaced by SR_CONF_TRIGGER_SOURCE.
commit 41f5bd09b0d3c5f9232ff20d076f76cc41acad32
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:22:20 2013 +0100
Deprecate SR_DI_TIMEBASES.
This is replaced by SR_CONF_TIMEBASE.
commit 6e1fbcc41b9d5e627faa704a31ca150715b09861
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:19:12 2013 +0100
Deprecate SR_DI_FILTERS.
This is replaced by SR_CONF_FILTER.
commit e4f2b2adc17bf0ab6dfa38b7511caf5a5dcfa7fd
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:13:49 2013 +0100
Deprecate SR_DI_VDIVS.
This is replaced by SR_CONF_VDIV.
commit 2a7b113d1382aef08d63778042589177c9b04347
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 11:04:27 2013 +0100
Deprecate SR_DI_COUPLING.
This is replaced by SR_CONF_COUPLING.
commit 6d1ceffa9557bf5cd0315949de5791e76e18bdc4
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 10:58:37 2013 +0100
Deprecate SR_DI_BUFFERSIZES.
This is replaced by SR_CONF_BUFFERSIZE.
commit dd96ea98793ed089f1b0a7dd31f417774f14ad80
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 03:38:44 2013 +0100
Deprecate SR_DI_PATTERNS.
This is replaced by SR_CONF_PATTERN_MODE.
commit 123e13138385055003cb6bc09e74df783df5af85
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 03:17:36 2013 +0100
Deprecate SR_DI_CUR_SAMPLERATE.
This is replaced by SR_CONF_SAMPLERATE.
commit fbec8bd2f3ead02358df65240c2cf786c8267f54
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 02:39:58 2013 +0100
deprecate SR_DI_SAMPLERATES
This is replaced by a call to config_list() with id SR_CONF_SAMPLERATE.
commit a1c743fc51d7b49c769fb525fe4b89985a9468c9
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 02:32:05 2013 +0100
drivers: implement config_list()
commit c5fb502f9773ecf6df83a32ab82bcd1b70fa857f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 25 01:24:42 2013 +0100
New driver API function: config_list()
This takes an sr_config key and returns a list of possible values for
that key to be submitted with config_set(). The format of the list and
its contents is dependent on the key.
This will replace the SR_DI_* keys that returned such a list before,
such as SR_DI_SAMPLERATES.
commit 035a1078fda93cf1da37d19b3a1d95311b99b00f
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 24 19:19:09 2013 +0100
drivers: rename and reorganize config get/set
The driver API calls info_get() and dev_config_set() have been renamed
to config_get() and config_set(), respectively.
commit 69e19dd7691f86ac001469d1b319e1358e0d9778
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 23 03:40:44 2013 +0100
Always interleave analog data with all enabled probes.
The new "probes" field in sr_datafeed_analog contains a copy
of all enabled struct sr_probe.
commit b1a051544d502f15a1da05682e625755563b86c2
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jan 23 02:32:58 2013 +0100
serial: more serial processing flags to turn off
commit 08a9260ba4413bbdee0bfcc8a9c4544500fdb241
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 22 11:18:18 2013 +0100
Header cleanup: remove unused structs.
commit 431ec7ca4abc85810c2553646e6b6af13138b65e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 21 23:40:09 2013 +0100
uni-t-dmm: use new sr_config struct
commit 1953564a96798bc298d1c94eb90c129adbde1c9e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 21 23:22:47 2013 +0100
Rename SR_HWOPT_* and SR_HWCAP_* to SR_CONF_*
commit c89c1c9c211a197f24de7bfd32ecbc873dd66818
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 21 21:58:19 2013 +0100
Unify all SR_HWOPT_* and SR_HWCAP_* enums.
Only two functions remain for accessing meta info on the keys:
sr_config_info_get() and sr_config_info_name_get().
commit 63b9e16e7e1564acd8bac9956bd65a4999ae0581
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:38:28 2013 +0100
No need to send a metapacket when loading a sigrok file.
commit c71bac3b98ace917533db91e682712105c3ccf45
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:37:23 2013 +0100
Adjust session debugging to the new SR_DF_META packets.
commit fbf394c61766e51627033b4e95c8f9ae034c7dc1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:36:35 2013 +0100
Deprecate SR_HWOPT_MODEL
This was only ever used for the defunct genericdmm driver.
commit 083d64f94f6c619ca427c2544b2c08b2929a8051
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:35:25 2013 +0100
Use new struct sr_config_info for option metadata
commit 4c0e310ca305ba776aa70d8062f467ac246c910b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:34:38 2013 +0100
Add small helper for creating struct sr_config
commit 72e435ab94ac8838626da034ccbcfa9424add8ef
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 16:33:24 2013 +0100
Adjust option helpers to new sr_config struct
commit 2df1e81970b38bd4edb6e219ad295c8a83315797
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 20 15:45:09 2013 +0100
Use new SR_DF_META packet.
Since input modules determine a samplerate by reading from their
file format (or having it overridden with an option), they need
to pass this up to the frontend.
commit d8e3685c47088c3219c004885d1be3c34c6503a6
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 19 13:20:34 2013 +0100
free USB config descriptor after use
commit 1987b8d63e748f0813dc6a4630e99686e4fe1728
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 6 17:41:30 2013 +0100
drivers: use new sr_config struct
Sending an SR_DF_META packet at the start of every stream is not
mandatory; the frontend should ask for what it needs, and any extra
information the driver wants to send will come in due time.
commit 9a5693a5acf677c47285307235b9d47bcc3b932e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 6 16:37:41 2013 +0100
unify sr_datafeed_meta_* into one struct containing sr_config
struct sr_config is the new name for sr_hwopt. Its companion meta
struct, sr_hwcap_option, was renamed sr_config_info.
commit 86c02e6554061bf84b5fb7893e5837d26534a6d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 01:47:30 2013 +0100
serial.c: Fix copy-paste error.
Thanks Bert Vermeulen for reporting.
commit 9d8fde40c3cc852e2d0b2d337609b247310ce277
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 21 01:45:02 2013 +0100
uni-t-dmm: Quickfix for UNI-T UT61D.
This is a temporary fix only, since a major rework of uni-t-dmm is being
done at the moment, soon to be merged.
commit 5edc02c77c3576a47ee85241f32785cdf0fdddf8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 22:00:39 2013 +0100
Add missing "ULL" suffixes.
These numbers are larger than 32bit, mark them as ULL to avoid compile
failures on 32bit systems.
commit 73365eaed046b2242a3080cfd282edfa266b1d2f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 19:57:04 2013 +0100
uni-t-dmm: Expose hwopts.
commit 388f9d3e25da89df1fb01412688339b6de54e14e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 19:55:33 2013 +0100
uni-t-dmm: Fix scanning, properly use new sr_usb_find().
commit 4ebd48b352a28add68d54d509b291688e1df601b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 18:48:02 2013 +0100
Remove non-error hw_info_get() messages.
Currently hw_info_get() can receive requests for entries (info_id) that
the specific driver doesn't support. That is (right now) a valid
use-case and not an error (might change later, though).
Thus, for now, don't output messages for such requests at all (certainly
not as sr_err() where they show up in e.g. sigrok-cli output per default).
commit a978eda2c958967518508e4cc461e960e96a0170
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 20 18:47:35 2013 +0100
udev: Add UNI-T UT-D04 multimeter cable entry.
commit 7d39e2105f6da82f4f90a87d081c1bf5cc30968d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 21:20:56 2013 +0100
configure.ac: Drop AC_PROG_CXX.
We don't need a C++ compiler for libsigrok, so don't check for one.
This would cause a build failure on all systems where there is a C compiler
but no C++ compiler installed.
commit 294245ecf280ce72bffa40586d68195aa5980b6d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 19:13:52 2013 +0100
README: Document alsa (optional) library.
commit b97cbca6c9c715619c8a5a9d6f5de267ff061175
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 19 15:55:22 2013 +0100
serial.c: OpenBSD doesn't have B460800.
commit 262dd3e47da1af2233ffd659cda81769f53b4012
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 16 01:31:46 2013 +0100
configure.ac: Drop gthread check, no longer used.
We no longer use gthread (its only user was the 'demo' driver), so drop
the 'configure' check for it.
The libsigrok.pc pkg-config file is still correct, since the 'configure'
result propagates there automatically.
commit 3d6de074a445fbd3ac0adfa2bc28e3fd283df681
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 16 00:02:24 2013 +0100
alsa: Silence ALSA scanning process.
Errors while opening or configuring ALSA devices during scan for devices
should not be shown by default (i.e., no sr_err() usage). Non-working
or non-accessible devices (due to permissions or other reasons) will
simply not show up in frontends. Use sr_dbg() instead of sr_err().
commit 6b8d6f93bb8df26ea04624009e2715cb6766b4f5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 15 17:20:57 2013 +0100
Get rid of obsolete SR_DI_NUM_PROBES and SR_DI_PROBE_NAMES.
Frontends should use the probe list in the device's sr_dev_inst
to get this information.
commit bd58d8f3ece91443d5e98a7e99fd740767ed6222
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 14 11:13:58 2013 +0100
Makefile.am: Fix typo in 'ChangeLog' target.
commit 8a22e8c0ff4e43ceae154c908c75a3e06bf26cc6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 14 00:59:46 2013 +0100
cosmetics
commit dbf2482ec11affee1a6137be1544cc5463359174
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 14 00:52:55 2013 +0100
add --disable-all-drivers option
Can be overridden by driver --enable options to build only those drivers.
commit 512bb890df8363e800025b3b63ebac429c139aa0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 13 22:42:21 2013 +0100
rigol-ds1xx2: More selective Rigol DS1xx2 scan
Patch submitted by Martin Ling.
commit 5635705c8330d243ec566e15373eb47eb5b0fd9c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 13 18:07:05 2013 +0100
cleanup of obsolete definition
commit 18bc270461d656460db8a167c10d390fe665f3b9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 8 02:51:03 2013 +0100
sr_session_save(): don't use datastore
commit 6936ee4206817dbf07fdb8524172bdb46d21c5c0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 7 02:10:33 2013 +0100
remove datastore functionality
Keeping a copy of acquired data is up to the frontend, not libsigrok.
commit 305de92e9d50bcabaa055d43dc27fec1c2e97cc1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 7 01:52:02 2013 +0100
use a dynamically expanding probe list
commit cbc80f8f8afe28ff825449deffcc5aca7b51d7b8
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Jan 6 09:31:30 2013 -0600
fx2lafw: Say if chip is old FX2 or FX2LP
Look at the extracted REVID, and print out if it is an FX2 (non-LP), or FX2LP.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit a24e9d0484c09f972dcb31952a1ab1559bbcdedb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 03:12:01 2013 +0100
link-mso19: Use more portable g_htons().
Not all systems provide <arpa/inet.h> and/or htons(). Use portable and
always available g_htons() from glib instead.
commit 753d722f340465f5bebb175c378b579296ebbd54
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 03:02:53 2013 +0100
link-mso19: Fix a bunch of compiler warnings.
commit 00b44ccb8b2482c2c4c7e832ed11f7460f289e15
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 02:48:49 2013 +0100
link-mso19: Fix white-space, cosmetics, coding-style.
Fix the bare minumum of whitespace/indentation/coding-style via
automatic 'indent' run, followed by some minor manual fixes.
Some more fixes and cleanups might follow later.
commit f48cef7897ecda093a7d8b37b2bfeb1868c529af
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 02:30:40 2013 +0100
link-mso19: Fix (C) lines.
Bring back the original (C) lines from before the split into api.c
and protocol.[ch].
Add "Copyright (C) 2013 Lior Elazary <lelazary@yahoo.com>" since there
were nontrivial changes to those files.
commit 8472ae868ec05533bb00b368b4c5140e24c0409b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 8 01:27:11 2013 +0100
configure.ac: Enable Link Instruments MSO-19.
This driver now compiles again and (partially) seems to work, so enable it.
commit eb913174ab1fa7decaab3dd64eec0a0a42a2391a
Author: lelazary <lelazary@yahoo.com>
Date: Mon Jan 7 07:49:31 2013 -0800
Added limit samples Eveything seems to work find up to 1024 samples
commit 087a9161fffa0cabe8aa37cf3358d88bcd72fb21
Author: lelazary <lelazary@yahoo.com>
Date: Sun Jan 6 09:46:01 2013 -0800
Rewrote the trigger config. Added trigger position and trigger slope
commit 5a24e89ca463ba7acb465f4bc9953e2da9c09e45
Author: lelazary <lelazary@yahoo.com>
Date: Sat Jan 5 18:12:45 2013 -0800
Eveything seems to work now except for triggers.
commit 4db2aaffe7b47b15e6ad7e4e11281d62bbd598c8
Author: lelazary <lelazary@yahoo.com>
Date: Sat Jan 5 09:29:00 2013 -0800
More cleanup. Communication with mso19 is working, but its not triggering. Need to check why.
commit 26ddb5bacaf2a0918ef73b253d25afb1ffb744b1
Author: lelazary <lelazary@yahoo.com>
Date: Sat Jan 5 09:00:52 2013 -0800
Added flow control to serial configuration to support xon/xoff for link-mso19
commit 4b719338ccf3add3f872e8cd7549bddf818c4360
Author: lelazary <lelazary@yahoo.com>
Date: Fri Jan 4 17:22:15 2013 -0800
Added missing mso functions
commit def5c35c4c4a4f62ffc8800a1e2d7154e8fc4bd3
Author: lelazary <lelazary@yahoo.com>
Date: Fri Jan 4 17:05:17 2013 -0800
Removing the old link-mso19 files and changing makefile
commit df92e5cf6b1caad0d1d43eb890d84af1ef79cd18
Author: lelazary <lelazary@yahoo.com>
Date: Fri Jan 4 17:03:20 2013 -0800
Rewrote the link-mso19.c into api and protocol. Still need to test and cleanup some more
commit 26e6ef346d0d188932f6774d52134d8d48e38ab4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 3 19:17:51 2013 +0100
Add gnuplot_rigol_ds1xx2.gpi gnuplot script.
This is a very simple gnuplot script for testing the Rigol DS1xx2 driver.
It currently has various issues and limitations (e.g. only one channel
is displayed, the scaling is not usable, and so on) to be fixed later.
commit 29d957ceae3bd9ac5b72cd0e58a5910932bd1768
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 3 19:04:11 2013 +0100
rigol-ds1xx2: Cosmetics, whitespace.
commit fb6e5ba8c7da4cc16eda03e3ffd0a97780655442
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 15:29:00 2012 +0100
rigol-ds1xx2: Autoprobe for usbtmc devices on Linux.
commit 4e108ace13f2dc577e2855e44dfc685b9cfd6204
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 14:17:08 2012 +0100
rigol-ds1xx2: Fix setting trigger parameters.
commit 542843f76f4b2f780bf9ae6265f1a76841297d8a
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 14:06:58 2012 +0100
rigol-ds1xx2: Assorted parameter setting fixes.
commit e0b7d23ce884f03ecb693943c5bd822879c68d65
Author: Martin Ling <martin-git@earth.li>
Date: Sun Dec 30 04:17:56 2012 +0100
rigol-ds1xx2: First working version.
Currently hardcoded to use /dev/usbtmc1. Analog data readout works.
commit f4816ac6cc2403558276ada44d3e14eb4a9b3d15
Author: Martin Ling <martin-git@earth.li>
Date: Sat Dec 29 22:22:10 2012 +0100
rigol-ds1xx2: Initial driver skeleton.
commit aeabd30820bd3b685fb0bac83d1dc4a7faa32287
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 3 02:15:27 2013 +0100
ols: Implement SR_DI_HWOPTS.
commit 986fde755d6bec3dfbf6d2bf4768ca359fc05174
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 26 01:53:50 2012 +0100
serial-dmm: Add UNI-T UT61E support (UT-D02 cable).
commit fe0c0b98c6d10290cbd2b461e3cb17404b0ba457
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 7 19:10:36 2012 +0100
Add Cyrustek ES51922 DMM chip parser.
commit 21d3d4ee871ee84a5ba598b21e9a1bdeaa9db5e3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 1 00:33:05 2013 +0100
alsa: Add some more samplerates.
Add some more samplerates that seem to be supported by some devices
(found via random grepping of alsa and kernel sources).
commit a1b9a9bf44b33ee9f3a6ac5ae59a1ced1e2c3281
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 23:31:48 2012 +0100
alsa: Add missing % for PRIu64.
commit 52ba6e05d59d6b2199214aed14330f213e79a593
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 23:31:31 2012 +0100
alsa: Improved error reporting.
commit 721ecf3d97aa6e84e6d61b3c25023e9177895025
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 22:54:17 2012 +0100
alsa: Cosmetics, coding style, typos.
commit 65faa197ae4c607c9c127af99af6c8e5b6acd7b3
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 26 12:11:33 2012 -0600
alsa: Find supported samplerates during device scan
Since we are using the 'hw' interface of ALSA, we don't have the luxury of
samplerate conversion, given by the 'plughw' interface. If we try to set a
samplerate that is not supported, ALSA will just throw an error.
We can test for the supported samplerates, and create a list of supported
samplerates, then limit the selection to only those values. The frontend can
query the list of supported samplerates.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 729850c9e7dfa2c08c11a025d5a54b8e8e803f3c
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 23 12:57:37 2012 -0600
alsa: Fix sample acquisition and send normalized values
The alsa driver requested signed 16-bit integers from ALSA, but casted them to
to an unsigned 16bit before finally casting them to a float. The end result was
that half of the wave would be clipped off.
We also requested data in little endian format. ALSA can be instructed to send
data with the correct endianness for the platform, without needing to worry
about what that is.
This patch attempts three points, which, together, fix the acquisition:
1) Request data from ALSA without specifying endianness; ALSA will handle the
endianness.
2) Simplify the int16_t to float loop by using straightforward indexes.
3) Normalize every value before sending it on the session bus.
NOTE: If testing with PulseView, it will appear as if sigrok is sending all
zeroes. sigrok is sending correct data, but since the data is normalized,
PulseView will incorrectly plot it as a straight line.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 6944b2d02f23cf562574d3d1b37a2d698bdbde4e
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 20 13:47:09 2012 -0600
alsa: Scan all soundcards and create a sigrok device per input
The alsa driver only works with device "default". This limits the driver's
scope to whatever device ALSA deems to be "default". It is desirable to have
access to all ALSA devices from sigrok.
Change the alsa device scan so that:
Each alsa device (not alsa card) gets its own sigrok device
For example,
hw:1,0 == sigrok device 0
hw:1,1 == sigrok device 1
hw:2,0 == sigrok device 2
hw:2,1 == sigrok device 3
hw:2,2 == sigrok device 4
[...]
We don't currently look at alsa subdevices. We only use subdevice 0.
Every input device will have its own channels (left, right, etc). Each of
those channels gets mapped to a different sigrok probe. A device with 4
channels will have 4 probes from sigrok's perspective.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 0d6ff1039447c35fa8b423ee02468e62a5064cab
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 26 20:14:54 2012 -0600
alsa: Do not use snd_pcm_hw_params_set_rate_near()
snd_pcm_hw_params_set_rate_near() will try to use the samplerate closest to the
given value, potentially starting the acquisition with a different samplerate
than the one specified.
Instead, use snd_pcm_hw_params_set_rate(). It will return an error if the
samplerate is not supported by the hardware, which is arguably better than
collecting data with a different samplerate than the one specified.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit cbc8cbd8bbd664043c349133818e0ab41422c751
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Dec 31 15:14:49 2012 -0600
rs9lcd: Add missing 'break;'
A break was missing for "case MODE_AMP_WIDTH:" in sr_rs9lcd_parse().
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit f4abaa9f6b37d07bd565c74a60139d641e86b1d1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:21:39 2012 +0100
asix-sigma: Fix two compiler warnings.
asix-sigma.c:648:9: warning: 'ret' may be used uninitialized in this
function [-Wmaybe-uninitialized]
asix-sigma.c:1337:20: warning: 'triggerselect' may be used uninitialized
in this function [-Wmaybe-uninitialized]
commit b7c3e8499c9dc499874876efdf5fb499368d6f10
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:05:11 2012 +0100
session: Fix compiler warning.
session.c:258:6: warning: 'ret' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit 6375e1c3eba6243bcaa28f0eee5452cc6f9ae2fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:03:45 2012 +0100
victor-dmm: Fix compiler warning.
protocol.c:106:10: warning: 'factor' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit f057272cac1baeead056502c29faeef83323b0bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:02:14 2012 +0100
nexus-osciprime: Fix compiler warning.
protocol.c:26:46: warning: unused parameter 'fd' [-Wunused-parameter]
commit 811155da461851e8a7f75df898a301a7db48c667
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 21:01:53 2012 +0100
uni-t-dmm: Fix compiler warning.
protocol.c:84:5: warning: 'ret' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit 6e9d545cf4f546cbdb8a7ecd16d26e7d5e767a0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 31 20:58:14 2012 +0100
rs9lcd: Fix compiler warning.
rs9lcd.c:289:19: warning: 'rawval' may be used uninitialized in this
function [-Wmaybe-uninitialized]
commit 9116262931773877e4dd279336ebb2be8f182c05
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 30 01:44:58 2012 +0100
add USBTMC device search helper
commit 80bc663296dade5d21e74fbbc5259b4f1b069fff
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 29 11:19:19 2012 +0100
tondaj-sl-814: remove unneeded debugging
commit 2239728c43aa12bcac66613bb4c84e745836d19d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 17:13:20 2012 +0100
ols: Add missing 'extern'.
commit d40a8d1455d3e08a17d1f9d96ee59e1826c7d8e1
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Dec 28 16:46:21 2012 +0100
added VID:PIDs for all Hantek DSO-2xxx/5xxx
commit bdd7618cd1f0645e3446814a9438965863d859f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 28 11:22:16 2012 +0100
configure.ac: Fix CFLAGS settings.
Don't override/overwrite CFLAGS in configure.ac, but rather amend it
with (currently) "-Wall -Wextra -fvisibility=hidden".
This properly allows users/packagers to do things like:
./configure (this will default to using "-g -O2" additionally)
CFLAGS="-g -O2" ./configure (same as above)
CFLAGS="" ./configure (no additional flags)
CFLAGS="-g -O0" ./configure (disable optimization, e.g. for valgrind use)
etc. etc.
commit 14766619703e5b16acee2ebef569751ea90009bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 19 22:50:07 2012 +0100
serial-dmm: Rename VOLTCRAFT_VC820 to VOLTCRAFT_VC820_SER.
This matches the _ser suffix of the other functions/variables for this
device ("ser" denotes that it is used with the serial UNI-T UT-D02 cable
as opposed the USB/HID based cables which are handled by the uni-t-dmm driver).
But more importantly, the _SER suffix for the enum value will prevent
name clashes later, when the uni-t-dmm driver gets a VOLTCRAFT_VC820 enum.
Do the same for VOLTCRAFT_VC840.
commit 35e199da505f5b8fadffa58875aaca70a8fde4f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 26 01:29:27 2012 +0100
Fix limit_samples check in various drivers.
Check whether a sample limit was actually set (> 0) before checking if
that sample limit is reached. This also fixes continuous acquisition mode
for drivers which have that.
commit 786934010365a0b33aa8a32a7dc62a2975dba4c7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 26 00:12:52 2012 +0100
Shorten probe_names[] arrays everywhere.
Also, NULL-terminate all of them.
commit df36acb36a141e81eec0e6c5bd2734f86dd52597
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 26 00:01:37 2012 +0100
nexus-osciprime: suppress warnings
commit f9b9bd632faf4d5651c31a51026f6cbd219256e4
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 23 12:48:48 2012 -0600
serial-dmm: Handle time-limited acquisition
Implement SR_HWCAP_LIMIT_MSEC capability, to allow acquisition to automatically
stop after a specified amount of time.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 47eda193b2ce105ce50ddd284c99d813dacc49a7
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Dec 25 16:21:24 2012 -0600
rs9lcd: Fix segfault with unusual modes.
Some unusual modes required re-parsing the value. Instead of assigning the
re-parsed value to *floatval, it was reassigned directly to *analog->data;
however, analog->data is not initialized at this point, causing a segfault.
This situation was created when moving the radioshack-dmm code to serial-dmm,
with the segfault not being observed at that time.
Do not write directly to analog->data, but instead use the intermediate
variable rawval.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 0853d5e627cc8ec493e52197fc8e9b3175701128
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Dec 25 15:40:30 2012 -0600
rs9lcd: Convenience fixes
Convert bit masks from hardcoded hex values to bit shifts. For example 0x80
becomes (1 << 7). This also fixes a typo error in the definition of INFO_DIODE.
Add comments explaining that some case values in sr_rs9lcd_parse() are meant to
fall through without a 'break;', and explain some of the unusual modes.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit a97a3d708930a62bbc296785664b0d2677b233b2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 25 19:13:20 2012 +0100
added Nexus-Computing OsciPrime VID:PID
commit 523dfc2497c8e7c765ea423ec9d638feba9ed73d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 25 19:09:12 2012 +0100
nexus-osciprime: basic scanning functionality
Unfortunately the device doesn't have an EEPROM on board at all, and so
initially enumerates with the default Cypress FX2 VID:PID (04b4:8613).
Since we already support using plain FX2* as basic logic analyzers using
the fx2lafw firmware, we cannot support that same VID:PID for the
OsciPrime. Therefore a USB conn is required for the initial scan.
However, once the firmware is uploaded the device re-enumerates as
04b4:1004, which we do detect for scanning automatically.
Thus, the OsciPrime driver requires one scan with conn parameter to get
the firmware uploaded, but it will then keep working until powered off.
commit 35a078bce5cff9b8ff221a9930d271ec90e20ec4
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 20:11:38 2012 +0100
nexus-osciprime: Initial driver skeleton.
commit 2f1e5c7cb7ca72b6ebde7015191486ebfc0ffc70
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 20:27:45 2012 +0100
fluke-dmm: Properly handle continuous mode
Same bug+fix as commit d55c89f523e74a2f629bb23e8fd9bf6db7e3758a
commit f1f7e62d6df766f4a65d7854ae2dd745c623c863
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 19 04:15:18 2012 -0600
session.c: Remove all remaining sources on sr_session_stop
Some sources may not be necessarily associated with a device. The best example
is the anykey pollfd from sigrok-cli. sr_session_stop only removes sources
associated with hardware devices via dev_acquisition_stop. Sources such as
anykey are not removed, and thus session->num_sources will not get to 0. As a
result, we may get into situations where the event loop enters an infinite
state.
To prevent this, all we have to do is remove any active sources that are still
present after dev_acquisition_stop has been called for all devices.
This fixes bug 14.
commit dc890b8f9fa01895d3849e7d5ab8be1146f07b9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 24 16:57:55 2012 +0100
asix-sigma: Quickfix for an ASIX SIGMA issue.
It's not entirely clear whether this is the right fix, but we're merging
it for now, pending later review.
See also: http://sigrok.org/bugzilla/show_bug.cgi?id=26
commit b36e715395d220b7542b6038af3742e85e7bab92
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Dec 11 20:51:53 2012 +0000
fx2lafw: Tidied probe_names
commit 0aba65da9f4031ca6eb7d0c268e4d06b0d0bfa06
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 23 20:41:27 2012 +0100
ols: Split into api.c and protocol.[ch].
Also, drop various no longer needed #include files.
commit a567547e205eca58065f21aa5b1502a34ba315b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 23 19:09:11 2012 +0100
ols: Use logging helper macro.
commit 11fb7110f46a76a4b078896f0e6c9396bf828189
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 11:00:55 2012 +0100
fluke-dmm: 190 series scopemeter support
199B only for now.
commit 4cea0ff7febe335aa4607e544561710963d5e5af
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 10:59:41 2012 +0100
fluke-dmm: parser cleanup
commit 9fa09680277cdc1f7f0792bedefff256ad9694ec
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 10:56:54 2012 +0100
fluke-dmm: adapt scanner to accomodate 190 series scopemeters
commit d4b11de09a42710c1c043693d5bda0fc8bc72f90
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 24 10:40:04 2012 +0100
fluke-dmm: make poll timeout configurable
Defaulted to 1s before, but a simple "QM" command on a 199B in scope
mode takes 1.7s to come through.
commit d92faf6cacf7088bd241bb8f0b1adc48082e85fb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 23 18:54:24 2012 +0100
serial: more debug cleanup
commit 49aaa0bc68c1bf77cd81989c40e471fe7bd161ec
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 20 10:41:48 2012 +0100
serial: get rid of overly verbose spew
It just made spew-level logging unusable; the way sigrok async comms work
guarantees most of it was a false error.
commit 9cd9f6b71c35c0203b7e8997ce9425d0dc6e0f4d
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 20 11:33:49 2012 -0600
alsa: Split into api.c and protocol.c
This is the driver model agreed upon for all drivers.
As a result of the split, a devc->num_probes field had to be added in order to
reduce the interdependence between api.c and protocol.c .
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit acac8fc3500bc1f1e9e43c1508638488d91b2f86
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 19 21:39:38 2012 -0600
device.c: Fix memory leak in sr_serial_dev_inst_free
sr_serial_dev_inst_free() freed all members of sr_serial_dev_inst, but did not
free the struct itself, as expected from a free_*() function. This inadvertently
caused a memory leak in every place sr_serial_dev_inst is used.
Free the struct itself
+ g_free(serial);
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d55c89f523e74a2f629bb23e8fd9bf6db7e3758a
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 22 16:00:44 2012 -0600
serial-dmm: Properly handle continuous mode
serial-dmm does not check if a sample limit is actually in place before deciding
to stop acquisition. Since the sample limit is set at 0 by default, operating
in continuous mode will cause acquisition to stop before even sending the first
sample.
Check to make sure we actually are in a sample-limited mode before stopping for
this reason.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 17dfb2c32c6686630fd95b2f25e554fa01f8ebd1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 22 01:33:03 2012 +0100
configure.ac: Improve check for libusb-1.0.
PKG_CHECK_MODULES() checks for libusb-1.0 via pkg-config already, no
need to use a "manual" additional check via AC_CHECK_LIB() just to set
HAVE_LIBUSB_1_0 in config.h.
This helps with cross-compiling setups, among other things.
commit 0254651dcba4b8c34d35845083250586ecf964ed
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Dec 17 19:39:13 2012 +0100
alsa: Update to latest APIs/conventions.
The alsa driver was out of date wrt APIs and libsigrok conventions in
general, and wasn't compiling.
This fixes the compile and updates it to _basically_ work with the current
state of analog support in libsigrok.
This is not finished/full support for ALSA analog sampling yet, though,
various TODOs remain that will be addressed later.
commit bf53457d1ddea58d1cb7e4feea83ad0cc1d63031
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Dec 13 21:07:53 2012 +0000
Pass sr_datafeed_packets and payloads with const pointers
This patch marks packet structures and their payloads as const.
This indicates to packet receivers that modifications to these are
not allowed. In general all pointers should be marked const unless
modification of the referenced data is explicitly allowed.
commit 16d6e56d124dcedf7273212bbfab1aed6ac7e7aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 02:25:17 2012 +0100
hardware/agilent-dmm/Makefile.am: Fix typo.
commit 4f9bf9a202d331b0f2ec088d73d72808e1a934b4
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Dec 17 02:04:35 2012 -0600
chronovu-la8: Fix memory leak in hw_scan
Hardware scanning creates an ftdi_context before attempting to locate devices
based on PID/VID. If no devices are detected, execution jumps to cleanup. The
context is freed with free(), instead of ftdi_free().
We cannot assume that the libftdi context is stored in a contiguous memory
region, and thus cannot use a simple free. Case in point, this situation is
identified by valgrind as a "definitely lost" memory leak.
Use ftdi_free() instead of a simple free() in hw_scan(). Valgrind no longer
complains about a memory leak in this area.
clear_instances() does not need any modification, as it correctly uses
ftdi_free().
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit c0bf69c29b138d18ee9f542985664eeaeeb47a0a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 01:30:34 2012 +0100
fx2lafw: Fix int64_t printing.
commit b99457f09c90ce7fbb0de1793088dd53a59a0d07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 01:26:58 2012 +0100
fx2lafw: Various cosmetics, typo fixes, etc.
commit a873c5940cc6d2d8f54f2dfdac3a98c4a3d302ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 18 00:52:39 2012 +0100
Consistently use 'di' as variable name.
Use 'di' consistently in all drivers as the name for a local, static
pointer to the respective driver's 'struct sr_dev_driver'.
commit 443a14d81f44772076aefdb2b252657d6abc0d29
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 6 15:55:14 2012 -0600
fx2lafw: Print device failed to renumerate error
commit 378abfeac6cc94d88dc82b8481dec9c9f691f3da tried to solve a bug where
the fx2lafw driver would print "Device came back" even if a timeout had occured.
It solved that issue, but inadvertently introduced a new bug:
"Device came back" would be printed even if no firmware upload was performed.
This is counterintuitive, as the device is only reset when a firmware upload is
performed.
There are three cases:
i) Firmware upload was successful
ii) Firmware upload failed
iii) Firmware upload was NOT needed
Each case warrants a separate message from the driver. Print the
following messages depending on the outcome:
i) "Device came back"
ii) "Device failed to renumerate"
iii) "Firmware upload was not needed."
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit f427daefb01cdaf578dc8b9fa5f59c5525439289
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 15:08:05 2012 -0600
fx2lafw: Use DRIVER_LOG_DOMAIN for log messages
Use the new DRIVER_LOG_DOMAIN mechanism, where explicitly writing
the driver name in the message string is no longer required.
Thus:
- sr_err("fx2lafw: Something bad happened.");
becomes:
+ sr_err("Something bad happened.");
In either case, the log output is the same.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 006dbe55878ec7499e58a130c27f6c4297ada54b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 22:27:04 2012 +0100
serial_stream_detect(): Drop unneeded sr_spew().
commit 54d112218713b34491cd65454abad340ff19a393
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 22:17:48 2012 +0100
serial-dmm: Add Voltcraft VC-840 (UT-D02) support.
This works with the UNI-T UT-D02 (RS232) cable. For the USB/HID
based cable (UNI-T UT-D04), the uni-t-dmm driver must be used.
Note: This is untested, but should work just fine for all settings, with
the possible exception of temperature (testers needed!)
commit 40830061eb3a1327c1a8c76758e84b252e1950a8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 22:03:28 2012 +0100
serial-dmm: Add Voltcraft VC-820 (UT-D02) support.
This works with the UNI-T UT-D02 (RS232) cable. For the USB/HID
based cable (UNI-T UT-D04), the uni-t-dmm driver must be used.
commit 16b7b79005aaf0ab67d207ca11989f62d983ce62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 21:28:26 2012 +0100
serial-dmm: Eliminate unneeded "subdriver" field.
Just use the 'int dmm' + wrapper method that is used for all other
functions which need this information. There is no real need to
special-case the hw_dev_acquisition_start() API call here.
commit 22f54192358620f24fc2df2ea6e8f578fee24b81
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 16 21:23:49 2012 +0100
serial-dmm: Cosmetics, documentation fixes.
commit 6aed917b133d44199500cdffc0d2f7998add3fb6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 16 23:06:15 2012 +0100
lascar-el-usb: fix sample limit parameter
commit 801c7800c6260a2e12aa2618263a717334946eb8
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 15 11:03:10 2012 -0600
linsigrok.h: Document meaning of SR_UNIT_CONCENTRATION
Having concentration as a unit is vague, as it can be expressed in
many ways. In the context of sigrok, concentration means a normalized
number from 0 to 1.
Document its meaning.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 6787f4049a0c05ffb438fc1718f1fe9840be5a41
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 16 18:48:20 2012 +0100
lascar-el-usb: support for EL-USB-2*
commit ef4344e7f44fe8b67fdbf1cebf2b1a6d7edbfe77
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 16 18:38:44 2012 +0100
add relative humidity MQ
commit 7249d7833b69c1d753b18112891870d8aeda3d69
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 22:50:33 2012 +0100
analog: support ppm output
commit 7f00750ca4ed224b3880058847e6398f30cbb8f7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 22:49:40 2012 +0100
lascar-el-usb: properly submit CO concentration as a PPM value
commit b0c95747e1e7ffa7ca9e8ca4a9bdda781469750a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 22:34:40 2012 +0100
lascar-el-usb: add config saver
commit b6506d5e03e67c5029525d36016936cf9c858720
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 11:15:30 2012 +0100
lascar-el-usb: EL-USB-CO300 support
Works the same way as the EL-USB-CO, but with the more sensitive sensor,
so should work out of the box.
commit 521a0cd3577db0ec2763493d95d2ffa479568a3a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 11:07:18 2012 +0100
cosmetics
commit 4f3bd685e695790ff578d17d0ed95c00784e58fa
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 10:50:22 2012 +0100
add MQ/units for carbon monoxide concentration
commit 6aa1eb4ea33e1aeeef772cd234f140464eea3fe2
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Dec 15 04:06:51 2012 +0100
lascar-el-usb: generic EL-USB support + EL-USB-CO support
commit c5f1a021b82f3c2c56df2a0860bb6f9776e1076b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 9 15:19:39 2012 +0100
usb: strip overly verbose debugging
commit 9ec7ff94ed08aecc9c8898b00c797fd2621438c4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 9 14:40:12 2012 +0100
victor-dmm: free in the right order
commit e7f378fd1ab895259cda8b0545663b39c7bc16f0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Dec 9 14:39:17 2012 +0100
usb: strip useless code
commit e7ed87a469cb3c997ec2e98bc2c39d4284d86252
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 12:35:06 2012 -0600
serial-dmm: Use dummy info struct for rs9lcd parser
The rs9lcd parser, which is used for the RadioShack 22-812 does not use its
*info parameter, and therefore did not have a rs9lcd_info struct declared.
With recent re-factoring of the receive data callbacks, it became necessary to
pass a struct pointer. This made the RECV_DATA macro look like:
- RECV_DATA(RADIOSHACK_22_812, metex14)
giving the wrong impression that the RadioShack 22-182 uses the
metex14 protocol, which is not the case.
Create a dummy rs9lcd_info struct, and correctly identify the parser
as rs9lcd in the RECV_DATA macro:
+ RECV_DATA(RADIOSHACK_22_812, rs9lcd)
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit c69049091ec6e1383805064d3c472264384ffb57
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 11:08:38 2012 -0600
libsigrok.h: Don't store subdriver in sr_dev_driver
Not all drivers use subdrivers. The only reason the subdriver field was
introduced was to accomodate the model of serial-dmm.
The sr_dev_driver struct is available to the frontend. Exposing the subdriver
field creates the problem of exposing knowledge of libsigrok's internal driver
layout, even though the drivers are designed to be a flat list to the frontend.
Store the subdriver in the dev_context struct of serial-dmm.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d128bf12b27432988cc5a0bf7d6ec3fca0696b0b
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 10:53:28 2012 -0600
serial-dmm: Remove global sr_dev_driver *di alias
The global *di alias was used to keep track of the driver context.
It caused issues with trying to use several subdrivers at once, so
its use was obsoleted.
The correct context is preserved through different mechanisms, either
the *sdi pointer, or wrappers which pass the correct context.
The *di alias is no longer used, so remove it.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 3098b3902d1794831be010ebff0484caf845de60
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Thu Dec 13 08:58:01 2012 -0600
serial-dmm: Simplify wrapper layout
Wrappers for hw_init, hw_cleanup, clear_instances, and hw_scan are needed for
each subdriver due to the nature of serial-dmm. These wrappers are implemented
as macros, in order to reduce the number of lines of code.
For each of those functions, we have a separate wrapper list, then we connect
them together in a first-class driver using a DRV macro, and yet another list
(the DRV list).
Instead of declaring those wrappers in separate lists, include them in the DRV
macro. This approach reduces the number of macro lists from five to just one.
From the perspective of adding a new subdriver, this also greatly reduces the
number of places needed to hook in a new device.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit fd9b2b865ac4e3f12305744753c0759c34c056c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:54:13 2012 +0100
serial-dmm: Add per-driver clear_instances() wrappers.
commit 0c23677d0bc04a024c382aef64e5146887bdcb1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:47:02 2012 +0100
serial-dmm: Add per-driver hw_cleanup() wrappers.
commit ca4b130943e266f545ae8ba89528f285831540cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:41:34 2012 +0100
serial-dmm: Add per-driver hw_dev_list() wrappers.
commit ea4c6c2311f2c31ccf6863b13a815918ccee974b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:27:31 2012 +0100
serial-dmm: Add per-driver hw_scan() wrappers.
commit dccfe015868b5f1a5a5996983164d135ec561596
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 01:19:17 2012 +0100
serial-dmm: Use a macro for receive_data() wrappers.
commit f1437c6814c693bd624211c5b644951cf16139f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 13 00:59:42 2012 +0100
serial-dmm: Use a macro for driver struct simplification.
commit 06b7a8af7e2e4b7baf28f4fa710a7dd00765f18a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Dec 11 17:06:04 2012 +0100
serial-dmm: Simplify code a bit.
Store/use the receive_data() function and a pointer to the driver struct
in the dmms[] array. Use a ".subdriver" entry in the driver struct.
Use a macro to simplify hw_init() wrappers.
commit 5b389efcfeff17b0f7466597706c898ad65eb6a9
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 9 13:15:24 2012 -0600
serial-dmm: Avoid duplicate symbol error
Declare dmm_info dmms as extern in protocol.h to prevent duplicate
symbol error from the linker.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 378abfeac6cc94d88dc82b8481dec9c9f691f3da
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Dec 6 21:31:37 2012 +0000
fx2lafw: Don't say "Device came back" when it didn't
commit 26be4ebef369e465eb5f13ee7bbab71b62e455f6
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Dec 5 15:16:52 2012 -0600
serial-dmm: Fix segfault when no device is used
di was initialized as NULL. If no device covered by this driver
is used, di remains NULL. This causes a segmentation fault when
calling clear_instances().
Check for di being NULL.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 63c07e48c627684f04d70e7dea2baf7c72ff2a41
Author: Peter Stuge <peter@stuge.se>
Date: Sat Nov 3 08:29:26 2012 +0100
backend.c: Return a sigrok error in sr_init() on libusb_init() errors
commit 123d97b17715204c58b795b8e6cbecc55725e5d3
Author: Peter Stuge <peter@stuge.se>
Date: Sat Nov 3 08:27:48 2012 +0100
backend.c: Fix memory leak in sr_init() error path
Commit 785b9ff290cbdb86e7d0b0280c33b43faf9c0518 added libusb init into
sr_init() which can generate an error. In this case, the already
allocated struct sr_context would have leaked.
commit 1740429d7045385866caafb0d2cbe302e7c74604
Author: Peter Stuge <peter@stuge.se>
Date: Wed Dec 5 01:23:49 2012 +0100
hardware: A few further USB error message fixups
commit d4928d7102c6b2f9f7aa51a1b98669bf148fff80
Author: Peter Stuge <peter@stuge.se>
Date: Tue Dec 4 21:11:25 2012 +0100
hardware: Call libusb_error_name() in all USB-related error messages
commit 851d5b2274f138d58be42adbbe584d9a4c4dfe01
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:58:26 2012 +0100
lascar-el-usb: add scanning functionality
commit 402704445e081ef7737081885496169f91af7ab9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:58:03 2012 +0100
add thermometer and hygrometer HWCAPs
commit 7ae6a75826be6d7ddd885947630ecb26ba9fa1a5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:25:11 2012 +0100
usb: sr_usb_find() uses standardized connection string to find a USB device
commit 5ea1e54ab54542803d531bd714b09b54fbaab408
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 4 23:11:40 2012 +0100
add VID:PID for generic SILabs F32x USBXpress chips
Used in Lascar EL-USB series devices
commit d458a0ac290c4be4cad19c22e143748a5ddff0e6
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Dec 4 13:31:49 2012 -0600
ezusb: Use DRIVER_LOG_DOMAIN for debug output
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit f4284934354bff761a74eee545e5a4b7911a8e8c
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Dec 3 19:39:58 2012 -0600
tondaj-sl-814: Fix unused parameter warning
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d4abb463a749cd3d614e98c7fe7f5d28ad69475d
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 03:33:24 2012 +0100
hardware: Make USB drivers use the libusb_context in struct sr_context
commit 1ebe4b4e6926eb1288ce77b179a92bc670eb9eca
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 02:49:36 2012 +0100
hw_init(): Save struct sr_context * parameter in struct drv_context
commit 34f06b903e3529a73feb7a6e74fae934a999f821
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 02:47:55 2012 +0100
Add a struct sr_context * parameter to hw_init()
commit 44fc870c9cc5c0e53b47b9d7fa3dffe81731ee3c
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 02:42:57 2012 +0100
Add a struct sr_context * parameter to sr_driver_init()
Since the public API is changed, this commit also bumps the libtool
version component SR_LIB_VERSION_CURRENT in configure.ac.
commit 73496bb57138dcd1aad4800c8c9ffc6484ca9d8a
Author: Peter Stuge <peter@stuge.se>
Date: Mon Dec 3 01:34:23 2012 +0100
alsa: Remove unused and unprovided hw_init() parameter `devname'
commit 46697e38b286541e0e5aa354d35a6f4564855fa6
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 27 17:40:14 2012 +0100
lascar-el-usb: Initial driver skeleton.
commit 162b735218b906d5a41e8da69ea15b76d267f1fd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 21:58:34 2012 +0100
Remove some radioshack-dmm leftovers.
commit ea088bb6930c617b2d615ee47c9442b27f449c43
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 13:34:51 2012 -0600
serial.c: Be more verbose about failing to parse parameter string
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 21829e6708ce1167e2d7d5d370166cafe328f092
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 13:15:21 2012 -0600
radioshack-dmm: Integrate into serial-dmm
Use the infrastructure of serial-dmm to handle the RadioShack 22-812,
and completely remove radioshack-dmm.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 05f134abc2641e6e4d3a22a8dda19460819af16e
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 12:58:30 2012 -0600
radioshack-dmm: Separate protocol parser from driver
Move the parsing part of radioshack-dmm into a separate protocol
parser, following the model from hardware/common/dmm.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit ae95ffebfa0d8c0992332b33631a26d898957b34
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 12:43:37 2012 -0600
radioshack-dmm: Fix opening of serial port.
During scan the serial port is opened with SERIAL_RDONLY | SERIAL_NONBLOCK,
which works fine, but when acquisition starts, it is opened only with
SERIAL_RDONLY. On Linux, if cdc_acm can make a claim to the USB to serial
converter, opening the port will fail.
Open port with SERIAL_RDONLY | SERIAL_NONBLOCK.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d5ce233fe16a68e6522538c226a91e63628521dd
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sun Dec 2 09:17:46 2012 -0600
serial-dmm: Add RadioShack 22-168 support.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit eebb606762218d7e87a18721bad0d47892e220e9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 17:21:13 2012 +0100
demo: Add missing dev_clear() API call.
commit 55a6daf59f85449d99a62b0a3b6010980125d38d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 23:54:49 2012 +0100
sr_init(): Add driver sanity checks.
After sr_init() has successfully run, we can be sure that all drivers
define all the API calls, so we don't have to do these checks later
in the individual API functions / wrappers.
If there are one or more drivers with missing API functions (or driver
name / longname, and so on), sr_init() will fail. This helps catch this
kind of developer error early on.
commit 3a18cf625e6f611041554d81c178b29cec19b484
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 16:11:42 2012 +0100
serial-dmm: Drop accidentally committed file.
commit 7f64e88fa99d54f22a999e7461e4f13c70f0aa8c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 16:09:31 2012 +0100
Reduce glib minimum version to 2.28.0 again.
We no longer use g_thread_try_new() which is only available since 2.32.0.
commit 3b20367381bcd955e604c40d05f489f2221c036a
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 1 18:07:10 2012 -0600
demo: Do not use a separate thread for generating data
We already have an event-based mechanism in place. Using a thread just
adds unneeded complexity, especially for a driver designed not for
performance, but for providing a testbed to frontends.
Generate the data in the event handler, not in a separate thread.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit d4bd66a0c7196fb44f6f22036e3ea452ad5870df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 01:32:57 2012 +0100
serial-dmm: Add PCE PCE-DM32 support.
commit a376ffea49411cca09b358f3677938612c79afaf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 01:02:16 2012 +0100
serial-dmm: Add PeakTech 4370 support.
commit a53da08254a5adcc15c925014eb1083fb067f3b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 00:40:15 2012 +0100
serial-dmm: Add Metex M-3640D support.
commit 9871215c83f70a2008272de03268291445ed59c3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 00:36:37 2012 +0100
metex14: Add dB mode and hFE mode support.
This is found e.g. on the Metex M-3640D DMM.
commit 6dca2f16eedfbcaa0ea4e45c7d58bbf596fa1012
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 23:32:39 2012 +0100
serial-dmm: Add V&A VA18B support.
commit 5887c9cc1af1d4798d61b338d66b573b1273f9c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 23:04:00 2012 +0100
serial-dmm: Add MASTECH MAS345 support.
commit f0ac4929d3aaa83e32b0be0637ae1f22040ea724
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 22:45:45 2012 +0100
serial-dmm: Add PeakTech 3410 support.
commit ce3777ada98c5099d2867653f25239b85cf55708
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 14:22:15 2012 +0100
serial-dmm: Add Metex ME-31 support.
commit f086b83011b1282f62f0058872f333aef4bf9daa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:53:05 2012 +0100
serial-dmm: Add Digitek DT4000ZC support.
commit e90cf076aa6854ad3f312179a121bafc4c6e9a22
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 20:48:03 2012 +0100
metex14: Add sr_metex14_packet_request().
commit 8f46911e4252bddb680fb9adc603ea2640f1724e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 20:11:40 2012 +0100
metex14: Fix 'is_ol' handling.
Thanks to Bert Vermeulen for the reminder.
commit 2477fb95693aeeeab04323618ba18b1ebdbc3eb2
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 13:15:44 2012 -0600
metex14: Parse microamp (uA) values.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 3ebc9b59a2e2b96ad95dbfdf3218c3b3b00940ef
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 13:11:04 2012 -0600
metex14: Fix parsing of measurement flags.
strcmp(buf + 9, " mA") does not work because buf is CR-terminated,
while " mA" is NUL-terminated.
Drop ambiguities arising from the termination of the strings, and
only compare the characters we care about, using strncmp().
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit e82d7dbc202794dc30abdb4e50cfb4507f49025e
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 12:40:17 2012 -0600
metex14: Print contents of received packet.
The packet is an ASCII string. We can simply print the raw packet data.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 76b55dfa8a5318a0495d3f2cfb29d6cd229ce5dc
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 30 12:29:22 2012 -0600
metex14: Fix parsing of spaces.
When the parser found a space, it treated it as an invalid digit
and discarded the whole packet. This behavior was incorrect on
2000 count devices, where the first digit can be sent as a space
rather than a '0'.
Convert spaces to '0' and parse them as usual.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 21a7f2692e09269edd872bca4e25a9d06b67c0e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:35:19 2012 +0100
Rename tekpower-dmm to serial-dmm.
This is now a generic driver for multiple DMM "subdrivers" that use simple
serial port protocols.
commit 729b01f98838b50263511ec135754d741698659b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:28:36 2012 +0100
tekpower-dmm: Generalize & first-class TP4000ZC driver.
Prepare the tekpower-dmm driver to be able to support various simple
serial port based DMMs.
Also, make a 'tekpower-tp4000zc' "first-class" driver which is currently
the only user of this generic driver.
commit 1fbab466268bf6975c0709d5554ce2192a21ef6c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 19:01:07 2012 +0100
metex14: Pass 'info' as a void pointer.
This is done so that the function prototype of all sr_*_parse() DMM
functions is the same, which will be needed later.
commit 93357bc3ce484c2e46a9999d4464ce2d5cc976b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 18:50:35 2012 +0100
fs9721: Pass 'info' as a void pointer.
This is done so that the function prototype of all sr_*_parse() DMM
functions is the same, which will be needed later.
commit d84fc9cb3b9fede9234603f95c1467f95686c1a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 28 17:14:42 2012 +0100
tekpower-dmm: Drop unneeded g_try_malloc().
commit 5ddb0cc7d4850375a9ef741012d229ead9a91490
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 14:10:27 2012 +0100
serial: Don't hardcode parity and stop bits on Windows.
commit 5ae35c29a7010cd018e43d04a809e1c60b7b72fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 13:56:13 2012 +0100
serial: Full baudrate support on Windows/MinGW.
commit 39e5d79826cd2c1991007faf1a6cde05af995aa9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 13:41:49 2012 +0100
serial: RTS/DTR support on Windows/MinGW.
commit a54dd31e380ca4b469a20e41a0023d1dd9ec3c99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 2 12:45:54 2012 +0100
serial: Use OS-independent flags for serial port opening.
Add SERIAL_RDWR, SERIAL_RDONLY, and SERIAL_NONBLOCK (for now), which are
mapped to the respective OS-specific mechanism in serial_open().
commit 0f84cda05d808f2e1c93ee14c4223be85fb9ef84
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Dec 1 22:34:53 2012 +0100
serial: Fix Windows build.
commit c216d62307a000c75265594a34e8fefee7ba9efc
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 1 12:49:15 2012 -0600
demo: Properly stop acquisition after reaching our sample quota
The demo driver was using sr_session_source_add_channel() to add
a poll source, but was relying on sr_session_run_poll() to call
sr_session_source_remove(). This, coupled with the design of the
driver caused errors once the samples were collected.
The error stream was most likely related to failing to properly close
one of the channels.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 49145a63c73e212e43f1ec901bfb4fe9f99e3caf
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Dec 1 12:03:45 2012 -0600
demo: Be more verbose about starting/stopping acquisition
This is the first step in fixing the demo driver: figuring out what is
being called and what is not _and_ have it show up in the logs.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 71caaad46bf285681d4921db796b81746324ff29
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 27 00:50:51 2012 +0100
serial: allow for extra rts and dtr options in conn string
Options in addition to the usual "9600/8n1" syntax start with a
slash, and take the form of key=value, where different options are
also separated by slashes. For example:
"9600/8n1/rts=0/dtr=1"
This sets RTS low and DTR high.
commit 700dcd5caa1d7569469cd7823add6ffd2ed5a2ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 26 17:01:15 2012 +0100
serial: Initial code for setting DTR/RTS.
Currently disabled until option parsing is in place.
commit 6b7ace4832b3b574399098de2ad4f4bd0f35a14e
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Thu Nov 22 23:15:27 2012 +0200
Add compress option to input/vcd.
commit 904735876118f0ff00ae34e1dbdb80dba752bf2d
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:33:55 2012 -0600
radioshack-dmm: Be more verbose with packet checks
Add sr_spew() messages to state why the packet was found to be invalid.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2ecc5d432fd17127fd221ca4940f9617569911d1
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:30:26 2012 -0600
radioshack-dmm: Check for valid mode before calculating checksum
The packet mode byte is akin to a signature. If that is invalid, there's
no point in calculating the checksum, so check the mode first.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 54be7c005ed9f1f0eab80d1d1de528c8e8d7ce49
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:19:58 2012 -0600
radioshack-dmm: Improve serial detection
For device detection, use serial_stream_detect() instead of
serial_readline() + custom logic.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 551c3d8ce36bebe02765c76ee4d04f4e700d61b2
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Nov 21 19:18:21 2012 -0600
serial.c: Sanitize serial_stream_detect
Print the timeout in miliseconds, not microseconds.
Only calculate elapsed time once oer loop.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 8be8746951e5538147370d9871a4c1ed0268db52
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Wed Nov 21 17:03:49 2012 +0200
Improve compatibility with various kinds of VCD files.
commit 0157808d740ec11f3a94f2d147b4429bd2a9954d
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Wed Nov 21 16:28:55 2012 +0200
Add downsample and skip parameters to input/vcd.
commit 61a429c963fb21c3d8cb8e9166d621526724b714
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Tue Nov 20 22:24:17 2012 +0200
VCD data parsing
commit 99eaa20695b2e6c41721072c84215331bbd3f3bf
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Tue Nov 20 21:03:06 2012 +0200
Beginnings of VCD input module.
File header parsing implemented.
Data parsing not yet implemented.
commit 8c012adbc15fcb00aee23f472b08b108d46b818b
Author: Petteri Aimonen <jpa@git.mail.kapsi.fi>
Date: Tue Nov 20 21:02:14 2012 +0200
Add support for fs and ps to sr_parse_period.
These time units are used in VCD files.
commit ac913e5c3522fcf5a5633eaa8e19f6579dda554c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:38:26 2012 +0100
Add Metex 14-byte ASCII protocol parser.
commit 90165efe55de692e6329d0820d867d0887db5663
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 16 15:26:17 2012 +0100
ols: if no serial port specified, this driver is not used.
commit 766456be1c144b0985807279ffd697a395083cae
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:35:37 2012 +0100
Move serial_stream_detect() to serial.c.
commit e42b82a66f4a16dcc17ccf018637daa7a1a0df51
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:29:27 2012 +0100
configure.ac: Update NEED_SERIAL list.
commit 4da1a800df3ce7776b3a533308dabf484fae9a34
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 18:20:13 2012 +0100
serial: Compile-fix for Windows/MinGW.
commit 6bef68a7e1abd472753e16e2188aadd36650c163
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Nov 5 23:25:59 2012 +0100
tekpower-dmm: Cosmetics.
commit 2546b05c801c90a84fb2e6690d8c253c6576b4ab
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 2 10:53:06 2012 -0500
tekpower-dmm: Improve serial detection.
Serial detection was using serial_readline, which stripped carriage
return from the packets. This made for a very unreliable detection
mechanism.
Switch to a timeout-based detection mechanism that parses the data
as it comes in. This also allows us to stop parsing once we found
our first valid packet.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit bda8fc98b1eae0fbd7c57b9da705bfce4384756a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Nov 14 15:18:02 2012 +0100
Drop obsolete genericdmm driver.
commit d35afa87c9e6d40d34154a784b62deeaffc3ad80
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 12:50:42 2012 +0100
tekpower-dmm: use new serial API
commit 401476daaf3006c0362bdeb7ee99f1d9b9b78809
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 12:41:10 2012 +0100
radioshack-dmm: use new serial API
commit 19ee7dff78f7195bfc82f14ef659751cdd0f6476
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 03:00:32 2012 +0100
tondaj-sl-814: use new serial API
commit f306ca61f65cb703b38e447bbd3dbea3ff9c57c0
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:48:04 2012 +0100
colead-slm: use new serial API
commit 109a3ba4137874373b249fee90055373e13a2a1a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:25:37 2012 +0100
agilent-dmm: use new serial API
commit 58d03f034f0d85a2840ed0bc9ea66506b5a1fa1b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:25:17 2012 +0100
fluke-dmm: use new serial API
commit 530f201eb8280b343529747107c15e91c2ab0623
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Nov 12 02:24:47 2012 +0100
ols: use new serial API
commit 299bdb249ecaa9f42900a8f1a0fa0404d619c27a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 20:38:47 2012 +0100
serial: revamp internal API
The only thing to get passed around now is the struct sr_serial_dev_inst
pointer. This should make things more portable as well.
commit de6e0eca95f5d89e12b0940f2ecf59ab563cb725
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 19:40:14 2012 +0100
sigma/la8/demo: s/SR_PROBE_ANALOG/SR_PROBE_LOGIC/.
commit 472bbb464bf9522ed757826ec590aaf8bab087b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 13:17:44 2012 +0100
alsa: Use message logging helpers.
commit a0a23863daecce5b7aaff352ad2bc5f47eb9bd0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 13:11:58 2012 +0100
output/gnuplot: Drop obsolete code.
commit 121c18854a4327aedbc46378638d1bb20d67b2d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 13:10:29 2012 +0100
contrib/Makefile.am: Add missing files.
commit a885ce3ee9ed770594d5b231f6dec0b740bba03b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 12:44:16 2012 +0100
Various subsystems: Use message logging helpers.
commit a944a84b17c5f5544b45e27dc07d7f60a4fd6ba8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:36:21 2012 +0100
Output modules: Use message logging helpers.
commit 8e7f1cfd99a37d21ebe3365067cd21b76e866d1c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:20:08 2012 +0100
Input modules: Use message logging helpers.
commit 64d33dc28e0e815cade56feb65f26a3d36421a96
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:30:42 2012 +0100
All drivers: Drop unneeded comments.
commit fa7730623a82bd1703b0d91adb97693e29b2a70c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Nov 11 09:28:30 2012 +0100
victor-dmm: Cosmetics.
commit 5df7b201563f46b5620a027c59cb054f8887966b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 03:27:51 2012 +0100
serial: avoid Cyrillic conversion specifiers
commit fe1c50fba6b96400d9cc83c852a59f9ac9f2f148
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 03:10:29 2012 +0100
ols: fix device discovery
commit a99e0d2a0c9d1bb4db5623ba50f83486238ee793
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 9 19:52:45 2012 -0600
ols: Do not randomly probe serial ports
ols driver used to probe a series of available serial ports obtained
by regexp matching of common serial port names.
There are a number of problems with this approach:
1. It will probe all serial devices, including devices that do not
like to be probed, potentially causing them to act up.
2. It will try to probe serial ports which may already be opened in
other applications for other purposes.
3. It assumes the naming of the serial ports is set in stone, and
creates an unnecessary OS-specific list.
4. It produces unnecessary debug output even when an OLS device is
not connected.
5. etc...
Do not implicitly probe serial ports. Only probe the port specified
by the frontend, if any; otherwise, just quit.
Also get rid of all functionality in serial.c which was designed
specifically for random probing.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2244356d1069c5b13fe3b728a421750900deaafe
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 11 02:11:49 2012 +0100
comment fix
commit 56eb9f95ba8828aa643eb836e62d3d7c9a0bdd33
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 19:39:37 2012 +0100
link-mso19: Use message logging helpers.
commit 92bcedf6e861a11d0b46d2bf5bc7c221b20baa7b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 18:24:05 2012 +0100
demo: Use message logging helpers.
commit e98b7f1be0a97207b9a0b4d7c9a8d397fb542eb1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 18:19:30 2012 +0100
hantek-dso: Use message logging helpers.
commit 47f4f073e0a7fe68a55001180c3c9092551f2108
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 13:42:00 2012 +0100
asix-sigma: Use message logging helpers.
commit 936e27f19712572d5a1c506dc0ef59aad8743fc4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 13:32:46 2012 +0100
radioshack-dmm: Use new file naming conventions.
commit 4e172b8f8d725667d632484f340b1eec47597097
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 13:30:02 2012 +0100
radioshack-dmm: Move some stuff out of .h file.
Most of the enums and #defines are not needed in multiple files, just
put them in the respective .c file where they're used.
commit ba6383f85574e4e374a141ca88979db86fe2893d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 12:51:57 2012 +0100
radioshack-dmm: Cosmetics, coding-style, cleanups.
Also, drop some uneeded code and simplify some parts.
commit 302c4b5ab54625f3f94af3efe3ee3acf9cea8114
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 10 01:42:32 2012 +0100
serial: Deduplicate log messages a bit.
commit c073af80f89d8bce8675068d084c96e0cf37bb4f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 9 03:40:53 2012 +0100
Add initial Tondaj SL-814 protocol handling.
commit aa2af32432b3410421a89303ef48cc990ff39db9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 9 03:33:05 2012 +0100
tondaj-sl-814: Initial driver skeleton.
commit 63f7cb9791d2b5fbd32a897e94790c9a6def8462
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 01:25:10 2012 +0100
agilent-dmm: use standard serial_readline()
commit 318dd53c7093aa2ea26e0d246b23ffeb77b46707
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 01:24:23 2012 +0100
serial_readline() now terminates on and strips CR and/or LF
commit b87f8504dc82eab0155263887662ac14c252414d
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 01:23:24 2012 +0100
g_get_monotonic_time() takes a signed int64
commit 74ac7d7f735011012fb942577e38ddfe64738c8d
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 00:46:30 2012 +0100
agilent-dmm: no need to specify a serialcomm scan parameter
It's always 9600/8n1 anyway.
commit 33e8a3c5258d9ac92841cf47abd1e1f7528d640b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Nov 7 00:39:46 2012 +0100
chronovu-la8: not a bug if an unused driver gets asked to clean up
commit ff945683664a916566289f9bdbb371dfba6f3176
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 19:37:33 2012 +0100
victor-dmm: add protocol decoder
commit 642e9d623cebda60d53d13cf637c42eab8df3c73
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 19:32:53 2012 +0100
more deconstifying sr_dev_inst for dev_acquisition_stop()
commit 7a36037546aaf11b91ff5d63fbd571e15407e357
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 15:14:34 2012 +0100
victor-dmm: add basic USB driver skeleton
commit 69b07d14db24055d23bbb4c4cc718ec073ece0b7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Nov 6 15:02:37 2012 +0100
allow for intermediate stage in stopping acquisition
In the case of USB drivers, a driver's dev_acquisition_stop() cannot
simply remove its fd sources from the session and close its devices:
a USB transfer might still be underway, and it needs to be finished
(and its memory freed) properly.
An sr_dev_inst->status value is added: SR_ST_STOPPING, which should
be set when the driver's dev_acquisition_stop() is called, and acts
as a marker for the USB event handler to wind up its operations.
In order for dev_acquisition_stop() to be able to set the sdi status,
however, it needs to be unconstified.
commit ac3898d2d09f54862522967f10487a0708df810c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 20:47:06 2012 +0100
victor-dmm: Initial driver skeleton.
commit 0ab0cb942f59e2232921c10d79ed43cad6cf3153
Author: Toshiaki Yoshida <yoshida@mpc.net>
Date: Mon Nov 5 16:06:14 2012 +0900
zeroplus-logic-cube: Fix samplerate and trigger
- Default to 1MHz.
The default sample rate is the lowest frequency (100Hz),
but it takes a very long time until 128K memory is full.
- Fix the 1MHz setting.
- Use samplerate list.
- Fix 10MHz frequency.
- Fix trigger.
- Change the size of memory according to the number of samples.
- Add pre-trigger (capture ratio) setting.
- Fix the first acquisition after power on.
commit 41d9427f27f8d175fb0a0259c4e4507ca818b616
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 23:44:09 2012 +0100
uni-t-dmm: Use new USB helper functions.
commit 0c632d36be4b7b34addadf0649fea95173fe0f9a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 21:04:21 2012 +0100
genericdmm: Factor out USB functions.
Move sr_usb_connect() and sr_usb_open() to hardware/common/usb.c in a
slightly more generic form and add more error checks and logging.
Let genericdmm use the new/moved functions.
commit 538ac9a91e5efb65e3c28d5a9af16c6fcfd63872
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 20:43:49 2012 +0100
colead-slm: fix sloppy driver context handling
commit f18297a5fd88f09a9e1a1330777f6db6dfe8999a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 19:05:53 2012 +0100
HACKING: Document enum setup.
commit 24d04d1e3de61cc3f1f12c3091bf393ee2dac8de
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Nov 2 11:56:56 2012 -0500
Avoid future ABI breakage by hardcoding enum values.
Whenever we added a field to the enums in libsigrok.h, we were running
the risk of breaking ABI compatibility. Any reordering of existing values
or the addition of entries other than at the bottom of the list would
cause an ABI breakage.
By hardcoding the values we ensure that any added field will have an
unused value, and will not take a value previously used by a different
flag. By doing this, we avoid confusing frontends compiled with an
earlier API.
We use 10000 as the first entry of each enum, and each "category" gets
an explicit number (10000, 20000, 30000, and so on).
Also avoid making the first value of an enum zero. A value of zero is
used as terminator item in some lists.
Remove explicit "DUMMY" (terminator) enum entries, they're not needed.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 83e3c368c67d6bbc86015fc47a7f7e39160b3baa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:49:00 2012 +0100
serial: Output successful open and the FD.
commit 20af610683e4d7fc22deaa26e7b92730057405cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:44:52 2012 +0100
serial: Fix two segfaults.
commit c485db908ae2c8f3f85eb70c2a5f86bcc2cab975
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:35:08 2012 +0100
serial: Fix some sr_err() items.
commit 43d8eaf601416ff5f06eca4d1433cb4381821081
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:16:58 2012 +0100
genericdmm: Drop left-over entry.
commit 441b80035e0f64e4149ae9d85f2d96fee6cde5bd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 18:05:18 2012 +0100
genericdmm: Drop some dead code.
commit b19f4622b6a1d21b00bd93d99e10bb4565ed7af0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 15:58:54 2012 +0100
serial: More error-checking & logging, add baudrates.
This mostly affects the non-Windows code so far, the rest will follow.
commit d7c776b9ff604bc05ff59ca69539e2179180f5df
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Nov 2 15:57:21 2012 +0100
serial: Add missing "break"s.
This would otherwise cause bugs when e.g. asking for 2 stopbits.
commit a8d09e13264be77bcf1fe53202880ce4c26e39f9
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 15:21:43 2012 +0100
colead-slm: SL-5868P support
commit fc19c288b5ee32618a10f73fda7475b9a5a8ac6d
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 15:20:10 2012 +0100
add support for sound pressure level measurements
commit 258eeb77b88852b743e08a751455a2c1965e4db1
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Nov 2 15:19:01 2012 +0100
output/analog: add support for sound pressure level
commit bde4f4296d8d7a3653c93fc7034e6f7c019e1255
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Nov 1 23:38:10 2012 +0100
analog: if no MQ unit was set of recognized, just print the value
commit 4d729ddcaf395de1d04af93dd5ea569cfbc17de4
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 22:33:47 2012 +0100
colead-slm: Initial driver skeleton.
commit 8c1adf3738b68912ab8cf4308341b82dbc83056a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 1 15:58:09 2012 +0100
Rework FS9721 parser.
Merge parts of the tekpower-dmm code (the chip of the TekPower
TP4000ZC seems to be an FS9721_LP3 too) and rework parts of the functions.
Adapt the tekpower-dmm and uni-t-dmm code accordingly.
commit be5c1d3b52a4c774bdd182ba54225a234d55336f
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 29 23:42:10 2012 -0500
tekpower-dmm: Use generic fs9721 parser
Replace the parser with the fs9721 parser, which is just an adapted
version of this parser.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit db7d0626c918209db0ba5dc6e896232c8c2e4f6c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 20:30:25 2012 +0100
Remove 'float' output module.
This has been replaced by the 'analog' output module.
commit 886a52b6fbffb0fd06849c928cf9fd31a0d4657b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 20:20:22 2012 +0100
Return SR_ERR_MALLOC upon allocation errors.
Add some TODOs.
commit 6f22a8ef2ccf7091324b41b553632695507215a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 19:59:21 2012 +0100
Factor out serial_readline() to serial.c.
Only one (slightly different) variant remains in agilent-dmm, this will
be merged soon too, though.
commit 2980cc249494ac8335296fae7beac52fb078b22b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:56:04 2012 +0100
genericdmm/victor-dmm: Use message logging helpers.
commit dccbd0ede0013318da866ae941c64e23ad3e2027
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:52:20 2012 +0100
radioshack-dmm: Use message logging helpers.
commit 38d326e879c6e1bb7d4a11682c262ca838a7dde5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:50:15 2012 +0100
agilent-dmm: Use message logging helpers.
commit 31d84da3a22cc6fc9b2226ab3863e9235a3d5b87
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 18:48:33 2012 +0100
fluke-dmm: Use message logging helpers.
commit 6ac5f8922e63d1f584a69969190af0389a88d812
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 14:23:05 2012 +0100
uni-t-dmm: Simplify subdriver setup.
So far, it seems we can make this work with just hw_init() needing to
be subdriver-specific (it will point 'di' to the respective per-subdriver
entry), the rest of the API functions can then use a strcmp() on di->name to
learn which subdriver they belong to.
commit fdbcb86dba17eec8e1492736adf1aec45e746c00
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 30 13:11:27 2012 +0100
Draft: Make UT61D and VC-820 "first-class" drivers.
The 'uni-t-dmm' driver/directory will not appear as a "driver" to
frontends anymore, it's just an internal thing.
The frontends will see a uni-t-ut61d and voltcraft-vc820 driver now,
with the correct names and parsers etc. attached to them.
This is not fully finished yet, but it's a start (and works mostly):
$ sigrok-cli -D
The following devices were found:
UNI-T UT61D with 1 probe: P1
Voltcraft VC-820 with 1 probe: P1
$ sigrok-cli --driver voltcraft-vc820 -D
The following devices were found:
Voltcraft VC-820 with 1 probe: P1
$ sigrok-cli --driver uni-t-ut61d -D
The following devices were found:
UNI-T UT61D with 1 probe: P1
# Now attaching a UNI-T UT61D device via USB.
$ sigrok-cli --driver uni-t-ut61d --samples 3 -O analog
P1: -0.017800 V DC
P1: -0.017600 V DC
P1: -0.017700 V DC
# Now attaching a Voltcraft VC-820 device via USB instead.
$ sigrok-cli --driver voltcraft-vc820 --samples 3 -O analog
P1: -0.319200 V DC
P1: -0.319300 V DC
P1: -0.319300 V DC
commit 4ca378df8874b8e0bfd323c725c019c3968c0e1e
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 22:10:05 2012 +0100
don't use deprecated g_thread_init/_create
commit 7445ed9158294e39ec697f54944e19a4b9636a6a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 22:08:34 2012 +0100
require glib version >= 2.32
This allows us to do away with a few deprecated g_thread functions
in demo.c which throw deprecation warnings since glib 2.32.0.
commit 015f1508ad57e1ace60965952389a0b83c271178
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 29 15:20:17 2012 +0100
uni-t-dmm: Voltcraft VC-820 draft support.
This is commented out so far, will be implemented properly soon.
commit 6c701476ad76c648e9b367ac340c2dd0063e4ed0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 29 12:02:05 2012 +0100
Add protocol parser for FS9721_LP3/FS9721B.
The Fortune Semiconductor FS9721_LP3 and FS9721B/Q100 DMM chips are very
similar and the protocol looks identical.
Tested on a Voltcraft VC-820 (FS9721_LP3) with the uni-t-dmm driver
(needs some small changes, tbd).
commit a28dac0a7307f222e8e145ccc8188519206d0c4c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 11:54:20 2012 +0100
fluke-dmm: code cleanup
commit 2c04dede20e1e69420d872878e8d04792333626c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 29 11:50:34 2012 +0100
Fluke 287/289: support for dBu/dBV measurement units
commit 79081ec80c79801c439a1a3756cf5426af0739b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 22:41:50 2012 +0200
Initial support for UNI-T DMMs.
This is not yet fully finished, but works for most use-cases.
Tested with a UNI-T UT61D using the UT-D04 USB/HID cable (new version).
commit 45e080b60b2526fd9723dd822215294f973bff2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 22:21:07 2012 +0200
la8: Rename driver.[ch] to protocol.[ch].
commit f3a35908ef0d9fd56ec170d7f1bafff50c3432e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 21:27:15 2012 +0200
la8: Adapt to new driver conventions.
commit 9eb2bb960181302893e7c9032dbaba7763132174
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 21:07:39 2012 +0200
configure.ac: Cosmetics.
commit bbabddbd64d07811120230203d453c65ac53ce57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Oct 27 21:03:02 2012 +0200
tekpower-dmm: Cosmetics, coding-style, consistency fixes.
commit 7dc55d930f87433fb35ebf6f18f767eddb7e8a17
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Sat Oct 20 20:39:37 2012 -0500
Add support for the TekPower TP4000ZC DMM.
Also known as Digitek DT4000ZC.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2bba3dd3a836f4a6d497709d321557a48e6425a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 25 23:42:20 2012 +0200
HACKING: "Adding a new hardware driver" chapter.
commit d36777dbf5f61027e404076f1564d769bfc5f3ad
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Wed Oct 24 16:48:41 2012 -0500
.gitignore: (Trivial) Ignore KDevelop project files
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 6f669a68e77a8a8fe4e62d66851cd894d72538dd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 24 02:51:17 2012 +0200
configure.ac: Small consistency fixes.
commit 545f9786390a89b8bb6868907afa555fc0a6ece4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 24 00:41:21 2012 +0200
config.h usage cleanups.
- Drop config.h #include from files that don't actually use any of
its contents (at the moment).
- Add comment for those that do need it.
commit afe2f28e65f3c3d9b510f101d6cd76c59794cd17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 02:32:53 2012 +0200
Doxygen: Explain init/shutdown, add small example.
commit 1f345a21d24e52f482a06da9e434f751abdff203
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 01:21:20 2012 +0200
Doxygen: libsigrok.h: Explain #include file usage.
commit a02d77bce91771faf3581beed7af747d9f046c72
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 01:13:36 2012 +0200
Doxygen: Various fixes in libsigrok.h.
commit 393fb9cb18c5746d8567c9cf74b872804043345a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 00:30:12 2012 +0200
Doxygen: Add @file items for the relevant files.
These short descriptions are shown in the "Files" section of the
Doxygen output.
commit 777e2035d8293b4636f6bf37afd92e18ced3720e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 23:43:41 2012 +0200
Doxygen: Fix grouping of session_file.c functions.
s/@ingroup/@addtogroup/ and s/grp_device/grp_session/.
commit 6b2d8d3e5c4762cdafd847f9613d3f7b855927ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 23:24:42 2012 +0200
Doxygen: TODO cleanup, use @todo where needed.
Turn TODOs which should be user-visible into @todo so that Doxygen
shows them in the function docs, and also on the special "Todo List" page.
Those TODOs that should not be in the Doxygen docs are moved out of the
/** */ comment blocks.
Also fix some comments/items, and remove some obsolete ones.
commit 3c0839d52475605d61ce385eda95f824fc448c88
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 17:49:22 2012 +0200
Doxygen: Various improvements in libsigrok.h.
- Turn SR_OK/SR_ERR_* and SR_LOG_* into proper enums.
- Use /**< Foo. */ for Doxygen comments that are on the same line as
the (e.g.) enum entry they document. If the comment is not on the
same line (but rather directly above the enum entry) a simple
/** Foo. */ comment is sufficient.
- Use /** */ instead of /* */ in some places, so that Doxygen actually uses
the respective comments.
- Various smaller cosmetic fixes or cleanups.
commit 9c5332d2915ba374775196b7e3624857d320b60a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 16:52:56 2012 +0200
Doxygen: Fix a bunch of warnings and outdated docs.
commit f21193fa03c7fe1ff6708e22d7aeb318b5539191
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 16:36:23 2012 +0200
Doxygen: Move error handling stuff to error.c.
Also, add an overview mini-section to the main page instead.
commit 7b870c38e3040fec1165a623ae3986e4fb342218
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 16:13:36 2012 +0200
Doxygen: Initial groups and topic short descriptions.
commit b4bd70889f3009f5d836a9bf701725a6aceac039
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:07:22 2012 +0200
Doxygen: Mark non-public stuff for exclusion.
- /** @private */ can be used for functions, and /** @cond PRIVATE */ and
/** @endcond */ for variables or #defines.
- Document the above in HACKING.
commit 5b30cca719b737fed96c00e1b7a5094770d9d815
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:06:45 2012 +0200
Doxygen: Add initial main page documentation section.
commit d5f1d5382d2b2cb8999fefaf4e6e7af8067d110f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:01:45 2012 +0200
Doxyfile: Various additions/improvements.
- Show a short project description, the libsigrok version (x.y.z or
"unreleased development snapshot"), and the sigrok logo in the
Doxygen output.
- Ignore a bunch of files and directories which don't contain public
libsigrok API anyway.
- Remove the SR_API prefix from the Doxygen output (all
functions/symbols in the output are part of the public API anyway).
- Various changes of settings to get nicer and more useful output.
commit e61b4fa0d0f905ee6eb4aa7655ee8189b155dfbf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 00:30:31 2012 +0200
Doxygen: Add sigrok logo PNG for use by Doxygen.
commit c63eac737c173cfb7d4ffd939a68f8ae8801b513
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 18 22:51:16 2012 +0200
Doxyfile: Update to what doxygen 1.8.1.2 generates.
The new version has a number of neat improvements/features we could use.
commit 296821683df6ed064f036205c968e80549429456
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 11:54:40 2012 +0200
Makefile.am: Add missing backslash.
commit 8e2d43cc97438e092e1df3ad344c64032b56564e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Oct 22 10:17:38 2012 +0200
backend.c: Revert accidentally committed test code.
commit 589a10135a5b811e16bdbc73b276d13884c27fa4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Oct 21 01:34:34 2012 +0200
clean up autoconf/autobuild scripts
commit d11d606626a2ce9359ed2b5395fe4b998604da92
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 22:41:39 2012 +0200
We now require libusb >= 1.0.9.
This is due to the use of libusb_error_name().
commit c46762a285d7c844a771f5c1f0ad2447a00906b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 21 22:40:43 2012 +0200
sr_init/sr_exit: Improve docs, add error checks.
commit 785b9ff290cbdb86e7d0b0280c33b43faf9c0518
Author: Peter Stuge <peter@stuge.se>
Date: Sun Oct 21 20:23:36 2012 +0200
Add and init libusb_context * in struct sr_context when using libusb-1.0
This allows hardware drivers to use a common libusb_context.
commit b8072700c1bc7d13ba004fd897668b56cec4ac62
Author: Peter Stuge <peter@stuge.se>
Date: Sun Oct 21 20:23:14 2012 +0200
Add a struct sr_context * parameter to sr_init() and sr_exit()
commit 026c822d8c6d39a2b0e976b02c16bb991431700b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Oct 19 10:35:11 2012 +0200
Move 'struct drv_context' to sigrok-internal.h.
It's not meant to be visible to frontends.
commit 7c41dc477402c09141c5d478dff493f8efb81264
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Oct 19 20:40:50 2012 -0500
radioshack-dmm: Implement support for "LOGIC" mode
LOGIC mode sends the following data:
V < 0 : actual voltage
0 <= V < 1 : LOW
1 <= V < 2 : actual voltage
2 <= V : HIGH
We follow the same idea, and set our unit to BOOLEAN for the crazy
case (HIGH or LOW).
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit dfd8f56ef4a0ee1c353db5078d6d7d8b901ec21b
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Oct 19 20:31:19 2012 -0500
libsigrok: (Trivial) fix packet type in datafeed_dump
datafeed_dump would print SR_DF_META_LOGIC when a SR_DF_META_ANALOG
was recieved. Fix that.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 0f7083019449c1d88a5916bae766f3e51f7f8373
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Fri Oct 19 17:50:20 2012 -0500
libsigrok: (Trivial) Add support for 2400 baud
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 777bbd5b98873ec20c58613e4dbb48a1836174bd
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Oct 18 22:43:03 2012 +0200
add SR_HWOPT_* documentation
commit fe31f8b9f9b743bf47794842b70e56e3b2dda883
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 23:32:39 2012 +0200
fluke-dmm: add support for Fluke 187
commit 796a79eb75e35fe47becfbf62a840464efbbe96a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 23:31:18 2012 +0200
analog: add pretty-printer for dBu and dBV
commit 6b8692346358362f4b7b004059c62c23f4889410
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 23:28:04 2012 +0200
add SR_UNIT_DECIBEL_VOLT (dBu)
commit d713e561814558d9f07c4186aef35a23df8b8445
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Oct 16 14:03:40 2012 +0200
analog: sane printing of very small and negative values
commit 8ed262509f6f5e5a3b9a45ae6d116b1c36c750d7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 14:48:39 2012 +0200
HACKING: Cosmetics.
commit 6aff0d16df34c60dada92486db0554ad32e08422
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 12:08:01 2012 +0200
Build fix for Windows/MinGW.
On Window/MinGW 'recv' seems to be already defined in some headers.
Use 'receive' instead, for now.
commit a2353f6051004634f67505987749d56edbfdfb41
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Oct 16 11:24:03 2012 +0200
Re-add HACKING file after repo split.
commit be8dbf3ab24348fe5cc619eca6a63464e72e6aa2
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Tue Oct 16 01:23:50 2012 -0500
radioshack-dmm: (Trivial) Convenience fixes
While testing the new radioshack-dmm driver with pulseview, I found
a few inconvenients.
1. Print an info message when a port is probed, and when a device is
found. This makes it easy to tell if and where the driver is looking.
2. num_samples was not reset after the first aquisition, so the
second aquisition would quit right away. Reset num_samples at start
of a new aquisition.
3. There's no need to open the serial port RW, so change O_RDWR to
O_RDONLY when opening the port.
These changes are too trivial to split into different patches.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 7b0a85c81c6bce43ced9bf59d99b3584fd1498d8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 15 18:25:48 2012 +0200
radioshack-dmm: build fixes
commit d375b3c3ec01c246dbf6f0827c33aafc0953431b
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:17:32 2012 -0500
radioshack-dmm: Add support for Radioshack 22-812 DMM
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit b82a17d370a74dc7d4788f343f0ef050490e057f
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:14:04 2012 -0500
libsigrok.h: Add measured quantity and units used by Radioshack 22-812
The Radioshack 22-812 can measure parameters such as transistor gain,
dbm, etc. Add those to libsigrok.h.
The SR_UNIT_UNITLESS is for quantities that do not have units. Any
ratio or gain are just factors, whic do not have units. Specifically,
a transistor's gain, or hFE, is a unitless quantity.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit e8e9dcdd705c64a8ac1c04bc04d91e1a371e76c8
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:12:53 2012 -0500
serial: (Trivial) add support for 4800 baud
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 5fef6b9d6cd17f89a05f8e7a02a8c523e6a2632d
Author: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Date: Mon Oct 15 01:11:39 2012 -0500
.qitignore: Ignore KDE backup files
*.kate-swp files can become annoying, so ignore them.
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
commit 2b98e0aaab7e83c30fb1f690318584aa0f85b50a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 15 11:32:36 2012 +0200
analog: support AC+DC unit modifier
commit 17ff11240ee1ed8afd504b84a99990969a75544b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 8 23:56:06 2012 +0200
don't accept numbers as probe identifiers in trigger string
Only the probe name, as supplied by the device driver, is accepted.
commit 33df15f14440397bb8358fbf0939588c1b410e0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Oct 11 23:46:30 2012 +0200
Quick workaround for g_match_info_unref().
commit 4a1c927fd6c47831b984d9d7f4757408cf6fb800
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Oct 10 23:08:32 2012 +0200
README: Add status, update URL, small fixes.
commit a5b2293fa84c076236fd3a6c7202ad4996ba16fd
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 8 18:52:36 2012 +0200
updated URLs and description
commit c750b9b1944723532b2924fd305573c26927d2fb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Oct 8 15:53:00 2012 +0200
restore pre-split ignores
commit a2e222d24fdca68fbf34031baa889ca3ebf23e1a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Sep 27 23:29:33 2012 +0200
sr: struct drv_context is global now.
commit d38d2ef0ce0e4ec49369e6cbfac616d9b1065c38
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 25 19:38:59 2012 +0200
fluke-dmm: support for all basic 287 functionality
commit 96b3b3d56834f7c07a4760cfa3444b516c819de3
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 25 19:34:53 2012 +0200
sr: add support for conductance measurements in Siemens
commit aa839a5c4fb3d994c7254da403eef8beab2880ba
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 25 18:33:42 2012 +0200
sr: add support for pulse width measurements
commit f46a36ad801bc96754183e8aa1cc2a8c0583ae33
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 23 00:03:24 2012 +0200
fluke-dmm: definitely use CR as line terminator
commit acd29accb3a458ab6a494e3f6c42dacc56a4c7a8
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 22 23:52:23 2012 +0200
fluke-dmm: add Fluke 287 to supported list
commit fb9d3bf9cc0cafbd3caedcd54831219a533ef7fb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 22 23:50:51 2012 +0200
sr: always turn off ICRNL on serial ports
It does rather screw with protocols that use CR.
commit d3f8f1415c5c707edc1c78377f30875604e9b8c1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 17 16:31:15 2012 +0200
fluke-dmm: flesh out the driver API
commit 4129832014ddb8330bd3f4a91e7c69ce6eb6b0cc
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 17 15:40:41 2012 +0200
fluke-dmm: auto-discover serial bitrate if not provided
commit bc41e012e6eda6277cbbeb5933c82c3d74a5ce69
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 21:27:06 2012 +0200
fluke-dmm: don't log anything if no conn params given
commit fb480d578e423cd0f5702d1251e3cdccb990c9fb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 21:07:17 2012 +0200
fluke-dmm: fix discovery
commit 5c51e09868ea24c0eb77908aa3a9d585a46a3158
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 14:07:21 2012 +0200
sr: turn off canonical mode and echo ion serial ports by default
commit e7edd64f4573b786a8a1ab00e837d9e56cc69480
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 15 18:28:43 2012 +0200
fluke-dmm: build fixes
commit 4f958423d17c4c264ae02884888615df28c60f3d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 20:11:13 2012 +0200
fluke-dmm: basic scan functionality
commit 883a2e9e71d4d0f84d9f8df6a6a5e754052bad8a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 22:31:29 2012 +0200
fluke-dmm: initial driver skeleton
commit c2016fa0eb1d0eb1b9ebf8af4556f6d606614f61
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 16 23:43:47 2012 +0200
agilent-dmm: don't log anything if no conn params given
commit e9022f596d9a6d35919445f3aa6394061b3e6681
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 21:27:26 2012 +0200
sr: make struct drv_context global
commit f5cfe894eca22fc40dac721566a727cae8d8454c
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 21:20:50 2012 +0200
fx2lafw: use default libusb context
commit 19b0cce3125f08f961886fb312219c7c6f496ffc
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Sep 11 21:16:16 2012 +0200
hantek-dso: use default libusb context
commit 7c1cb432b8afc14f63d984aaebd0239c74376c74
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 22:14:37 2012 +0200
sr: enable genericdmm and agilent-dmm drivers by default
commit b186aa78b8302942c8853c9aed40e3e5eaba8e34
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 21:27:50 2012 +0200
agilent-dmm: fix model identifiers
commit 8c0152f29b7892bb3f131e92c55ecd60a29ece5a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 01:00:48 2012 +0200
agilent-dmm: tentative support for all U123x and U125x models
Only tested on U1233A, but it just might work.
The U125x protocol decoding only supports voltage, current, resistance,
capacitance and diode measurements for now.
commit a4394fb3d9362cc686d6f8a05d2bc0b219903069
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Sep 10 00:13:26 2012 +0200
agilent-dmm: code cleanup
This should make it easier to support other Agilent U12xx models
commit e066c32a252f4e5cd881a270adb98b004e688427
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 9 22:49:07 2012 +0200
agilent-dmm: fix AC/DC mode detection
commit f2e86bbfa64f328feb063ea2b79110a0ec1716e1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 9 22:48:22 2012 +0200
agilent-dmm: make parser deal with input better
commit 81599cc55b8f22fe4ef78e7bd4bdb6958d458c64
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 14:53:49 2012 +0200
agilent-dmm: remove IDN check at 1Hz, we just don't need it.
Some debug message cleanup.
commit 161a8a272699a7b818ddab01043838f07d7cf6eb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 13:24:48 2012 +0200
sr: add new analog output module
This outputs text representation of SR_DF_ANALOG packets. Unlike the
float module however, it also outputs the standard abbreviations of
SI units corresponding to the packet's MQ and unit.
It also makes an effort to multiply or divide the floating point value
as needed to the nearest multiple or fraction, and inserts the
appropriate SI prefix to match.
commit e6b021f3775295bb3cbf7fa523281bfd64eaa39a
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 03:06:45 2012 +0200
agilent-dmm: support for submodes
commit f45b75901436310684b5fbb567269bc44d08c2d4
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 02:31:08 2012 +0200
sr: add recv/cleanup calls to output module API
The new output module callbacks will be init, recv and cleanup. The
existing data and event callbacks still work, but will be phased out
as existing modules get converted.
The recv() callback gets a copy of every packet on the session bus,
and thus has visibility of all metadata, allowing it to properly
output any acquired data.
commit 69a74024902eecd3fc9ebd4f64fdef6ae460d0d7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Sep 8 02:28:41 2012 +0200
genericdmm/victor-70c: fix resistance and frequency measurements
commit 4cc9aea15b2d76930f565e810e0520918e2cc7bd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Jul 7 09:32:00 2012 +0100
sr: Refactored sr_samplerate_string into a more general function: sr_si_string_u64
commit b863fb1b9d486867ab1fc5e0f62fb42321080b5a
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Sep 2 19:02:42 2012 +0200
sr: session_driver: Remove source on completion
Remove the session source once we are done loading the file, otherwise we'll
spin forever in sr_session_run.
Reported-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 40578aa487f6624db787289e4f254af14deee102
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:41:19 2012 +0200
sr: output up to 12 significant digits for floats
commit c0d93341cb6f409f53f5d9d47058e1efb1cd2d8b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:39:56 2012 +0200
generic-dmm: cosmetics
commit f6b8ffa6c0eb94fa59c0e09f3c4d8bed071167d0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:13:00 2012 +0200
genericdmm/victor-70c: warn if detaching kernel driver fails
commit e93cdf428c6383b9868d08bdae07ff775bedd0c0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:11:52 2012 +0200
sr: mostly finished Agilent DMM driver
commit 792fc686581a9412364d06be2e05dfe4d4014ed1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:02:24 2012 +0200
serial: add serial_set_paramstr()
commit f38b9763fa5ba8f4b481718b245e1258a307d2a6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:01:23 2012 +0200
serial: fix flow control setting
commit 6a6e23abf5e28471f368b225c96c1b0cb8797191
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 15:00:02 2012 +0200
serial: set speed in both directions
commit 6ac0db19f36ada4cfccf19bbd48ebdb4665bc9ff
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Sep 2 11:58:29 2012 +0200
sr: add new agilent-dmm driver (Agilent U12xxA multimeters)
commit b84c13d700eff9eceb12463b0ed17f5b984b2582
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 16:22:36 2012 +0200
genericdmm: Victor 70C multimeter support
commit 3c6ce226dec2ee70c044d844ffbb3845f07baf7e
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 16:21:21 2012 +0200
genericdmm: finish basic USB support
commit 606a07b670270b4bcf0bfa4ffcf67dfd1cfedad3
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:34:29 2012 +0200
sr: corrected VID for Victor 70C
commit 02e864d0bf866b045abf04a696ad555959f1b171
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:33:51 2012 +0200
sr: added mqflags field to sr_datafeed_analog
commit edb000eb2f78aff4ea805ffc25a07792bedcea90
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:26:43 2012 +0200
sr: add fahrenheit and boolean MQ units
commit 64591be2f25055d4c9f55689f641334a54613746
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 18 14:25:21 2012 +0200
sr: add continuity MQ
commit 811deee4af9f600ae0c457a74d3877c4f68f2f37
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Aug 6 00:59:25 2012 +0200
sr/drivers: add API calls sr_dev_inst_list() and sr_dev_inst_clear()
These are used to list the device instances currently known to the driver,
and clear that list.
Drivers that don't necessarily clear their list of instances on every scan,
such as genericdmm, need to provide these to the frontend to keep instance
management sane.
commit 014359e3293ef0cdc61fbde4f63dc0a9da98179d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 5 18:56:12 2012 +0200
sr/drivers: obsolete SR_HWCAP_PROBECONFIG
Since probes now live in a struct sr_dev_inst owned by the driver, it
already knows about them. Instead of a frontend telling the driver to
configure probes, all driver now do this just before starting acquisition.
commit a56f1480949e84e94dad2afcdf9f758988a4aff9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 5 15:53:04 2012 +0200
sr: new API call sr_dev_config_set()
This is a wrapper around the driver dev_config_set() call, to avoid
frontends needing visibility into drivers.
commit 15cb43d67cee5d7381c9cbcf0a355329a5cabfd1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Aug 5 03:18:07 2012 +0200
sr: replace published static option data with API calls
To find a driver or device option by name, the sr_drvopt_name_get() and
sr_devopt_name_get() calls are now available. This was the only reason the
driver and device struct sr_hwcap_option arrays were published.
commit 3cf91809a5aca7462f0fc9c3ca6fb9a7ebdf92d2
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 4 14:35:40 2012 +0200
sr: rename sr_hw_hwcap_get() to sr_devopt_get()
commit fabe59b326c8ed17582f54d5525b278b6712085b
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 4 12:21:02 2012 +0200
sr: drivers using sr_usb_dev_inst_new() must free it properly as well
sr_usb_dev_inst_free() doesn't really do anything, but it might one
day.
commit d3cff734e550430027f195317650a6c0e7c81fa3
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Aug 4 12:03:05 2012 +0200
sr: properly free probes when freeing their device instance
commit 228b2cccaf2773efa81891273e2cf32ce6f14b2f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 14:19:00 2012 +0200
asix-sigma: fix double free
commit 8012ae1e3b40a88bbe20deaded7d66942a82380e
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 14:18:02 2012 +0200
chronovu-la8: fix double free
commit afc88319384053b3f2ca4b17706c10ded9c7174b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 13:50:31 2012 +0200
chronovu-la8: code cleanup
commit 7021f98596fdd0ca744e9ffa2ab73979f65125a3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 10:17:31 2012 +0200
chronovu-la8: remove session source when done
commit 503c4afbb43da85723d1a40bf985b88f7a4bc3c7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 10:12:54 2012 +0200
asix-sigma: remove session source when done
commit 7fd3e8596192316cacd0d22d52f287df2c12d437
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 10:09:02 2012 +0200
demo: remove sources from session when done
commit a3508e33f9e4e54331d086b37272e7c55faf11d8
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:05:40 2012 +0200
hantek-dso: remove sources from session when done
commit 26bf9d56c079889cd493376b341ab75acee795f7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:05:01 2012 +0200
ols: remove serial source from session when done
commit 2cbeb2b7fb5791dd765ab6eee180ee053cc20b1c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:04:05 2012 +0200
sr: drivers should remove their sources from the session when done
commit 310e9e9be4e4421f0171d47dfdb5fc299d6f749c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 01:01:38 2012 +0200
zeroplus: use driver-private storage for instances
commit fefc4b858e8db2b1c569dd302af1b30c1a4bce4f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Aug 3 00:09:33 2012 +0200
ols: use driver-private storage for instances
commit 301a5e4c4ade2f640eeb532195e6e84dee81783c
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 23:54:11 2012 +0200
genericdmm: use driver-private storage for instances
commit b4750a3a938ff5be295095b05e27c0f7a7cd2bbe
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 23:53:31 2012 +0200
demo: use driver-private storage for instances
commit b9636cf4dcd07fa215bcfdb265913baa848227ab
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 23:51:47 2012 +0200
fx2lafw: minor cleanup
commit cf1ebd544652274923e808c93f7e88292acc2f11
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:54:21 2012 +0200
chronovu-la8: don't try to clean up unless we've initialized
commit b32503cccdf88769619dc9a2ca3566d06040c1b4
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:42:37 2012 +0200
asix-sigma: properly init driver-private storage
commit 1644fb2473e0c2f0dd81464f885c9212f413657e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:35:25 2012 +0200
chronovu-la8: use driver-private storage for instances
commit 0e1357e8960734e4b599979511c7f9a51fb611a8
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 2 21:20:41 2012 +0200
asix-sigma: use driver-private storage for instances
commit dc9dbe949a2c195ec0c5afff34bec3cc03a5613b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Aug 1 00:42:19 2012 +0200
fx2lafw: use driver-private storage for instances and libusb_context
commit 269971ddce18664a2ad06b7e2f56dcad70d155bb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 30 00:24:26 2012 +0200
hantek-dso: use driver-private storage for instances and libusb_context
commit c259726a161411a7fe955dd139fce374635ddf7c
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 30 00:22:26 2012 +0200
sr: driver struct gets a more generic *priv instead of GSList *instances
It's up to the driver to keep its GSList of struct sr_dev_inst * in there.
Anything else the driver wants to keep driver-global should also go in
there, such as libusb_context.
commit ef2345bc29fc8b3bc31e5d89e028be31c7b39428
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 15:21:08 2012 +0200
sr: build: hantek-dso driver requires libusb as well
commit e8d3d6c84378481b5c0b53236e2fb09288e211b1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 03:01:57 2012 +0200
sr: properly initialize and check on device instance driver field
commit aee878fa2efb8483bf93fa3bb03508357fc713a8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 03:01:02 2012 +0200
sr: fix initialization for output from driverless devices
commit 6f57fd96949e4290933ac175c6c82d56965f7665
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jul 25 00:33:38 2012 +0200
sr: remove obsolete SR_DI_INST
commit 48a486cd3ed51cfefce271224541502f4388c225
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jul 25 00:20:06 2012 +0200
sr: code organization cleanup
Device-specific functions (public and private) go in device.c,
more general driver-related code in hwdriver.c
commit 87ca93c5043899e3c30edb7e09fadef3ee67d810
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 19:10:09 2012 +0200
sr/drivers: add proper probe list to instances of all drivers
commit b35c829306b86dbeeeecf14de7fe30a05a88c914
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 17:13:25 2012 +0200
sr/drivers: fix off-by-one if frontend-initiated probe configuration
commit d6a8df467de03fe211dea7a0c91f63ceb22c5480
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 15:42:51 2012 +0200
sr: remove obsolete sr_dev_inst_get() call
commit 47a98b6e2c241f225f78044f0237dc77d235ce6b
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 13:06:15 2012 +0200
sr: remove obsolete driver API call dev_info_get()
commit a2e464604ca19c1a41b8e94625971eb3818c9090
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 15:09:19 2012 +0200
sr: cosmetic changes
commit c1864d5589749a881d661ab3abfd09cdbb96253d
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 15:08:44 2012 +0200
sr: better file version check
Still not really used though.
commit 056be0719f0c1a05cde6fc2483b50e024708fdac
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 15:06:49 2012 +0200
sr: sr_session_save() now takes sdi and datastore parameters
This means it's restricted to saving one device's capture per file, for
now.
commit fb381e4d713fcd3fdec99b4deff3a75e809df825
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 14:55:43 2012 +0200
sr: fix session loading for 0-numbered probes
They're still numbered starting from 1 in the current version (1)
of the sigrok file format, we just work around that for now.
commit 31fc1fbce399ac89d07093886301b9b4971f56f9
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 02:58:56 2012 +0200
sr: fix sr_parse_triggerstring() to use probe numbers starting from 0
commit 1907d2c928e328209f6d8832f73e369d28db5ab1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 23 02:57:17 2012 +0200
sr: fix sr_filter_probes() to use probe numbers starting from 0
The probelist parameter is now terminated with -1, since 0 is a valid
probe number.
commit a5f2e70712827c48a095204ef48c7cf1a0193ed0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 20:06:13 2012 +0200
sr: comments/docs
commit 37e8b4c4f7eaa6132a25448bccc690ac764f9a63
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 20:05:36 2012 +0200
sr: change sr_dev_probe_name_set() to use sdi
commit a10ddf9ba04429d6762171a3bbbac12a7717ef59
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 19:44:20 2012 +0200
sr: remove dead/obsolete code
commit 2ac2e629fc2ba2e89351d3ce337e0de9e034c540
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:32:35 2012 +0200
sr: cosmetic changes
commit de4d3f99d9e76c5a51916d3bcfef89423055d43f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:31:56 2012 +0200
sr: change session API/code to use sdi
commit c06b0d13b5b6bc7b059f397111f4ff661d1bbcbc
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:19:53 2012 +0200
sr: remove obsolete dev_status_get() API call from session driver
commit c7ee3ddb948b2ff36acbbe79ecc812b477ff5708
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:15:26 2012 +0200
sr: cosmetic changes
commit ff14f01b208faf9b26212c907d162de72d1ab538
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 15:05:47 2012 +0200
sr: change sr_datafeed_callback_t to use sdi
commit a5b35a167a32ffbaee1ce9c0de8501f781f733d1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 14:33:28 2012 +0200
sr: convert sr_dev_has_hwcap() to use sdi
commit 92ae7984834778dc7da128159d8e90024318909d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 14:28:40 2012 +0200
sr: convert sr_parse_triggerstring() to use sdi
commit 9e90dcba9ce9d8f4a56b0225f146a1f1f055d213
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:37:59 2012 +0200
sr/drivers: remove driver API call dev_status_get()
It's obsolete: no frontend ever used it, and neither did libsigrok.
The sdi->status field is only used internally by some drivers, and
should probably be moved to the driver-specific context structs.
commit 5d9ed643e9dddbdb43e8917cff197346bdc930e7
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:35:57 2012 +0200
ols: change driver dev_acquisition_start/_stop calls to use sdi
...yeah, forgot OLS.
commit be5bf44d281cc0a85992666803afdd7dafcefaf9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:23:59 2012 +0200
sr: add sr_dev_probe_enable(), abstraction wrapper around device probes
commit 4d684427397079d4627cce3fd624cd7c05b2d4b1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 12:18:34 2012 +0200
sr: convert session load/save code to use sr_dev_inst
commit c4a1de59f80efead2ebdd8109110ff8632c1838e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 11:49:00 2012 +0200
genericdmm: cosmetic change
commit 3f848bb7a9c248447ddd3af6964089cd713b9c5a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 02:09:58 2012 +0200
zeroplus: comment out 32-probe models for now
commit 428edbe13de32b4349af56c9fb3569d63a54e4c8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 22 02:08:59 2012 +0200
zeroplus-logic-cube: fix scan to correctly find model
commit 3ffb6964a1585b5f6ffa0747c089a1cd557e4feb
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 21 22:41:58 2012 +0200
sr/drivers: change driver dev_acquisition_start/_stop calls to use sdi
commit 25a0f108f4512ade836fed128c3ad649dedcb788
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 21 22:04:47 2012 +0200
sr/drivers: change driver dev_open/dev_close calls to use sdi
commit 58453e5876ffae9153e9f4ddc2ad8dc244c7f26d
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 21 19:11:49 2012 +0200
sr: change sr_dev_trigger_set() to use sdi
commit 5c3c1241d2e2b5d456865e876490492d76174257
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 20 21:37:36 2012 +0200
sr: change input/output modules to use struct sr_dev_inst *
commit 6f4b1868e8ec8c132878d8b6d558f4af054cbd91
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jul 16 03:52:14 2012 +0200
sr/drivers: use sr_dev_inst instead of device index for dev_config_set()
All driver API calls using device index as a parameter will instead use a
const struct sr_dev_inst.
commit 9c4311c524cd2eea8ce2c80b1029c936769107db
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 19:24:10 2012 +0200
chronovu-la8: adjust to multi-vid/pid patch
commit 387014de6355545d95958ec2666836318c2b3902
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:33:38 2012 +0200
sr: use new info_get API call in session driver
commit 444adea232d24951b056fd4d7e061608dfabef7f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:33:10 2012 +0200
zeroplus-logic-cube: don't use deprecated hwcap_get_all() driver API call
commit 2ca4465b3d66d3b763e664c419b542a3d1c1baad
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:32:53 2012 +0200
ols: don't use deprecated hwcap_get_all() driver API call
commit 2ce9f04629e93c4d202608dec6fa72d52aa44c6c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:32:37 2012 +0200
hantek-dso: don't use deprecated hwcap_get_all() driver API call
commit cbd798f4002c1abccaa20ebe874c0aa45060bb0e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:32:21 2012 +0200
fx2lafw: don't use deprecated hwcap_get_all() driver API call
commit 46c7a4daa772df5853e62f384b123bf1f3d96753
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:31:58 2012 +0200
demo: don't use deprecated hwcap_get_all() driver API call
commit 7566601c21fd748827065ca120b88a6a141c922e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:31:37 2012 +0200
chronovu-la8: don't use deprecated hwcap_get_all() driver API call
commit b2b5445c304ee2a6fe352e9b33f1e695a6760da5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:31:22 2012 +0200
asix-sigma: don't use deprecated hwcap_get_all() driver API call
commit 2efc5948b6c2c436e339e333994ec7cc96db62be
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:08:49 2012 +0200
ols: scan fix
commit b0c8d7ac7f698f75aeb1c4b201c90360bae009e8
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:08:21 2012 +0200
hantek-dso: scan/info_get fixes
commit 7dfcf010a0331359529f52f7a09d6d324d96284f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:07:51 2012 +0200
demo: scan/info_get fixes
commit cfe8a84dd7b5a22e6a225d6b078bde6d0ad8fde4
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:07:34 2012 +0200
chronovu-la8: scan/info_get fixes
commit d7bbecfdb9bcec55a0eb067853df85d8fd326f84
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 04:06:57 2012 +0200
asix-sigma: scan/info_get fixes
commit 626409abfb93a09ba74a0714de75fcde9381bea9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:53:09 2012 +0200
zeroplus-logic-cube: use new driver info_get() API call
commit dddfb3dbf058a5a8f789cc4988ac3c6da836e267
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:57 2012 +0200
ols: use new driver info_get() API call
commit 0b79bcbb9d2e52fdd722088e0c525d14579cec6b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:45 2012 +0200
hantek-dso: use new driver info_get() API call
commit dfb0fa1a669fb2a78fdee88d9896efc1998d7cee
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:37 2012 +0200
demo: use new driver info_get() API call
commit 6a2761fd9921830f3724f3d153eee4ad98dbc6b1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:22 2012 +0200
chronovu-la8: use new driver info_get() API call
commit 4147960558ae0d8964e8344faa3515a8ec4d9efb
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 15 03:52:04 2012 +0200
asix-sigma: use new driver info_get() API call
commit eec944c5b8e4885e61faf3ab318be6007f221fd9
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 16:14:01 2012 +0200
asix-sigma: don't attempt to free static struct
Added more debugging as well.
commit 067d07166b8637a4146058b4fb4da2d628b34c37
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 15:49:30 2012 +0200
demo: use new scan API
commit 7da6f9d54a6acb699116848141d6ae1650a8dc98
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 13:00:47 2012 +0200
zeroplus-logic-cube: init and scan fixes
libusb context needs to be initialized only once, not ever scan.
Every scan invalidates the last one, so clean up any previous run's
results first.
commit 4ca38984459adfeaf6a94c2163be855fe41aec59
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:45:07 2012 +0200
zeroplus-logic-cube: use new scan API
commit 39cfdd75f9f2ee050968cbe0efdf208fa8d8d9e0
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:28:45 2012 +0200
hantek-dso: use new scan API
commit 0448d11097b057606f7f643b0f0537706d95afa7
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:28:15 2012 +0200
asix-sigma: use new scan API + fixes
Now freeing FTDI context and driver-private context.
commit c4f3ed4bb075eb3b2015b0cacbf4a8cf4e29d7a4
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jul 14 12:27:02 2012 +0200
chronovu-la8: use new scan API + fixes
Now freeing FTDI context and driver-private context.
commit f8c617cf4c6b649d3456f1ca7082f6cfb6dac76d
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 22:18:01 2012 +0200
hantek-dso: instance list fix
commit 10e5cbede89976eeed3237d985da065238962dfe
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 22:16:37 2012 +0200
ols: use new scan API
commit ed300b9f6a1d87eb35465ac998e1fc20690852a7
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 14:18:27 2012 +0200
asix-sigma: use driver struct-based device instance list
commit 765ef2f725a11aa9598bfc621136f93666a1bc86
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 14:15:54 2012 +0200
chronovu-la8: use driver struct-based device instance list
commit dcf03d6dbdba67eb92ee887de1bc72816a3cd01b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:47:27 2012 +0200
demo: use driver struct-based device instance list
commit 327565470858432ba926643b0a4c4bb6f33e53e0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:43:41 2012 +0200
zeroplus-logic-cube: use driver struct-based device instance list
commit 982947f7a221c4dbd2ea2fe9ecb4405ea8c2156a
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:37:35 2012 +0200
hantek-dso: use driver struct-based device instance list
commit e5e81856b4821932481ff4f349b7557e84038a04
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 13:26:30 2012 +0200
ols: use driver struct-based device instance list
commit d6db79a48cf813af1afa8e6243863cd62d1110d8
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:37:17 2012 +0200
genericdmm: device scan fixes
commit f1a14ea7ab390e3d873631eaf0f0f915031b8e6f
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:34:58 2012 +0200
genericdmm: don't use deprecated hwcap_get_all() driver API call
commit 6910bf6bf61320f4ab55c670187d404656183a1b
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:34:10 2012 +0200
genericdmm: use new driver info_get() API call
commit a27999e65768dcf38366e1844b97b3b8ea243dd2
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:31:16 2012 +0200
fx2lafw: don't use deprecated hwcap_get_all() driver API call
commit c5e82ca5e3ba7cd154c0e8afc19859564fc36dab
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:30:42 2012 +0200
fx2lafw: device scan fixes
commit f69b47f0f88aba6738635ae0ab3c37ccc235a0f9
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:30:09 2012 +0200
fx2lafw: a device scan always invalidates any previous scans
commit 6e9339aae20afeef872eeb806c4bcc043e210dd0
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:28:07 2012 +0200
fx2lafw: use new driver info_get() API call
commit be34a1c74688351fdeb7482fda28f49aa762a831
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jul 13 02:08:27 2012 +0200
sr: deprecate driver API call hwcap_get_all()
This is now handled with a call to info_get(SR_DI_HWCAPS). This brings
it in line with the new driver opts: info_get(SR_DI_HWOPTS).
commit df12380181f0af94fca382cd2ae6425bb1b51f73
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 22:41:57 2012 +0200
sr: new sr_info_get() API call, wrapper for driver info_get()
This will replace sr_dev_info_get(), the wrapper for driver dev_info_get()
commit f92f4eab23165aefa271d87cc0e60cbb8e24d154
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 21:34:30 2012 +0200
sr: add new driver API call info_get()
This will replace dev_info_get(), and will be used to fetch both
driver and device instance-specific information. The sr_dev_inst
argument is NULL in case of a driver info fetch. In line with the
libsigrok wrapper, this function returns an error code, using the
supplied void ** to return the requested data.
commit 9e41fdba4080de96fde23f00415056f51d79b469
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 21:00:18 2012 +0200
sr: add driver field to sr_dev_inst, to bring it on a par with sr_dev.
commit 8bfdc8c4a5fc4bee4b59838bd57c6762ea0cb206
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 12 20:54:45 2012 +0200
sr: split driver options into separate list
commit 3a0fe4023d1dd02051c126fffead6de631840974
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 23:49:04 2012 +0200
genericdmm: use new scan API
commit bbb40871c88bbb622a275785d4aaf1e5e5a927f9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 23:48:04 2012 +0200
genericdmm: more flexible device discovery
commit 75337758d8e88e01d9ac46669cd8a76d0b8b0ca5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 23:33:48 2012 +0200
genericdmm: use driver struct-based device instance list
commit a8cc8e44b942031746c18aa95bf02cc66043269c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 19:07:38 2012 +0200
fx2lafw: use driver struct-based device instance list
commit 06717a8a605d03eb87e768119758ba8e9e47cb0b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 19:06:23 2012 +0200
fx2lafw: use new instance-based probe list
commit 3a7a22cb07937fcecef8b17b25e9638245f7f8c1
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 19:03:36 2012 +0200
fx2lafw: use new init/scan API
commit dd34b8d3c4da18f8cf339c5bb8f0d6268f3d13f6
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 16:40:54 2012 +0200
sr: add GSList of instances to the driver struct
This gives the driver a private place to keep its instances, without
polluting the global namespace.
commit 47211d65b4fdaca58694a51cdbf1ba8ee4270ee9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 16:37:39 2012 +0200
sr: add probe list to device instance
There is no point in libsigrok copying probe lists around. The driver now
builds a list of probes according to the model device it found, and will
make that available to a frontend. The frontend thus has a reference of
what the driver has, including default names, and doesn't need libsigrok
to provide an unnecessary level of abstraction.
The sr_probe_new() library-private function is a helper for drivers.
commit 80bf04263528998feb17cedc5b7aa9668dbc8d4d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 16:25:23 2012 +0200
sr: split driver init into init() and scan()
init() now only does whatever administrative stuff it needs (typically not
much), and returns an error code.
scan() can be called multiple times during the life of an application, and
returns a GSList of struct sr_dev_inst * of devices found during that scan.
The instances are a copy of the ones stored in the driver's own instance
list, to be freed by the caller with g_slist_free() only.
The scan() call can be passed a GSList of struct sr_hwopt *, to direct the
scanning.
commit b159add3d9e3804f7806e82b01374fa099610668
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 14:56:54 2012 +0200
sr: move SR_HWOPT into its own enum, and create struct sr_hwopt
SR_HWOPT_* entries are driver options, not device instance parameters, so
they will never be mixed together.
Also, driver options are always passed in a GSList, where the data field
is a struct sr_hwopt.
commit 633b2fac75c59c550cb1245cb75caa3ceef57b3d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:17:56 2012 +0200
genericdmm: better subdriver API arguments
commit 1ef445b3d696c91b6734eaafbfb5478d6506d5ee
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:15:51 2012 +0200
genericdmm/fs9922: no initialization needed
commit 7fc754a0db73b473fb5c70f59165b43dc682bf1a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:09:55 2012 +0200
genericdmm: allow for default options in DMM profiles
Much better than the special-cased USB vid.pid
commit 7356a55db8e1f0aa27abb8f3cd05bca848c4c2a0
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 04:01:04 2012 +0200
genericdmm: use vid.pid as USB conn spec
: is just too hard for the CLI
commit db1352007db0d7a263a6a4c2837e65fd6de4dc8f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 8 03:59:58 2012 +0200
genericdmm: fix header guard
commit 61136ea6035778f2894a1e32b78f94a0640a5a91
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 5 11:27:48 2012 +0200
sr: add new driver API call: scan()
This changes the semantics of the init() call as well. That now only
initializes the driver -- an administrative affair, no hardware gets
touched during this call. It returns a standard SR_OK or SR_ERR* code.
The scan() call does a discovery run for devices it knows, and returns
the number found. It can be called at any time.
commit 40dda2c3a509e9e031078427e32249e2ebc33ec5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 3 12:55:46 2012 +0200
sr: remove unused argument from hardware driver function init()
It was actually used in one way: the session file loaded abused it for
passing in the filename -- something it definitely wasn't intended for.
This now uses the proper way to pass arguments to a driver: the new
SR_HWCAP_SESSIONFILE.
The OLS driver could also use it as an indication of the serial port to
use instead of actively probing all serial ports on the system, but there
wasn't any frontend code that passed in such a parameter, making it
entirely useless. That will soon be handled differently with the new
scan() API call, regardless.
commit 0d012ede9d54c6c5c276be52778483fd020c40d7
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Fri Aug 3 01:31:36 2012 +0400
sr: fix gnuplot script for USBee DX and clones
- Now channels order is right
- Added 16bit version
commit 0e8d0e24d00dcf6dd661e4fb15cedf79ce45c248
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Thu Aug 2 23:49:00 2012 +0400
sr: fx2lafw: Add 16bit support for USBee DX and clones
gnuplot script support only 8 channels
commit c19298d1413e2783bf723f5eb4ee098d9b8f159b
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Wed Aug 1 00:11:40 2012 +0400
sr: add gnuplot script for USBee DX and clones
commit c9166745f23889e1c5abb010513733c829c00d1b
Author: Ivan Fedorov <oxyum@oxyum.ru>
Date: Wed Aug 1 00:11:33 2012 +0400
sr: fx2lafw: Add basic support for USBee DX and clones
commit 0d1297a2916c18457735a51fdab9ee2c914a4599
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 02:45:40 2012 +0200
sr: always use uint64_t for samplerate
commit b04781bb2ba910d17b0bc11b499b1be352faa9cc
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 02:15:34 2012 +0200
sr: extra checks for properly handling driverless devices
commit 3dafb92bde1533cc81a61e2dc0f7d3732873c7ed
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 29 02:13:22 2012 +0200
sr: fix struct sr_input for parameter passing
commit c506a6a688877793752d23e43d692c49d0f52dd2
Author: Tomaž Šolc <tomaz.solc@tablix.org>
Date: Wed Jul 4 16:29:13 2012 +0200
Allow setting samplerate when reading binary files
I had a binary file that I needed to decode using UART decoder. UART
decoder needs to know the sample rate for the data, but currently it's
not possible to pass parameters to input formats and so the "binary"
file format always sets the samplerate to 0.
This patch adds the possibility to append a colon-separated list of
key=value options to the -I argument, in the same way -d supports it.
Also, it makes the "binary" format support the "samplerate" option.
I included the GHashTable containing input format options directly in
the sr_input struct. I'm not sure if that's the right way to do it. I
saw that -d uses a much more elaborate system with device capabilities
and typed options, but that seemed like an overkill for input formats.
commit d67b663e21de64261847c7e68de3ba37883c48b7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jul 24 00:50:02 2012 +0200
sr: chronovu-la8: fix segfault on discovery
If the uninitialized value didn't happen to contain 0, and there
is no Chronovu LA8 connected, the la8_close() causes a segfault
in libftdi.
commit 74e5f12d3d9643cb0e8ba57ced4ee80b6393cb11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jul 15 00:34:27 2012 +0200
sr: la8: Support for newer USB VID/PID of the device.
Thanks to Jerry Jacobs for the patch!
commit 43be303c84d328437e594111b94f278270817a86
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 12 21:39:18 2012 +0200
sr: la8: Drop useless cast.
commit b5a8e848256f54b32ca988be5a1ec2db5048873a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 12 21:30:49 2012 +0200
sr: Add sr_strerror() and sr_strerror_name().
commit 9ffbde0e84ef6c711be4edbe3076e8c805efad63
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:15:09 2012 +0200
sr: session: Deprecate sr_session_halt()
sr_session_halt() in its current state is kind of useless and even dangerous.
All it will do is mark the session as not running, but wont signal the devices
to stop to capture data. This is not so much of a problem with the blocking
sr_session_run(), but once there is support for asynchronous data acquisition by
attaching the session sources to the applications mainloop sr_session_halt()
basically becomes a no-op. sr_session_stop() already does what needs to be done,
marking the session as not running and signal the devices to stop acquisition,
so make sr_session_halt() an alias for sr_session_stop() and deprecate its
usage.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 9213ad012accac3dbfbc6b72d6e99228e87740a4
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:15:08 2012 +0200
sr: session: Do not cleanup the driver state in sr_session_stop()
By cleaning up the driver state all devices will become inaccessible, which
means that is neither possible to query any information from it (like sample
rate) and it is also not possible to restart data acquisition.
sr_session_save() tries to query the sample rate from the device, as a result
calling sr_session_save() after calling sr_session_stop() - which is for example
done by sigrok-cli - will cause a segfault. This patch resolves the issue.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit ed229aaa8ff66116967f75112be953940d4a3149
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:15:07 2012 +0200
sr: session: Close a device when it is removed from a session
A device is opened when it is added to a session, in the same fashion it should
be closed again when it is removed from a session.
Also remove all still attached devices from a session when the session is
destroyed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 615183ea163f805af8589576c173769b4adba7f1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 11 12:57:15 2012 +0200
sr: Drop mastech-va18b, code will be in genericdmm.
commit 28b9dd18611da8e16038d62d58195bdef91552eb
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jul 11 12:36:13 2012 +0200
sr: fix conditional build for ezusb and serial helpers
commit b7e941113f2e4d534e109f4aeb8b0dc4cda36598
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri Jul 6 23:23:31 2012 +0200
sr: session: Moves sources to session struct
The sources really belong to the session, so move them into the session struct.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit e6e8f8e0531805a9215eebcb0d4d270a5afa6a8d
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri Jul 6 23:23:30 2012 +0200
sr: demodevice: Make read channel non-blocking
Both pipe channels are currently configured as blocking. We read from the pipe
in receive_data. Since the channel is configured as blocking we'll block in
receive_data until all data has been received. receive_data will be called from
the mainloop, so as consequence the mainloop will be blocked until the demo
device has finished sampling. This is not so much of a problem if we are
sampling in blocking mode (using sr_session_run()) and the demo device is the
only device in the session, but it will fail badly for all other configurations
(e.g. multiple devices or async sampling).
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 93b03d091abb947fdf78e57f864313571fb903ab
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Fri Jul 6 23:23:29 2012 +0200
sr: session: Realloc correct array for pollfds in _sr_session_source_remove
Commit 7149ad7c ("sr: session: Keep a global pollfd array") contained a small
copy paste error. This patch fixes it.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit e7d087bf0e35ff97abae8bdd0c50e400c87b4b4d
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jul 5 21:38:36 2012 +0200
sr: fx2lafw: Free transfers in reverse order
Free the USB transfers in the reverse order of which they were submitted. This
will avoid that while transfer 0 is cancelledd transfer 1 is started by the
host controller, and so on.
Reported-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 1a895c6185f67ec7a90e624fd47af625ac6f9e0a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jul 5 01:47:44 2012 +0200
sr: Minor cosmetics.
commit 249ae2be8f0e5132d601ab431ac8783b5b1c7439
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:45 2012 +0200
sr: session/demo: Remove Windows specific hack
The session and demo device code contain a hack to make the demo device work on
Windows. This was neccessary since polling on windows requires special handling
and we can not just pass in the raw fd to poll.
With the previous patches which added support for non-fd based event sources
this hack is no longer required. The patch moves the GIOChannels used by the
demo device to the demo device context and uses sr_session_source_add_channel
to register a source for the channels instead of using the raw pipe fds.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit aac0ea256327bdff8f2a98bf62c7ac6a42dd1e44
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:44 2012 +0200
sr: session: Add support for GPollFD or GIOChannel based sources
A raw file descriptor to poll on is not always available, this patch adds
support for adding a source for a GIOChannel or GPollFD.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 0687dfcde9eeebc2ee5fdc93af4a9a322ce9d071
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:43 2012 +0200
sr: session: Keep a global pollfd array
Currently we keep a file descriptor for each source and construct a pollfd array
from these during each loop iteration in sr_session_run(). This patch modifies
the code to keep a global pollfd array which is only modified when a source is
added or removed. On one hand this gets rid of the constant constructing and
subsequent freeing of the pollfd array in sr_session_run(), on the other hand it
will allow us to implement support for non-fd based pollfds.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 2bccd322bc40a2ebe41a9d3f1c4b12cd52cb2595
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sat Jun 30 20:54:42 2012 +0200
sr: session: Use realloc to resize source array
Use realloc to resize the source array when adding or removing a source. This
makes the code a bit smaller. In the remove function we now check whether the fd
is valid before doing anything else and if it is not simply do nothing. If it is
valid use memove to move the elements following the source one element down in
the array. Only after that has been done the array is re-allocated.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 45c59c8bdd01954f9214fe7b869d92c55415d109
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jul 5 00:55:07 2012 +0200
sr: moved sigrok.h so libsigrok/libsigrok.h
All frontends will have to include <libsigrok/libsigrok.h> from now on.
This header includes proto.h and version.h, both installed from the
distribution into $INCLUDE/libsigrok/ as well.
The only dynamically changed header is now version.h, which has both
libsigrok and libtool compile-time versions in it.
commit 8489264f1e3ef07ba8f1143ed62fa88d90980f94
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:59:12 2012 +0200
sr: demodevice: Reset sample limit when setting time limit and vice versa
Only one limit should be active at a time. Make sure that the sample limit is
disabled when a time limit is set and vice versa.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 25f5d66a7752379abe454da0705df4ed15ce6426
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:58:40 2012 +0200
sr: fx2lafw: Fix potential leaks in acquisition_start error paths
Call abort_acquisition if starting sampling fails in acquisition_start, this
will ensure that all already allocated resources are being freed again.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit c03f045004a340bd418206cbd02eaefcede91a5b
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:58:39 2012 +0200
sr: fx2lafw: Do not start a new acquisition if the old is still running
This may happen if the acquisition_start is called right after calling
acquisition_stop and not all transfers have been freed or on repeated calls to
acquisition_start. If it happens we'll enter an undefined state and all kind of
strange behavior may occur, so error out in such a case.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 0caa1ef0cb0b2231e232a7d1681e4e13fe838035
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Tue Jul 3 23:58:38 2012 +0200
sr: fx2lafw: Abort pending transfers when sampling is stopped
The recent reworks of the fx2lafw made sure that the total buffer size is large
enough hold 500ms of data. This was done to improve performance and stability.
That the timeout value for a transfer was also increased to over 500ms, a side
effect of this is that when sampling is stopped there will be a additional delay
of 500ms. This is because the driver waits for all transfers to be freed
before it sends a SR_DF_END packet. Once sampling has stopped this will only
happen once a transfer times out. This patch cancels all pending transfers when
sampling is stopped, this will cause them to be freed almost immediately and the
additional delay will disappear.
Also make sure, that if we know, that we just have received the last transfer to
not resubmit this transfer again.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit ca3d84cca1d2f7427f8c5266717cb787d2346e16
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 22:37:15 2012 +0200
sr: add genericdmm driver
commit 45edd0b204b4166f2f590bf130b97ff90896a99f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 22:33:57 2012 +0200
sr: add HWCAP type SR_T_KEYVALUE (char **)
commit f8c1fcda46584c3550a198625e0b5f0a58794b6e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 22:31:31 2012 +0200
sr: use proper definitions for parity setting
ols driver fixed to use these as well.
commit 5d4fb4fc0d4dd4fc323d5ecf862502ec317692de
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 1 15:29:57 2012 +0200
fx2lafw: enable driver build by default
commit 163f0523f6b26c0728153b5eafcf7a1b15645375
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 28 22:57:03 2012 +0200
sr: Mastech VA18B: Partial protocol supports (WIP).
Disable the driver for now, as it's not usable for the general public, yet.
commit 99f5d45eccaf11ab72bfc8aeff6a07aa412d35b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 28 01:47:38 2012 +0200
sr: hantek-dso: Fix copy-paste error.
commit 2769eed9917aeb6e549b90be4925a4c192a92309
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Mon Jun 25 23:51:38 2012 +0200
sr: fx2lafw: Move empty_transfer_count to device ctx
If one device is failing it should not affect the transfers of other devices.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 5af666a94e67e8a18c0dfa1f4314e1c3e93aa993
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Mon Jun 25 22:15:59 2012 +0200
sr: fx2lafw: Calculate buffer size and timeout based on sample rate
Currently timeout and buffer size are hard-coded in the fx2lafw driver which is
non-optimal if we want to get good results at both high and low sample rates.
The timeout is hard-coded to 40ms, which doesn't work well when sampling at
a low sample rate. E.g. at 20kHz filling all available buffer space alone takes
6 seconds. So naturally we'll see a lot of transfers timeout in this case.
The buffer size is hard-coded to 4096 bytes, which does not work well with high
sample rates. E.g. at 24MHz these 4096 bytes are enough space for 0.17ms of
data. The total buffer size is enough for about 5ms of data. Sooner or later the
application won't be able to resubmit a transfer within this time span and the
device will abort data acquisition. Usually this happens within the first few
seconds of sampling.
This patch adds a few new helper functions which calculate the buffer size and
timeout based on the current sample rate.
The buffer size is chosen to be large enough to hold about 10ms of data and it
also must be a multiple of 512 bytes since the firmware will send us the data
in 512 byte chunks.
The timeout is set to the time it would take to fill the whole available buffer
space plus a 25% headroom to accommodate for jitter. This is more than enough,
but there is no need to make the timeout a tight deadline, since it is only
meant as a last resort in case the device stops submitting data. And in this
case data acquisition will be aborted anyway.
The patch also limits the the number of transfers so that the total buffer
space is not much more of 500ms. This will ensure that we do not have to
wait too long when aborting data acquisition.
This patch also significantly reduces the number of context switches when
sampling at a higher sample rate. On my system for example the CPU load of
sigrok-cli when sampling at 24MHz goes down from ~25% to 3-4%.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 7ce737a77c0d29276cdda4f3670c1ef41173bb9c
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 16:45:08 2012 +0200
sr: fx2lafw: Handle the transfer's status
While errors are usually already implicitly caught by looking at the packet
length field there is one error status which is worth special handling. If the
device has been removed there is not really a chance to recover from this error
so data acquisition can be stopped immediately.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 17dff8a1e6faaec02ed99715f2914b15b4cab82e
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 12:19:09 2012 +0200
sr: fx2lafw: Avoid unnecessary alloc/free combo
In receive_transfer for each completed transfer a new buffer is allocated and
the old one is freed. We can avoid this by simply reusing the buffer for the
next transfer. This is possible if we only resubmit the transfer after all
processing on the data buffer has been done. A new buffer is only allocated if
the size of the old one is not 4096 bytes.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit f855de7575915a8b3a07ed32ff7ec6b431777317
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 12:08:59 2012 +0200
sr: fx2lafw: Properly free transfer
When freeing a transfer we also have to free the transfer buffer. We also have
to keep track of the number of allocated transfers and if the freed transfer was
the last one stop acquisition. This patch introduces a helper function which
takes care of all of this.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit bd47acabe33813acb7dd6a4ebf155418072b08b7
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Sun Jun 24 12:04:35 2012 +0200
sr: fx2lafw: Allocate header and packet struct on the stack
The header and packet struct are only used in the scope of this function and
they are freed at the end of it. Also these structs are rather small, so they
can safely be allocated on the stack. By doing so memory leaks on the error
paths are avoided.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 0c156e06c55a5b69385778fb00292d5866660a7f
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Jun 27 21:39:26 2012 +0100
fx2lafw: Made libusb_claim_interface error messages more informative
commit 88a13f30bdcad5de468221ef06e7dbc8859c3d8b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 27 19:36:30 2012 +0200
hantek-dso: add profiles for all five models in the series
Also cleaned up profile struct, and use the new firmware filenames.
commit 3b6c19303db9da2d70a65880fa85883273b17a5a
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 27 01:02:39 2012 +0200
fx2lafw: fix broken firmware upload timeout
Also corner case error init.
commit fc8fe3e3141f998dd97004c4379cb4d3acbd62a9
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Jun 27 00:55:15 2012 +0200
hantek-dso: get rid of broken GTV_TO_MSEC firmware upload timeout
commit e749a8cb50029b6275a32a60c351d65f14fdf601
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 26 23:26:55 2012 +0200
hantek-dso: start sending the frame only from the trigger point
Samples received before the trigger point are stored. From the
trigger point on, every chunk received from the device is sent
up the session bus. After the device has finished sending, the
stored samples are transmitted.
commit fa114e4ab1ef0d30bb3cce8f926e43d66df9f787
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jun 21 19:54:29 2012 +0200
sr: fx2lafw: Set correct unitsize for trigger buffer
Commit 88b75eb719 ("fx2lafw: Added device caps and added support for wide
sampling") increased the size of the trigger buffer from 8 to 16 bit, but forgot
to adjust the unitsize logic packet which is used to send the contents of the
trigger buffer. This patch sets the unitsize to sizeof() of the trigger buffer.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit e05a174be2f9142471ad94a1af2b3722efd9c6ae
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 24 18:57:37 2012 +0200
hantek-dso: fix triggerpoint conversion
commit f3ab43a8fbc39fe786718a7a3f5528acb3150aa7
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jun 21 10:30:38 2012 +0200
sr: fx2lafw: Fix multistage trigger
Multistage triggers currently do no work, because there is a return statement
in the middle of the trigger detector which will be hit as soon as the first
stage in a multistage trigger matches. This patch removes the return statement
so that the trigger detector can continue to try to match the next stage. In
order for this to work we also make sure that the trigger stage is only reset
if the current sample does not match.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit e21e846330070e102b24e08605b76b362020f500
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 23 01:17:36 2012 +0200
sr/srd/cli: require glib version >= 2.28
Needed for g_get_monotonic_time(). Thanks to Tomaž Šolc.
commit eabf24035b29020085f01dd6e5a2f3c7075db23e
Author: Lars-Peter Clausen <lars@metafoo.de>
Date: Thu Jun 21 10:30:39 2012 +0200
sr: fx2lafw: Fix memory leaks in receive_transfer
There are a few memory leaks in the receive_transfer transfer function. The most
serve of them is that a sample buffer is not freed if the triggered has not
matched yet, which causes a sigrok process which is waiting for a trigger to
consume several megabytes of memory within seconds. The other leaks are on the
error paths in that function.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
commit 9edfee3ee31bc6cd7657392f2c9ac28ccf7a7dce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 21 23:59:27 2012 +0200
sr: ols: Fix incorrect comment.
commit eb1f1eb407965e72d31372b472b17989d3a2f3c8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 20 19:56:54 2012 +0200
sr: Unfinished Mastech VA18B (DMM) support.
commit b908f067f25f7c307e46ba05a23fd3cc5187379f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jun 21 22:36:13 2012 +0200
sr: chronovu-la8: Split code into api.c and driver.c.
We should generally use api.c for API related functions and put the other
functions (mostly hardware-specific low-level code) into other C file(s)
for better readability.
commit 9956f2851fb97a4b4090cedcde6f4b83cb08e971
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 20 23:55:23 2012 +0200
sr: analog: Add MQ and UNIT enums.
MQ is the measured quantity, e.g. voltage, current, temperature.
UNIT is the unit in which these quantities are measured, e.g. volt,
ampere, celsius, kelvin, etc. etc.
The same MQ can be specified in different UNITs by the driver, depending
on what the hardware reports. Conversion is left to the frontends.
commit c13536fa9c5ec756ff169423d43fc14b10be8cfa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jun 19 23:33:50 2012 +0200
sr: backend/zeroplus: Improve debug output.
commit d27e406e13d1247a7839698d3643b8ebae7143af
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 19 02:05:28 2012 +0200
sr: new output format 'float', just floating point values
Also outputs FRAME-BEGIN and FRAME-END, if present in the stream.
commit cdea754ae59dda3974b1c00cae2be1e72a539176
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 19 02:04:18 2012 +0200
sr: remove unused code
commit 4368827aefc3488ae6b7b375590bbad1dd4d73fc
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 19 01:06:02 2012 +0200
sr: only handling analog voltage units for now
commit 6e6eeff47a93e48b31ef5d16feb707e8725dbbd3
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 18 23:09:37 2012 +0200
hantek-dso: capturestate packet also contains the trigger point
Not yet used, but it's the key to knowing where in the frame to
start displaying; the frame is used as a circular buffer, and what
is sent is effectively a snapshot.
commit a217bcdf104e757db9713ea767ee5709b137084b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 18 23:05:02 2012 +0200
hantek-dso: relays now set properly
They appear to be arranged to switch on/off a hierarchical series of
devices that attenuate the channel by an order of magnitude.
commit 384c28d9e74791a753bd25e471d20d970ab2346b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jun 13 18:58:24 2012 +0200
sr: hantek-dso: Use portable g_ntohs() function.
The ntohs() from <arpa/inet.h> is not available on MinGW/Windows. There
are ways to work around this, but as we use glib already, using g_ntohs()
is the best option anyway.
commit c5841b28092ad9366cef5d512ddb10d6a34c9c0a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:17:01 2012 +0200
hantek-dso: calculate voltage based on vdiv setting
commit a10c805636c7252cbd22582fc6360afc080ca48f
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:16:23 2012 +0200
hantek-dso: default to DC coupling
commit 1d97091e713d110a79f754472ea97f9286512567
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:15:58 2012 +0200
hantek-dso: fix CH2 vdiv setting
commit 019d56633a81a240c6df4813c778cfb08bc130a6
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:15:04 2012 +0200
sr: add udev entry for Victor 70C multimeter
commit 0026228ad01838dccaf761d17d97bda9bbbb7e72
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 18:14:23 2012 +0200
sr: fix udev rules for Hantek DSO-2090
commit aff5a729abfaa016555f5d4a6a1e2c953405179d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jun 5 17:37:28 2012 +0200
sr: add unit field to sr_df_analog packet
commit 62bb8840e193cc73702b9e586882555bc18a8c61
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 1 01:12:09 2012 +0200
sr: hantek-dso: Consistency renames, constification.
commit 0236ab687fbbb0e68bd27791a6cd849fc5321cd3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 1 00:23:47 2012 +0200
cli/gtk/qt: Now all require libsigrok >= 0.2.0 (API changes).
commit 63298404df6e4d8a4bd7358ad55e4076b4bf2993
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 1 00:16:42 2012 +0200
sr: Increase pkg version to 0.2.0, increase lib version.
commit 0a88ec3d9c97d20a26f2c0d8813ce7ba075421f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 22:46:28 2012 +0200
sr: fx2lafw: Use gboolean, cosmetics, fix gcc warning.
commit af36b8096942a704afa7e858fcd8fc8e15b92e09
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 22:43:12 2012 +0200
hantek-dso: Update to constified libsigrok API.
commit 88ff66c2c910f32b92faa6c4815f60cec47577c4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 31 22:40:41 2012 +0200
hantek-dso: Quickfix for build issue (will be removed later).
commit f4575b6549ded99ec5380b4d6fafa899f5cb65ae
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu May 10 16:34:24 2012 +0100
fx2lafw: Added a check to limit the sample rate during 16-bit sampling
commit d1ddc7a9a8a7226fcb1f8b5a360c275684e77e9a
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 16:01:10 2012 +0100
fx2lafw: Added device caps and added support for wide sampling
commit a533743dd1680bb53f29b6a01cccbc5380027e77
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 15:07:06 2012 +0100
sr: Made sample rate lists const
commit 1b79df2f57012926927983a8e2829004f0eee4fa
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 15:02:02 2012 +0100
sr: Made the dev_config_set parameter a const pointer
commit b7f578bef53ff0e645ca0cae3f9781f577b7367a
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 13:35:56 2012 +0100
sr: Made the dev_info_get return value const
commit 915f7cc87a8dce688ab99fc67005ef77e0d028a2
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 13:57:43 2012 +0100
sr: Made hwcap const
commit 2715c0b86bafed70dc1d3737b59750570951f507
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 20 01:14:37 2012 +0200
hantek-dso: hopefully handle endianness in voltage setting
commit 4a090d722d7d3f2d1011fc5ff1c9a39c809f07bd
Author: Bert Vermeulen <bert@biot.com>
Date: Sun May 20 01:11:09 2012 +0200
hantek-dso: enable SR_HWCAP_COUPLING
commit b58fbd99c8944a3ba584540aa7ceb34b5451fa3a
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 03:17:09 2012 +0200
hantek-dso: support for SR_HWCAP_COUPLING
commit e1c8b2abfbc5a0aa75cf6fbd8f88e45a8df0fd5b
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 03:16:01 2012 +0200
sr: support for SR_HWCAP_COUPLING and SR_DI_COUPLING
commit 313deed219c39a902e6b7c39cf519c3476b9798d
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 02:03:12 2012 +0200
hantek-dso: support SR_HWCAP_VDIV
commit bd8db307da41b3ca0f5401015f92e833e1db658e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 01:55:59 2012 +0200
sr: support for SR_HWCAP_VDIV and SR_DI_VDIVS
commit 79afc8cac4912f5e1025c608a10b05506a191be9
Author: Bert Vermeulen <bert@biot.com>
Date: Thu May 17 01:54:57 2012 +0200
sr: add voltage parser and prettyprinter
commit c1e486185ec4e4a894419f8d287c55ffb6282979
Author: Bert Vermeulen <bert@biot.com>
Date: Wed May 16 02:07:51 2012 +0200
sr: use SR_T_RATIONAL_PERIOD (new-style types)
SR_T_<type>_<parsehint>
commit ebb781a69f1128fab5a9eedd39a548cba8ceccbb
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 22:41:00 2012 +0200
hantek-dso: support for SR_HWCAP_FILTER
commit 3c4976c9c4b9dd09204c7c3797f1122e4b641631
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 22:39:32 2012 +0200
sr: support for SR_HWCAP_FILTER and SR_DI_FILTERS
commit a370ef19161cee7016b7d24a2b9cef95b1191f6d
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 20:56:29 2012 +0200
hantek-dso: support for setting all CMD_SET_TRIGGER_SAMPLERATE params
commit 76f4c61086b314e66e92dd571f37defd3f714554
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 20:46:14 2012 +0200
sr: add period parser
commit 0fe11789961861a68d2de45136a7869f9b8c1717
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 15 20:45:46 2012 +0200
sr: add support for sr_rational and various HWCAPs and DIs
commit bc79e906a0911b4218b42b63b2f27fb0016c59da
Author: Bert Vermeulen <bert@biot.com>
Date: Mon May 14 02:33:37 2012 +0200
hantek-dso: proper protocol implementation of trigger/samplerate setting
commit 6e71ef3b6f27c3f3e1c5d5dc4e2f60caf54fc818
Author: Bert Vermeulen <bert@biot.com>
Date: Tue May 1 20:35:04 2012 +0200
hantek-dso: fix channel selection
commit ae88b97ba28ba098a54ec11af99bb195e6f9ab32
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 30 22:29:31 2012 +0200
hantek-dso: delimit frames with SR_DF_FRAME_* packets
commit 6ea7669c9dc3dd59ad88869e29f5411114196f34
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 30 19:55:06 2012 +0200
support for frame begin/end packets
commit 3b533202c8b32fbe785906e9930959aae077aeff
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 23 01:05:58 2012 +0200
sr: initial support for Hantek 2xxx/5200 USB oscilloscopes
commit f366e86c68071fa7888259aa3963b213caa81b51
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 22 20:06:19 2012 +0200
sr: change all drivers to use SR_DF_META_LOGIC
commit ee7489d23449a3f5a81777fbdb3309dfe22bcecd
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 22 18:11:31 2012 +0200
sr: SR_DF_ANALOG type, and meta types for analog+logic
commit 7e41e319d9a76da527eaa6e2708e4909ffd0d971
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 23:31:03 2012 +0200
sr: fx2lafw: Forgot to add (C) line to fx2lafw.h in recent commit.
commit 0a8c0c324e16e4848498309dbb2efd27b4c812a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 23:15:23 2012 +0200
sr: fx2lafw: Only check for correct major FW version.
Changes in the minor version number are OK, as those should never
contain any incompatible/API changes.
commit 8fdecced96a1e849f5474e57aeca456dd265d9b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:55:03 2012 +0200
sr: Consistently use ZEROPLUS spelling.
This is the version used throughout their website, let's use it.
commit 921634ec10feb88dd2110d10d8b1914eaa742fb6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:42:19 2012 +0200
sr: Fix typos.
commit cf94c8167bdd520e43cda5cdc9ef1ebf301b814d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:40:59 2012 +0200
sr: fx2lafw: Add (C) line from old saleae driver it's based on.
commit f9a33a4720403e7db4d69cb698b18dd724e16db7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 22:23:36 2012 +0200
sr: README: Add section about firmware files.
commit 537096739ee5b841f9f51a864f785cf7c4b56864
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 21:48:40 2012 +0200
sr: udev file: Minor fixes/additions.
commit 02df29f0db42ae2f475df83e4cbe2d18994f7f53
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 21:36:28 2012 +0200
sr: NEWS: Minor updates/fixes.
commit 2f3a6df8e4f34c8902002de4dcc3fda94f195ae0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:26:15 2012 +0200
sr: Increase version number to 0.1.1.
commit 5c4252cd8b7fafa9b37492c50a53f9165cd0e18d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:25:11 2012 +0200
sr: Update NEWS in preparation of upcoming 0.1.1 release.
commit f60fdf6ebe26a6b8693e515ed1eeedb906b7a17f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:24:01 2012 +0200
sr: fx2lafw: s/MAX_RENUM_DELAY/MAX_RENUM_DELAY_MS/.
commit e8bd58ffd2615ab2fbb0a963f359a705c584e4e1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 09:10:41 2012 +0200
sr: fx2lafw: Fix a firmware upload bug on 32bit systems.
The glib GTimeVal data type (and some functions using it) will be faded
out from glib sooner or later, so it's not a good idea to use them anyway.
In this specific case GTimeVal.tv_sec was overflowing, leading a check in
libsigrok to fail, and thus to FX2 firmware upload errors, i.e.
non-working fx2lafw devices.
http://thread.gmane.org/gmane.comp.debugging.sigrok.devel/166
The root cause is that GTimeVal.tv_sec is a 'glong' (8 bytes on 64bit
systems, but only 4 on 32bit systems).
We now use an int64_t (and g_get_monotonic_time() instead of the more
problematics g_get_current_time() which uses a GTimeVal).
This has been verified to fix the issue on a 32bit system.
Other uses of GTimeVal in libsigrok will be removed in a later release.
Also, drop unneeded GTV_TO_MSEC.
commit 36423d04e5411d9cd744bc6421f099b5d2c02730
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 02:27:30 2012 +0200
sr: input/chronovu_la8.c: Add missing #include.
This fixes a compiler warning.
commit fb6f1978ed490a4cc80125e93239abfdad55e4b7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 30 00:00:33 2012 +0200
sr: New default firmware dir: $prefix/share/sigrok-firmware.
We no longer expect firmware files to be in the
$prefix/share/libsigrok/firmware directory, as that would require an
additional (distro) package 'sigrok-firmware' or the like to install
files into another package's (libsigrok) path, which can be problematic.
The current 'sigrok-firmware' repo's "make install" will already install
all files into $prefix/share/sigrok-firmware.
commit c09584085ed0307ba05f3ebf88dcf54ce86aec07
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 29 20:30:15 2012 +0200
sr/srd/cli/gtk: ChangeLog -> MAINTAINERCLEANFILES.
If the (generated) ChangeLog file is marked for DISTCLEANFILES, it'll be
removed whenever "make distclean" is called (and is then gone forever if
you use the tarballs, for example).
commit 3217b032053d6eb89ca31b01968715813bcbe1bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 29 00:21:21 2012 +0200
sr: la8 in: Files must be exactly 8388613 bytes.
All ChronoVu LA8 files (*.kdt extension usually) are exactly 8388613
bytes in size (8MB + 5 bytes). Check this, when trying to autodetect the
file format, to reduce the likelihood of 'chronovu-la8' being
autodetected on all binary files (instead of 'binary').
commit 9f05304e4e1b842f875cfdaccf9e93cae0012937
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 28 23:40:12 2012 +0200
sr: ARMFLY AX-Pro is supported by fx2lafw (LA only).
commit 432e5e95f53cd61160c1013921743267d84a7dd2
Author: Pekka Nikander <pekka.nikander@senseg.com>
Date: Fri May 11 19:23:21 2012 +0300
sr/srd/cli: Fix compiling with Homebrew.
Add ACLOCAL_DIR setting and AM_PROG_AR macro for compiling with Homebrew
under Mac OS X.
Applies essentially the same change to
{libsigrok,libsigrokdecode,sigrok-cli}/{autogen.sh,configure.ac}
It may be that the same fix is needed for the other autogen.sh and/or
configure.ac files, but that hasn't been tested and therefore not in
this commit.
commit 40cd2b545d4d6ddb0dce7b54bfc8f9be5b77444a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 10 21:27:17 2012 +0200
NEWS: Add some news items.
commit 37dc0b16a6d6aca8f98b4baee24028f3714f91d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 11 00:19:01 2012 +0200
fx2lafw: Cosmetics.
commit dc68c660d566424e9d83b19959a79d40e599c71c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 16:44:25 2012 +0100
fx2lafw: Added a gpif delay debug message
commit 79dc64985f7e50943562169aebd7eefbd6e13490
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 16:42:50 2012 +0100
fx2lafw: Added support for 20kHz and 25kHz sampling
commit 897c1a2ee5c7397a4ab281a5c83f8f5c34ea0aa1
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon May 7 12:40:52 2012 +0100
fx2lafw: Added support for 100kHz and 50kHz sampling
commit 1e94408ae515157a9f27898b7b4c181e2aef980a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 6 19:54:46 2012 +0200
sr: fx2lafw: Get/display FX2 REVID.
commit 1663e4706cd966fcaed40d067ceea4b613e8125d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 6 17:13:49 2012 +0200
sr: fx2lafw: Braintechnology USB-LPS support.
commit 6352d030dfd11fb63a1beedd0e24b3e28be1a961
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 2 19:02:03 2012 +0200
sr: We support both SIGMA and SIGMA2.
Also, a few minor coding-style fixes etc.
commit b5f6fcb1ac98a83747c778262a7cc91f6884e9e4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:09:06 2012 +0200
sr: udev: Add Ideofy LA-08 entry.
commit 18a98412ec2ed644922b6fff44485318454975ab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:05:09 2012 +0200
sr: udev: Add Velleman PCSU1000 entry.
commit 1c41873612df34b90ec3ddaaf3f2d2e30dfc98e7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:03:44 2012 +0200
sr: udev: Fix alphabetical order.
commit 585a9ec4a2076ca0ea23ef244d94521ea86316f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 1 19:00:28 2012 +0200
sr: udev: Add Robomotic BugLogic 3.
commit 6b73d9a598747b70436010f0cb27061d5dd93618
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 27 01:28:47 2012 +0200
fx2lafw: use iManufacturer/iProduct fields to identify our firmware
It's more deterministic than the endpoint profile check we did before. Which
was also broken.
commit 6752905e6be19617d83c48a6db5a20b8e932308b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 26 23:18:05 2012 +0200
sr: zeroplus: Fix segfault, add debug output.
There are various ZEROPLUS models with different probe numbers. For now
hardcode to 16 (for the popular LAP-C(16032)). This will need to be
fixed in a dynamic way later.
This fixes a segfault due to only 16 probe-names being defined, but the
drivers returning 32 as probecount.
Also, add some additional debug output.
commit 993526f82421d3954b1032bfc1affb208916ebeb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 23 15:31:41 2012 +0200
sr: don't use deprecated glib functions
As of the recent glib 2.32 release, these produce deprecation warnings
at compile time.
commit 42cdeef6268a2fa28a42e472324c5122410847d0
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Mon Apr 23 13:36:17 2012 +0200
sigma: Fix segfault when no Sigma present.
commit 868501fa46bfb3c43bf4906e57587ef24463641c
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 15:10:46 2012 +0200
sigma: Bump copyright notice.
commit e210c6c09003cbd4cfada74c42466ad407c73ad8
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 14:31:40 2012 +0200
sr: Remove zlib dependency.
No longer needed by Sigma driver.
commit e3fff420dac8ba489674cf685529b3647fca185b
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 14:24:02 2012 +0200
sigma: Add support for SIGMA2 (req. new firmware).
commit 3c36c403faf9ed06741aaeb8fbbaa10a18871a3c
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 13:08:16 2012 +0200
sigma: Use heap for datafeed packet and header.
commit 805919b042386043f3f2fde8c13ca276a99e088c
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Apr 22 13:05:10 2012 +0200
sigma: Fix bugs in receive_data callback.
- Poll data position on Sigma for every iteration.
- Return TRUE when no data ready.
commit 934cde02b80791943a023c2b4949fc5de43d5081
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 19 00:55:29 2012 +0200
fx2lafw: supported_samplerates[] should be 0-terminated.
commit f488762a17a3dce8a513aabcc0475f7382ec19bd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 22:28:52 2012 +0100
fx2lafw: Added support for default Cypess FX2 without EEPROM
commit 824b1a8f5cc6073f6d6505d0efa74d67f4da0fb7
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 19:17:25 2012 +0100
sr: Deleted the saleae-logic driver, fx2lafw has superceded it.
commit d56ee26599fa6dd560613adc14a4a28575063d5e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 19:10:15 2012 +0100
sr: Disable saleae-logic driver by default and enable fx2lafw
commit 9304d576507db12f4072f427bcf1ce1645debce3
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Apr 18 19:07:30 2012 +0100
fx2lafw: Added slower sample rates
commit fefd54a0cdd4b2d30c36e53ea2ecdce6ff4b96ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 17 00:12:33 2012 +0200
sr: Initial 0.1.0 release.
commit 69e70c233ef6186131369ad596a96a2632bdcf85
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 16 23:16:00 2012 +0200
sr/srd: SR_API/SRD_API/etc. is a no-op on MinGW.
This avoids warnings on a MinGW build. The feature depends on ELF files,
but MinGW/Windows uses PE files.
commit 787c43905d6f61c08d3b66a4a09dc12038120861
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 15 20:33:45 2012 +0200
sr: Add functions to query sr version(s).
commit 0aeb0ccd5572a08c088e7903321a5998374f42e6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 7 17:40:52 2012 +0200
sr: sr_err() et. al. don't need trailing \n.
commit bf978d355345a7cc3ae7dc6199cc25952aaa182f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 7 17:35:14 2012 +0200
sr: sr_parse_triggerstring docs/improvements.
Also fix smaller typos and cosmetics.
commit 44dfd483db9e594acc809b9d76eb910a9b53165d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 10 22:32:31 2012 +0200
sr: fx2lafw: Cosmetics.
commit 13bf7eccbb08214c3d6d53da5b5b6a269a64a779
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Tue Apr 10 18:27:24 2012 +0100
fx2lafw: Added command to verify firmware version
commit 6fbe5e6081b0f83fa97f0097bc87a21a45c48481
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Apr 8 17:19:52 2012 +0100
fx2lafw: Safer use of libusb_get_device_list
commit 105492034465fcdddfe89c916ed6da3242d39901
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 12:09:37 2012 +0200
sr/srd: Fix 'make distcheck'.
commit da90fb2a01523e3277ed849297646614dce9a15d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 12:05:20 2012 +0200
sr/srd: Add ChangeLog to ignore list, it's generated.
commit 2e26e0aa0b7ccbdb461fdf71dde59e0400ba50ee
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:57:46 2012 +0200
sr: Disable fx2lafw driver again (for now).
After some more testing, it will probably be enabled by default and will
replace/deprecate the Saleae Logic driver at some point.
commit c5d83a5a72b70b88cd1aa3299499b8b5389a0da3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:37:08 2012 +0200
sr: Add NEWS file.
commit 6dddd902244f314eba721a0d8804731ea9c9912d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 31 11:28:24 2012 +0200
sr: SR_PACKAGE_VERSION_* for consistency.
No need to use the LIBSIGROK_ prefix here when we use SR_ everywhere
else. Also, better distinction between package version and lib version.
commit da68656857cc0c70faa582d954c3b0bf5b6a1dbc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Mar 29 08:55:12 2012 +0200
sr: fx2lafw: Consistency fixes.
commit 01c3e9dbd5bd583012fc1f46237bf4fde784d209
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 21:55:48 2012 +0200
sr: s/_clear/_remove_all/ for consistency.
commit 054e67090641e0a56a7e55789a3882ca138a0b11
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 20:00:13 2012 +0200
sr: out: Use uint8_t (not char) for buffers.
commit 69cfcfc8f0f3f4358714d706268fc05aaa70ca23
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 18:52:17 2012 +0200
sr: Make wrappers honor return values.
commit 0fc12d66f1cf0fa46d075f9a9f8b691a325f39b9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 28 02:32:52 2012 +0200
sr: Generate ChangeLog from git upon 'make dist'.
commit 7ae2f9d56fed0e53ad3dab25de65504acc3022a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 22:02:19 2012 +0200
sr: fx2lafw: Cosmetics.
commit b04902b6469d4aed32e69125167f7ff71992fcba
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:23:31 2012 +0200
sr: fx2lafw: Use SR_PRIV where needed.
commit 30da9658ad908864f78e3a99366f7787a80dcc43
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:21:56 2012 +0200
sr: fx2lafw: command.h: Add missing include guards.
commit f4a9e5c0aa81738d26e7893d6cf47ebdb4a91047
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 25 15:20:55 2012 +0200
sr: fx2lafw: Cosmetics.
commit 94c26b08fdc2568a33e176b895c63048a4b66464
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 25 19:39:06 2012 +0100
sr: Build ezusb.c for fx2lafw as well as saleae-logic
commit ec888f62fe4298229e6ed0865937d74476715bf7
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 25 18:53:54 2012 +0100
salae: Only terminate session after all transfers have been aborted
commit 3e6292b2967db0b86281988ebf816317956a8a51
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 25 18:52:30 2012 +0100
fx2lafw: Made finish_acquisition a static function
commit 590b9f9a91a703ceea4c430566735d05a2acf82b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 22:32:47 2012 +0100
sr: Fix some samplerate fields.
commit 85a77720c678d1bb37c1445755ea2b38c658ca36
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 19:42:26 2012 +0100
sr: sigrok.h: Add version macros.
commit 4937b2355156f954d6fc3c1daf258d3825582743
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 24 10:03:36 2012 +0100
sr: Rename sigrok.h. to sigrok.h.in, needed soon.
commit cb61e9f7c3cfa2e3c9eee0bd221f47dd95f34073
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 24 10:04:36 2012 +0000
fx2lafw: Only terminate session after all transfers have been aborted
commit 24125e05202626c9fea3f056ecc5d008f544970b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 24 10:07:22 2012 +0000
fx2lafw: Removed a line of redundant code
commit 6c6781b6a7559b66645ec4dbebaf6dca0246cb5e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Mar 21 20:42:41 2012 +0000
fx2lafw: Imported software triggering from fx2lafw
commit 97fbf6704e5876f3cfbc519f05acaa2af65a6ff0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 23:42:19 2012 +0100
sr: udev: Add missing Hantek DSO-2090 entry.
commit 8a6b5b50e1555744374781f0a438c8965f501e98
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 22:33:51 2012 +0100
sr/srd: Remove API warnings from READMEs.
We'll have a libsigrok and a libsigrokdecode release soon. After that,
any API changes must be properly documented and reflected in the
SO version (and package version) numbers of the libs.
commit 2f8701d112cc1c4b61b36fe4c7096431833a8c9d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 22:29:41 2012 +0100
sr: Various fixes in the udev file.
commit 2e7cb0040a64062cb4b13fdff72995f4b5dc8769
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:58:56 2012 +0100
cli: Fix -V/-h output a bit.
Options and their defaults should not be documented there, but rather in
the manpage or such.
commit b5750520bb0e2726ad6248e23f52a854535bc9a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:45:46 2012 +0100
sr: Enable fx2lafw driver per default.
commit 8ec95d22822ed5ebf4b6aeaff654608ad0225073
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 19:28:43 2012 +0100
sr/srd: Small fixes, constifications, doc updates.
commit a4d39856788e2182e53fa6a0f0a05f3867f31fc0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 21 18:40:25 2012 +0100
sr/cli/gtk/qt: Fix package version numbers / docs.
The next (and first) libsigrok release will be called 0.1.0.
The next (and first) libsigrokdecode release will be called 0.1.0.
The next sigrok-cli release will be called 0.3.0 (as we already had a 0.1
and 0.2 release of sigrok-cli; those did not yet use the libs, though).
sigrok-gtk and sigrok-qt didn't have any releases yet, so their version
numbers are set to 0.1.0.
Also, consistently use three numbers/digits for our version numbers.
commit eb0a373189e0e1f346b6807b692c2ea0bdaa57b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 20 18:09:18 2012 +0100
sr/cli: s/patternmode/pattern/ in a few places.
commit ebc347388240e025181265f7d3d63a22f7bd5da9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Mar 20 17:51:18 2012 +0100
sr: s/err/ret/ for consistency.
We use ret, err, error, and others for return codes of functions.
Standardize on 'ret' for consistency reasons for now.
commit d6eb0c333c8424d151637c18e1a1aef849d5fb31
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 18 12:57:34 2012 +0100
sr: Fix handling of virtual devices.
I.e., handling of sessions which use input from files (not from actual
logic analyzer hardware).
commit 21b50ee1831602bd6c1f223fb200e2c298885aa3
Merge: 9289e27 ecc16ed
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Mar 16 00:04:51 2012 +0100
Merge remote-tracking branch 'joel/public'
commit ecc16ed07052ef399c36d36456aa943fcf81190c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Mar 14 22:56:15 2012 +0000
fx2lafw: Upped NUM_SIMUL_TRANSFERS to 32
commit 9289e273bb6dfe9e8e46b5598830d4fb293175fc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:22:32 2012 +0100
sr: session_driver: Naming consistency fixes.
Use 'receive_data()', and 'cb_data' as all the other drivers do.
commit 455b26edba718bd2dd2a33cb713d0ab077b4fd32
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:09:52 2012 +0100
sr: demo: s/struct databag/struct context/.
commit ab331b679c417282616efa7d05d456868fd42933
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 22:08:31 2012 +0100
sr: demo: s/mydata/ctx/.
commit 4101f961e8a414ae17b16c0feb1e10fd07d08d52
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Mar 14 20:02:48 2012 +0100
sr: s/SR_{USB,SERIAL}_INST/SR_INST_{USB,SERIAL}/.
commit 4502e869210005559d9f1a0e66f1e6954e6368c0
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:49:34 2012 +0000
fx2lafw: Added CWAV USBee SX to the device list
commit 0ca21631dda3d948f8a67de5d48a2198b1efa425
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:38:25 2012 +0000
fx2lafw: Corrected a comment
commit 93a9f3daaf7fb679660f44c67ffa0ea1171e67b1
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:36:17 2012 +0000
fx2lafw: Added Saleae Logic (and clones) to the device list
commit f8b07fc6c37cc40dbcc3c6bc607d6e3137b532e4
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:31:43 2012 +0000
fx2lafw: Moved firmware path into fx2lafw_profile
commit 4679d14db3fcc6e8990b916e0c175848af52f464
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:06:45 2012 +0000
fx2lafw: Made fx2lafw profiles const
commit 6ccfadaf667a615c00526a7fb9df0500f35cc0e3
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:04:53 2012 +0000
fx2lafw: Made string pointers constant
commit 17b6c75a899bb5fb2b8b841b60e3e9fb52ca3e30
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Mar 12 21:03:13 2012 +0000
fx2lafw: Added ESLA201A to device list
commit 017375d17ebddce8f986568a476018593c8b5ffc
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 11 19:00:52 2012 +0000
fx2lafw: Send start command after bulk transfer have been set up
commit 13d0d2698c97a60cbb73423ffb78846347309c11
Author: Matt Ranostay <mranostay@gmail.com>
Date: Thu Mar 8 22:26:30 2012 -0800
ols: fixed *ctx null dereferences that would SEGFAULT on probing for a OLS or attempting to read from it.
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
commit 9031ce63f3cee037ffc3e565cf324cafe38522f5
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 18:02:44 2012 +0000
fx2lafw: Corrected check_conf_profile checks
commit dba024420f934ff10f18eebbaad1f4e97c739259
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 14:10:44 2012 +0000
fx2lafw: Implemented control of sample rates
commit f92994fd9174bc423e58c21eda83633afc9513da
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 14:10:05 2012 +0000
fx2lafw: Ensure default sample rate is set
commit d98c4e35ce3187a8d4618a6c26ce35de636d7b91
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 18:09:29 2012 +0000
fx2lafw: Removed CMD_STOP and renumbered commands
commit 2e526f4a6a96bca01c81620ff820aa39e356977f
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 15:22:51 2012 +0000
fx2lafw: Moved num_samples into context struct
commit 266784d5947137040b4a72d0e00dc97c0c8b40ba
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 15:18:19 2012 +0000
saleae-logic: Moved num_samples into context struct
commit 19ccdf696c3b96459495fadbef56a6c607e87583
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Mar 3 14:57:57 2012 +0000
fx2lafw: Removed CMD_SET_SAMPLERATE
commit f6582cd7bf62bc945ecadda09123fde6c3676107
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Mar 1 20:34:20 2012 +0000
fx2lafw: Implemented initial support for start capture
commit 3f8d59721634e1d69251078c254caef81effc62c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Mar 1 19:47:47 2012 +0000
sr: Added device IDs for CWAV USBee AX to udev rules
commit 74fcfb806d5b66ae4372b982f7836be12328e664
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Thu Mar 1 19:45:08 2012 +0000
fx2lafw: Devices now retain the same PID/VID after fw load
commit e318664793525543f7001371aee8cad79102266d
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Wed Feb 29 22:47:05 2012 +0000
fx2lafw: Implemented SR_HWCAP_PROBECONFIG and SR_HWCAP_LIMIT_SAMPLES
commit c8f2c9dda4027fe723aabccb4265629c374afcd9
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Mar 4 14:34:16 2012 +0000
fx2lafw: Fixed a compiler error, and made cv_data consistent with saleae-logic.c
commit 0abee5076fd7751bd77d0fee940d617a1a40ea34
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Mar 4 15:08:11 2012 +0100
sr: Fix some TODOs, improve comments/docs.
commit b5118d6c013c4b5ae7ae146166750b3e392c4a14
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 3 14:13:21 2012 +0100
sr/srd: s/handler/callback/.
We should consistently use the same name for the same thing.
commit 3cd3a20b350ed1e86675aee067f60ac5a2f576b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Mar 3 09:56:49 2012 +0100
sr: More callback param renames.
Start/stop acquisition callbacks: Consistently name the 'void *' parameter
cb_data for now. The per-device-instance device pointer is called
'session_dev_id' everywhere for now, but this should be renamed to
something more clear.
commit 1f9813eb6cf2fa3b6511af46b19270feb9484c1e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 22:32:34 2012 +0100
sr: Name all callback data 'cb_data'.
commit 31ccebc4925d245fed02545415ce3ee14055d897
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 22:08:45 2012 +0100
sr: s/sr_session_bus/sr_session_send/.
commit d08490aabaa66b547c8299b757f62ff5319dbf0b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 21:56:24 2012 +0100
sr/srd: Consistency fixes for callbacks.
- Callback function pointer typedefs end with _t.
- Variables holding callback functions are named 'cb' everywhere.
commit cfe064d8e74d86ab6a65779663ca1fb82e36260a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:56:15 2012 +0100
sr/cli/gtk/qt: s/hw/driver/ in some places.
commit c496ac97a83aa33dd2add8074c454b7dc1b08fe6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:32:39 2012 +0100
sr: sr_hw_has_hwcap(): More docs, error checks.
commit 2f8cf274094b945bc2e4d51fefb0408867b39cac
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:17:36 2012 +0100
sr: s/sr_dev_probe_name/sr_dev_probe_name_set/.
commit 7b8ca864a00010d64172820bb82b30cb5f2d0009
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 29 19:11:09 2012 +0100
sr: datastore: More error checks.
commit c30b417f719e20f9f1d29fd8fa72c24278af3a0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 23:53:17 2012 +0100
sr: Rename hwplugin.c to hwdriver.c.
commit c09f0b578c0e9c03590cb814f66004bb3f6815ff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 23:52:30 2012 +0100
sr/cli/gtk/qt/: s/plugin/driver/.
commit 2285cf9bc519edb88eccbe3bf2ddd6888e54cdf2
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 28 17:47:02 2012 +0100
sr: code cleanup
commit d261dbbfcc7317f2fd9aa9c08473dc4a7b6b2b30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 28 01:09:29 2012 +0100
sr: Fix/document probe names.
commit 6c39d99a2809c0065b8bd547c426a08f42445e92
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:55:06 2012 +0100
sr: fx2lafw: Consistent #include guard naming.
commit f9a69557d276ee27d551eb9ef68f2700324613b4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:53:44 2012 +0100
sr: fx2lafw: Use gboolean consistenly.
commit 772a0e615397b63f5d5c9af1d25475e9e5dbe76b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:40:38 2012 +0100
fx2lafw: Small consistency fixes.
commit be4b99e897827b46c396a8c83cee0ce1c19d3afe
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 23:26:05 2012 +0100
fx2lafw: Compile fix.
commit 5da939028db118a2e1445184b8d8406ecdcc9850
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:34:24 2012 +0000
fx2lafw: Implemented hw_dev_acquisition_stop
commit 610dbb70914da9be34d9ac3f0c90a50356275277
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:32:58 2012 +0000
fx2lafw: Implemented hw_dev_acquisition_start
commit 7cb621d418281f64144048e6257055b1b25b5da9
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:21:08 2012 +0000
fx2lafw: Basic implementation of hw_dev_config_set with SR_HWCAP_LIMIT_SAMPLES
commit 62bc70e412e073580576fe8fda7c7bc7c9e2e30e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:02:52 2012 +0000
fx2lafw: Added more to hw_cleanup
commit f1898235e85c884cca985e797848930a6b52139a
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:00:22 2012 +0000
fx2lafw: Implemented hw_dev_close
commit 43125c69937d1599985c281de956f630c00525d6
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Feb 26 12:39:40 2012 +0000
fx2lafw: Implemented hw_dev_open
commit 7f6a3b43ad9e26a2928672927960bcc02a2c7510
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sun Feb 26 12:18:05 2012 +0000
sr: Moved GTV_TO_MSEC to sigrok-internal.h
commit b1eeb67e926ddaddc11e8a509692fdcaf3e2226e
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 25 11:58:55 2012 +0000
fx2lafw: Implemented firmware upload
commit cdfdd71101b04f13663b19b0ceffcdf63628dc36
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:42:08 2012 +0000
fx2lafw: Renamed fx2lafw_dev to ctx in hw_dev_info_get
commit 90282c82bce6cb108be2123d2393ce058c7aefdd
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 19:41:10 2012 +0000
fx2lafw: Renamed fx2lafw_dev to ctx in hw_init
commit cac0bbaafd0813bfdbfef1c7e235c5c886618354
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Mon Feb 27 20:50:00 2012 +0000
fx2lafw: Renamed dev_insts variable in hw_init
commit c69e35a7147ca0c1554c8ba13a9210fafb6f9796
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 27 22:27:33 2012 +0100
sr: sr_samplerate_string: Allow 3.15Hz etc. as output.
This is required for some hardware, e.g. ChronoVu LA8, where
33.333333 MHz or 2.439024 MHz are valid samplerates. This is because the
hardware takes a sampleperiod (in nanoseconds) as input, not a
samplerate (in Hz).
commit aae2fed675fc63aae58569a03c71201dc449344b
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 17:41:22 2012 +0000
fx2lafw: Implemented hw_get_status
commit 8b35f474832e486116d72a76657fc75e95d4db3c
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 17:39:39 2012 +0000
fx2lafw: Exposed capabilities data
commit 187b358232aa90de8ee12df915506f839a98f2ad
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 16:08:47 2012 +0000
fx2lafw: Added probing for fx2lafw devices
commit f302a082567d10f90cd20fca5a7abd68d7267d96
Author: Joel Holdsworth <joel@airwebreathe.org.uk>
Date: Sat Feb 11 12:08:49 2012 +0000
fx2lafw: Added empty hardware module for fx2lafw
commit 04254c3f833fd048668507fcd925b290c55664d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 23 21:54:07 2012 +0100
sr: la8: Improve comments and messages a bit.
commit 050e9219d6bca0d6f986dca07fc2c501295c5bde
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 22 21:48:30 2012 +0100
sr: No need for dynamic hardware driver registration.
We don't need or allow run-time registration of hardware
drivers/plugins, they're added at compile-time.
commit 47671b0f26cc6b3e7cf16257f458eadefe623d9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 22 19:53:27 2012 +0100
sr: la8: Remove some unneeded checks.
commit ea9cfed7a55260ab97f57150b57c42a28c3a85a7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 18:07:42 2012 +0100
sr: Consistent ctx name for per-dev-inst context.
commit 6b3dfec8dee898726b7b606cdd230bf8bd73bcbc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:17:56 2012 +0100
sr: Fix incorrectly renamed functions.
commit ee61b340da0bf4f0eb728c375459388c6a7bfd84
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:16:49 2012 +0100
sr: Remove unneeded temp. variable use.
commit a9a245b428cb9645d73044f6741818d2499efefc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:11:15 2012 +0100
sr: s/config_set/dev_config_set/.
This functions is per-device-instance, so use dev_ as prefix as with
the other ones.
commit 69040b7c8ff82aef2ad712b7881492d0fa4c86a8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 12:03:49 2012 +0100
sr: s/acquisition_*/dev_acquisition_*/.
These functions are per-device-instance, so use dev_ as prefix as with
the other ones.
commit e7eb703fff0167897f7e094e2edbf7d5798857ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 11:57:43 2012 +0100
sr: opendev/closedev -> dev_open/dev_close.
commit 8105505d064ca8cc32799c119c5526fb337a5660
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 11:46:51 2012 +0100
sr: s/st*_acquisition/acquisition_st*/.
commit 5097b0d0912165429aceddb5febbf68467b623f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 11:41:21 2012 +0100
sr/cli/gtk/qt: s/get_dev_info/dev_info_get/.
commit a7d05fcb388f142012035a0ed31bcf74d42bbe73
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 00:31:35 2012 +0100
sr/cli/gtk/qt: s/configuration/config/.
commit ffedd0bf5d3abb1eae86db68e336285eddf41778
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 18 00:17:18 2012 +0100
sr/cli/gtk: s/capability/hwcap/.
commit 1d9a8a5fe1458d4b1ecd250161a7962988359350
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 23:55:27 2012 +0100
sr/cli/gtk: A few more s/instance/inst/.
commit bb7ef79377ae617e1275373e0b631beb7f909d73
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 22:25:01 2012 +0100
sr/cli/gtk/qt: s/device/dev/ in many places.
Also, a few s/instance/inst/ occurences.
commit d68e2d1a21ac5c3f24d88b7689f98764e4d57c30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 21:02:52 2012 +0100
sr: Some more s/device_instance/dev_inst/.
commit 44dae539254e324e0330e194f9c775be3d761503
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 20:44:19 2012 +0100
sr: Random cosmetics, fix/amend Doxygen comments.
commit 7b48d6e104fd461b0c12519b70dbd1c6c72824e1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 17 19:40:01 2012 +0100
sr: Prefix log messages with subsystem string.
commit 93a04e3be9cdaa276d9e7fe14da053483b567b74
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 15 03:18:48 2012 +0100
sr: rename all sr_hwplugin(s)_* functions to sr_hw_*
commit 9fc6aa0a566d093b36cdbdad46e0cbdc116ff538
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 13:18:17 2012 +0100
sr: la8: remove debug output when no device is found
commit 341ce41545cab2bda88230c8434f36c64eadd8a1
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 12:26:22 2012 +0100
sr: don't free driver-specific per-device struct in drivers
sr_dev_inst_free() takes care of that.
commit da1466d677afadcb17b12ebc1223ab0bdafe21db
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 14 00:23:51 2012 +0100
sr: rename more functions to sr_thing_action format
Also improved the interface to find capabilities in a hardware plugin.
commit d3683c42e74fa61c21fc0f1bf360ae201fc4b1d1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 15:31:59 2012 +0100
sr: rename all sr_device_instance_* functions to sr_dev_inst_*
commit c532476aa7b9a4afb1f32d5b634348d3e825d6bb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 15:23:16 2012 +0100
sr: rename hwplugin functions to sr_thing_action format
commit e0c25ac99c64f024e30d84c96e3ec48b44fda8d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 13 19:49:09 2012 +0100
sr: Add missing #include, fixes warning.
commit 57ab7d9f925c0f93ec711c4e6914881e5ff5dfd9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 12 20:52:42 2012 +0100
sr: cleanup callback: Return int.
commit 3010f21c9170e9f235d49bc7b333d17677c70e5c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 12 13:31:58 2012 +0100
sr: stop_acquisition callback: Return int.
commit c73d2ea421c2b425c3f0ae33bce2bfd0c448ca5f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 14:31:51 2012 +0100
sr: adjust copyright year
commit 031685005b022b98b5b1604cc6226c0cc2b959f8
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 14:00:47 2012 +0100
sr: rename all sr_device_* functions to sr_dev_*
commit a1645fcd81ed4be71d29380218acb078789a6268
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 03:36:32 2012 +0100
sr: more API cleanup and documentation
commit b2ff95063a845ec7130d97fc3d8e9c65fe45f902
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 02:16:32 2012 +0100
sr: whitespace cleanup
commit 996b0c7234c5cc420181b57370f6ba264aee24d2
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 02:13:51 2012 +0100
sr: clean up public/private split in headers
commit 18beaeff948f5730e1ffbc1a50e8b86c7673f084
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 13 00:08:23 2012 +0100
sr: cleaned up session bus debug helper
commit bb08ee2e534a7fca22cff2f8d963d64441b6d65a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 23:57:43 2012 +0100
sr: public/private API cleanup in hwplugin
commit 6cfa474a809a56e1ea59f7356570a9fb4b6f2a3e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 22:36:19 2012 +0100
sr: rm unused sr_device_clear() and sr_device_probe_clear()
commit 040ae8be943b499b5e786e4861ed1109ae4ebcce
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Feb 12 20:43:20 2012 +0100
sr: sigrok.h is no longer generated
commit 133a37bfba1a7e1423716b2b872d3bb82a2e64d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 20:06:46 2012 +0100
Use g_try_malloc/g_free/g_strdup consistently.
Avoid plain malloc()/free() in sr/srd, especially in the API calls.
Also avoid g_malloc*() in favor of g_try_malloc*().
Use g_strdup() instead of strdup() so that we can use g_free()
consistently everywhere.
Exceptions: Stuff that is allocated via other libs (not using glib),
should also be properly free'd using the respective free-ing function
(instead of g_free()). Examples: Stuff allocated by libusb, libftdi, etc.
Also, use sr_err() instead of sr_warn() for actual errors. sr_warn() is
meant for non-fatal/uncritical warnings.
commit cd853ff0b2b0ad2643d65e73159661e1a3c6bc66
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:39:25 2012 +0100
sr: chronovu-la8: Add missing <stdlib.h> #include.
commit 8c4b60039390eac40fe24c191e89edfd39eac8b8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:38:48 2012 +0100
sr: asix: Change a free() to g_free() as it should be.
This also fixes a compiler warning (on FreeBSD at least).
commit 44b6aafdb748d961547bb80d5b0a0511f35d9702
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:34:16 2012 +0100
sr: FreeBSD has zlib, but no pkg-config file for it.
commit bf3f06c9c2a73b7c30862daab1e2731768ba6abc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 11 00:20:23 2012 +0100
sr: MinGW/Mac: No libusb_detach_kernel_driver() support.
commit 12f3e8741b5ae651569ca65b94f22a4dc154da7a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 8 22:08:55 2012 +0100
sr: Doxygen comments for loglevels.
commit 0ae67ff784db96268d4dae4b7ac896a78828746d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 8 22:04:13 2012 +0100
sr: Implement proper logging framework.
This is pretty much identical to the current libsigrokdecode API/framework.
commit d38cd6c1f6f3f23b2f659be2d189f56c7592b805
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 7 23:50:47 2012 +0100
sr: saleae: Fix typo.
commit 003f9bebf9f97225b08383573544c1ece7239aea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 7 23:49:51 2012 +0100
sr: saleae: Support more recent firmwares.
commit c32cc2504b471deab0f511037f843234c726c461
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 6 23:50:22 2012 +0100
sr: udev file: Add QuantAsylum QA100, Rigol VS5202D.
commit 657832184893c8a5e3b28ebf71109956a4a57246
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Feb 6 22:46:22 2012 +0100
sr: s/z60_sigrok.rules/z60_libsigrok.rules/.
commit 7c1d391c8b33bf76f7c6617fe9d5174e16a04f95
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:56:51 2012 +0100
sr: input/output: Mark more symbols with SR_PRIV.
commit 0f8522bf74af8abfe8601e978b2e0d0e40b1a124
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:41:30 2012 +0100
Project-wide consistent naming for #include guards.
Document the naming scheme in HACKING.
commit 5c64390e5ac8a0052d8b7eeb49c781d86027c814
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 4 10:10:43 2012 +0100
sr/cli/gtk: Remove analog left-overs from API.
This will come back in some form or another later, but for now
don't clutter the API with non-working stuff. Removing stuff from APIs
is not possible without breaking the API, adding stuff later is simpler.
commit e7ee300a12391640ff499eaa4d54089fe7e825f2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 13:37:02 2012 +0100
sr: zeroplus: Drop unused global variable.
commit 3d2efd7d15f1e35b4080c4632dd94376ae824fa2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 13:36:03 2012 +0100
sr: Compile fix for Windows/MinGW.
commit dff75c0df1be07db2e63ef242e843c925779bddb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 5 12:54:44 2012 +0100
autogen.sh: aclocal support for Windows XP/Vista/7.
commit ca070ed9a0237e5cea10e5dd974e06da62de890d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 2 21:15:04 2012 +0100
sr: Make more symbols private via static/SR_PRIV.
Additional zeroplus fixes:
- Remove unneeded function prototypes from .h files.
- Remove unused variables and/or use standard libusb #defines instead.
- Remove unused GL_* error code #defines.
commit 185ae2c5c9ada0353b43e3736e838bbc8e370cb4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Feb 2 21:08:33 2012 +0100
sr: zeroplus: Remove unused gl_open()/gl_close().
Merge the missing function calls into zeroplus.c's init functions.
commit 1a081ca67d63a0bd933a3d715792d85afd437296
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 1 23:40:35 2012 +0100
sr: Mark API functions with SR_API/SR_PRIV.
Use SR_API to mark public API symbols, and SR_PRIV for private symbols.
Variables and functions marked 'static' are private already and don't
need SR_PRIV. However, functions which are not static (because they need
to be used in other libsigrok-internal files) but are also not meant to
be part of the public libsigrok API, must use SR_PRIV.
This uses the 'visibility' feature of gcc (requires gcc >= 4.0).
Details: http://gcc.gnu.org/wiki/Visibility
commit 0146970797e809555b2feea9fdbc3933f9e24e8b
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Feb 1 02:59:41 2012 +0100
sr: remove unused time/duration fields from datafeed packets
commit 69890f7399f086c38670961dc72166f00de89af6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 29 23:06:10 2012 +0100
sr: Eliminate usb/serial instances from API.
The API should be generic and only provide sr_device_instance_new() and
friends, but not sr_usb_device_instance_new(), sr_serial_device_instance_new(),
or others for other device types we may have in the future. The
frontends shouldn't have to know or care about this implementation detail.
This also fixes the problem that parts of sigrok.h contained
'#ifdef HAVE_LIBUSB_1_0' and such, which is even less desirable for the API.
The usb/serial instance specifics are now private, and each driver that
needs them keeps a pointer in its driver-specific context.
commit c31e9ef49b84b61a353168956882140e2b5a93bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 31 01:54:08 2012 +0100
sr: zp: Add missing <string.h> #include.
commit fd9836bfab434ed227b685d184e266d3cbc4f6c8
Author: Anatoly Sokolov <aesok@post.ru>
Date: Sun Jan 29 16:56:06 2012 +0400
Add sr_device_get_info
commit bf43ea2317d35a3bc774a9c7e1cf6ff9b6204736
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 29 19:14:25 2012 +0100
sr: zeroplus: Use device-specific context.
Make the zeroplus driver use a "struct zp" with per-device-instance
data (such as samplerate, trigger settings, and so on), like the other
drivers do.
Also, add a few more error checks.
commit ae32d7d759f5722f9d82a2da8ec4bbdebcfd029b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 29 12:47:53 2012 +0100
sr: la8: Fix typo.
commit 73017cf914b014ff3366de981035ca23ac72a0be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 23:29:28 2012 +0100
sr: zeroplus: Fix a segfault.
commit ef7228ba49ddaced0f1972a4788ff2fdb8dcd57d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 21:26:56 2012 +0100
Update/enforce/document our build requirements.
commit fb93625d1afbe0bc2648b550102c100949066fbd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:42:04 2012 +0100
sr: sigrok.h.in: Set SR_HWCAP_DUMMY to 0 explicitly.
commit 660ef7d730969a401b3d64dc624138567dbbdb7a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:40:05 2012 +0100
sr: sigrok.h.in: Drop obsolete 'GSList *analyzers'.
commit a4cfb10f7fcb5dd5c7df403bff0787bb6b1c1949
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 28 19:23:09 2012 +0100
sr: Drop analog left-overs from sigrok.h.
For now, there's no analog/scope support in sigrok yet (will be added
later), so remove any such items from the public API (sigrok.h).
Having '#if defined(HAVE_LA_ALSA)' in sigrok.h is a bug anyway, the API
must not have anything device-dependent in general, and sigrok.h
specifically must not have any #ifdefs for specific hardware.
commit a141db8c4acb98c01dbc0a73f82111ee56f1050a
Author: Anatoly Sokolov <aesok@post.ru>
Date: Sat Jan 21 18:34:11 2012 +0400
add SR_HWCAP_DEMO_DEVICE capability
commit f020a99773d1431ee58090e9515dc19b10e7463f
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 12 11:50:50 2012 +0000
link-mso19: Fixed led toggling (the bit masking was not being proprly done).
commit e084a8042ea0bccb306e39725de73546138e1adf
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Wed Jan 18 16:03:39 2012 +0000
link-mso19: Prevent double free errors when freeing sdi->priv.
commit 357285a944b514bb4498f16b6318829516e33e1a
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Wed Jan 18 12:09:36 2012 +0000
link-mso19: Add debug messages.
commit a29360733d32e8479147178774d6a72e62f4e56c
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Tue Jan 17 13:41:38 2012 +0000
link-mso19: Properly initialize the protocol trigger block
commit a84671913ef320d10607f9c8aabaf6bc3563099b
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Tue Jan 17 13:16:41 2012 +0000
link-mso19: Added new register definitions and renamed variables to reflect new findings.
commit 80aa5f23d1225776a7db0fc6faa763bb5c141dcf
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Sat Jan 14 12:46:27 2012 +0000
link-mso19: Added struct definitions for the pattern generator config and the protocol trigger config.
commit 66410a8617185da7abf4ca21da99e934b22351bb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 19 00:32:02 2012 +0100
sr: g_free()/g_string_free() can handle NULL input.
commit af1c793dfe27b622a48dd213c4d42bc012e81965
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 15 23:14:45 2012 +0100
clean up some dead code
commit 8f81fe87287eba2113c3db9d2f894314b70afd19
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 10 22:16:41 2012 +0100
sr: s/g_message/sr_dbg/.
libsigrok should only use sr_*() for debug output.
commit 8c76be539e8098c08f69f56053077211001ed52b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 8 22:05:00 2012 +0100
clean up drivers at the end of a session, and fix session file init.
commit e0508e67998b6b2b5cdd65b4b094b50c07386385
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 17:08:54 2012 +0100
sr: session: Make most functions return int.
This allows us to return error codes etc.
Add a little more error handling.
commit b3b21462914d6ed89c85f3da27d46744b863f800
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 7 14:15:10 2012 +0100
More .gitignore files cleanup.
commit db4b455beeeb4ad632b4e394402b83a4305a40fc
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 7 02:13:05 2012 +0100
remove obsolete libsigrokdecode struct
commit 8ff6afc95d2a9213b8a583e88e9e1b4eb59aad17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 6 16:20:28 2012 +0100
sr: Consistently use 512kB as default chunk size.
commit 1190dcf713a458d99c612f8f41c2d28e666aabfb
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Fri Jan 6 11:07:37 2012 +0000
Added "autostuff" to the .gitignore.
commit 446a037205a7488b424bde90d1b633f00640ef12
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Fri Jan 6 00:04:29 2012 +0000
session: Fixed error reporting.
commit 42eb54fb62b84adb5aaa4bf9144752e46ade54ea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 6 01:05:55 2012 +0100
mso-19: Fix whitespace.
commit d88b9393241e250590333326a4f8d19b53b4bdc6
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 5 23:37:54 2012 +0000
link-mso19: fixed segmentation fault.
commit e42ef08dba163e8c9ef933347732d9e8c58ab399
Author: Renato Caldas <rmsc@fe.up.pt>
Date: Thu Jan 5 19:42:06 2012 +0000
link-mso19: Updated to the current structs (fixed compilation).
commit 0c8dc7b4160c47a21925e22da7c1be73e4c3a39a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 16:45:53 2012 +0100
udev: Add missing USB IDs for some devices.
commit 8e43129c10669d767d7eb17e786f38b70d799e60
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 15:26:41 2012 +0100
A few more fixes for configure.ac files.
Add missing checks and quotes, remove superfluous checks, etc.
commit dd8b5f565f60d536104b30bee8aadf4ea333aa7c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 02:50:26 2012 +0100
sr/srd: Add Doxyfile to the tarball.
commit 4abf8dd0a540db8c8f5af5e6bd78c6eb7b473d9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 02:41:33 2012 +0100
srd: Show config summary, libs, and Python info.
commit 45aed0721c687a29bb394bff10cc129dab0f11c2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 00:49:21 2012 +0100
sr: configure.ac: Print more summary info.
- Package version (major.minor.micro)
- Library version (current:revision:age)
- Installation prefix (usually /usr/local)
- Detected libraries and their versions (only for pkg-config libs)
commit 3af71f0da646de1e61ccbed2e85e3fca9798565c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 4 00:05:43 2012 +0100
sr: configure.ac: Fix version number magic.
commit d8521c939f19b08cb991df7d0731fa358381d61c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 21:55:48 2012 +0100
Put most autotools files into autostuff/.
This yields a slightly more "tidy" top-level directory.
commit 8e190238d7b33ebb9f1baa2a28a37ffd041f7334
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 20:06:36 2012 +0100
sr: Put files into .../share/libsigrok.
commit 0da5b6a9f5a119ab485ed3dba08aeb4a3ad2c8f4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 20:01:02 2012 +0100
sr: Remove useless filename prefixes.
commit cd315a80d87a24a19a7846497d74c5ca85d494a0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 3 19:56:01 2012 +0100
sr/srd: Fix left-over #includes.
The libs themselves should use #include "sigrok.h" etc., while the
frontends must use #include <sigrok.h> and so on.
commit 3b7c8f54fcf4c6de1ec67d11a9ec8975a2ddbb57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 2 14:25:52 2012 +0100
sr: Drop some obsolete and commented out code.
commit 9f45fb3aea9aa628ec2323bac8f2c354f5f3983c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 2 14:15:25 2012 +0100
sr: session: Add docs and some error checks.
commit 13177edbdf23200001fcc141f61419beb93962b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 22:38:25 2011 +0100
Split README, add appropriate ones per-project.
commit f928befdadd7b9a50ded5fe730a0aeec06b1ed09
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 22:12:37 2011 +0100
Update/fix .gitignore files.
commit db8ae7b941a31b2bc64e14d60a1e962fd2b2dc38
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 10:50:00 2011 +0100
sr/srd: Remove/fix non-applicable autotools stuff.
commit 826938d81e2e5bf592fbed82523081fcb7fdf85e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 30 10:42:39 2011 +0100
sr/srd: Move some files to their resp. dirs.
commit 5e59cfbfc736aab9e79caef4ab6bdcbc500e254f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 29 13:05:24 2011 +0100
Move most contrib/ stuff to libsigrok.
The udev rules file is libsigrok-specific, the gnuplot files too.
The nsis files stay in the top-level contrib/ for now, they're not
really part of any of the (sub-)projects, but rather are used to create
a single Windows .exe installer for all of them.
commit c37d2b1ba12b62d63590509879bf58adf842896d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 29 19:50:14 2011 +0100
probe names: Fix cosmetics, add docs, fix off-by-one.
commit 464d12c72aa8d83acccccbbc0bc755fbb9d542c0
Author: Kristoffer Sjöberg <ksjoberg@q1.se>
Date: Thu Dec 29 17:04:31 2011 +0100
Move the probe naming to the creator of the device, and let each driver name its own probes.
commit 2d83e0f963b39104ba065c61ef22456adcf15a8d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 23:11:52 2011 +0100
Fix outdated ezusb_install_firmware() prototype.
commit b7f09cf86dd57a59dc1bdece2cac9e4a176900b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 23:07:08 2011 +0100
libsigrok: Fix #includes.
In the lib, we should only #include "sigrok.h" or "sigrok-internal.h",
but not the (possibly installed and thus different/older versions) via
<sigrok.h> or <sigrok-internal.h>.
Frontends should of course use <sigrok.h> and <sigrok-internal.h>.
commit a0ecd83bc6e07ea412db5cd0108d50d89e36df8f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 22:55:21 2011 +0100
Make more variables/functions static and non-global.
The 'GSList *devices' from device.c was actually really global (i.e.,
listed in sigrok.h), which is now fixed.
commit c5d660ae244babd4afc7863ba23f66d31af6e29e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 21:38:56 2011 +0100
Drop unused 'global' struct/variable.
The libs shouldn't have any (externally visible) globals anyway.
commit 155d1012f138fa94980c33a0e42b50ca0922ddce
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 21:37:37 2011 +0100
sigrok-proto.h: Drop obsolete prototype, move other one.
commit 08d4cc1d146478aa9f6032fc65142293df822726
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 21:34:37 2011 +0100
device: Make some parameters const.
commit 0e3b143994797cd4685526b9a739089fe83385cf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 17:16:33 2011 +0100
device: Change some functions to return int.
The callers of these functions are yet to be changed so that they
actually check the return values and handle errors appropriately.
commit 94799bc4dc6ab1ba64cdb7f0fb350d63d4fcee66
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Dec 28 16:19:15 2011 +0100
device: Add Doxygen comments, improve error handling.
- Add Doxygen comments for all functions (some TODOs remain).
- Check return code of more functions, handle invalid input.
commit cb1e389c72ead8cf6eb440f3194f5056d86069ec
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Dec 15 03:31:31 2011 +0100
make time/duration work, at least when loading from a session file
PD decode() call now takes 3 arguments: timeoffset, duration, data
as per the current API specification.
commit 15278f3e9cf4c4a4a6c331e042f9935709343c82
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 25 19:59:15 2011 +0100
datastore.c: Improve error handling and docs.
- Add Doxygen comments for all functions (some TODOs remain).
- Check for invalid input parameters (such as NULL pointers etc).
- Return SR_ERR_ARG upon invalid input parameters.
- Make sr_datastore_put() return int instead of void, so we can pass
an error code (SR_OK, SR_ERR_MALLOC, and so on) to the caller.
commit 7a6ec0c376cec9e41a12a876edea34fecaf5c2aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Dec 23 15:26:54 2011 +0100
sr_filter_probes(): Check for too many probes.
Return SR_ERR_ARG if the number of enabled probes is higher than the
requested unit size supports.
commit 488a13b110d3563194dd63e087e295a4aa114002
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Dec 22 14:10:16 2011 +0100
Improve sr_filter_probes error handling and docs.
- Much more elaborate doxygen comments for the function and its
parameters, allowed input values, and so on.
- Make 'probelist' const, the function doesn't modify it.
- Check for invalid inputs such as NULL pointers.
- Use g_try_malloc() and g_free() for the output buffer. Document who
is expected to g_free() the buffer.
commit 25a605d187e9661757a1e5d4bd15fac2b533c296
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Dec 4 18:33:29 2011 +0100
libsigrok: Quickfix for a segfault in ChronoVu LA8.
commit 276585ff209d02ea058f09820881ed536e48e3bb
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Mon Nov 28 21:52:35 2011 +1300
srd: Pass samplerate to decoder in metadata.
commit f64c14141b0c90fa78cacbc502dd2a41239376fd
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 27 19:31:25 2011 +0100
fix CLI size string specification
accept "hz" as optional qualifier but nothing else
properly return an error instead of quietly returning zero size
commit cb93f8a927e6fb2cb1d89176766c5c9c398db5c3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 24 22:57:48 2011 +0100
Other method to avoid "unused var" compiler warnings.
The '(void)varname' method is nicer than 'varname = varname' and also
prevents warnings when compiling sigrok with clang instead of gcc.
commit cc8a7d250cf7daff452ce376224c9853529204ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 24 22:42:02 2011 +0100
Add missing #includes to avoid clang warnings.
commit e7bad06355ea218d83e6df1d1137e67a58513b35
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Nov 20 03:16:33 2011 +0100
la8: device not found during init() scan is not an error
fix some hardware plugin semantics
commit e48846b1d211ce88e5ad427c034e0a2fb43bbe37
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Nov 19 16:19:24 2011 +0100
libsigrok: glib-2.0 is a hard requirement.
commit 4d436e71ba6059b217a3d90775033e850944ad42
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sat Nov 19 13:41:41 2011 +1300
Changed SR_T_NULL to SR_T_BOOL and adjusted RLE option.
commit 6bb5c5fadfe011ae7797138fb9e9ade32edb0caf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 17 23:00:33 2011 +0100
Consistently use __func__ instead of __FUNCTION__.
The __func__ form is standardized and more portable.
commit a562c3a2e5e54dbb7e0553422ac0e0c845b180ad
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Nov 17 22:54:17 2011 +0100
libsigrok: Use sr_err() et al instead of printf.
commit 805e9640ff4a28dc470afb0b4f3b02aece44179b
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Thu Nov 17 21:18:46 2011 +1300
Fixed a crash when loading a second session file.
commit 48ca6b54b0a5e7b0cd5f34fa4066523a1a3cc3a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 15 22:46:57 2011 +0100
sigrok.h: Remove SIGROK_*VERSION #defines again.
These version numbers represent the sigrok version (i.e., the version
of the tarball, such as "sigrok-0.2.0.tar.gz"), but _not_ the libsigrok
(libtool) library/API/ABI versions. Thus, they should not be in
libsigrok's include file (sigrok.h).
commit 719c5a934c7705466a449854b876b9962eb4cb5e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 15 21:05:40 2011 +0100
Fix some compiler warnings.
commit 300007323ec5963e211b75d2e0d957721dea35fa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Nov 15 01:11:27 2011 +0100
libsigrok.pc: Add Required.private field entries.
The "Required.private:" field in pkg-config .pc files is used for
declaring that we need the listed libs (pkg-config packages) for
static linking, but not for dynamic linking.
I.e., the "Required.private:" field should be used for libs which we
use internally in libsigrok, but which we do not "expose" ourselves.
For now all libs are listed as "Required.private:" instead of
"Required:", but this may not be entirely correct and needs to be
checked carefully at some later date.
commit 5c582d9f61fa7dad2a5cf07e1f464b6b6ffb1e28
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Nov 6 11:44:25 2011 +1300
Remove IO source if callback returns FALSE.
commit 52f28f821f8923f52fce5b76909c00015231e299
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 29 19:27:32 2011 +0200
sigrok.h: Add SIGROK_{MAJOR,MINOR,MICRO,}_VERSION #defines.
commit 7583b99dbb2310ce2e34fd435c42634dec940ad6
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sun Oct 30 14:25:24 2011 +1300
OLS: Calculate actual sample rate used.
commit baf1d71477ea5c1dea449bc9ce72b39d02751934
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Oct 30 02:10:32 2011 +0200
ols: Minor whitespace and coding style fixes.
commit 3a4d09c0de68c3ae9f287d243967431b8e3de0b7
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sat Oct 29 15:57:17 2011 +1300
Run-Length Encoding support for the OLS.
commit 221304219ef861c14a44017eb025631bbd2fa05c
Author: Gareth McMullin <gareth@blacksphere.co.nz>
Date: Sat Oct 29 15:21:16 2011 +1300
Prevent reading past end of OLS hardware buffer.
commit 9a751023136a058dadf008a4ff983351947cc0df
Author: Jerry <jerry@xor-gate.org>
Date: Mon Jun 20 23:43:44 2011 +0200
Mac OS X build fixes
commit a634574eae69c9e712d5dbec8b97809840876c5f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 20 11:43:34 2011 +0200
saleae-logic: fix timing on packets when triggering is used
commit 7d2afd6c954e4b1507b494c5c0d469c2ecf59cb2
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jun 20 11:42:43 2011 +0200
better session bus logging
commit 9c939c5132d82575cc1ce8f8fef5b6c4289aec5b
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 19 14:28:50 2011 +0200
use new datafeed packet format
commit 38ab3ee79db2a08dd1f01fff08b7474093a48ce5
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 19 02:35:23 2011 +0200
new datafeed packet format
struct sr_datafeed_packet now has timeoffset and duration fields,
expressed in picoseconds (1/10^12 seconds)
length and unitsize are now in a separate struct sr_datafeed_logic
commit 60eb1eb5820be30671729c08b371b0ab3c14c860
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 19 00:55:36 2011 +0200
fix parameter type
commit 8e49cebd10a1f34e9d5cdafeebc4c59a5c3c563c
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 12 18:07:15 2011 +0200
whitespace
commit 6d754b6d3a8f843cd5254617674f484cac9b12db
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 12 18:04:19 2011 +0200
support for multiple FX2 devices
commit e53c830f33d08633db4eb560f08d2518ff26ad9e
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jun 5 02:08:08 2011 +0200
saleae-logic: use new logging system
commit e10d6e32e4d8766e12b752da6d1806944b0ee85e
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jun 4 23:20:00 2011 +0200
saleae-logic: support for other FX2 devices (bare FX2)
This enables support for devices that have a different VID/PID
than the Saleae Logic, and yet another after firmware upload.
After firmware upload is checked every 100ms whether it came back,
instead of always waiting for 2 seconds.
If the kernel attaches a driver to a device we know, detact it first.
commit 8722c31e26ecebfc75035a566d4d72d07761ef14
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Apr 4 05:13:29 2011 +0200
better cleanup of device/plugin resources
commit 896a19fd65790093b60ece2d1bdd36caba74eaf8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 9 00:59:41 2011 +0200
LA8: Remove trailing whitespace.
commit d1175d5f7e184dff420038a801113f1d3c8a6ee8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 9 00:54:59 2011 +0200
LA8: Use sr_spew() where appropriate.
commit f36cbf60cbd43be46ede083265549068db21f4b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 9 00:52:55 2011 +0200
LA8: Improve trigger support and debug output.
commit 06dd80d424a511736e0c61492bd618a5c3e65cff
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 8 20:26:22 2011 +0200
Add sr_spew/SR_LOG_SPEW for even more debug output.
This is meant for really extensive debug output which can slow down
operation significantly and should thus only be enabled if really needed.
commit a76983fd207554de93adabfd33d2abf8d0f3662a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 8 20:20:26 2011 +0200
LA8: Eliminate magic numbers.
commit 4d7b525ae9c0a85097280e77b9c158e9c4c8c6e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 8 20:09:22 2011 +0200
LA8: Add trigger point support.
Report trigger point/position via SR_DF_TRIGGER packet.
commit 5a9660dd4e4977b9c3a86fe895e0b714e64a44a1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 6 20:38:48 2011 +0200
demo: Use memset(), might be faster.
commit c03ed397330b031fa5f63a5dd548e05c2c2d6923
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 6 20:34:12 2011 +0200
demo: Add all-low/all-high pattern support.
Also, improve error handling a bit.
commit c8f4624d9b265f63bc880df28bd9b1a7e29f1488
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 5 13:02:48 2011 +0200
demo: s/genmode/pattern/.
commit 0d31276b05643407ba4a4a9e3f0f95e259c8baa2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 22:37:12 2011 +0200
demo: Rename GENMODE_DEFAULT to GENMODE_SIGROK.
Also, add (Doxygen) comments for the currently supported patterns that
the demo device/driver can generate.
commit e88dadd77cd9fcb4fc0e85eeb6c41155847529ad
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 22:26:55 2011 +0200
Improve (Doxygen) comments for HWCAP entries.
commit 68c12597efda33a30b6152cbac4b805604f3e671
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 20:05:33 2011 +0200
demo: Eliminate unneeded tmp_u64.
commit d3b1b51cbef3edfeefbc5b9edfdd8423c6d5e8e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:46:33 2011 +0200
LA8: Free memory from g_*alloc*() via g_freee().
commit 340cfac0f0629aa3ee84a0a4db53381d04079fe3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:44:25 2011 +0200
log messages: Use device name, not vendor name.
There can be multiple devices from the same vendor, obviously.
commit 697785d1aedc0bf385ea21074d83d61b11d8ce29
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:34:12 2011 +0200
libsigrok: closedev() now has a return code.
This is useful to allow frontends to react upon close failures in a
way they see fit (e.g. a popup in the GUI, or error message in the CLI).
They can also still ignore the error if they want, of course.
commit 1352eeddd4d164b58f2233ae109432b73faab539
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 4 19:03:01 2011 +0200
libsigrok/cli: Implement loglevel support.
libsigrok can now be told at which loglevel to work, i.e., how many
debug/error/warning output to generate. You can also query the current
loglevel.
In sigrok-cli it is now possible to set the loglevel via -l. For example:
- Disable all output: sigrok-cli -l 0
- Only show errors: sigrok-cli -l 1
- Show errors, warnings, info, and debug messages: sigrok-cli -l 4
commit 548b08e55cf05aeb8f57b26b29035c3fb153f0f5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 3 19:18:43 2011 +0200
Drop unneeded skeleton files.
They're not too useful as they mostly consist of a list of function names,
and that list is already available in the respective struct. The wiki
API docs and the code in the various hardware/output drivers serve as
useful examples already, no need for additional files.
commit 86f5e3d826fc9059e110f07221cb1a30652ceac2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 3 19:15:54 2011 +0200
libsigrok: Rename open/close to opendev/closedev.
commit 6f42226475bea46cebd348c1c7556cf9a6fce118
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 2 01:40:16 2011 +0200
demo: Add some more debug output.
commit 02604ed6def368edd782bae3c43c7de86111691e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 26 23:56:00 2011 +0200
Initial support for CSV as output format.
commit f38bdf5678d35a1493c17a5c260fc1120d93bd93
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 26 17:27:34 2011 +0200
Change left-over SIGROK_* to SR_*.
commit 4362438f1e2da14d04678327c403f9d75c4c0a48
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 25 00:16:47 2011 +0200
LA8: Shrink mangled_buf from 8MB to 4KB.
It's not necessary to have an 8MB buffer. Also, make it static, don't
use malloc() here.
commit da0918aae0d43ab25cb72ddf8773831f0364ebdb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 24 22:53:27 2011 +0200
ASIX: Small consistency fixes.
commit 4bc5fd4568350e3d4025ea72158a8a611650a912
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 24 22:50:04 2011 +0200
LA8: Eliminate unused num_probes variable.
commit 309397702f747ea6326492d841a31fddd2d76a9f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 24 22:48:45 2011 +0200
LA8: Replace some sr_warn() with sr_err().
commit ecaf59db8d79286b69a489273f4262901c0588f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 17 10:11:52 2011 +0200
LA8: probeconfig/trigger support.
This should make proper trigger support work for ChronoVu LA8.
commit 4af22da5950cf490f2300199dfacd705e1d220b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 19 00:27:29 2011 +0200
Fix two small warnings.
commit e519ba8645b56f6c9eaaf69d6357a1efa8df501e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 19 00:14:15 2011 +0200
Hardware drivers: Use names for struct entries.
commit c0a4b9716d32811d9b2320884d3bd0e599feedcf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 17 14:51:54 2011 +0200
ols: Always use glib's memory allocation functions.
commit ecad043fd0c05ba307c3730438c1547a5dbe2608
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 17 10:22:10 2011 +0200
MSO19: Always use glib's memory allocation functions.
commit 27a3a6fe4b767414318c84a08c0cbe2c5a64e4b7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 17:23:04 2011 +0200
demo: Always use glib's memory allocation functions.
commit c548332c21acc2588114214b38eaa3237fc3f8b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 16:07:28 2011 +0200
serial.c: Use g_try_malloc().
commit 12ad53f5a6390e95ea0451ab3bd2c18574294aa3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 16:04:32 2011 +0200
ASIX Sigma: Improve error handling a bit.
commit 92b3101cfc71581a273e667f185b18be0f0c364f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 15:58:26 2011 +0200
alsa: Always use glib's memory allocation functions.
commit 2e82a17b5ae9d204c57b99db93f1063787f6c3d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 14:24:58 2011 +0200
LA8: Always use glib's memory allocation functions.
commit b53738baf76219237e0a6629905981d7a1f2508e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Apr 16 14:17:51 2011 +0200
Replace g_malloc{0,} with g_try_malloc{0,}.
The g_malloc()/g_malloc0() versions exit/segfault if not enough memory
is available, which is not a good thing in libsigrok.
Instead, we use the g_try_malloc()/g_try_malloc0() variants, which
return NULL if not enough memory is available, so that the caller can
handle the error properly.
commit 50959ddcdc455c930397fbc9f85c3a745ff45fda
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 15 21:49:22 2011 +0200
gnuplot output: Optimize by only storing changes.
Only output new lines in gnuplot output if there have been changes in
the samples (similar to what VCD does). As long as the first and last
sample are output, the resulting plot looks OK.
This reduces the size of the output file from roughly 200MB to just 60KB
in one specific test setup (depends on the number of probes and on the
signal, of course). The time and CPU load required to generate the gnuplot
output and the resulting plot (PNG or other) is also drastically reduced
from multiple minutes to roughly 30 seconds (again, depends on various
things).
Thanks Ken Mobley of ChronoVu for the report.
commit 15f2d0c0f2e39bc4338b0781b581aced0fca8e0c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 15 20:47:26 2011 +0200
Don't close/reset the FTDI device too often.
Only call la8_close_usb_reset_sequencer() in hw_closedev(), it's not
needed in hw_stop_acquisition().
Thanks Ken Mobley of ChronoVu for the report.
commit 2f5c8c9696f4a4a8ca7e3c7e6e7d2766a4927026
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 15 20:05:45 2011 +0200
LA8: free() sample buffers in hw_closedev().
Thanks Ken Mobley of ChronoVu for the report.
commit b08024a8363c7a019bebc05a25e2689e774326e8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 14 09:46:53 2011 +0200
libsigrok: Introduce sr_dbg/sr_info/sr_warn/sr_err.
We should use these (internal) functions in libsigrok exclusively from
now on, i.e. no more use of glib's g_debug() etc.
These functions are only for libsigrok, the frontends use whatever
logging mechanism is suitable there.
commit 83e9d586385097b957774d150a718ebaa7fcc3c9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 11 00:21:19 2011 +0200
Add chronovu-la8 input file format support.
commit 8c48f17944a224787aa430b3b3dc5f8709ccb700
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 10 23:33:43 2011 +0200
Add chronovu-la8 output file format.
commit 20ebd1fe1d9314f421cfdfc925eba6eee498ce80
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 10 16:46:05 2011 +0200
gnuplot output: More error checks.
commit cdb3573ceba61b02b80f7fc979d166db5b6ff3bc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 21:51:36 2011 +0200
input/output formats: s/extension/id/.
The struct entry 'extension' is not really a (filename) extension, but
rather a unique ID used for input or output formats, e.g. in the sigrok
CLI or GUI interface. Thus, rename it accordingly.
commit 8703f512a7c0e05f5fc3a5bc36f9e81afee71da3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 20:01:31 2011 +0200
LA8: Use the new SR_ERR_ARG macro.
commit f7d2982d42e876d8814cba203570a45284c79658
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 19:53:31 2011 +0200
Add SR_ERR_ARG #define.
Changing the number of SR_ERR_SAMPLERATE is not a problem ATM, as we
never had a public release of libsigrok, i.e. nobody relies on the API yet.
commit 819184ee68f1fda1ebc5b0a5f6aed403ecc27403
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 19:51:11 2011 +0200
Binary output: Add more error checks.
commit d494a4aa9dcbd90126d86757d16fa3e0f0a419f3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 6 19:42:49 2011 +0200
input/output formats: Explicit struct member names.
This makes it immediately clear what an entry is supposed to be, no
need to look it up in some header file.
commit f4314d7e0611917bdc7713dbffe17559490666d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 4 19:40:30 2011 +0200
Add initial support for the ChronoVu LA8.
commit 8a7b47cdfae4a4a95e92958beab41a4985e8f8e3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 23:18:46 2011 +0200
Revert temporary changes for 0.2 release.
commit 2f3aab0ee9797700238656218208a6ab17a607b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 22:38:35 2011 +0200
Disable some stuff which should not be in 0.2.
Disable decoders, disable lib building.
commit 847c21bc65343fa1197aa8455012d06a887e6626
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 3 20:15:12 2011 +0200
Hook up output/text directory with autotools.
This is needed for 'make distcheck' to work.
Also, add missing text.h to the list of source files.
commit 4fe9a6da79561d82f2c88c39e222ae86c5507900
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 3 06:15:45 2011 +0200
OLS driver overhaul
support for metadata in recent versions of the FPGA code
moved constants and structs out to separate header file
got rid of all device instance-specific globals
commit f437ea3fe2cada77634eb3a06d34abf680b9c092
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Mar 17 14:53:06 2011 +0100
small warning fix
commit 4487177c795db2393fd7e4a3c7b46b56345dc8e1
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Feb 14 05:55:01 2011 +0100
output_ols: disabled cursors don't really need to be listed
commit 82957b65b111437ebe445b7f165719eec2d4e147
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Mar 25 13:44:16 2011 +0100
ASIX Sigma: Fix firmware loading bug.
When no firmware file is found, return the right error code so sigrok
doesn't continue running with no firmware loaded.
Thanks Martin Stensgård <mastensg@ping.uio.no> for the patch!
commit 8bb416becf64c5095dc7f553a7899fbe9ebc28e0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:20:22 2011 +0100
Kill unused functions (avoid namespace pollution).
commit 120b259ea8f17b74deca3ba4b71e78771539bde8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:13:34 2011 +0100
Drop obsolete vcd_header.
commit d078d2e5f3842b1915ffa9961654f3aa4ed88e17
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:12:41 2011 +0100
Make some more items 'static'.
commit 25b4fb85572d0c86d9ccab2a48524f4dd9bef43c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 23:01:29 2011 +0100
Add doxygen comment to sr_filter_probes().
commit cd009d55619181e2fa7e7112f32fe85e4b49cf14
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 18:13:32 2011 +0100
sr_exit(): Return int to be able to report errors.
commit f5a443f27ad0e99f8f0f93867a1f298d7a6a327a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 18:08:41 2011 +0100
Make DATASTORE_CHUNKSIZE private.
commit c91404191e6b31ffe40edd8de469876a02c81d57
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 18:05:16 2011 +0100
Add SR_HZ macro for consistency.
commit 59df0c77e2906323290544ea62801831818ec096
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 22 17:57:03 2011 +0100
Add SR_ prefix to the KHZ/MHZ/GHZ macros.
commit 9688b443f65c7779a07b0e3ef2b9f9721ff742cd
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 18:39:47 2011 +0100
Add SR_ prefix for MAX_NUM_PROBES/MAX_PROBENAME_LEN.
commit 4cea9eb20dc8d816a67c57d111a3a4529d452e4d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 18:29:05 2011 +0100
Make ARRAY_SIZE/ARRAY_AND_SIZE private.
This is not libsigrok-specific and should not be part of our API.
commit 54ac5277c5e462f1778300b9bc3fdd4709ecb2dc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 18:24:25 2011 +0100
Constify some more 'char *' parameters.
commit 809c5f2011198a064a2e5e4028f19e63eb532ec1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:20:15 2011 +0100
Add sr_ prefix for analog stuff some structs.
commit a887e3da9714cdfc4ee2eed37e0aa40cf7a5aaea
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:14:13 2011 +0100
Add sr_ prefix to receive_data_callback typedef.
Also, drop obsolete add_source() prototype from sigrok-cli.h.
commit 13b0573369841c1e26834734699b0f34f35428eb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:09:15 2011 +0100
Add sr_ prefix to datafeed_callback typedef.
commit e5551f657d6f16ec752cbbd1c879827387fd0063
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 14:04:12 2011 +0100
Drop obsolete source_callback_*().
commit c25d2039de05250357f5a215e2cfcf703fbc6625
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:58:21 2011 +0100
Add sr_ prefix to filter_probes().
commit 8225e92175c64909eddaecf8bd512049acf653a2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:53:13 2011 +0100
Constify a few more 'char *' parameters.
commit 8233ff53ae7c6e120af4784bc61a036882d5c234
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:27:08 2011 +0100
Make load_hwplugins() private.
commit ee4b6342afe8e42c0be481109b9b97e27cbb846a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:24:26 2011 +0100
Add sr_ prefix to list_hwplugins().
commit 6f1be0a2d40b3998abd8d10b5479e4538bc4ff1e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:19:27 2011 +0100
Add sr_ prefix to session_{add,remove}.
commit 77b454421a2aa7d52873f036e5ba5f8030fe29a3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 13:08:44 2011 +0100
Disable analog bits/gnuplot output for now.
commit 29cbfeaf5c6a5e9112a6830a8fe4b584b33daf2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 15 19:38:46 2011 +0100
Mark some private stuff 'static'.
commit a65de0309b0629d8a5f744f4be7bad67fdd5c34e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 15 19:24:52 2011 +0100
Add sr_ prefix for hwcap structs/functions.
commit a46d35febf4096df1af6189770bc5c1f91908ff5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 20 21:00:32 2011 +0100
Drop prototype for non-existant make_metadata().
commit 218557b85a308adc6ac533eb3f33d3dee17c13f8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 13 11:27:52 2011 +0100
Quickfix for a segfault with file input via -i.
Stuff like
./bin/sigrok-cli -i rnd.dd -a transitioncounter
would segfault (rnd.dd consists of random bytes) because device->plugin
was NULL and was being dereferenced.
Thanks Olivier Fauchon <olivier@aixmarseille.com> for reporting.
commit 305bde4d42ac801312743cc05671de214f6501fd
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Feb 12 06:18:16 2011 +0100
implement version 1.3 of the OLS output format, now streaming
commit 4bfbf9fce71f91b3e7b7e968d436f7c436fc9648
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Feb 12 03:24:23 2011 +0100
demo: forgot second part of samplerate support
commit e5d1717e6d436b4f529c00dd5cede669e74a1e58
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 9 00:07:29 2011 +0100
Saleae: Make more private stuff static.
commit ba0b1dc639d13caf9c9f564828dc82a55c771913
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 23:46:29 2011 +0100
Doxygen config files: Initial configuration.
commit df66e48b0c794cc91fbf5a3ceb8c9a8f3ada3458
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 23:00:49 2011 +0100
Add doxygen config files for both libs.
commit 03dbc020cde2f0d9857ffcfc273eed5f504a4860
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 21:50:27 2011 +0100
Rename probe_find() to sr_device_probe_find().
commit dfcc0bf9d3b56c06daa1c4eec923ad21bf13dcd3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 21:47:50 2011 +0100
strutil.c: Fix typo, add some (API) docs/comments.
commit c49111295f0b2e50044923897d99ca84f65b75db
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 21:22:10 2011 +0100
Add sr_ prefix for datastore API functions.
commit 2bf4aca64ad435a09359662446762840ac55db1d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 18:19:38 2011 +0100
Add sr_ prefix for device related API functions.
commit 60679b18e6940d20ee36fa77ea7411b67cbb9c2a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 18:07:19 2011 +0100
Add sr_ prefix to 'struct samplerates'.
commit 8a2efef2d5900cb3dd935af92a0e22528660c4be
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 18:00:49 2011 +0100
Add sr_ prefix to session related API functions.
commit 2872d21ebc4e9554f685551e4915f193357f13d9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 17:50:29 2011 +0100
Add sr_ prefix for 'struct session'.
commit 1afe89897cf100b1a3a5896184ddaca5705681cc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Feb 8 17:47:38 2011 +0100
Add sr_ prefix for 'struct probe'.
commit 3bbd9849e9dc5fdc9fe18a4394abe4d4b43ac9d4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Feb 6 02:14:57 2011 +0100
Fix warnings: g_fopen() needs <glib/gstdio.h>.
commit 868d8cefec0d27bc5afed4fe1e906c7b68665cf6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Feb 5 20:03:17 2011 +0100
Use glib's g_fopen() instead of fopen().
commit 45fdfa307de68cc5209142cc6bae13a3be274949
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 4 23:52:16 2011 +0100
MinGW: Use "b" in all fopen() calls.
This is required for proper operation on Windows/MinGW, and doesn't
affect other OSes, most POSIX systems simply ignore the "b".
commit 0f33365007d72e3f114938a61b9c426b6f5e48c6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Feb 4 20:11:17 2011 +0100
Revert FIRMWARE_DIR / DECODERS_DIR method for now.
There were several issues with the other method, revert for now.
commit d81d29333e255a236b029860683f4bfadd1c15e3
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Feb 4 06:28:49 2011 +0100
demo: support setting sample rate
commit 904e0b589ebfbfa5ced62b0fab50a204d8d8a4b5
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 18:27:12 2011 +0100
ols: default to 200KHz samplerate
commit a9f54bcd7b83baf465e5096f604470cacb4951bf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 2 13:13:13 2011 +0100
MinGW: Build fixes.
commit 22b02383442ec55a11cc6dd2b4c467d1de0b5bd2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Feb 2 10:25:52 2011 +0100
Fix build when no libusb-LA is compiled.
Until now the build would break if the user doesn't enable at least one
of the libusb1.0-based LAs. I.e., you could not compile only OLS, or
only the demo driver.
commit cddd1c5f4739e43365a48a9d17e49cb105d929c7
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 06:51:34 2011 +0100
demo: stored-pattern generator now keeps state
commit 6e738600eb4b98f76ca6f0d7d38da7e7a2acd0ca
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 06:13:32 2011 +0100
output_ols: now fully compliant with spec
commit 3a285098170ee6d5c7eab3fd94606e61a4fbaa19
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 02:33:54 2011 +0100
don't just assume a device has a samplerate setting
commit 4a1b18f86d71ce814ec65b5273c1fdc4ac224735
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 01:41:33 2011 +0100
don't force .sigrok extension when saving session file
commit b8c2f85f561a3e2738b621a0d42e0c066c1fcee9
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Feb 1 00:06:32 2011 +0100
session_driver: remove unneeded callbacks
commit dd56a9320d3ecb8f9054600f118a219f0de4ec9f
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 31 23:44:18 2011 +0100
fix device probe adding
commit 7d6588743503514c9de5c4fc8a511e9b0bdad7e6
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 31 22:34:14 2011 +0100
implement session loading based on a virtual device driver
commit 40f5ddac0125b1a7c9b2625dda631f3c0ba24a4b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 31 22:29:40 2011 +0100
move samplerate/period printers and parsers into libsigrok
commit a59606dfff0fa324e0003904a8eb72d7159c3c1f
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 30 21:57:45 2011 +0100
remove dead code
commit 9f4bc44e3a4442eb2b4a1fc2bdfeefc2e2bad425
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 31 14:14:28 2011 +0100
MinGW: Build fix.
commit 01d9dc35ad8ba6817170ac9cca6c7e4fce989b78
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 19:22:13 2011 +0100
Consistently use _exit prefix for functions.
commit 5a2326a71b3a7d3bc6b367a7a3dfa6f137f5f0ec
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 17:58:41 2011 +0100
SR_ prefix for all public enums.
commit 6c29007211e3a35bb90db53cd22042f04fbe4e44
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 16:44:26 2011 +0100
Prefixes for *_device_instance.
commit 5c2d46d1dbfa636fb3cdbeaffdc0e9ca77c66ee1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 30 16:19:42 2011 +0100
Prefix device structs with sr_.
commit 9f8274a544865838f880c4849c28b6129141cf99
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 17:10:24 2011 +0100
Add a field for the full name of a device.
Also, show this long/full name in 'sigrok-cli -V'.
commit b9c735a275512ce82da7f66275c7cb62eaf66b60
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 17:03:26 2011 +0100
Prefix datafeed structs with sr_.
commit d32d961d17e3c7f409912062e5c336c19b6ef270
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:57:35 2011 +0100
get_sr_device_instance() -> sr_get_device_instance().
commit a00ba012288726678e1a270961c8d4f46f3dbd33
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:43:45 2011 +0100
Change all sigrok_ prefixes to sr_.
commit f50f3f40d9238b0c50be67e52bc132aadfcf2050
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:36:57 2011 +0100
Add sr_ prefix to input/output structs.
commit e46b8fb154ba90ffec9c1f805399dfa819e736f9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 29 16:23:12 2011 +0100
Change SIGROK_ prefix to SR_.
commit 544a458212dc972b663e67cd522ba54cbd8a00de
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 30 02:40:55 2011 +0100
move session main loop stuff into libsigrok (session_run)
commit ff35879bb7374a430ef89633df273288d42d4988
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 27 23:17:47 2011 +0100
Fix some compiler warnings.
commit aa4b110766256f010af198e1e5f2ca64055403df
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 24 07:46:16 2011 +0100
fix session saving and input file loading
cli: -i option now properly takes the -o option into account,
so sigrok can now be used for protocol conversion with just
those two options.
commit e54bcdc5d17daf9a0641763bc33f5c8a723c4cbb
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 24 02:49:14 2011 +0100
cli: don't initialize and scan for hardware unless needed
If the -d <plugin> option is used, only initialize the specified plugin.
commit eeebceea31bacfbe05ba6d7cbcf21de03910329a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 23 19:53:50 2011 +0100
Introduce proper libtool versioning for the libs.
commit da6923732120b9f169c5991000ecabd15c05ffc0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 23 18:21:58 2011 +0100
Build fix.
commit 108a5bfbba72882d1bc903a0ae54d0a883ff0824
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 23 05:32:37 2011 +0100
fix compile warning on 32-bit platforms
commit 070befcd1c4786645a9191b96885dd62490b0d41
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 23 05:32:13 2011 +0100
restore demo driver to working state
commit 47697369b552515d76930951e75cf84b5a16953a
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 23 04:58:32 2011 +0100
cli: revamp option syntax
for device (-d) and format (-f), the syntax is:
<thing>:key=value:key2=value2
commit cdbc51d97d027c3889aad43c9d9ed3344cfb5a91
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 12:23:34 2011 -0200
alsa: hide a few compiler warnings
commit 58330ab892c64461a73471a197fd8816630944a9
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 12:21:04 2011 -0200
finish alsa driver implementation
Yes, it works now.
commit 6ea7e23526b6be4d6c762b1136e361e4d3caccf6
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 22 14:18:31 2011 +0100
Revert "re-enable filter and datastore for DF_LOGIC"
This reverts commit 23da86dfc0a89c7ab951fea31a318a493830eb69.
commit 97554432e8d8bcf7f5af2dd770bcf752c9cd7d75
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Jan 21 22:59:18 2011 +0100
split output_text into more manageable pieces
commit 921a4c741fee27ee2f248971f9ee309a1551f981
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 01:01:53 2011 -0200
fix copynpaste glitch
commit 6ed4f0443730685b6a4a00b316384d751aa787e3
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sat Jan 22 00:57:27 2011 -0200
initial version of alsa plugin.
It does NOT work yet.
commit cfd8b10a2e2e4cd710d148ec5d2e11e18d583414
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 22:02:32 2011 -0200
alphabetical order
commit 5819184b229d5d33ccb8e5ed5f7d715f501fedb5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 21 21:04:01 2011 +0100
Remove duplicate FIRMWARE_DIR includes.
We use AC_DEFINE_UNQUOTED in configure.ac now to put the FIRMWARE_DIR #define
in the config.h file, which is included where we need the #define.
commit 62eeeb171bd9a05d167990373e33bc1f956cbfee
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 18:04:09 2011 -0200
re-enable filter and datastore for DF_LOGIC
This definitely isn't the proper fix, but it should allow DF_LOGIC
and DF_ANALOG to coexist.
commit 81bbdf6a6a2a8651e3c1ab3a7f714a851da77141
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 16:11:44 2011 -0200
add incomplete DF_ANALOG support to output_gnuplot.c
RAW->Voltage conversion is not implemented yet, its hardcoded for
signed 16bit conversion.
commit 8038e90aefdbddd68a9775aea4f588bdd89894fe
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 12:52:12 2011 -0200
add a sine wave to demo.c
commit c3579621d569f4b1ef3c21c7e2ed3bdc855c617b
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 11:25:50 2011 -0200
reduce analog_sample sizes.
To save resources, reduce the max ADC resolution and max probes
per device. Just increase when needed.
Soft limit: 256 probes, 16bit adc
Hard limit: 2^64 probes, 64 bit adc
commit 764f887f7bfe480690fdc90ccadadfc1f9b42c03
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 01:30:56 2011 -0200
change demo.c to output analog packets
You need to #define DEMO_ANALOG to generate DF_ANALOG packets.
commit 6eb0e3ea9528e91ef1e44e224fe9d6b05e31596f
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 01:19:50 2011 -0200
change output_text.c to support analog
Only the "bits" output format was converted.
Analog values, are scaled down to A-Z letters.
commit 48d783e4b5e557b6b7beee3907f0e8bd88741426
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Fri Jan 21 01:14:53 2011 -0200
introduce analog_sample datafeed packet
These structs define the packet format used to exchange data using
the DF_ANALOG packet type.
commit f3163a6c2ee7a1d7ec6865f11cfcf52b07dc31f5
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Thu Jan 20 20:10:43 2011 -0200
make output_analog.c = output_text.c
commit f95fd1aaf3830c4d1f451b4b15c56169c9e95b35
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 23:23:06 2011 +0100
Install an empty firmware/ directory.
This reduces the hassle for the users (and distro packages) a bit, you
only need to copy files into there now.
commit a00b530c644076f04a8505bc3644d2dceb3f6ed7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 23:00:59 2011 +0100
lib headers: Add 'extern "C"' for C++ usage.
commit bffed4fc107358b11ab007ef2cdef851572680ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 20 00:39:59 2011 +0100
Re-enable stuff we temporarily disabled for 0.1.
commit 07c81bfad119a4ea66c76cc830506ce3b381b4c5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 23:55:03 2011 +0100
Disable Link Instruments MSO-19 for 0.1.
commit 26ce0bbfd88121831c651c8042e3c843ccd5d2c2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 23:47:21 2011 +0100
demo: Small indentation fix.
commit 1924f59f4b788046f5eaf7ef3272a14c79a7c6f3
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Jan 19 23:14:17 2011 +0100
Demo: Obery samplerate and fix race condition.
commit 576790ff7b7e888eeefa79239ffed6d8550c1160
Author: Bert Vermeulen <bert@slab.local>
Date: Wed Jan 19 22:47:55 2011 +0100
disable MSO-19 specific stuff for 0.1 release
commit c70fce6ba6f061f1fbd4dbdf08e5d2ffa0168f6a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 19:20:44 2011 +0100
Don't install libs and headers in the 0.1 release.
The library APIs are not yet usable or finalized, so don't expose the
libs for now. Instead, only install sigrok-cli, the manpages, and
the decoders.
commit 058b70353dd462ab13f3badb43f2fea697161bd7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 19 01:16:19 2011 +0100
Move more non-public headers to sigrok-internal.h.
commit 01bd1ed396f33efc7126703210f44c4b5730d064
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 18 00:08:11 2011 +0100
Fix compiler warning.
commit 32c0551ba66452acc24c9dc163ade3a637b1c7f2
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 23:17:55 2011 +0100
output_vcd: Make timestamp work on 32-bit machine.
commit 94ba4bd6897d87af2ca45acc0505139d04785d44
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 23:12:57 2011 +0100
Sigma: Update set_configuration to reflect API.
commit 7c70c53843766003b881ca2c47f2c4bb454a3360
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:39:46 2011 +0100
Sigma: Set default samplerate to 200 KHz.
commit 5b5ea7c6d25bb42de09b61d0a070d78252f2367b
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:24:23 2011 +0100
Sigma: Only send trigger packet if enabled.
The Sigma hardware emits a default trigger event.
commit abda62ced8a9cdbb13be49a503d6bc6a8a8f8f2e
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:17:43 2011 +0100
Sigma: Never send empty packets.
commit afa8f8449aa6c04980a9d4639a901079a2afedc9
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:14:36 2011 +0100
output_text: Mark trigger at correct position.
ASCII output does not separate groups of samples with
and must be handled separately.
commit 6ef7a8cb5d2f035734dd504d99b267a118b2dade
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Jan 18 22:13:50 2011 +0100
output_text: Fix ASCII edge case.
commit d4f228d094d53c95bdf4dd42525a271db716928d
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon Jan 17 22:56:14 2011 +0100
output_text: Add ASCII output.
commit b9cc36296b6e08d194a2b8e6c1adeb010af9a630
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 17 02:20:52 2011 +0100
demo driver: support time limit
commit 574ce4988ac771ea39e3423c196019555e81df8a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 17 02:18:02 2011 +0100
refuse to set sample limit under 4 (protocol can't handle it)
also a bit of whitespace mangling.
commit b33e7d7058a5a092eea7b8bce18cf95d70e5ff5a
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Jan 16 17:55:51 2011 +0100
output_vcd: Emit timestamps as time, not sample num.
commit 08b488b84896d0e29c401c67f7bda7fed968f9ca
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Jan 16 17:34:49 2011 +0100
output_vcd: Remember samples between packets.
Fixes two bugs in vcd output:
1) Waveform did not match original input when viewed in gtkwave.
2) No vcd output when using 1 MHz sampling on Sigma.
commit 88c51afe876b6d6ba115f8152d89b9564ee00e4f
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sun Jan 16 17:03:25 2011 +0100
Sigma: Support for decoding partial chunks.
Samples are stored in chunks and the last samples do not fill up
a complete chunk. This patch adds support for decoding partial
chunks.
commit 10c471ab131bd766c9207e05e485fd2467ba7d5b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 16 14:18:26 2011 +0100
Fix warnings.
commit d35aaf0256aa646af0f23035932271579ca65a3d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Jan 16 14:12:52 2011 +0100
demo: Use GIOChannels, makes it work on MinGW.
commit fbf1ff5d2268c0fbf35b6210afa11da351b9b2ba
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 16 04:34:45 2011 +0100
clean up output_vcd module
use self-expanding strings, better standards conformance
commit 98b8cbc17e03119fcaa735a4bc2f0451000ab54f
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 20:01:00 2011 +0100
Sigma: Limit number of edge triggers to 1.
Actually, Sigma supports 2 rising/falling triggers,
but they are ORed and the current trigger syntax
does not permit ORed triggers.
commit 31facdd3c5ca0c118d1216ce65c468db130bb751
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 19:19:49 2011 +0100
Sigma: Download samples from partial chunks.
commit ab224f7b61ee1d3cf46fff172e4d97c856031593
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 18:18:09 2011 +0100
Initial support for the OLS output format.
This is the file format for the OpenBench Logic Sniffer "Alternative" client.
Details: https://github.com/jawi/ols/wiki/OLS-data-file-format
This is work-in-progress.
Currently the number of samples is hardcoded to 10000. Also, this will
require a real logic analyzer as input at the moment, and will not yet
work with the "demo" driver.
commit 9d7ab9ba3b5208e99bc7fd33c6a831fe21a427f3
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 18:24:01 2011 +0100
output_text: Allocate more memory for output
The trigger line was forgotten. Allocate 512 bytes extra.
commit 9996570987d362a324384ed041040e884628853e
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 17:02:18 2011 +0100
Sigma: Move sigma state to device specific struct
Thanks to Daniel Ribeiro for contributing this patch. Some
modifications were done.
Not tested on multiple Sigmas, because of lack of hardware.
commit 3aa403e858a490aee17c23c11d3a09cdd4eb324d
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 16:10:57 2011 +0100
output_text: Allocate enough memory for output
commit 858fb11c5e26009861b8b7aef7c07b701d2cda5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:44:21 2011 +0100
Drop unused debug.c.
Even if we'd use it, it probably belongs into the frontend, not libsigrok.
commit 484760d1a8a26ba830b3d63d1451dc30985babd1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:43:25 2011 +0100
Cosmetics.
commit aa0b6b208e2ecaa7e56b020c204b6c3e702fb4ca
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:43:03 2011 +0100
sigrok-proto.h: Sort the prototypes, fix comments.
commit 1483577eed7ac27b8107b1b76e1adc5369745c29
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 15:06:58 2011 +0100
Start moving private stuff to sigrok-internal.h.
This is work-in-progress, unfinished.
commit f7606f9b75b1b4b2324635426f3cc52feda1e3aa
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 15:21:54 2011 +0100
fix hex output
commit c2bd92ec0867eff49ee58b557d6fb9aec2b63357
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 14:41:57 2011 +0100
Slightly more consistent #include-guard naming.
commit 917e0e71d53cb0a0ac7965cb4f36791b14f7e5ff
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 14:28:03 2011 +0100
added example code for generating a stored pattern
commit 9be9893eed4acf03533d1a2fb63719de6eb10753
Author: Håvard Espeland <haavares@ifi.uio.no>
Date: Sat Jan 15 14:03:08 2011 +0100
Sigma: Check state in hw_closedev
If the device is closed without previously running hw_openedev
the driver crashes (happens in cleanup). This patch checks
if the device has been opened.
commit 02440dd88c93b049bdd71039ef036af1c8812189
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 13:06:04 2011 +0100
demo: Cosmetics, constify.
commit e15f48c268877632086e9cd0bb16356cd58cde5f
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 05:12:41 2011 +0100
cleaned up demo driver
removed unused samplerate
added patternmode (random and incremental)
commit 925dbf9f97c18628ead7cb5a93f95052b48ca0e4
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 15 05:11:40 2011 +0100
add new HWCAP patternmode
commit 63570167d67cacab2ac56eaabb6219c7593bca9e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 15 03:44:19 2011 +0100
Cosmetics for the -D output.
commit 17e1afcb81b8581091fcb660c2e61f05c75e00b5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 13 23:50:34 2011 +0100
Whitespace and consistency fixes.
Also, drop a <poll.h> #include. It's unused anyway, and breaks the build
on MinGW/Windows as there is no poll.h there.
commit 9ab95e54083b62c060cddd1e2762529c762d90be
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 13 02:05:39 2011 +0100
make output modules a bit more crashproof
the event handler in output modules is now optional.
commit 2507648e63d7b9807808d2e74b168821e94d893d
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 13 01:26:23 2011 +0100
use us instead of µs in periods (VCD can't handle it)
commit 2119ab0364b6a161091a89a7018be14d49bdc7b3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jan 12 00:43:00 2011 +0100
MinGW/Windows: Serial port portability fixes.
Add serial_read()/serial_write() which have different implementations on
MinGW/Windows.
Add some more error code handling and documentation.
commit ba3d481bb78a3bdb009c8d0aed3885a0a0192a04
Author: Olivier Fauchon <olivier@aixmarseille.com>
Date: Wed Jan 12 00:25:15 2011 +0100
add ontinuous mode for demo driver
commit 13a12913507682c319aaa890d897670bc8457adb
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 11 23:58:41 2011 +0100
fully implement input_binary module
commit 78ed6420358cd83bb74208e80cbcd7c068713769
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Jan 11 23:49:32 2011 +0100
code cleanup
commit a61b0e6a35fdf06c98a2304e186a3a17c9fbf8d8
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 11 22:17:33 2011 +0100
configure: Add --enable-demo option.
commit 1fdb75e14528abd62ebe727537512c741a5759da
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Jan 11 01:25:10 2011 +0100
MinGW: Quickfix to make serial.c/ols.c compile.
Note: It does NOT actually work, yet, it only compiles!
commit 74b9b43836a55debd1e5c27637021ef505f6e7aa
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 22:17:52 2011 +0100
cli: support --continuous option for continuous sampling
commit 8a839354c122b533181fe02da82d0110a44911cf
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 10 23:20:37 2011 +0100
Cosmetics, whitespace, consistency fixes.
commit fc96e6f8c8591c15930ff3dfe9e14303b29e70aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Jan 10 22:49:38 2011 +0100
demo: Add missing copyright line.
commit 2566bd4884bf33518488504575ba62e99ef43a7b
Merge: 01cf881 882e207
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:58:05 2011 -0200
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
commit 01cf8814949f4786da4a1be79a74030a691be152
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:15:51 2011 -0200
Add incomplete mso-19 plugin
* Both Analog and Logic capture works.
* Analog values are raw ADC, still useless.
* Triggers aren't implemented.
* Pattern Generator not implemented.
* Everything is broken. :)
commit 3677f3ec3f76ec3efc8aea97a1b050f6949d773d
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:14:26 2011 -0200
Add HZ_TO_NS macro
commit c2616fb9faca19945154974884a0816359cec1df
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:12:38 2011 -0200
update plugins and cli to use new DF_HEADER
commit 921e753f7e2bef9590b1e344200b736a0faa18cc
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:08:43 2011 -0200
Support for analog probes
Add a field to the probe struct to store the probe type.
Change DF_HEADER to report the quantity of each type of probe.
commit ac4a2ea45a9320e87ec03cd820bf80c96eb65b21
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 15:05:14 2011 -0200
serial.c: fix parity != none
The flag write was wrong
commit 882e2075bb51496e5eb9548b98204b90a4b60a82
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 13:47:24 2011 +0100
finish split of sigrok.h
commit 10509bc2e445b20f90d2ce05561dfbb873180872
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 13:44:11 2011 +0100
split off prototypes into their own header file
commit 655756e01d929607f67a9d576222917c72513b4b
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 12:39:53 2011 +0100
cli: new option to list output modules
commit 43275b4712b0ad5baea1c7d71fdb710249a46681
Merge: e006af1 9d4bde7
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:36:50 2011 -0200
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
commit 9d4bde70fc2a46bae172ab1851f3aff9e3f9b3b5
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:21:07 2011 -0200
Finish serial_set_params implementation
Adds the most common baud rates and support bits, parity, stopbits
and flocontrol settings.
commit e006af1116adb76014e77db718bb8673137a8bf5
Merge: 1ff7712 9b36e36
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:28:59 2011 -0200
Merge branch 'master' of git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok
commit 9b36e360f3c23c3287e6e10acb0b57479c5d19ad
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 05:27:22 2011 +0100
output_analog: allow samples per line arg (default analog10)
commit 1ff7712c93fb61e7710de6c2b4241652445f368e
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Mon Jan 10 02:21:07 2011 -0200
Finish serial_set_params implementation
Adds the most common baud rates and support bits, parity, stopbits
and flocontrol settings.
commit 1437e8934bd01167f2126616c7e8b44ca342cd27
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Jan 10 05:13:46 2011 +0100
add DF_ANALOG, and an analog output module
Samples in DF_ANALOG packets are fixed in length to sizeof(double).
commit f0411b1d170aa60c3aa79b12e88f53b225ea350d
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 9 23:22:48 2011 +0100
output modules now register the DF type they can use
commit 8d6725506115e97665be8ef35dbaaf694ba72a93
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sun Jan 9 03:50:45 2011 -0200
Add a per-instance pointer storage for hardware plugins.
We need this to properly support more than one device connected
at the same time.
commit dfa4b731da66ddf05ff04943bf0d385aa440c3ac
Author: Daniel Ribeiro <drwyrm@gmail.com>
Date: Sun Jan 9 03:48:39 2011 -0200
Add ARRAY_AND_SIZE macro
Just a handy macro
commit 4c046c6bcc392666405154853faf7dc2522aa1d9
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jan 9 06:32:38 2011 +0100
change all DF_LOGIC* to a single DF_LOGIC type
The datafeed packet has a new field 'unitsize' to denote the number of
bytes per sample in the payload.
commit af812219f655b286f5a2a0146846d9b97e25435c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 20:06:32 2011 +0100
Only build specific source files if needed.
commit 7c17ac6cc4ecc30a1df1848ef3a3e0827351090c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 19:15:39 2011 +0100
Only build hardware drivers if they're enabled.
commit 5096c6a6c1f2efb01d5efdebb26e282296c2910e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 19:01:07 2011 +0100
demo driver: Small cleanups, error handling.
commit 85b5af068776cca18c704a101d6d56be1ec236b6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 18:29:10 2011 +0100
Make the demo driver work.
When initialized, the driver starts a thread that generates signal data.
This data is written to a pipe (write file descriptor).
The other end of the pipe (read file descriptor), is connected to the
main polling code, like any other driver.
Note: This patch adds a new dependency on libgthread.
At the moment, you can list the driver's device:
$ ./cli/sigrok-cli -D
The following devices were found:
ID Device
0 Sigrok project Demo Driver v1.0 with 8 probes
And use it for random signal generation:
$ /opt/sigrok/bin/sigrok-cli -d 0 --samples 50 -f bits -p 1-8
sigrok 0.1pre2
Acquisition with 8/8 probes at 0 Hz
1:10111100 11010110 00001011 00011110 00111010 11110100 10
2:11010110 00111111 01001010 11111101 11010011 00010010 11
3:11000101 01000001 10100011 10100100 10110000 11110011 00
4:00100111 11110100 10011101 01100111 00100101 01001110 10
5:00011100 00101100 10111000 11001101 01011101 01011011 01
6:10110101 10111110 10010110 10111000 11011010 10000100 11
7:11111111 01001111 11110110 11010010 10000101 01001111 00
8:01000101 01111110 01010111 00000111 00010010 00000101 11
The next step is to make demo driver customisable (per-probe signal clock,
reference sample signals : serial, I2C, CAN...).
Thanks Olivier Fauchon <olivier@aixmarseille.com> for the patch.
commit d4ae8eaa7c09e31ef246b7d56008a0aa21db9f0d
Author: Bert Vermeulen <bert@biot.com>
Date: Sat Jan 8 15:48:39 2011 +0100
fix buffer size, various error checks
commit 2a3f9541a4bece23b25e1b255c0fab31ba5a751b
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Jan 6 00:51:29 2011 +0100
add sigrok_period_string(), MAX_NUM_PROBES
commit 5e2ddeb098b677faca5d044f3523f5f6f3382d90
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 03:51:31 2011 +0100
Fix two more compiler warnings noticed on amd64.
commit 340f6e7aeaf0c6cbbb27c5b535787bd09407994b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat Jan 8 03:32:25 2011 +0100
Fix out-of-tree build.
Use libtool "noinst" local helper libs and use one Makefile.am per
subdir, which is the usual/preferred method. These helper libraries are
purely local and will not be installed.
This also fixes out-of-tree builds of sigrok, i.e. building in a
directory other than the sigrok source directory, e.g.
$ cd /home/user
$ git clone ...sigrok
$ cd sigrok
$ ./autogen.sh
$ mkdir /tmp/foo
$ cd /tmp/foo
$ /home/user/sigrok/configure
$ make
$ make install
This will place all build results (.o files, .la files, etc) in the
local build directory (/tmp/foo) instead of the source directory
(/home/user/sigrok in this example). The installation directory is
selected via the --prefix configure option (/usr/local per default).
commit 757b8c628a5b64f8b6b166044b1b3ac1ccf797dc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jan 7 19:55:25 2011 +0100
Cosmetics, whitespace, simplifications.
Reduce code nesting a bit, constify some strings.
commit 6239c175c1b967b577f760032d326322dd4c4576
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Jan 6 19:16:47 2011 +0100
Initial, unfinished demo/simulation hardware driver.
commit 339729131d5acd50147e26ec238db569e273a459
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 29 01:22:58 2010 +0100
proper fix for output_text corner cases
limit probe names to 32 chars
commit e6ac9ac808b900287a80ea44d9c661703e3a101c
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Dec 29 00:02:30 2010 +0100
consistent debug msgs, rename sump to ols
commit ee5f5e81adc83e68c9af2c9305b0ddcb813d2b4a
Author: Bert Vermeulen <bert@biot.com>
Date: Tue Dec 28 21:59:07 2010 +0100
fix corner cases/memory management (cli->text out)
commit a5e18535ad897084b9a67dbee19bcc1ebd21ae7a
Author: Bert Vermeulen <bert@biot.com>
Date: Mon Dec 27 23:44:50 2010 +0100
don't turn on/off libusb debugging
commit f0551a6543206a0970410481b8e36bbfa6a609ea
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 06:04:44 2010 +0200
oops, fix serial_flush()
commit 06d64eb880876bd8a81c249e7b2f690eb03e12c1
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 06:02:25 2010 +0200
add serial_flush()
commit e1aac2319a1e0f5e7d263b5fd50a62c8b42fe22e
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 05:49:00 2010 +0200
increase length of datafeed packets to uint64_t
commit a143e4e5ddb4743867b7578e0599a566c2c82c07
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 12 04:57:09 2010 +0200
don't push configuration to device until acq time
commit f0d1b53e56045bc15fe156c3f6e855dfc91037be
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Aug 11 18:37:09 2010 +0200
OLS: fix multi-channel capture
commit edc508d49cacf2ff7ff38dec5cb49ec317f4a39f
Author: Bert Vermeulen <bert@biot.com>
Date: Wed Aug 11 04:04:20 2010 +0200
add debug logging (set SIGROK_DEBUG=2 to see)
commit a803c0db4d5887c29b8c79626bfcc452845cfed2
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 5 03:54:33 2010 +0200
OLS: fix triggers, sample order, capture ratio
commit 3245dfcb629ced90a2570dc04db99f59af60b888
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Aug 5 03:52:32 2010 +0200
define pre/post-trigger capture ratio option
commit b5698bd71e96561ba08a481abaa9c64ee687bda2
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Jul 18 21:57:27 2010 +0200
saleae logic: fix triggers after style changes
commit c4fffe1e9606e3e63a4cd0b760a37beb1f122cc5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Jul 14 22:09:21 2010 +0200
hwplugin.c: Add missing config.h #include.
This fixes a bug where no LA would be found or displayed in lists such
as 'sigrok-cli -H' or 'sigrok-cli -D'.
Thanks Forrest Voight for spotting the bug.
commit 960a75e4741edf7d3481339897328f0ea712e2c0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Jun 25 01:11:11 2010 +0200
Only build hardware plugins if requested by user.
Per default all plugins will be built, though. The user can override
this via the --disable-la-xxxx options.
commit 5b907f9b07b0559f7230e827e5d02589d307e727
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 31 11:34:10 2010 +0200
Add per-LA --enable-XXXX configure options.
commit 38ba2522516b481fa3619bdec56d1e2a4b7a5f45
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu May 27 01:51:55 2010 +0200
Use 'kHz' (not 'KHz') consistently.
commit 49d0ce50d0e43c1a10dc2863afd20185051819aa
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 19 00:38:14 2010 +0200
Simplifications and small fixes.
commit 5013f07422b5a62386f68d1663011d5ba885f1ef
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed May 19 00:23:27 2010 +0200
skeleton.c: Update to latest prototypes.
commit 2458ea651409c8252d33dba5b5cfe9313f3e4899
Author: Bert Vermeulen <bert@biot.com>
Date: Sat May 15 23:30:17 2010 +0200
use flexible sample limit specification (k/m/g)
HWCAP_LIMIT_SAMPLES is now passed to the driver as *uint64
commit 989938f6cd5f9bf76f42e29ab39eca4570e430e2
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon May 17 23:59:56 2010 +0200
Cosmetics: Reduce nesting level a bit.
commit 9a5c6dcf498b8dfebb8beb848ee6db6b59b173e5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 14:24:05 2010 +0200
Factor out opendev2/opendev3.
commit 5e59f476152a343619f473c37f2b06e2b6ef15d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 13:12:06 2010 +0200
opendev2/opendev3: Don't depend on global vars.
commit 28fc6de055eae2d6ba97206bb636f28e12fd68a9
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri May 14 13:07:03 2010 +0200
Cosmetics.
commit d658e348a89c5dd3d248abdbbdf5423465a2d344
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 11 18:07:54 2010 +0200
pkg-config: Add (semi-generated) libsigrok.pc.
commit 1ebdb3fdc3e28d138046539d9a38610254d9c00a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue May 11 17:13:35 2010 +0200
Drop unused and obsolete gmodule stuff.
commit 5b15b41e623e755e31cdc699f9d542d69d7e61c7
Author: Peter Stuge <peter@stuge.se>
Date: Sun May 9 23:11:08 2010 +0200
sump/ols: Wait 10ms for hw response to make pl2303 reliable
commit 71dda1065642b33d4c82d514bcaf28e2d2b8729c
Author: Peter Stuge <peter@stuge.se>
Date: Sun May 9 23:04:24 2010 +0200
serial: Remove unneccesary nesting
commit fbe2f7945d70500f6db374956a36d7bb131b09d5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 21:05:15 2010 +0200
VCD: Optimizations and fixes.
commit 086eac7c7bef114dd96c6ddb639fa2fa35f9182b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 20:52:36 2010 +0200
VCD/Gnuplot: Fix incorrect sample counter.
commit 114fb93f67f8748352ad4f851afeab31df2f0385
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 20:27:11 2010 +0200
Gnuplot: Nicer output formatting.
commit fdebec21082fdc7bb2642e717565bdbc8b98f287
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 19:36:43 2010 +0200
filter.c: Error handling, code simplification.
commit 5f8c4cb3633cdde636c497cf7ec4eb79e30e32f6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:52:56 2010 +0200
Gnuplot: Improve column/probe name display.
This fixes incorrect probe name display if the user explicitly named
probes via '-p 1=CLK' etc.
commit e734b81a685c9a1bcb4bd899ba162f5c7769b2d1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:38:33 2010 +0200
output_text: More error handling.
commit caf62e22c4dad949c8b1282e621e2dbf47daac30
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:12:10 2010 +0200
output_gnuplot: Simplify event().
commit d20ba6490ac948783435c72340d3e37b67cd6a62
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:11:47 2010 +0200
output_binary: Code simplifications.
commit 1e32053cd0a8e42e628cf832d81360b96c8de97d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 15:02:17 2010 +0200
Gnuplot quickfix: Increase malloc()'ed size.
commit 5cca9adbf27252349729cdb1e1c6ca0a526561b1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 14:54:16 2010 +0200
VCD/Gnuplot: Store time/date in output.
commit 607b58de58f22baa026d24ac7b8e0ae123c9ede0
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 14:42:46 2010 +0200
VCD/Gnuplot: Cosmetics, code simplifications.
commit a821069b3411e127512dc2c436a76d25fdac0a5a
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 14:35:02 2010 +0200
Gnuplot output: More error handling.
commit 2aebf78d9d10eb838b2fe58683d7af06015cd214
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 13:32:58 2010 +0200
datastore_new(): Use int as return value.
commit 33247d6acf94bb9119ba7e1a8239b474bdcfa430
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun May 9 13:25:03 2010 +0200
Datastore: More error checking.
commit 6b5e3ceefcdee5e942b9cbff5c697016dacee774
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 8 16:09:25 2010 +0200
VCD: Improve error handling/checking.
Check malloc()/calloc() return values and so on. Also, add missing
free() calls and some TODOs. Simplify some code.
commit d2b36a10d72133feeea3610bdc81a484b6f8fc72
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 22:06:38 2010 -0700
output_text: always print sigrok version
commit c9c1c6458c15958d19d8cbac50f2e301479892a1
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 21:43:25 2010 -0700
output_binary: rm TODO item
Yes, disabled probes are stripped by the filter before the
output module even gets data.
commit 7aae74622ecf04f51d5b7df650ea8bd98baa0fcf
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 19:56:48 2010 -0700
output: if device has no plugin, don't report samplerate
commit db91a1c3c1e798610542b9749191fc89f15c5ccd
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 19:55:58 2010 -0700
input: use dummy device when loading from file
commit 873080cc03a7c7889ef775a4584d1036b1d1315f
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Wed May 5 19:54:19 2010 -0700
allow devices without a plugin
this is needed to support file loading: we want a device struct
so we can enumerate probes from the file, but there is no plugin
since the data come in from a device.
commit e273a9040e10c1297c758fe35eb522bd5470e708
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue May 4 19:44:39 2010 +0200
Output: Fix invalid pointer dereferencing in vcd and gnuplot.
commit bdfc7a89745a0fae422806c883cbd946f16eace3
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 21:35:02 2010 +0200
Sigma: Small cleanups.
commit 36b1c8e61b277aabc84d181992795447e7339e5d
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 21:30:37 2010 +0200
Sigma: Use software trigger to pinpoint exact sample.
commit 6aac77375bb6f9545475d8d4d5e565f896b28be0
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 19:04:10 2010 +0200
Sigma: Add state machine for tracking Sigma status.
commit a42aec7f6e61b83fcd00e20827b31cc0ee3852d0
Author: Håvard Espeland <gus@ping.uio.no>
Date: Mon May 3 15:06:43 2010 +0200
Sigma: Merge storage of rise/fall triggers.
commit 4ae1f451363013d2f0fff180942e5b140e39f049
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 19:21:05 2010 +0200
Sigma: Minor cleanups.
commit 11fc8d9d938c2e254c62a40f569a964db79a489e
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 19:12:36 2010 +0200
Sigma: Set capture ratio correctly.
commit c53d793f037878992a40c37aa4c0f5f5a3d1c2d8
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 14:58:59 2010 +0200
Sigma: 50 MHZ falling/rising edge trigger support.
Falling/rising edge and value/mask triggers can be combined, e.g.:
--triggers 1=0,2=r,3=1,4=1
commit f758d0744de812ded8938d06a5a72df3f8dd84c1
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sun May 2 12:59:33 2010 +0200
Sigma: Fix simple trigger LUT calculation.
commit ee492173a1834514dadbec95388c8a0f00e8af64
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sat May 1 22:38:43 2010 +0200
Sigma: Value/mask trigger support in 50 MHz mode.
commit eec5275e2f3dfa1b9bb51a1b054dc7d8bd3bac20
Author: Håvard Espeland <gus@ping.uio.no>
Date: Sat May 1 14:22:22 2010 +0200
Sigma: Small cleanups.
commit e65679b15e16d4b898ebdc1456018b9a8d364b1b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sat May 1 02:41:37 2010 +0200
Saleae: Rename firmware file to saleae-logic.fw.
This is done for consistency with the ASIX SIGMA firmware file names,
and also for brevity.
commit 34e4813f2e8b75981ed92d625c5fd55146a35e66
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Fri Apr 30 15:54:39 2010 -0700
inout module infrastructure + binary input module
commit 5045c217e69d6bbb5ca52c75799a4d64c72bfafd
Author: Håvard Espeland <gus@ping.uio.no>
Date: Fri Apr 30 22:18:55 2010 +0200
cli: Show trigger event in bits plugin.
commit 57bbf56b8420e75bcad45b417c0d36c0a55a3910
Author: Håvard Espeland <gus@ping.uio.no>
Date: Fri Apr 30 22:18:10 2010 +0200
Sigma: Add triggers support for 100 and 200 MHz.
commit ed09fd07f7122dd9ade0f15a2b885f33abed86e9
Author: Håvard Espeland <gus@ping.uio.no>
Date: Fri Apr 30 23:51:57 2010 +0200
Sigma: Minor cleanup and add more samplesrates.
commit 9ddb2a125d0cc01f76acc43670c4609cc4a7b49b
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 29 00:32:44 2010 +0200
Sigma: Small cosmetic fixes.
commit edca2c5c2261ef4d6862d97e6d28d5a1c148a2f1
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 22:45:13 2010 +0200
Sigma: Support for low samplerates
Lowest samplerate supported in driver is 250 KHz
commit f78898e947a52e1713f6b2eef66d473e1dfcd7bf
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 21:21:19 2010 +0200
Sigma: Support 50 and 200 MHz modes
commit a8116d764ba3fc33bb6719f9e47ba1a5069981d1
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 21:20:27 2010 +0200
Sigma: Rename firmware files
commit e8397563a219d07179aa273d30396c3c21fb91ba
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 20:01:15 2010 +0200
Sigma: Upload 50, 100 or 200 MHz firmware
commit f6564c8d1933921ee9e34e93effeef8cee4cc3ba
Author: Håvard Espeland <gus@ping.uio.no>
Date: Wed Apr 28 19:48:59 2010 +0200
Sigma: Move upload firmware into a function
commit fefa18001aa343a476e3742de3ac946ae7ff2709
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 28 00:17:28 2010 +0200
ASIX SIGMA: Coding style fixes (via indent mostly).
Also, end all/most comments with full stop and avoid variable/array
definitions in the middle of functions.
commit 204b1629bd4ef6b61c297fd830a3dae9edafc388
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 27 22:46:59 2010 +0200
asix-sigma.h: Add missing license header.
commit 911f18341b4def1c3184702c555b163de83a0f71
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 27 22:44:15 2010 +0200
ASIX Sigma: Use common license header format.
commit 28a35d8ab35483b6d50e5b8404542cc11875fa5d
Author: Håvard Espeland <gus@ping.uio.no>
Date: Tue Apr 27 21:43:24 2010 +0200
This commit adds initial support for the Asix Sigma Logic Analyzer. Currently, only 200 MHz is supported, and only with software trigger. Firmware for the device will be distributed separately, with permission from the vendor.
Signed-off-by: Håvard Espeland <gus@ping.uio.no>
commit 926b866cb624cebf2efca098088dba11afa8ae96
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 22 03:39:02 2010 +0200
Win: Fix compile, serial port code (unfinished).
commit 9601818842c469339038e85b3c110b66d1a31d4b
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Sun Apr 18 10:57:13 2010 -0700
simplify code for unused features
commit eee4890f2fac030ea77a31a3c6c478b4cb628011
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Sat Apr 17 23:07:00 2010 -0700
fix broken samplerate calculation
commit 9c48090a8816949bccdec612edc165897fe8ce58
Author: Bert Vermeulen <bert@rogue.biot.com>
Date: Sat Apr 17 22:09:33 2010 -0700
fix double DF_END and libusb timeout
commit 9a4988343fe72bf2e7e5364dbdaa4ce0d4d6c59d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 23:24:44 2010 +0200
Oops, bugfixes.
commit 408e719989d0b4d4408439bf84b87edea8ce85d6
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 23:21:30 2010 +0200
Refactoring and code simplifications.
commit fed16f06e236f3f2ccc25a63ca7ec7a020124fdc
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 22:59:43 2010 +0200
Saleae/Zeroplus: Coding style fixes.
commit 43fc7885d31c1f6af0715b583a9d153ba59eda5c
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 22:16:35 2010 +0200
OLS: Coding style fixes.
commit 986f7270bf871046e5cf1f154b6ed6226f63c7a5
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:55:57 2010 +0200
hardware/common: Coding style fixes.
commit 99c1fc59ed59785d44610ac07556143cb1617f01
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:36:04 2010 +0200
output: Coding style fixes.
commit 62c820258238485d3352f4a68a65d299b136b792
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:16:53 2010 +0200
libsigrok: More coding style fixes.
commit 1b452b8510922bac08db87f8ea769515c795e22f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 20:07:16 2010 +0200
libsigrok: Coding style fixes.
commit d86dc674a204bec034730f303f69cf61984fd819
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Thu Apr 15 19:49:14 2010 +0200
Fix insufficient braces in KHZ() et al.
commit fdd20b52391b9d491b37fb7d3e157ea5db098062
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 13 00:34:20 2010 +0200
Add ARRAY_SIZE helper.
commit 02076d69f9505bc20ce0e9f67fa131054d8baeab
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 12 23:21:12 2010 +0200
Rename "bin" output module to "bits" everywhere.
commit 1c5b9d302c410cdd1cba441f618e0e3f7afa137d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 12 21:22:58 2010 +0200
Add raw binary output format.
Also, rename the "bin" format to "bits" for now to avoid confusion.
commit afc8e4deb68271ba7696e38cc02053b97cfc1a19
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 22:18:46 2010 +0200
Fix all warnings and re-enable -Wextra.
commit 86c5e279085a05c19d1d071831411fb617816ded
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 21:20:22 2010 +0200
zeroplus: Fix compiler warnings.
commit 08cfe6a2b755367eba4098195557f4e8e426eea4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 21:16:11 2010 +0200
Factor out trigger_helper() to reduce nesting.
commit edf60d0575d039229da3676867a5eb094d0c3c5e
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 20:44:51 2010 +0200
Factor out common ezusb_upload_firmware().
commit 9d2933fbe9719df679cde8fbffde8c191d6a56d3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 20:36:29 2010 +0200
ezusb.c: Coding style fixes.
commit 904299164f5718109fea2b23bc34e1522c548db4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 20:31:43 2010 +0200
sl_open_device(): Refactoring to reduce nesting.
commit f6958dabcd0ce8e2613ee6b958bef7c80b9f9e18
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 19:25:29 2010 +0200
Simplify code by reducing nesting level.
commit 6f5f21f996cb06b518739440e7983fa61d61aea1
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 9 19:04:36 2010 +0200
Coding style fixes, aided by 'indent'.
The following shell alias can be used:
alias INDENT='indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs'
commit d02a535e05513ba8d2d4a82b49180d60ef410e1c
Author: Bert Vermeulen <bert@biot.com>
Date: Fri Apr 9 05:15:27 2010 +0200
move posix-specific serial port comms to serial.c
commit 54dc4bc703f7797a71129ee92412999d6ea64458
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:58:07 2010 +0200
switch to SIGROK_ERR
commit 6937bb757e577ba3cf4036d24cc9852159182f47
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:49:39 2010 +0200
various fixes, basic acquisition works
commit 54b38f64aa25d1cceebf1b31bcee0f11d67e432c
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:44:13 2010 +0200
use strdup() instead of g_strdup()
commit 37aea2d35c981239e630254fe74f0a411bbc34cb
Author: Bert Vermeulen <bert@biot.com>
Date: Thu Apr 8 16:42:22 2010 +0200
better buffer size calculation
commit d2cd86ac26a00a95cb0497ba5cb807d4587b67ce
Author: Bert Vermeulen <bert@biot.com>
Date: Sun Apr 4 20:51:04 2010 +0200
fix off-by-one error
commit 25e7d9b115e5ea08be2d92ffe286aa1bf95778f4
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Wed Apr 7 19:43:41 2010 +0200
Factor out common sigrok_samplerate_string().
commit bc010c054be68082451dd56e586f03038ec7fb45
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 15:02:14 2010 +0200
VCD output: Handle disabled probes correctly.
commit e2ad47b5b0ad98fc99579d4cd9ebee7db2a03d82
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 14:38:47 2010 +0200
Gnuplot output format support.
commit 2b3414a497f639233c824bc930cecf5f17b5a79d
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Tue Apr 6 01:29:32 2010 +0200
libsigrokdecode: Add initial return code list.
commit e31b636df6651ae17f9bb28c51157a51fc92c421
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 5 16:41:54 2010 +0200
Start unification of libsigrok return codes.
We have SIGROK_OK for functions calls where no errors occured. All
error code names start with SIGROK_ERR and are globally unique,
negative values.
The value SIGROK_ERR is a generic/unspecified error code, all others,
such as SIGROK_ERR_MALLOC, refer to a specific error condition.
This commit renames the old SIGROK_NOK etc.
commit 5a8fda158bd9cc040b36fb3b016808c59ccf89f3
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 5 16:20:09 2010 +0200
Allow output_format.init() to return errors.
commit 4c100f3244ad816070fe2e30713705e109d5b4fb
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Mon Apr 5 15:31:39 2010 +0200
More consistent spelling of "samplerate".
commit 4c9ffa83cf5b63445a1463af18a910a8cc786e31
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Sun Apr 4 13:19:20 2010 +0200
Initial Value Change Dump (VCD) output support.
commit a695d6c0751494a07493d809520d1ead9b281e7f
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 2 20:26:48 2010 +0200
Rename libbackend to libsigrok.
commit a1bb33afbde769156ad4bef7a60579da64aebbb7
Author: Uwe Hermann <uwe@hermann-uwe.de>
Date: Fri Apr 2 20:18:27 2010 +0200
Start of code base layout restructuring.
|