i810switch-0.6.5/0040755000036000017530000000000010252747515012072 5ustar manoccrgi810switch-0.6.5/i810switch.c0100644000036000017530000003567410252735724014154 0ustar manoccrg#include #include #include #include #include #include #include #include #include #define VERSION "0.6.5beta" #define CMD_LSPCI "lspci" static const char *Opt_lcd = NULL; static const char *Opt_crt = NULL; struct i810_par { unsigned char *mmio; int mem; int flag; }; #define i810_readb(mmio_base, where) \ *((volatile char *) (mmio_base + where)) #define i810_readw(mmio_base, where) \ *((volatile short *) (mmio_base + where)) #define i810_readl(mmio_base, where) \ *((volatile int *) (mmio_base + where)) #define i810_writeb(mmio_base, where, val) \ *((volatile char *) (mmio_base + where)) = (volatile char) val #define i810_writew(mmio_base, where, val) \ *((volatile short *) (mmio_base + where)) = (volatile short) val #define i810_writel(mmio_base, where, val) \ *((volatile int *) (mmio_base + where)) = (volatile int) val #define I810_MEMOPEN 1 #define I810_MMIO 2 /* chip types */ #define I810 1 #define I830 2 #define I855 3 #define I915 4 /* PCI IDs */ #define I810STR "8086:7121" #define I810ESTR "8086:7123" #define I810_DC100STR_1 "8086:7125" #define I810_DC100STR_2 "8086:1102" #define I810_IGSTR "8086:1112" #define I810_CFCSTR "8086:1132" #define I830STR "8086:3577" #define I845STR "8086:2562" #define I855STR "8086:3582" //#define I865STR "8086:2572" #define I915STR "8086:2592" #define MEMSTR "Memory at" #define NONPRSTR "32-bit, non-prefetchable" /* I810 registers */ #define I810_HVSYNC 0x05000 #define I810_DCLK_0D 0x06000 #define I810_DCLK_1D 0x06004 #define I810_DCLK_0DS 0x06010 #define I810_PWR_CLKC 0x06014 #define I810_HTOTAL 0x60000 #define I810_HBLANK 0x60004 #define I810_HSYNC 0x60008 #define I810_VTOTAL 0x6000c #define I810_VBLANK 0x60010 #define I810_VSYNC 0x60014 #define I810_LCDTV_C 0x60018 #define I810_OVRACT 0x6001c #define I810_BCLRPAT 0x60020 #define I810_PIXCONF 0x70008 /* I830 registers */ #define I830_HTOTAL_A 0x60000 #define I830_HBLANK_A 0x60004 #define I830_HSYNC_A 0x60008 #define I830_VTOTAL_A 0x6000c #define I830_VBLANK_A 0x60010 #define I830_VSYNC_A 0x60014 #define I830_PIPEASRC 0x6001c #define I830_BCLRPAT_A 0x60020 #define I830_HTOTAL_B 0x61000 #define I830_HBLANK_B 0x61004 #define I830_HSYNC_B 0x61008 #define I830_VTOTAL_B 0x6100c #define I830_VBLANK_B 0x61010 #define I830_VSYNC_B 0x61014 #define I830_PIPEBSRC 0x6101c #define I830_BCLRPAT_B 0x61020 #define I830_DPLL_A 0x06014 #define I830_DPLL_B 0x06018 #define I830_FPA0 0x06040 #define I830_FPA1 0x06044 #define I830_FPA2 0x06048 #define I830_FPA3 0x0604c #define I830_ADPA 0x61100 #define I830_DVOA 0x61120 #define I830_DVOB 0x61140 #define I830_DVOC 0x61160 #define I830_LVDS 0x61180 #define I830_ADPA_SRCDIM 0x61104 #define I830_DVOA_SRCDIM 0x61124 #define I830_DVOB_SRCDIM 0x61144 #define I830_DVOC_SRCDIM 0x61164 #define I830_LVDS_SRCDIM 0x61184 #define I830_PIPEACONF 0x70008 #define I830_PIPEBCONF 0x71008 #define I830_DSPACTRL 0x70180 #define I830_DSPBCTRL 0x71180 #define I830_DSPABASE 0x70184 #define I830_DSPASTRIDE 0x70188 #define I830_DSPBBASE 0x71184 #define I830_DSPBSTRIDE 0x71188 #define I830_DCLK_0D 0x06000 #define I830_DCLK_1D 0x06004 #define I830_DCLK_0DS 0x06010 #define I830_SWF0 0x71410 #define I830_SWF1 0x71414 #define I830_SWF2 0x71418 #define I830_SWF3 0x7141c #define I830_SWF4 0x71420 #define I830_SWF5 0x71424 #define I830_SWF6 0x71428 #define I830_LCDTV_C 0x06014 #define I855_LCDTV_C 0x61204 static void release_resource(struct i810_par *par) { if (par->flag & I810_MEMOPEN) close(par->mem); if (par->flag & I810_MMIO) munmap(par->mmio, 512 * 1024); } void probe_card_I810(struct i810_par *par) { printf(" DCLK 0D=%08lX 1D=%08lX 0DS=%08lX\n", i810_readl(par->mmio, I810_DCLK_0D), i810_readl(par->mmio, I810_DCLK_1D), i810_readl(par->mmio, I810_DCLK_0DS)); printf(" PWR_CLKC=%08lX HVSYNC=%08lX\n", i810_readl(par->mmio, I810_PWR_CLKC), i810_readl(par->mmio, I810_HVSYNC)); printf(" 020cc=%08lX 020d8=%08lX 020dc=%08lX\n", i810_readl(par->mmio, 0x20cc), i810_readl(par->mmio, 0x20d8), i810_readl(par->mmio, 0x20dc)); printf(" HTOTAL=%08lX HBLANK=%08lX HSYNC=%08lX\n", i810_readl(par->mmio, I810_HTOTAL), i810_readl(par->mmio, I810_HBLANK), i810_readl(par->mmio, I810_HSYNC)); printf(" VTOTAL=%08lX VBLANK=%08lX VSYNC=%08lX\n", i810_readl(par->mmio, I810_VTOTAL), i810_readl(par->mmio, I810_VBLANK), i810_readl(par->mmio, I810_VSYNC)); printf(" OVRACT=%08lX PIXCONF=%08lX 70080=%08lX\n", i810_readl(par->mmio, I810_OVRACT), i810_readl(par->mmio, I810_PIXCONF), i810_readl(par->mmio, 0x70080)); } void probe_card_I830(struct i810_par *par) { printf(" DCLK 0D=%08lX 1D=%08lX 0DS=%08lX DPLL A=%08lX B=%08lX\n", i810_readl(par->mmio, I830_DCLK_0D), i810_readl(par->mmio, I830_DCLK_1D), i810_readl(par->mmio, I830_DCLK_0DS), i810_readl(par->mmio, I830_DPLL_A), i810_readl(par->mmio, I830_DPLL_B)); printf(" ADPA=%08lX DVO A=%08lX B=%08lX C=%08lX LVDS=%08lX\n", i810_readl(par->mmio, I830_ADPA), i810_readl(par->mmio, I830_DVOA), i810_readl(par->mmio, I830_DVOB), i810_readl(par->mmio, I830_DVOC), i810_readl(par->mmio, I830_LVDS)); printf(" DIM =%08lX DIM A=%08lX B=%08lX C=%08lX %08lX\n", i810_readl(par->mmio, I830_ADPA_SRCDIM), i810_readl(par->mmio, I830_DVOA_SRCDIM), i810_readl(par->mmio, I830_DVOB_SRCDIM), i810_readl(par->mmio, I830_DVOC_SRCDIM), i810_readl(par->mmio, I830_LVDS_SRCDIM)); printf(" FPA %08lX %08lX %08lX %08lX\n", i810_readl(par->mmio, I830_FPA0), i810_readl(par->mmio, I830_FPA1), i810_readl(par->mmio, I830_FPA2), i810_readl(par->mmio, I830_FPA3)); printf(" 020cc=%08lX 020d8=%08lX 020dc=%08lX\n", i810_readl(par->mmio, 0x20cc), i810_readl(par->mmio, 0x20d8), i810_readl(par->mmio, 0x20dc)); printf(" 71280=%08lX 71400=%08lX\n", i810_readl(par->mmio, 0x71280), i810_readl(par->mmio, 0x71400)); printf(" Pipe A\n"); printf(" HTOTAL=%08lX HBLANK=%08lX HSYNC=%08lX\n", i810_readl(par->mmio, I830_HTOTAL_A), i810_readl(par->mmio, I830_HBLANK_A), i810_readl(par->mmio, I830_HSYNC_A)); printf(" VTOTAL=%08lX VBLANK=%08lX VSYNC=%08lX\n", i810_readl(par->mmio, I830_VTOTAL_A), i810_readl(par->mmio, I830_VBLANK_A), i810_readl(par->mmio, I830_VSYNC_A)); printf(" SOURCE=%08lX CONFIG=%08lX 70030=%08lX 70080=%08lX\n", i810_readl(par->mmio, I830_PIPEASRC), i810_readl(par->mmio, I830_PIPEACONF), i810_readl(par->mmio, 0x70030), i810_readl(par->mmio, 0x70080)); printf(" Pipe B\n"); printf(" HTOTAL=%08lX HBLANK=%08lX HSYNC=%08lX\n", i810_readl(par->mmio, I830_HTOTAL_B), i810_readl(par->mmio, I830_HBLANK_B), i810_readl(par->mmio, I830_HSYNC_B)); printf(" VTOTAL=%08lX VBLANK=%08lX VSYNC=%08lX\n", i810_readl(par->mmio, I830_VTOTAL_B), i810_readl(par->mmio, I830_VBLANK_B), i810_readl(par->mmio, I830_VSYNC_B)); printf(" SOURCE=%08lX CONFIG=%08lX 71030=%08lX 71080=%08lX\n", i810_readl(par->mmio, I830_PIPEBSRC), i810_readl(par->mmio, I830_PIPEBCONF), i810_readl(par->mmio, 0x71030), i810_readl(par->mmio, 0x71080)); printf(" Display plane A\n"); printf(" CTRL=%08lX BASE=%08lX STRIDE=%08lX\n", i810_readl(par->mmio, I830_DSPACTRL), i810_readl(par->mmio, I830_DSPABASE), i810_readl(par->mmio, I830_DSPASTRIDE)); printf(" Display plane B\n"); printf(" CTRL=%08lX BASE=%08lX STRIDE=%08lX\n", i810_readl(par->mmio, I830_DSPBCTRL), i810_readl(par->mmio, I830_DSPBBASE), i810_readl(par->mmio, I830_DSPBSTRIDE)); } char *i810_chip(char **buff_ptr, int *len_ptr, FILE *pci_f, int* chiptype) { int i; char *p; while (getline(buff_ptr, len_ptr, pci_f) > 0) { i = (p = strstr(*buff_ptr, I810STR)) != NULL || (p = strstr(*buff_ptr, I810ESTR)) != NULL || (p = strstr(*buff_ptr, I810_DC100STR_1)) != NULL || (p = strstr(*buff_ptr, I810_DC100STR_2)) != NULL || (p = strstr(*buff_ptr, I810_IGSTR)) != NULL || (p = strstr(*buff_ptr, I810_CFCSTR)) != NULL; if (i) { *chiptype = I810; return p; } i = (p = strstr(*buff_ptr, I830STR)) != NULL || #if defined (I865STR) (p = strstr(*buff_ptr, I865STR)) != NULL || #endif /*defined (I865STR)*/ (p = strstr(*buff_ptr, I845STR)) != NULL; if (i) { *chiptype = I830; return p; } i = (p = strstr(*buff_ptr, I855STR)) != NULL; if (i) { *chiptype = I855; return p; } i = (p = strstr(*buff_ptr, I915STR)) != NULL; if (i) { *chiptype = I915; return p; } } return NULL; } unsigned long i810_addr(char **buff_ptr, int *len_ptr, FILE *pci_f) { char *p; while (getline(buff_ptr, len_ptr, pci_f) > 0) if (strstr(*buff_ptr, NONPRSTR) != NULL) { p = strstr(*buff_ptr, MEMSTR); if (p != NULL) return strtoul(p+sizeof(MEMSTR), NULL, 16); } return 0; } int i810_usage () { fprintf(stderr, "usage: i810switch [crt on/off] [lcd on/off] [probe]\n"); fprintf(stderr, " crt: enables/disables the output to the CRT display\n"); fprintf(stderr, " lcd: enables/disables the output to the LCD\n"); fprintf(stderr, " probe: dumps the video chipset registers\n"); fprintf(stderr, " no options: displays the current output status\n"); return 1; } int main (int argc, char *argv[]) { struct i810_par par; unsigned long addr; int i, crt = -1, lcd = -1, probe = 0, err = 0, count = 0, chiptype, len = 0; FILE *pci_f; char *buff = NULL; char lspcistr[] = CMD_LSPCI " -v -d xxxx:xxxx"; char *chip; putenv("PATH=/sbin:/usr/sbin:/bin:/usr/bin"); while (--argc > 0) { argv++; if (!strcmp(argv[0], "crt")) { if (--argc > 0) { argv++; if (!strcmp(argv[0], "on")) crt = 1; else if (!strcmp(argv[0], "off")) crt = 0; else exit(i810_usage()); } else { exit(i810_usage()); } } else if (!strcmp(argv[0], "lcd")) { argv++; if (--argc > 0) { if (!strcmp(argv[0], "on")) lcd = 1; else if (!strcmp(argv[0], "off")) lcd = 0; else exit(i810_usage()); } else { exit(i810_usage()); } } else if (!strcmp(argv[0], "probe")) { probe = 1; } else { exit(i810_usage()); } } pci_f = popen(CMD_LSPCI " -n", "r"); if (!pci_f) { fprintf(stderr, "Something is wrong with lspci.\n"); exit(1); } chip = i810_chip(&buff, &len, pci_f, &chiptype); if (chip == NULL) { fprintf(stderr, "PCI id of i810 is not recognized.\n"); exit(1); } pclose(pci_f); { char *p = strstr(lspcistr, "xxxx:xxxx"); if (p == 0) { fprintf(stderr, "CMD_LSPCI is wrong.\n"); exit(1); } memcpy(p, chip, 9); } pci_f = popen(lspcistr, "r"); if (!pci_f) { fprintf(stderr, "Something is wrong with lspci.\n"); exit(1); } addr = i810_addr(&buff, &len, pci_f); if (addr == 0) { fprintf(stderr, "Something is wrong with lspci.\n"); exit(1); } pclose(pci_f); memset(&par, 0, sizeof(struct i810_par)); par.mem = open("/dev/mem", (crt+lcd == -2) ? O_RDONLY : O_RDWR); if (par.mem == -1) { i = errno; perror("/dev/mem"); if (i == EACCES && geteuid() != 0) fprintf(stderr, "Must have access to `/dev/mem'.\n"); release_resource(&par); exit(1); } par.flag |= I810_MEMOPEN; par.mmio = mmap(NULL, 512 * 1024, (crt+lcd == -2) ? PROT_READ : PROT_WRITE | PROT_READ, MAP_SHARED, par.mem, addr); if (!par.mmio) { release_resource(&par); exit(1); } par.flag |= I810_MMIO; if (probe) { char *chipname = (chiptype == I810) ? "i810" : "i830"; printf("i810switch %s probe\n", VERSION); printf("%s (%s) io=0x%8lX\n", chipname, lspcistr + 12, addr); if (chiptype == I810) { probe_card_I810(&par); } else { probe_card_I830(&par); } release_resource(&par); exit(0); } if (crt+lcd == -2) { if (chiptype == I810) { printf("CRT: "); if (i810_readl(par.mmio, I810_PWR_CLKC) & 1) printf("on\n"); else printf("off\n"); printf("LCD: "); if (i810_readl(par.mmio, I810_LCDTV_C) & 0xc00) printf("off\n"); else printf("on\n"); } else if (chiptype == I830 || chiptype == I915) { printf("CRT: "); if (i810_readl(par.mmio, I830_ADPA) & 0x80000000) printf("on\n"); else printf("off\n"); printf("LCD: "); if (i810_readl(par.mmio, I830_LCDTV_C) & 0x40000000) printf("on\n"); else printf("off\n"); } else if (chiptype == I855) { printf("CRT: "); if (i810_readl(par.mmio, I830_ADPA) & 0x80000000) printf("on\n"); else printf("off\n"); printf("LCD: "); if (i810_readl(par.mmio, I855_LCDTV_C) & 1) printf("on\n"); else printf("off\n"); } } if (crt != -1) { if (chiptype == I810) { int pwr_clkc = i810_readl(par.mmio, I810_PWR_CLKC); int hvsync = i810_readl(par.mmio, I810_HVSYNC); if (crt == 0) { printf("Disabling CRT display...\n"); pwr_clkc &= ~1; hvsync = 0xa0000; } else { printf("Enabling CRT display...\n"); pwr_clkc |= 1; hvsync = 0; } i810_writel(par.mmio, I810_PWR_CLKC, pwr_clkc); i810_writel(par.mmio, I810_HVSYNC, hvsync); } else if (chiptype == I830 || chiptype == I855 || chiptype == I915) { int i830_adpa = i810_readl(par.mmio, I830_ADPA); int dspactrl = i810_readl(par.mmio, I830_DSPACTRL); int dspbctrl = i810_readl(par.mmio, I830_DSPBCTRL); int pipe = 0; /* Find active display plane, and use the same pipe it's using */ if (dspactrl & (1<<31)) pipe = (dspactrl & (1<<24)) >> 24; else if (dspbctrl & (1<<31)) pipe = (dspbctrl & (1<<24)) >> 24; else fprintf(stderr, "Warning: No active display plane detected. Trying pipe A.\n"); if (crt == 0) { printf("Disabling CRT display...\n"); i830_adpa = (i830_adpa & ~0x80000000 & ~(pipe<<30)) | 0xc00; } else { printf("Enabling CRT display...\n"); i830_adpa = (i830_adpa | 0x80000000 | (pipe<<30)) & ~0xc00; } i810_writel(par.mmio, I830_ADPA, i830_adpa); } } if (lcd != -1) { if (chiptype == I810) { int lcdtv_c = i810_readl(par.mmio, I810_LCDTV_C); if (lcd == 0) { printf("Disabling LCD...\n"); lcdtv_c |= 0xc00; } else { printf("Enabling LCD...\n"); lcdtv_c &= ~(0xc00); } i810_writel(par.mmio, I810_LCDTV_C, lcdtv_c); } else if (chiptype == I830 || chiptype == I915) { int lcdtv_c; if (lcd == 0) { printf("Disabling LCD...\n"); lcdtv_c = i810_readl(par.mmio, I830_LCDTV_C); lcdtv_c &= ~(0x40000000); i810_writel(par.mmio, I830_LCDTV_C, lcdtv_c); } else { printf("Enabling LCD...\n"); lcdtv_c = i810_readl(par.mmio, I830_LCDTV_C); lcdtv_c |= 0x40000000; i810_writel(par.mmio, I830_LCDTV_C, lcdtv_c); } } else if (chiptype == I855) { int lcdtv_c; if (lcd == 0) { printf("Disabling LCD...\n"); lcdtv_c = i810_readl(par.mmio, I855_LCDTV_C); lcdtv_c &= ~(1); i810_writel(par.mmio, I855_LCDTV_C, lcdtv_c); } else { printf("Enabling LCD...\n"); lcdtv_c |= 1; i810_writel(par.mmio, I855_LCDTV_C, lcdtv_c); } } else fprintf(stderr, "No LCD support for this chipset.\n"); } release_resource(&par); exit(0); } i810switch-0.6.5/AUTHORS0100644000036000017530000000034310012070206013113 0ustar manoccrgmano , maintainer Antonino Daplas , the author of the original code Jeff Ames , contributer of i830 part Frank J. Edwards , security patch, code clean-up i810switch-0.6.5/COPYING0100644000036000017530000004311007623055122013113 0ustar manoccrg GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. i810switch-0.6.5/ChangeLog0100644000036000017530000000136710252747470013650 0ustar manoccrg0.2 (2003-02-05) * The first public release. 0.3 (2003-06-23) * added i830 support (only CRT, experimental!) 0.4 (2003-07-22) * added Makefile * security fix * code clean-up 0.5 (2003-09-10) * added 855GM support (only CRT, experimental!) 0.6 (2003-12-18) * added pipe autodetection code * added force_pipe option 0.6.1 (2004-01-01) * It becomes clear that force_pipe is an unnecessary option, so it was deleted. 0.6.2 (2004-02-10) * added i845 support (only CRT, experimental!) 0.6.3beta (2004-02-25, non-public) * added probe option 0.6.4beta (2004-06-13, non-public) * added lcd support for i830 and i855 0.6.5 (2005-06-12) * added i915 support (experimental!) i810switch-0.6.5/INSTALL0100644000036000017530000000062207774561272013131 0ustar manoccrg Install To compile: % make Then, as root, to install: # make install This will install i810switch and i810rotate in /usr/bin. The Makefile supports DESTDIR, so, for example, to install into /my/path/usr/bin: # make DESTDIR="/my/path" install To allow non-root users to use i810switch: # chmod u+s /usr/bin/i810switch i810switch is not set suid by default, for the sake of security. i810switch-0.6.5/TODO0100644000036000017530000000006607623055122012553 0ustar manoccrgPowering down the backlight and the LCD panel itself. i810switch-0.6.5/README0100644000036000017530000000211410252735453012743 0ustar manoccrg i810switch [09Jun05] added i915 support (experimental!). i810switch enables/disables the output to the CRT display and LCD, depending on the i810 graphics controller hardware. Options are self-explaining: Usage: i810switch [crt on/off] [lcd on/off] or i810switch probe `crt' enables/disables the output to CRT display. `lcd' enables/disables the output to LCD. `probe' displays a register dump of the graphics controller. With no options, it displays the current output status. ** remark (1) ** i810switch utilizes a program `lspic'. For security, the search path for lspic is restricted to "PATH=/sbin:/usr/sbin:/bin:/usr/bin". The functionality of lspcidrake, which is a variant of lspci, is not enough for this program. lspci is included in pcitools package. ** remark (2) ** i855 users who have flickering problems may want to try the i855crt project to see if that works better. i810rotate is a shell script that changes the output state as the following: +-> LCD -> LCD&CRT -> CRT -+ | | +--------------------------+ Enjoy! i810switch-0.6.5/i810rotate0100755000036000017530000000040207707052632013711 0ustar manoccrg#!/bin/sh - dev=`i810switch` dev=`echo $dev` if [ "$dev" = "CRT: off LCD: on" ] ; then i810switch crt on lcd on > /dev/null elif [ "$dev" = "CRT: on LCD: off" ] ; then i810switch crt off lcd on > /dev/null else i810switch crt on lcd off > /dev/null fi i810switch-0.6.5/Makefile0100644000036000017530000000110707774561174013540 0ustar manoccrgOBJECTS = i810switch.o %.o: %.c $(CC) $(CFLAGS) -c -o $@ $< all: i810switch i810switch: $(OBJECTS) $(CC) $(CFLAGS) -o $@ $(OBJECTS) install: i810switch install -d $(DESTDIR)/usr/bin install -d $(DESTDIR)/usr/share/man/man1 install i810switch i810rotate $(DESTDIR)/usr/bin install i810switch.1.gz i810rotate.1.gz $(DESTDIR)/usr/share/man/man1 uninstall: rm -f $(DESTDIR)/usr/bin/i810switch rm -f $(DESTDIR)/usr/bin/i810rotate rm -f $(DESTDIR)/usr/share/man/man1/i810switch.1.gz rm -f $(DESTDIR)/usr/share/man/man1/i810rotate.1.gz clean: @rm -f $(OBJECTS) i810switch i810switch-0.6.5/i810rotate.1.gz0100644000036000017530000000112507714125375014472 0ustar manoccrgAl?i810rotate.1uSMo0 WRu0(i$À^dUآf5e|||-.&w|/aB>`=Ph+(TBz7l9Wlrv1Nx? d-vM@"'/ ݦB3K^y3T-2QGഩӞk_6oُf2!o:l[m"Z\#TTwPX!`Ƣ*7^9[=x$D,6'TyV`{KVD,KUAe=NCK2B/[]|y\8mpaˏ{@)6i\w1d0Vd"֕V-06L2o7+V'QϢ%}@D3hZ䩪⺧CĠ7|n,uښ *yFFr籃Rr89MНJ/ߒi810switch-0.6.5/i810switch.1.gz0100644000036000017530000000126210062744124014464 0ustar manoccrgT@i810switch.1uTao0_qS+1whVMUU h0uHjjUbGSi?~gB"1{wKx:krH's10 \iJB rѸ!$IX-}9B-:ݝk3WFGK[;6H|?d2EӸy _*<ʅ+"j0oZFC@óhVMJ,Wd0~ tr! /6Hryx5}0%bT.ي(wY۪70dJ v*I)FH3oUF;2E0"Uҁ˚ŠAx\:l_?JÈZ_ 6IdJt@Kd:dR"PNmJ;ȍTho.v|IӂifJ}㼵јU$ac*k;tO#t^C)TCCBr"GVv_h*E Ru EPPDKLG[brd!|$~8 i810switch.cgcc2_compiled.Opt_lcdOpt_crtrelease_resourceclosemunmapprobe_card_I810printfprobe_card_I830i810_chipgetlinestrstri810_addrstrtouli810_usagestderrfprintfmainputenvstrcmpexitpopenpclosememcpymemsetopen__errno_locationperrorgeteuidmmap A }    N S  : ?   ; @K P    H M     #U Z    $ /E P   4 ?  . 39D IOZ _ep u{     # E  P j  u           ! ; C V ^ k  v              " / > I  R h  m s              - @  d  i !| "  # $     %: V  a  l  q  v        " '4 9D Ii n{      $ )C Hh mz     % *  4 9    P U  i810switch-0.6.5/i810switch0100755000036000017530000005345510252735726013735 0ustar manoccrgELFP4H4 (444###XtP$PP /lib/ld-linux.so.2GNU   }"87>_(*78#TH7X(MhxY);g"Ȇ؆/0;=E((Ed!8u __gmon_start__libc.so.6printfgeteuidmunmapmemcpypcloseperrorstrtoulputenvmmappopenfprintf__deregister_frame_infostrstrmemsetstrcmpstderr__errno_locationexitgetline_IO_stdin_used__libc_start_mainopen__register_frame_infocloseGLIBC_2.1GLIBC_2.0ii ii L     $ (,048<@DHUS[,.+>[5%%h%h%h%h%h %h(% h0%h8p%h@`%hHP%hP@% hX0%$h` %(hh%,hp%0hx%4h%8h%<h%@h%Dh%Hh1^PTRh@hQVhԐWUS[h,dt[ÉU=ȳu>ijPijСij8u丨t hԳȳÐUUthhԳÐUÍUEPtEPREPthER#ÉUE`PE`PE`Ph"EPPE`PhE PE PE PhEPEPEPh EPEPE Ph`QE€PEPEPhÐUE`PE`PE`PE`PE`Ph E€PE`PE@PE PEPh e E„PEdPEDPE$PEPh` EL`PEH`PED`PE@`Ph E PE PE PhEPE€PhdhڝTEPEPEPhEPEPE Ph@E€PE0PEPEPh hEPEPEPhWEPEPE Ph@ E€PE0PEPEPh hEˆPE„PE€Ph@hhEˆPE„PE€Ph@JÐUSt&EPE PEP1ۃh{ERE}hERE}hERE}uehERvE}uDhERUE}u#hER4E}u]}tEU1ۃhERE}u(hERE}u t&]}tEUh˟ERE}ЉU}tEUQh՟EREE}ЉU}tEU1&]ÍvUEPE PEPfhߟERtDhERE}t#jjE P‰&{1&ÉUh Ph`PhPhPyh PcÉUpWVEEEEEEEE}Rfh9M}E hE RM}~hE hE Rtu E=hE ROuEt&P8wP#vhE RE M}~ehE Ru E>hE Ru EPPvN^n~Άކ.>  @(|܁ ooo+dtdt1<@o2~@e;eybVGT*AU !"#%&+1B2Z3q45689; =">8?N@dA{BCDEFGHI3NsQRSTUVX)[C^[eqhlqruv y, zI }a z  F@ v #  4 <m C F SU Z ^ ltyU #6-UHuK:##6UUHKLCUvZ^a"bZ>5789: dtinit.c/home/iwamoto/rpm/BUILD/glibc-2.2.4/csu/gcc2_compiled.int:t(0,1)=r(0,1);0020000000000;0017777777777;char:t(0,2)=r(0,2);0;127;long int:t(0,3)=r(0,1);0020000000000;0017777777777;unsigned int:t(0,4)=r(0,1);0000000000000;0037777777777;long unsigned int:t(0,5)=r(0,1);0000000000000;0037777777777;long long int:t(0,6)=r(0,1);01000000000000000000000;0777777777777777777777;long long unsigned int:t(0,7)=r(0,1);0000000000000;01777777777777777777777;short int:t(0,8)=r(0,8);-32768;32767;short unsigned int:t(0,9)=r(0,9);0;65535;signed char:t(0,10)=r(0,10);-128;127;unsigned char:t(0,11)=r(0,11);0;255;float:t(0,12)=r(0,1);4;0;double:t(0,13)=r(0,1);8;0;long double:t(0,14)=r(0,1);12;0;complex int:t(0,15)=s8real:(0,1),0,32;imag:(0,1),32,32;;complex float:t(0,16)=r(0,16);4;0;complex double:t(0,17)=r(0,17);8;0;complex long double:t(0,18)=r(0,18);12;0;void:t(0,19)=(0,19)../include/libc-symbols.h/home/iwamoto/rpm/BUILD/glibc-2.2.4/build-i386-linux/config.h../sysdeps/gnu/_G_config.h../sysdeps/unix/sysv/linux/bits/types.h../include/features.h../include/sys/cdefs.h../misc/sys/cdefs.h/usr/lib/gcc-lib/i386-redhat-linux/2.95.3/include/stddef.hsize_t:t(8,1)=(0,4)__u_char:t(4,1)=(0,11)__u_short:t(4,2)=(0,9)__u_int:t(4,3)=(0,4)__u_long:t(4,4)=(0,5)__u_quad_t:t(4,5)=(0,7)__quad_t:t(4,6)=(0,6)__int8_t:t(4,7)=(0,10)__uint8_t:t(4,8)=(0,11)__int16_t:t(4,9)=(0,8)__uint16_t:t(4,10)=(0,9)__int32_t:t(4,11)=(0,1)__uint32_t:t(4,12)=(0,4)__int64_t:t(4,13)=(0,6)__uint64_t:t(4,14)=(0,7)__qaddr_t:t(4,15)=(4,16)=*(4,6)__dev_t:t(4,17)=(4,5)__uid_t:t(4,18)=(4,3)__gid_t:t(4,19)=(4,3)__ino_t:t(4,20)=(4,4)__mode_t:t(4,21)=(4,3)__nlink_t:t(4,22)=(4,3)__off_t:t(4,23)=(0,3)__loff_t:t(4,24)=(4,6)__pid_t:t(4,25)=(0,1)__ssize_t:t(4,26)=(0,1)__rlim_t:t(4,27)=(4,4)__rlim64_t:t(4,28)=(4,5)__id_t:t(4,29)=(4,3)__fsid_t:t(4,30)=(4,31)=s8__val:(4,32)=ar(0,1);0;1;(0,1),0,64;;__daddr_t:t(4,33)=(0,1)__caddr_t:t(4,34)=(4,35)=*(0,2)__time_t:t(4,36)=(0,3)__useconds_t:t(4,37)=(0,4)__suseconds_t:t(4,38)=(0,3)__swblk_t:t(4,39)=(0,3)__clock_t:t(4,40)=(0,3)__clockid_t:t(4,41)=(0,1)__timer_t:t(4,42)=(0,1)__key_t:t(4,43)=(0,1)__ipc_pid_t:t(4,44)=(0,9)__blksize_t:t(4,45)=(0,3)__blkcnt_t:t(4,46)=(0,3)__blkcnt64_t:t(4,47)=(4,6)__fsblkcnt_t:t(4,48)=(4,4)__fsblkcnt64_t:t(4,49)=(4,5)__fsfilcnt_t:t(4,50)=(4,4)__fsfilcnt64_t:t(4,51)=(4,5)__ino64_t:t(4,52)=(4,5)__off64_t:t(4,53)=(4,24)__t_scalar_t:t(4,54)=(0,3)__t_uscalar_t:t(4,55)=(0,5)__intptr_t:t(4,56)=(0,1)__socklen_t:t(4,57)=(0,4)../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h../sysdeps/unix/sysv/linux/bits/sched.h__sched_param:T(10,1)=s4__sched_priority:(0,1),0,32;;_pthread_fastlock:T(9,1)=s8__status:(0,3),0,32;__spinlock:(0,1),32,32;;_pthread_descr:t(9,2)=(9,3)=*(9,4)=xs_pthread_descr_struct:__pthread_attr_s:T(9,5)=s36__detachstate:(0,1),0,32;__schedpolicy:(0,1),32,32;__schedparam:(10,1),64,32;__inheritsched:(0,1),96,32;__scope:(0,1),128,32;__guardsize:(8,1),160,32;__stackaddr_set:(0,1),192,32;__stackaddr:(9,6)=*(0,19),224,32;__stacksize:(8,1),256,32;;pthread_attr_t:t(9,7)=(9,5)pthread_cond_t:t(9,8)=(9,9)=s12__c_lock:(9,1),0,64;__c_waiting:(9,2),64,32;;pthread_condattr_t:t(9,10)=(9,11)=s4__dummy:(0,1),0,32;;pthread_key_t:t(9,12)=(0,4)pthread_mutex_t:t(9,13)=(9,14)=s24__m_reserved:(0,1),0,32;__m_count:(0,1),32,32;__m_owner:(9,2),64,32;__m_kind:(0,1),96,32;__m_lock:(9,1),128,64;;pthread_mutexattr_t:t(9,15)=(9,16)=s4__mutexkind:(0,1),0,32;;pthread_once_t:t(9,17)=(0,1)_pthread_rwlock_t:T(9,18)=s32__rw_lock:(9,1),0,64;__rw_readers:(0,1),64,32;__rw_writer:(9,2),96,32;__rw_read_waiting:(9,2),128,32;__rw_write_waiting:(9,2),160,32;__rw_kind:(0,1),192,32;__rw_pshared:(0,1),224,32;;pthread_rwlock_t:t(9,19)=(9,18)pthread_rwlockattr_t:t(9,20)=(9,21)=s8__lockkind:(0,1),0,32;__pshared:(0,1),32,32;;pthread_spinlock_t:t(9,22)=(0,1)pthread_barrier_t:t(9,23)=(9,24)=s20__ba_lock:(9,1),0,64;__ba_required:(0,1),64,32;__ba_present:(0,1),96,32;__ba_waiting:(9,2),128,32;;pthread_barrierattr_t:t(9,25)=(9,26)=s4__pshared:(0,1),0,32;;pthread_t:t(9,27)=(0,5)wchar_t:t(11,1)=(0,3)wint_t:t(11,2)=(0,4)../include/wchar.h../wcsmbs/wchar.h../sysdeps/unix/sysv/linux/i386/bits/wchar.h__mbstate_t:t(13,1)=(13,2)=s8__count:(0,1),0,32;__value:(13,3)=u4__wch:(11,2),0,32;__wchb:(13,4)=ar(0,1);0;3;(0,2),0,32;;,32,32;;_G_fpos_t:t(3,1)=(3,2)=s12__pos:(4,23),0,32;__state:(13,1),32,64;;_G_fpos64_t:t(3,3)=(3,4)=s16__pos:(4,53),0,64;__state:(13,1),64,64;;../include/gconv.h../iconv/gconv.h :T(17,1)=e__GCONV_OK:0,__GCONV_NOCONV:1,__GCONV_NODB:2,__GCONV_NOMEM:3,__GCONV_EMPTY_INPUT:4,__GCONV_FULL_OUTPUT:5,__GCONV_ILLEGAL_INPUT:6,__GCONV_INCOMPLETE_INPUT:7,__GCONV_ILLEGAL_DESCRIPTOR:8,__GCONV_INTERNAL_ERROR:9,; :T(17,2)=e__GCONV_IS_LAST:1,__GCONV_IGNORE_ERRORS:2,;__gconv_fct:t(17,3)=(17,4)=*(17,5)=f(0,1)__gconv_init_fct:t(17,6)=(17,7)=*(17,8)=f(0,1)__gconv_end_fct:t(17,9)=(17,10)=*(17,11)=f(0,19)__gconv_trans_fct:t(17,12)=(17,13)=*(17,14)=f(0,1)__gconv_trans_context_fct:t(17,15)=(17,16)=*(17,17)=f(0,1)__gconv_trans_query_fct:t(17,18)=(17,19)=*(17,20)=f(0,1)__gconv_trans_init_fct:t(17,21)=(17,22)=*(17,23)=f(0,1)__gconv_trans_end_fct:t(17,24)=(17,25)=*(17,26)=f(0,19)__gconv_trans_data:T(17,27)=s20__trans_fct:(17,12),0,32;__trans_context_fct:(17,15),32,32;__trans_end_fct:(17,24),64,32;__data:(9,6),96,32;__next:(17,28)=*(17,27),128,32;;__gconv_step:T(17,29)=s56__shlib_handle:(17,30)=*(17,31)=xs__gconv_loaded_object:,0,32;__modname:(17,32)=*(0,2),32,32;__counter:(0,1),64,32;__from_name:(4,35),96,32;__to_name:(4,35),128,32;__fct:(17,3),160,32;__init_fct:(17,6),192,32;__end_fct:(17,9),224,32;__min_needed_from:(0,1),256,32;__max_needed_from:(0,1),288,32;__min_needed_to:(0,1),320,32;__max_needed_to:(0,1),352,32;__stateful:(0,1),384,32;__data:(9,6),416,32;;__gconv_step_data:T(17,33)=s36__outbuf:(17,34)=*(0,11),0,32;__outbufend:(17,34),32,32;__flags:(0,1),64,32;__invocation_counter:(0,1),96,32;__internal_use:(0,1),128,32;__statep:(17,35)=*(13,1),160,32;__state:(13,1),192,64;__trans:(17,28),256,32;;__gconv_info:T(17,36)=s8__nsteps:(8,1),0,32;__steps:(17,37)=*(17,29),32,32;__data:(17,38)=ar(0,1);0;-1;(17,33),64,0;;__gconv_t:t(17,39)=(17,40)=*(17,36)_G_iconv_t:t(3,5)=(3,6)=u44__cd:(17,36),0,64;__combined:(3,7)=s44__cd:(17,36),0,64;__data:(17,33),64,288;;,0,352;;_G_int16_t:t(3,8)=(0,8)_G_int32_t:t(3,9)=(0,1)_G_uint16_t:t(3,10)=(0,9)_G_uint32_t:t(3,11)=(0,4)_IO_stdin_used:G(0,1)GCC: (GNU) 2.95.3 20010315 (release)GCC: (GNU) 2.95.3 20010315 (release)GCC: (GNU) 2.95.3 20010315 (release)GCC: (GNU) 2.95.3 20010315 (release)GCC: (GNU) 2.95.3 20010315 (release)GCC: (GNU) 2.95.3 20010315 (release)01.0101.0101.0101.0101.0101.01.symtab.strtab.shstrtab.interp.note.ABI-tag.hash.dynsym.dynstr.gnu.version.gnu.version_r.rel.dyn.rel.plt.init.plt.text.fini.rodata.data.eh_frame.ctors.dtors.got.dynamic.sbss.bss.stab.stabstr.comment.note# 1((7 ܁?||Go4To0c l  u%{؅pPP@@``` #Գ#س###hPP$%%% ,+EFx+GL? TS(܁|  ؅ P @ `ԳسP t t +2t 9  DijHVȳb xԳ   ̳س9   ܳ4 ԳԳ @  0 ̳&г.0J ?PH}"i s87`(*8#H7X(h x% +|G ;L;^"P T~ ! Ԑ8  Ȇ ؆/ @ ;$=4Dĉ T[q4v((Ed8u initfini.cgcc2_compiled.call_gmon_startinit.cLetextcrtstuff.cp.3__DTOR_LIST__completed.4__do_global_dtors_aux__EH_FRAME_BEGIN__fini_dummyobject.11frame_dummyinit_dummyforce_to_data__CTOR_LIST____do_global_ctors_aux__CTOR_END____DTOR_END____FRAME_END__i810switch.cOpt_lcdOpt_crtrelease_resource_DYNAMIC__register_frame_info@@GLIBC_2.0i810_addrstrcmp@@GLIBC_2.0close@@GLIBC_2.0_fp_hwperror@@GLIBC_2.0fprintf@@GLIBC_2.0pclose@@GLIBC_2.1mmap@@GLIBC_2.0getline@@GLIBC_2.0putenv@@GLIBC_2.0__errno_location@@GLIBC_2.0_initprobe_card_I810popen@@GLIBC_2.1munmap@@GLIBC_2.0__deregister_frame_info@@GLIBC_2.0stderr@@GLIBC_2.0_starti810_usagestrstr@@GLIBC_2.0i810_chip__bss_startmain__libc_start_main@@GLIBC_2.0data_startprintf@@GLIBC_2.0_finimemcpy@@GLIBC_2.0open@@GLIBC_2.0exit@@GLIBC_2.0probe_card_I830_edata_GLOBAL_OFFSET_TABLE__endstrtoul@@GLIBC_2.0memset@@GLIBC_2.0_IO_stdin_used__data_startgeteuid@@GLIBC_2.0__gmon_start__