This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] BEAGL-BONE-BLACK:访问 USB1_DRVVBUS 以禁用 USB 主机

Guru**** 2553260 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1370691/beagl-bone-black-accessing-usb1_drvvbus-to-disable-usb-host

器件型号:BEAGL-BONE-BLACK

工具与软件:

您好!

我想在低功耗模式下使用 BeagleBone Black。 考虑到这一点、我一直在寻找禁用 USB 主机电源输出的方法。

查看 BBB 原理图、AM335x 有一个'USB1_DRVVBUS'输出、该输出控制 USB 主机5V 输出。 我已尝试执行以下命令来操作此引脚

devmem2 0x47401c60 b 0x00

在此之后、我希望引脚 USB1_DRVVBUS 将变为低电平、并且 USB 输出将被禁用。 但这不起作用。 我在引脚 USB1_DRVVBUS 处得到3.3V。 我在这里遗漏了什么?

我使用以下配置、

Debian Bullseye 物联网图像2023年09月02日。

内核版本:Linux BeagleBone 5.10.168-ti-R71。

Debian 版本: 11.7

非常感谢您的帮助。

谢谢!

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好,马里,

    Unknown 说:
    devmem2 0x47401c60 b 0x00

    将它设置为0后、该寄存器值是多少?