如何在 Debian 上禁用 USB 设备?我使用的是 macbook pro,但我已经在上面安装了 debian jessie 8.2。
USB 设备:读卡器(Apple)耗电量太大,我什至不使用该设备。
我怎样才能禁用该设备?
33.8 W 100.0% Device USB device: Card Reader (Apple)
2.96 W 100.0% Device Radio device: btusb
477 mW 0.0 pkts/s Device Network interface: wlan0 (wl)
运行 lsusb 我找不到该读卡器是哪个设备
Bus 002 Device 003: ID 05ac:8406 Apple, Inc.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 006: ID 05ac:8289 Apple, Inc.
Bus 001 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)
Bus 001 Device 003: ID 05ac:0262 Apple, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
附加信息。
dmesg | grep APPLE
[ 0.000000] ACPI: RSDP 0x000000007AD8E014 000024 (v02 APPLE )
[ 0.000000] ACPI: XSDT 0x000000007AD8E1C0 00009C (v01 APPLE Apple00 00000000 01000013)
[ 0.000000] ACPI: FACP 0x000000007AD8C000 0000F4 (v05 APPLE Apple00 00000000 Loki 0000005F)
[ 0.000000] ACPI: DSDT 0x000000007AD80000 006C1F (v03 APPLE MacBookP 00110002 INTL 20100915)
[ 0.000000] ACPI: HPET 0x000000007AD8B000 000038 (v01 APPLE Apple00 00000001 Loki 0000005F)
[ 0.000000] ACPI: APIC 0x000000007AD8A000 0000BC (v02 APPLE Apple00 00000001 Loki 0000005F)
[ 0.000000] ACPI: SBST 0x000000007AD88000 000030 (v01 APPLE Apple00 00000001 Loki 0000005F)
[ 0.000000] ACPI: ECDT 0x000000007AD87000 000053 (v01 APPLE Apple00 00000001 Loki 0000005F)
[ 0.000000] ACPI: SSDT 0x000000007AD7F000 00010B (v01 APPLE SataAhci 00001000 INTL 20100915)
[ 0.000000] ACPI: SSDT 0x000000007AD7E000 000024 (v01 APPLE SmcDppt 00001000 INTL 20100915)
[ 0.000000] ACPI: SSDT 0x000000007AD7C000 000688 (v01 APPLE SDUsbLpt 00001000 INTL 20100915)
[ 0.000000] ACPI: SSDT 0x000000007AD79000 000032 (v01 APPLE SsdtS3 00001000 INTL 20100915)
[ 0.000000] ACPI: SSDT 0x000000007AD64000 009E2C (v01 APPLE TbtPEG11 00001000 INTL 20100915)
[ 0.000000] ACPI: SSDT 0x000000007AD63000 0000B8 (v01 APPLE Sdxc 00001000 INTL 20100915)
[ 0.000000] ACPI: MCFG 0x000000007AD89000 00003C (v01 APPLE Apple00 00000001 Loki 0000005F)
[ 0.000000] ACPI: DMAR 0x000000007AD5F000 000088 (v01 APPLE HSW 00000001 AAPL 00000001)
[ 2.141500] ata1.00: ATA-8: APPLE SSD SM0512F, UXM2JA1Q, max UDMA/133
[ 2.149927] scsi 0:0:0:0: Direct-Access ATA APPLE SSD SM0512 JA1Q PQ: 0 ANSI: 5
[ 3.051962] scsi 1:0:0:0: Direct-Access APPLE SD Card Reader 3.00 PQ: 0 ANSI: 6
sg_scan -i
/dev/sg0: scsi0 channel=0 id=0 lun=0 [em]
ATA APPLE SSD SM0512 JA1Q [rmb=0 cmdq=0 pqual=0 pdev=0x0]
/dev/sg1: scsi1 channel=0 id=0 lun=0 [em]
APPLE SD Card Reader 3.00 [rmb=1 cmdq=0 pqual=0 pdev=0x0]
ps-ax | grep 开发
47 ? S 0:00 [kdevtmpfs]
59 ? S< 0:00 [devfreq_wq]
215 ? Ss 0:00 /lib/systemd/systemd-udevd
2525 ? Sl 0:15 /google/chrome/chrome
4358 pts/2 S+ 0:00 grep dev
我已经尝试了所有建议这个答案但它不起作用。这就是为什么我有一个新问题。
答案1
我更喜欢相信原始答案而不是剪切和复制。也许这会对你有所帮助。