Ask Your Question
1

How can i disable USB device: USB2.0-CRW (Generic) ?

asked 2018-12-29 22:35:43 -0500

umrinderpal gravatar image

updated 2018-12-30 03:04:42 -0500

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 ...
(more)
edit retag flag offensive close merge delete

Comments

hi! umrinderpal Use the lsmod command to tell the module name.

 # lsmod |grep rt
simmon gravatar imagesimmon ( 2018-12-30 02:45:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-12-30 02:42:04 -0500

updated 2018-12-30 03:02:33 -0500

Realtek Semiconductor Corp. RTS5129 Card Reader Controller *Details of the installed driver

Realtek Semiconductor Corp. RTS5138 Card Reader Controller (USB2.0-CRW)
https://psachin.github.io/blog/rtsx/

It is seen as a used device, but if you stop the operation, you can execute the action / pause through the corresponding command and you can prevent it from operating permanently.

If you want to fix the driver problem, proceed with the compile installation.

https://github.com/asymingt/rts5139

Loading and unloading a module is performed as follows, and execution of that command affects its use. You can find the correct name to identify the module name and load or unload the module. If necessary, you can remove the module.

To verify your Realtek device, attach the value shown via the following command:

 Check the module for lsmod search ( or lsmod|grep rt)
 # lsmod|grep "rts5129" 

 Get information and check module for detail status
 # modinfo "Module"

 Module remove and load
 # modprobe -r "Module"
 # modprobe -a "Module"

If loading modules is insufficient, you can modify them through module configuration during kernel compilation. However, you must go through the kernel compilation process. Happy New Year!

edit flag offensive delete link more

Comments

Thanks .. its working ..

umrinderpal gravatar imageumrinderpal ( 2018-12-30 03:05:40 -0500 )edit

ok..it's good. Have a nice day ..umrinderpal

simmon gravatar imagesimmon ( 2018-12-30 03:11:11 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-12-29 22:35:43 -0500

Seen: 99 times

Last updated: Dec 30 '18