diff options
| author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-12-16 22:36:04 +0000 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2007-12-16 22:36:04 +0000 | 
| commit | c1f75c5c1170fe23334d1d0f39e5f957f7db8733 (patch) | |
| tree | 438b903fc112c2fdc630d1af0bc45e265a264538 /hardinfo2 | |
| parent | 5c6956520409052b75cdaa158a5978c599a51874 (diff) | |
[ Patch #2268 ] If device have InfraRed-port , in Program it will show this
Diffstat (limited to 'hardinfo2')
| -rw-r--r-- | hardinfo2/arch/linux/common/inputdevices.h | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/hardinfo2/arch/linux/common/inputdevices.h b/hardinfo2/arch/linux/common/inputdevices.h index 8d2d8427..e72ed786 100644 --- a/hardinfo2/arch/linux/common/inputdevices.h +++ b/hardinfo2/arch/linux/common/inputdevices.h @@ -118,6 +118,12 @@ __scan_input_devices(void)  				      "Version=0x%x\n"  				      "Connected to=%s\n",  				      strhash, product, version, phys); +	     +	    if (strstr(phys,"ir")) { +		 strhash = h_strdup_cprintf("InfraRed port=yes\n", +				 	     strhash); +	    } +	      	    g_hash_table_insert(moreinfo, tmp, strhash);  	    g_free(phys); | 
