Hello community, here is the log from the commit of package hwinfo checked in at Wed Aug 29 22:27:42 CEST 2007. -------- --- hwinfo/hwinfo.changes 2007-08-27 16:28:26.000000000 +0200 +++ /mounts/work_src_done/STABLE/hwinfo/hwinfo.changes 2007-08-29 16:04:00.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Aug 29 16:03:53 CEST 2007 - snwint@suse.de + +- fix wlan detection (#302045) +- detect ps3 sound card (#305913) + +------------------------------------------------------------------- Old: ---- hwinfo-13.47.tar.bz2 New: ---- hwinfo-13.48.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hwinfo.spec ++++++ --- /var/tmp/diff_new_pack.hQ4197/_old 2007-08-29 22:27:20.000000000 +0200 +++ /var/tmp/diff_new_pack.hQ4197/_new 2007-08-29 22:27:20.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package hwinfo (Version 13.47) +# spec file for package hwinfo (Version 13.48) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -20,9 +20,9 @@ PreReq: /sbin/ldconfig %insserv_prereq %fillup_prereq Autoreqprov: on Summary: Hardware Library -Version: 13.47 +Version: 13.48 Release: 1 -Source: hwinfo-13.47.tar.bz2 +Source: hwinfo-13.48.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -89,6 +89,9 @@ %doc doc/libhd/html %changelog +* Wed Aug 29 2007 - snwint@suse.de +- fix wlan detection (#302045) +- detect ps3 sound card (#305913) * Mon Aug 27 2007 - snwint@suse.de - rework iseries handling (#302667) - handle ahci/ata_piix issue (#304134) ++++++ hwinfo-13.47.tar.bz2 -> hwinfo-13.48.tar.bz2 ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hwinfo-13.47/Changelog new/hwinfo-13.48/Changelog --- old/hwinfo-13.47/Changelog 2007-08-27 16:27:22.000000000 +0200 +++ new/hwinfo-13.48/Changelog 2007-08-29 16:03:00.000000000 +0200 @@ -1,3 +1,7 @@ +28/8/2007: v13.48 + - fix wlan detection (#302045) + - detect ps3 sound card (#305913) + 23/8/2007: v13.47 - rework iseries handling (#302667) - handle ahci/ata_piix issue (#304134) diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hwinfo-13.47/src/hd/pci.c new/hwinfo-13.48/src/hd/pci.c --- old/hwinfo-13.47/src/hd/pci.c 2007-08-23 11:38:45.000000000 +0200 +++ new/hwinfo-13.48/src/hd/pci.c 2007-08-29 16:02:14.000000000 +0200 @@ -1018,6 +1018,25 @@ if(s) add_str_list(&hd->drivers, s); } + if ( ps3_name && !strcmp(ps3_name, "ps3:9")) { + hd = add_hd_entry(hd_data, __LINE__, 0); + hd->bus.id = bus_ps3_system_bus; + + hd->vendor.id = MAKE_ID(TAG_PCI, 0x104d); /* Sony */ + + hd->base_class.id = bc_multimedia; + hd->sub_class.id = sc_multi_audio; + hd->device.id = MAKE_ID(TAG_SPECIAL, 0x1004); + str_printf(&hd->device.name, 0, "PS3 Soundcard"); + + hd->modalias = new_str(ps3_name); + + hd->sysfs_id = new_str(hd_sysfs_id(sf_dev)); + hd->sysfs_bus_id = new_str(sf_bus_e->str); + s = hd_sysfs_find_driver(hd_data, hd->sysfs_id, 1); + if(s) add_str_list(&hd->drivers, s); + + } ps3_name = free_mem(ps3_name); free_mem(sf_dev); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hwinfo-13.47/src/hd/wlan.c new/hwinfo-13.48/src/hd/wlan.c --- old/hwinfo-13.47/src/hd/wlan.c 2007-08-27 16:25:47.000000000 +0200 +++ new/hwinfo-13.48/src/hd/wlan.c 2007-08-28 16:10:07.000000000 +0200 @@ -154,38 +154,36 @@ res = new_mem(sizeof *res); res->any.type = res_wlan; - if(range.num_frequency > 0) { - char buff[20]; - for(k = 0; k < range.num_frequency; k++) { - snprintf(buff, 19, "%i", range.freq[k].i); - add_str_list(&res->wlan.channels, buff); - snprintf(buff, 19, "%g", (float)iw_freq2float(&(range.freq[k]))/1000000000); - add_str_list(&res->wlan.frequencies, buff); - } - for(k = 0; k < range.num_bitrates; k++) { - snprintf(buff, 19, "%g", (float)range.bitrate[k]/1000000); - add_str_list(&res->wlan.bitrates, buff); - } - for(k = 0; k < range.num_encoding_sizes; k++) { - snprintf(buff, 19, "WEP%i", range.encoding_size[k]*8); - add_str_list(&res->wlan.enc_modes, buff); - } + char buff[20]; + for(k = 0; k < range.num_frequency; k++) { + snprintf(buff, 19, "%i", range.freq[k].i); + add_str_list(&res->wlan.channels, buff); + snprintf(buff, 19, "%g", (float)iw_freq2float(&(range.freq[k]))/1000000000); + add_str_list(&res->wlan.frequencies, buff); + } + for(k = 0; k < range.num_bitrates; k++) { + snprintf(buff, 19, "%g", (float)range.bitrate[k]/1000000); + add_str_list(&res->wlan.bitrates, buff); + } + for(k = 0; k < range.num_encoding_sizes; k++) { + snprintf(buff, 19, "WEP%i", range.encoding_size[k]*8); + add_str_list(&res->wlan.enc_modes, buff); + } - /* open mode is always supported */ - add_str_list(&res->wlan.auth_modes, "open"); - /* if WEP is supported, we assume shared key auth support */ - if(range.num_encoding_sizes) { - add_str_list(&res->wlan.auth_modes, "sharedkey"); - } + /* open mode is always supported */ + add_str_list(&res->wlan.auth_modes, "open"); + /* if WEP is supported, we assume shared key auth support */ + if(range.num_encoding_sizes) { + add_str_list(&res->wlan.auth_modes, "sharedkey"); + } - if (range.enc_capa & (IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2)) { - add_str_list(&res->wlan.auth_modes, "wpa-psk"); - add_str_list(&res->wlan.auth_modes, "wpa-eap"); - if (range.enc_capa & IW_ENC_CAPA_CIPHER_TKIP) - add_str_list(&res->wlan.enc_modes, "TKIP"); - if (range.enc_capa & IW_ENC_CAPA_CIPHER_CCMP) - add_str_list(&res->wlan.enc_modes, "CCMP"); - } + if (range.enc_capa & (IW_ENC_CAPA_WPA | IW_ENC_CAPA_WPA2)) { + add_str_list(&res->wlan.auth_modes, "wpa-psk"); + add_str_list(&res->wlan.auth_modes, "wpa-eap"); + if (range.enc_capa & IW_ENC_CAPA_CIPHER_TKIP) + add_str_list(&res->wlan.enc_modes, "TKIP"); + if (range.enc_capa & IW_ENC_CAPA_CIPHER_CCMP) + add_str_list(&res->wlan.enc_modes, "CCMP"); } add_res_entry(&hd->res, res); } diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/hwinfo-13.47/VERSION new/hwinfo-13.48/VERSION --- old/hwinfo-13.47/VERSION 2007-08-23 11:39:00.000000000 +0200 +++ new/hwinfo-13.48/VERSION 2007-08-28 16:10:13.000000000 +0200 @@ -1 +1 @@ -13.47 +13.48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org