How to uninstall VS 2005 manually

解决VS2005安装错误
本文解决了在重新安装Visual Studio 2005过程中遇到的错误问题。作者尝试直接卸载和重新安装但未成功,最终通过手动卸载并使用特定工具完成卸载,之后顺利完成安装。
My VS 2005 has some matter so I need to re-install it. But I got an error when I tried to do it.

So I tried to uninstall and then install it. But I still got an error when I tried to uninstall VS 2005 by its uninstall program.

I googled some website and found some that can help me uninstall VS 2005 manually.

They are:

#1 How to remove Visual Studio 2005 [url]http://support.microsoft.com/kb/907965[/url]

#2 If you decide to do as same as #1, you need this tool [url]http://support.microsoft.com/default.aspx?scid=kb;en-us;290301[/url] (A GUI tool for MSIZIP.exe).

After I uninstall and then install the VS 2005. Everything is OK now. :wink:

Welcome to visit my blog. [url]http://teatime.51vip.biz/blog[/url]
【四轴飞行器】非线性三自由度四轴飞行器模拟器研究(Matlab代码实现)内容概要:本文围绕非线性三自由度四轴飞行器模拟器的研究展开,重点介绍了基于Matlab的建模与仿真方法。通过对四轴飞行器的动力学特性进行分析,构建了非线性状态空间模型,并实现了姿态与位置的动态模拟。研究涵盖了飞行器运动方程的建立、控制系统设计及数值仿真验证等环节,突出非线性系统的精确建模与仿真优势,有助于深入理解飞行器在复杂工况下的行为特征。此外,文中还提到了多种配套技术如PID控制、状态估计与路径规划等,展示了Matlab在航空航天仿真中的综合应用能力。; 适合人群:具备一定自动控制理论基础和Matlab编程能力的高校学生、科研人员及从事无人机系统开发的工程技术人员,尤其适合研究生及以上层次的研究者。; 使用场景及目标:①用于四轴飞行器控制系统的设计与验证,支持算法快速原型开发;②作为教学工具帮助理解非线性动力学系统建模与仿真过程;③支撑科研项目中对飞行器姿态控制、轨迹跟踪等问题的深入研究; 阅读建议:建议读者结合文中提供的Matlab代码进行实践操作,重点关注动力学建模与控制模块的实现细节,同时可延伸学习文档中提及的PID控制、状态估计等相关技术内容,以全面提升系统仿真与分析能力。
rtw89 A repo for the newest Realtek rtw89 codes. This repo now contains the code for the Realtek RTW8922AE, which is a Wifi 7 device. It has been tested using a Wifi 6 AP as I do not have access to a Wifi 7 model. The driver works very well. This repo is current with rtw-next up to April 3, 2024. This branch was created from the version merged into the wireless-next repo, which is in the 5.16 kernel. IF YOU USE DRIVERS FROM THIS REPO FOR KERNELS 5.16+, YOU MUST BLACKLIST THE KERNEL VERSIONS!!!! FAILING TO DO THIS WILL RESULT IN ALL MANNER OF STRANGE ERRORS. This code will build on any kernel 6.10 and newer as long as the distro has not modified any of the kernel APIs. IF YOU RUN UBUNTU, YOU CAN BE ASSURED THAT THE APIs HAVE CHANGED. NO, I WILL NOT MODIFY THE SOURCE FOR YOU. YOU ARE ON YOUR OWN!!!!! Note that if you use this driver on kernels older than 5.15, the enhanced features of wifi 5 and wifi 6 are greatly crippled as the kernel does hot have the capability to support the new packet widths and speeds. If you use such a kernel, you might as well have an 802.11n (wifi 4) device. This repository includes drivers for the following cards: Realtek 8851BE, 8852AE, 8852BE, 8852CE, and 8922AE. If you are looking for a driver for chips such as RTL8188EE, RTL8192CE, RTL8192CU, RTL8192DE, RTL8192EE, RTL8192SE, RTL8723AE, or RTL8723BE, these should be provided by your kernel. If not, then you should go to the Backports Project (https://backports.wiki.kernel.org/index.php/Main_Page) to obtain the necessary code. If you have an RTW8822B{E,U,S}, RTW8822C{E,U,S}, RTW8723D{E,U,S}, or RTW8821C{E,U,S}, then you should use the drivers at https://github.com/lwfinger/rtw88.git. Installation instruction Requirements You will need to install "make", "gcc", "kernel headers", "kernel build essentials", and "git". For Ubuntu: You can install them with the following command sudo apt-get update sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git Users of Debian, Ubuntu, and similar (Mint etc) may want to scroll down and follow the DKMS instructions at the end of this document instead. For Fedora: You can install them with the following command sudo dnf install kernel-headers kernel-devel sudo dnf group install "C Development Tools and Libraries" For openSUSE: Install necessary headers with sudo zypper install make gcc kernel-devel kernel-default-devel git libopenssl-devel For Arch: After installing the necessary kernel headers and base-devel, git clone https://aur.archlinux.org/rtw89-dkms-git.git cd rtw89-dkms-git makepkg -sri If any of the packages above are not found check if your distro installs them like that. Installation For all distros: git clone https://github.com/lwfinger/rtw89.git cd rtw89 make sudo make install Installation with module signing for SecureBoot For all distros: git clone https://github.com/lwfinger/rtw89.git cd rtw89 make sudo make sign-install You will be prompted with a password, please keep it in mind and use it in the next steps. Reboot to activate the new installed module. In the MOK management screen: Select "Enroll key" and enroll the key created by above sign-install step When prompted, enter the password you entered when create sign key. If you enter wrong password, your computer won't be bootable. In this case, use the BOOT menu from your BIOS, to boot into your OS then do below steps: sudo mokutil --reset Restart your computer Use BOOT menu from BIOS to boot into your OS In the MOK management screen, select reset MOK list Reboot then retry from the step to make sign-install How to unload/reload a Kernel module sudo modprobe -rv rtw_8852ae sudo modprobe -rv rtw89core #These two statements unload the module Due to the behavior of the modprobe utility, it takes both to unload. sudo modprobe -v rtw_8852ae #This loads the module A single modprobe call will reload the module. Uninstall drivers For all distros: sudo make uninstall Problem with recovery after sleep or hibernation Some BIOSs have trouble changing the power state from D3hot to D0. If you have this problem, then sudo cp suspend_rtw89 /usr/lib/systemd/system-sleep/. That script will unload the driver before sleep or hibernation, and reload it following resumption. Option configuration IMPORTANT: If you have an HP or Lenovo laptop, Their BIOS does not handle the PCIe interface correctly. To compensate, run the following command: sudo cp 70-rtw89.conf /etc/modprobe.d/. Then unload the drivers and reload. You should see the options appended to the end of the rtw89_pci or rtw89pci load line. If it turns out that your system needs one of the other configuration options, then do the following: sudo nano /etc/modprobe.d/<dev_name>.conf There, enter the line below: options <driver_name> <<driver_option_name>>=<value> The available options for rtw89pci are disable_clkreq, disable_aspm_l1, and disable_aspm_l1ss. The available options for rtw89core are debug_mask, and disable_ps_mode. If after rebooting the wifi still doesn't work, it might mean that it was not loaded. To fix that, you will have to manually rebuild initramfs. To do that, execute one of the two commands, depending on how old/new your system is. mkinitrd # If you're running an older system dracut -f --regenerate-all # If you're running a newer system After rebuilding initramfs, reboot your computer and check if the wifi works properly now. Normally, none of these will be needed; however, if you are getting firmware errors, one or both of the disable_aspm_* options may help. They are needed when a buggy BIOS fails to implement the PCI specs correctly. When your kernel changes, then you need to do the following: cd ~/rtw89 git pull make clean make sudo make install ;or sudo make sign-install Remember, this MUST be done whenever you get a new kernel - no exceptions. These drivers will not build for kernels older than 5.8. If you must use an older kernel, submit a GitHub issue with a listing of the build errors, but be aware that doing so will cripple your device. Without the errors, the issue will be ignored. I am not a mind reader. When you have problems where the driver builds and loads correctly, but fails to work, a GitHub issue is NOT the best place to report it. I have no idea of the internal workings of any of the chips, and the Realtek engineers who do will not read these issues. To reach them, send E-mail to linux-wireless@vger.kernel.org. Include a detailed description of any messages in the kernel logs and any steps that you have taken to analyze or fix the problem. If your description is not complete, you are unlikely to get any satisfaction. One other thing - your mail MUST be plain test. HTML mail is rejected. DKMS packaging for debian and derivatives DKMS is commonly used on debian and derivatives, like ubuntu, to streamline building extra kernel modules. By following the instructions below and installing the resulting package, the rtw89 driver will automatically rebuild on kernel updates. Secure boot signing will happen automatically as well, as long as the dkms signing key (usually located at /var/lib/dkms/mok.key) is enrolled. See your distro's secure boot documentation for more details. Prerequisites: sudo apt install dh-sequence-dkms debhelper build-essential devscripts git-build-recipe This workflow uses devscripts, which has quite a few perl dependencies. You may wish to build inside a chroot to avoid unnecessary clutter on your system. The debian wiki page for chroot has simple instructions for debian, which you can adapt to other distros as needed by changing the release codename and mirror url. If you do, make sure to install the package on your host system, as it will fail if you try to install inside the chroot. Build and installation # If you've already built as above clean up your workspace or check one out specially (otherwise some temp files can end up in your package) git clean -xfd git deborig HEAD dpkg-buildpackage -us -uc sudo apt install ../rtw89-dkms_1.0.2-3_all.deb This will install the package, and build the module for your currently active kernel. You should then be able to modprobe as above. It will also load automatically on boot. A note regarding firmware Firmware from userspace is required to use this driver. This package will attempt to pull the firmware in automatically as a Recommends. However, if your distro does not provide one of firmware-realtek >= 20230117-1 or linux-firmware >= 20220329.git681281e4-0ubuntu3.10, the driver will fail to load, and dmesg will show an error about a specific missing firmware file. In this case, you can download the firmware files directly from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtw89. 将上述内容翻译成中文
09-25
### rtw89 仓库介绍 这是一个存放最新 Realtek rtw89 代码的仓库。该仓库目前包含适用于 Realtek RTW8922AE(一款 Wi-Fi 7 设备)的代码。由于没有 Wi-Fi 7 型号的设备,该代码已使用 Wi-Fi 6 接入点进行了测试,驱动运行效果良好。 此仓库的代码与 rtw-next 分支保持同步,更新至 2024 年 4 月 3 日。该分支基于合并到 wireless-next 仓库(位于 5.16 内核)的版本创建。若在 5.16 及以上版本的内核中使用此仓库的驱动,必须屏蔽内核自带版本,否则会出现各种奇怪的错误。 只要发行版未修改任何内核 API,此代码可在 6.10 及更高版本的任何内核上编译。若使用 Ubuntu 系统,其内核 API 已被修改,仓库维护者不会为用户修改源代码,用户需自行解决。 若在 5.15 以下版本的内核中使用此驱动,Wi-Fi 5 和 Wi-Fi 6 的增强功能将大打折扣,因为旧内核无法支持新的数据包宽度和速度,使用这类内核时,设备性能相当于 802.11n(Wi-Fi 4)设备。 该仓库包含以下网卡的驱动: Realtek 8851BE、8852AE、8852BE、8852CE 和 8922AE。 若需要 RTL8188EE、RTL8192CE、RTL8192CU、RTL8192DE、RTL8192EE、RTL8192SE、RTL8723AE 或 RTL8723BE 等芯片的驱动,内核通常会提供。若内核未提供,可前往 Backports 项目(https://backports.wiki.kernel.org/index.php/Main_Page)获取所需代码。 若使用 RTW8822B{E,U,S}、RTW8822C{E,U,S}、RTW8723D{E,U,S} 或 RTW8821C{E,U,S},应使用 https://github.com/lwfinger/rtw88.git 仓库中的驱动。 ### 安装说明 #### 要求 需要安装“make”、“gcc”、“内核头文件”、“内核构建必备工具”和“git”。 - **Ubuntu**:可使用以下命令安装 ```bash sudo apt-get update sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git ``` Debian、Ubuntu 及类似系统(如 Mint 等)用户可向下滚动并遵循文档末尾的 DKMS 说明。 - **Fedora**:可使用以下命令安装 ```bash sudo dnf install kernel-headers kernel-devel sudo dnf group install "C Development Tools and Libraries" ``` - **openSUSE**:使用以下命令安装必要的头文件 ```bash sudo zypper install make gcc kernel-devel kernel-default-devel git libopenssl-devel ``` - **Arch**:安装必要的内核头文件和 base-devel 后 ```bash git clone https://aur.archlinux.org/rtw89-dkms-git.git cd rtw89-dkms-git makepkg -sri ``` 若上述软件包未找到,需检查发行版的安装方式。 #### 安装 - **所有发行版通用方法** ```bash git clone https://github.com/lwfinger/rtw89.git cd rtw89 make sudo make install ``` #### 带有模块签名的 SecureBoot 安装 ```bash git clone https://github.com/lwfinger/rtw89.git cd rtw89 make sudo make sign-install ``` 安装过程中会提示输入密码,请牢记该密码并在后续步骤中使用。重启以激活新安装的模块。在 MOK 管理界面: 1. 选择“Enroll key”并注册上述 sign-install 步骤创建的密钥。 2. 提示输入密码时,输入创建签名密钥时输入的密码。 3. 若输入错误密码,计算机将无法启动。此时,使用 BIOS 中的启动菜单进入操作系统,然后执行以下命令: ```bash sudo mokutil --reset ``` 重启计算机,使用 BIOS 启动菜单进入操作系统,在 MOK 管理界面选择重置 MOK 列表,再次重启后重新执行 sign-install 步骤。 ### 如何卸载/重新加载内核模块 ```bash sudo modprobe -rv rtw_8852ae sudo modprobe -rv rtw89core # 这两条命令用于卸载模块 ``` 由于 modprobe 实用程序的特性,需要两条命令才能卸载模块。 ```bash sudo modprobe -v rtw_8852ae # 这条命令用于加载模块 ``` 单个 modprobe 命令即可重新加载模块。 ### 卸载驱动 ```bash sudo make uninstall ``` ### 睡眠或休眠后恢复问题 部分 BIOS 在将电源状态从 D3hot 更改为 D0 时会出现问题。若遇到此问题,执行以下命令: ```bash sudo cp suspend_rtw89 /usr/lib/systemd/system-sleep/. ``` 该脚本会在睡眠或休眠前卸载驱动,并在恢复后重新加载。 ### 选项配置 重要提示:若使用 HP 或 Lenovo 笔记本电脑,其 BIOS 无法正确处理 PCIe 接口。为解决此问题,执行以下命令: ```bash sudo cp 70-rtw89.conf /etc/modprobe.d/. ``` 然后卸载并重新加载驱动,应能看到选项附加到 rtw89_pci 或 rtw89pci 加载行的末尾。 若系统需要其他配置选项,执行以下操作: ```bash sudo nano /etc/modprobe.d/<dev_name>.conf ``` 在文件中输入以下内容: ```plaintext options <driver_name> <<driver_option_name>>=<value> ``` rtw89pci 可用的选项有 disable_clkreq、disable_aspm_l1 和 disable_aspm_l1ss;rtw89core 可用的选项有 debug_mask 和 disable_ps_mode。 若重启后 Wi-Fi 仍无法工作,可能是驱动未加载。此时需手动重建 initramfs,根据系统新旧执行以下命令之一: ```bash mkinitrd # 旧系统 dracut -f --regenerate-all # 新系统 ``` 重建 initramfs 后,重启计算机并检查 Wi-Fi 是否正常工作。 通常情况下,不需要这些选项。但若出现固件错误,disable_aspm_* 选项可能会有所帮助,这些选项适用于 BIOS 未正确实现 PCI 规范的情况。 内核更新时,需执行以下操作: ```bash cd ~/rtw89 git pull make clean make sudo make install # 或 sudo make sign-install ``` 请记住,每次更新内核时都必须执行上述操作,无例外。 若驱动编译和加载正常但无法工作,不建议在 GitHub 上提交问题。仓库维护者不了解芯片的内部工作原理,Realtek 工程师也不会查看这些问题。若要联系他们,可发送电子邮件至 linux-wireless@vger.kernel.org,邮件中需详细描述内核日志中的任何消息以及为分析或解决问题所采取的步骤。若描述不完整,可能无法得到有效帮助。此外,邮件必须为纯文本格式,HTML 邮件将被拒收。 ### DKMS 打包(适用于 Debian 及其衍生系统) DKMS 常用于 Debian 及其衍生系统(如 Ubuntu),以简化额外内核模块的编译过程。按照以下说明操作并安装生成的软件包后,rtw89 驱动将在内核更新时自动重新编译。只要注册了 DKMS 签名密钥(通常位于 /var/lib/dkms/mok.key),安全启动签名也将自动进行。有关更多详细信息,请参阅发行版的安全启动文档。 #### 先决条件 ```bash sudo apt install dh-sequence-dkms debhelper build-essential devscripts git-build-recipe ``` 此工作流程使用 devscripts,该工具依赖大量 Perl 模块。可在 chroot 环境中进行编译,以避免系统中出现不必要的文件。Debian 的 chroot 维基页面提供了简单的说明,可根据需要调整发行版代号和镜像 URL 以适用于其他系统。若在 chroot 中编译,需确保在主机系统上安装软件包,因为在 chroot 中安装可能会失败。 #### 构建和安装 ```bash # 若之前已编译,清理工作区或重新检出 git clean -xfd git deborig HEAD dpkg-buildpackage -us -uc sudo apt install ../rtw89-dkms_1.0.2-3_all.deb ``` 此操作将安装软件包,并为当前活动内核编译模块。之后可使用 modprobe 命令加载模块,驱动将在启动时自动加载。 ### 固件说明 使用此驱动需要用户空间的固件。该软件包会尝试自动拉取固件作为推荐依赖项。若发行版未提供 firmware-realtek >= 20230117 - 1 或 linux-firmware >= 20220329.git681281e4 - 0ubuntu3.10,驱动将无法加载,dmesg 会显示缺少特定固件文件的错误信息。此时,可从 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtw89 直接下载固件文件。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值