调整挂载不上问题
This commit is contained in:
parent
becc469a7a
commit
eb56aec47d
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue