How can i disable USB device: USB2.0-CRW (Generic) ?
Hi there I just checked this device is consuming my battery power and I have never used this. Is there any way to disable and enable this one.
#powertop
827 mW 100.0% Device USB device: USB2.0-CRW (Generic)
$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 138a:00a6 Validity Sensors, Inc.
Bus 001 Device 004: ID 8087:0a2a Intel Corp.
Bus 001 Device 003: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 002: ID 0bda:5689 Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Intel(R) 100 Series Chipset Family LPC Controller/eSPI Controller - 9D4E (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 Network controller: Intel Corporation Wireless 3165 (rev 79)
Thanks
Update: as suggested by @simmon
$lsmod |grep rt
parport 57344 1 lp
btrtl 16384 1 btusb
bluetooth 614400 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
rtsx_usb_ms 20480 0
memstick 16384 1 rtsx_usb_ms
iTCO_vendor_support 16384 1 iTCO_wdt
rtsx_usb_sdmmc 28672 0
mmc_core 172032 1 rtsx_usb_sdmmc
rtsx_usb 20480 2 rtsx_usb_sdmmc,rtsx_usb_ms
$ modinfo rtsx_usb
filename: /lib/modules/4.19.10-300.fc29.x86_64/kernel/drivers/misc/cardreader/rtsx_usb.ko.xz
description: Realtek USB Card Reader Driver
But this command Failed to exe
$ modprobe -r rtsx_usb
modprobe: FATAL: Module rtsx_usb is in use.
Therefore, I need to remove submodules first, like
$ sudo modprobe -r rtsx_usb_sdmmc
$ sudo modprobe -r rtsx_usb_ms
$lsmod|grep rt
parport 57344 1 lp
btrtl 16384 1 btusb
bluetooth 614400 41 btrtl,btintel,btbcm,bnep,btusb,rfcomm
iTCO_vendor_support 16384 ...
hi! umrinderpal Use the lsmod command to tell the module name.