Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAQ:usb从机枚举mass storage(从机读卡器)时,如何将mass storage对应的设备设置为只读状态? #107

Open
lj-job opened this issue Jul 17, 2023 · 0 comments

Comments

@lj-job
Copy link
Collaborator

lj-job commented Jul 17, 2023

一、简洁

将scsi mode中的数值修改为写保护即可

二、实现

本方法适用于AD14N,AC104N;不适用于AD16N.
将scsi_mode_sense[2]修改为0x80即可,如下图所示:
1689586128627

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant