You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to use a USB port to operate the ink screen here. The ink screen will be recognized as a USB flash drive, and then we need to run custom CBW []+CDB [] format data. Which solution should we use? Thank you! The current situation is that the reply code after sending Inquiry (0x12) is no longer correct, and it can only be recognized as a USB drive because this command is also customized.
HPM5331 is used as the HOST end of USB. After the MSC drive letter is recognized by the connected device, a proprietary command is used for operation.
The manufacturer provided a routine for the WINDOWS system, using bSuccess = DeviceIoControl(hDev,
IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH,
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//+sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&dwReturnBytes,
NULL );
The text was updated successfully, but these errors were encountered:
We need to use a USB port to operate the ink screen here. The ink screen will be recognized as a USB flash drive, and then we need to run custom CBW []+CDB [] format data. Which solution should we use? Thank you! The current situation is that the reply code after sending Inquiry (0x12) is no longer correct, and it can only be recognized as a USB drive because this command is also customized.
HPM5331 is used as the HOST end of USB. After the MSC drive letter is recognized by the connected device, a proprietary command is used for operation.
The manufacturer provided a routine for the WINDOWS system, using bSuccess = DeviceIoControl(hDev,
![微信图片_20240228215345](https://private-user-images.githubusercontent.com/59534423/308573561-1f0478ea-ffb3-4ea8-b515-d351308b57ee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDc0NTQsIm5iZiI6MTcyNDAwNzE1NCwicGF0aCI6Ii81OTUzNDQyMy8zMDg1NzM1NjEtMWYwNDc4ZWEtZmZiMy00ZWE4LWI1MTUtZDM1MTMwOGI1N2VlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE4NTIzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2ZmQyY2MxNjc4ODk4YWQ0Zjc4NjE4Yjc4YWIzZDQ2OTM5ODViYjA1MjJkYTAyZmVhZGJmMjRkOTc0Y2RjNDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.JIgN2J1aH9C5UnrM1WCMaBKi5iI9BH8rUyoLLCs63Tw)
![微信图片_20240228215351](https://private-user-images.githubusercontent.com/59534423/308573586-850ed254-cfef-4756-adb3-e150f4e5c88b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDc0NTQsIm5iZiI6MTcyNDAwNzE1NCwicGF0aCI6Ii81OTUzNDQyMy8zMDg1NzM1ODYtODUwZWQyNTQtY2ZlZi00NzU2LWFkYjMtZTE1MGY0ZTVjODhiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE4NTIzNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZkZDc2OWE4ZDJjNzA2MGQ4M2RiZjc1YmIxMjhmMjc0MmViYTE2NzFlNWIxYzhkZjZhNzk1OWIzYTA0MzFmMzkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.PUJkldqMsXyUdLF4DL80tvbY8pvGcUEcmUsf_a8som8)
IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH_DIRECT,//IOCTL_SCSI_PASS_THROUGH,
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//+sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&stSPTDBuf,
sizeof(SCSI_PASS_THROUGH_DIRECT),//sizeof(gSPTDataBuf), //sizeof( TSPTWBData),
&dwReturnBytes,
NULL );
The text was updated successfully, but these errors were encountered: