1root { 2 platform { 3 template headset_info { 4 match_attr = ""; 5 serviceName = ""; 6 } 7 headset :: headset_info { 8 match_attr = "analog_headset_attr"; 9 serviceName = "analog_headset_service"; 10 vendor = 0x0001; 11 product = 0x0001; 12 version = 0x0100; 13 dev_name = "rk809_analog_headset"; 14 headset_gpio = 115; 15 headset_gpio_flag = 0; 16 mic_switch_gpio = 0; 17 hp_mic_io_value = 0; 18 main_mic_io_value = 1; 19 headset_wakeup = 1; 20 hook_gpio = 0; 21 adc_controller_no = 0; 22 adc_channel = 0; 23 hook_down_type = 0; 24 } 25 } 26}