Mr-MIBonk / M.I.B._More-Incredible-Bash

M.I.B. - More Incredible Bash - The Army knife for Harman MIB 2.x aka MHI2(Q) units
GNU General Public License v2.0
553 stars 65 forks source link

M.I.B typo in subwoofer script #592

Open krcenov opened 4 hours ago

krcenov commented 4 hours ago

Hello, I have image And i have this dataset backup from MIB 0,0x0,3221422080,0xC0030000,1e3c1f0f0f1e00780000003c000f004b004b003c02003c0a010a00003332d817,blob yet in MIB it says my system is not supported? I have a sneaky suspision that in the code of the app subwoofer where it checks byte 00 it is checking it in the wrong dataset.... if [ "$AMP" = 1 ]; then echo -ne "Internal sound system coding found!\n" | $TEE -a $LOG SOUND="$(on -f mmx $PC b:0:3221422100:0)" # 0x3000 byte 00 - type of sound system echo -ne "Sound system in 0x3000 byte 00 coding:\n$SOUND\n" | $TEE -a $LOG if [ $SOUND -ge 30 ]; then echo -ne "Sound system is supported\n\n" | $TEE -a $LOG else echo -ne "Sound system is not supported\n" | $TEE -a $LOG sleep 2 return 2> /dev/null fi else echo -ne "External sound system coding found!\nWe will stop here, as this patch can only be applied to units with 5F internal sound system\n" | $TEE -a $LOG sleep 2 return 2> /dev/null fi its checking in b3221422100 but maybe it should be checking in 3221422080? since 0x3000 byte 00 - type of sound system is here 3221422080? Please confirm :)

krcenov commented 3 hours ago

@FeralMib