Modify

Opened 5 years ago

Closed 5 years ago

#13795 closed defect (fixed)

bug:rt3052's reset button isn't work.

Reported by: jiyif Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

rt3052's reset button isn't work. where and which are files of reset ? Framework of reset(GPIO) adjust once again?

Attachments (0)

Change History (8)

comment:1 Changed 5 years ago by blogic

  • Resolution set to too_vague
  • Status changed from new to closed

target/linux/ramips/dts/*.dts

comment:2 Changed 5 years ago by anonymous

  • Resolution too_vague deleted
  • Status changed from closed to reopened

which file or script is the RESET trigger ? not only target/linux/ramips/dts/*.dts. can you show me the file path . thanks.

comment:3 follow-ups: Changed 5 years ago by blogic

  • Resolution set to fixed
  • Status changed from reopened to closed

/etc/rc.button/failsafe

comment:4 in reply to: ↑ 3 Changed 5 years ago by anonymous

Replying to blogic:

/etc/rc.button/failsafe

RESET button isn't work. wifi button is work well.
/target/linux/ramips/dts/RT-N13U.dts

gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <10>;
		reset {
			label = "reset";
			gpios = <&gpio0 4 1>;
			linux,code = <0x198>;
		};
		wps {
			label = "wps";
			gpios = <&gpio0 10 1>;
			linux,code = <0x211>;
		};
		rfkill {
			label = "rfkill";
			gpios = <&gpio0 0 1>;
			linux,code = <247>;
		};
	};

comment:5 Changed 5 years ago by anonymous

bug: RT-13U 's reset button work well in Attitude Adjustment 12.09. but it doesn't work with same GPIO in trunk.

wifi button workes well.

i edit those files:/target/linux/ramips/dts/RT-N13U.dts

gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <10>;
		reset {
			label = "reset";
			gpios = <&gpio0 4 1>;
			linux,code = <0x198>;
		};
		wps {
			label = "wps";
			gpios = <&gpio0 10 1>;
			linux,code = <0x211>;
		};
		rfkill {
			label = "rfkill";
			gpios = <&gpio0 0 1>;
			linux,code = <247>;
		};
	};

comment:6 in reply to: ↑ 3 Changed 5 years ago by anonymous

Replying to blogic:

/etc/rc.button/failsafe

bug: RT-13U 's reset button work well in Attitude Adjustment 12.09. but it doesn't work with same GPIO in trunk.
wifi button workes well.
i edit those files:/target/linux/ramips/dts/RT-N13U.dts

gpio-keys-polled {
		compatible = "gpio-keys-polled";
		#address-cells = <1>;
		#size-cells = <0>;
		poll-interval = <10>;
		reset {
			label = "reset";
			gpios = <&gpio0 4 1>;
			linux,code = <0x198>;
		};
		wps {
			label = "wps";
			gpios = <&gpio0 10 1>;
			linux,code = <0x211>;
		};
		rfkill {
			label = "rfkill";
			gpios = <&gpio0 0 1>;
			linux,code = <247>;
		};
	};

comment:7 Changed 5 years ago by jiyif

  • Resolution fixed deleted
  • Status changed from closed to reopened

bug: RT-13U 's reset button work well in Attitude Adjustment 12.09. but it doesn't work with same GPIO in trunk.
wifi button workes well.

comment:8 Changed 5 years ago by blogic

  • Resolution set to fixed
  • Status changed from reopened to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.