调整挂载不上问题

This commit is contained in:
modehua 2023-10-09 05:12:21 -07:00
parent becc469a7a
commit eb56aec47d
1 changed files with 3 additions and 3 deletions

View File

@ -479,7 +479,7 @@ bool UsbScanner::is_connect()
void UsbScanner::mount_usb_device()
{
/////没用到
if ((access("/dev/ffs-camtp/ep0", F_OK)) != -1)
{
printf("exit mount_usb_device !!!\r\n");
@ -502,8 +502,8 @@ void UsbScanner::mount_usb_device()
mkdir functions/ffs.camtp\n \
mkdir strings/0x409\n \
mkdir configs/c.1/strings/0x409\n \
echo" + pid +"> idProduct\n \
echo" + vid +"> idVendor\n \
echo 0x0300 > idProduct\n \
echo 0x3072 > idVendor\n \
echo \"01234567AABBCCDDEE\" > strings/0x409/serialnumber\n \
echo \"Holdtecs Technologies\" > strings/0x409/manufacturer\n \
echo \"The Holdtecs Product !\" > strings/0x409/product\n \