diff -Nru ideapad-laptop-0.1/debian/changelog ideapad-laptop-0.1/debian/changelog --- ideapad-laptop-0.1/debian/changelog 2011-05-26 02:16:44.000000000 +0000 +++ ideapad-laptop-0.1/debian/changelog 2011-05-27 05:55:08.000000000 +0000 @@ -1,3 +1,9 @@ +ideapad-laptop (0.1-1ubuntu1~foshan2) natty; urgency=low + + * Handle App control RF bit for toggle the RF LED. + + -- Keng-Yu Lin Fri, 27 May 2011 13:54:07 +0800 + ideapad-laptop (0.1-1ubuntu1~foshan1) natty; urgency=low * VPC event with bit1 enabled passes a keyevent to userspace. diff -Nru ideapad-laptop-0.1/debian/patches/02_enable_rf_led ideapad-laptop-0.1/debian/patches/02_enable_rf_led --- ideapad-laptop-0.1/debian/patches/02_enable_rf_led 1970-01-01 00:00:00.000000000 +0000 +++ ideapad-laptop-0.1/debian/patches/02_enable_rf_led 2011-05-27 05:53:35.000000000 +0000 @@ -0,0 +1,15 @@ +--- a/ideapad-laptop.c ++++ b/ideapad-laptop.c +@@ -459,6 +459,12 @@ + if (test_bit(vpc_bit, &vpc1)) { + if (vpc_bit == 9) + ideapad_sync_rfk_state(adevice); ++ else if (vpc_bit == 13) /* App control RF */ ++ { ++ read_ec_data(handle, 0x23, &vpc2); ++ write_ec_cmd(handle, 0x24, !vpc2); ++ ideapad_sync_rfk_state(adevice); ++ } + else if (vpc_bit == 4) + read_ec_data(handle, 0x12, &vpc2); + else if (vpc_bit == 1) {} /* do not report key event to userspace */ diff -Nru ideapad-laptop-0.1/debian/patches/series ideapad-laptop-0.1/debian/patches/series --- ideapad-laptop-0.1/debian/patches/series 2011-05-26 02:05:53.000000000 +0000 +++ ideapad-laptop-0.1/debian/patches/series 2011-05-27 05:51:59.000000000 +0000 @@ -1 +1,2 @@ 01_filter_out_vpc_bit1 +02_enable_rf_led