Recently intend to use JZ4770 program to do our own products. The code you are giving is based on the customization of the. Every time you use pea pods, or QQ computer butler to connect the equipment, always show "Novo7 Basic". Obviously we have to change our own product model. Currently only used as a development board, the latter to design their own board.
The string "Novo7 Basic" was originally thought to have been obtained by setting > About tablet > model, but by modifying Product_model in Xx.mk (XX for board type): = Smartq7candy, after
The model is Smartq7candy, but it still shows "Novo7 Basic" by USB connection to the computer.
Since it is through the USB identification, with the ADB devices looked, and sure enough to show "Novo7 Basic."
Asked the boss, said this value is obtained by reading/sys/class/android_usb/android0/iserial. Search for "Android_usb" in kernel code, find code
Drivers/usb/gadget/android.c
This creates a Android_usb class, and then creates a class device android0,
For the Iserial property
Descriptor_string_attr (iserial, serial_string)
strncpy (serial_string, Config_usb_serial_num, sizeof (serial_string)-1);
Obviously, the value is obtained by Config_usb_serial_num copy.
Then modify the kernel's. config to config_usb_serial_num= "Nono7 Basic"--> config_usb_serial_num= "SMARTQ Candy"
Compile the kernel, after burning. found that QQ computer housekeeper identified as OPhone, I guess because "smartq Candy" is not in its list of equipment, after all, its definition, it certainly does not know. For the unrecognized, the unified identification is ophone.
With pea pods, can be identified as SMARTQ Candy.