Modify

Opened 2 years ago

#21279 new defect

GPIO2 default value on Mikrotik Routerboard RB951Ui-2HnD

Reported by: anthony.bloodoff@… Owned by: developers
Priority: normal Milestone:
Component: kernel Version: Trunk
Keywords: poe dangerous Cc:

Description

GPIO2 on board RB951Ui-2HnD control passive PoE on 5 port of internal switch, and in current kernel config default value is ON.
Because of passive nature of Mikrotik POE, it's a dangerous behavior, and need to change to default value to OFF.
In file
target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c

gpio_request_one(2, GPIOF_OUT_INIT_HIGH |GPIOF_EXPORT_DIR_CHANGEABLE, "POE power");
change to GPIOF_OUT_INIT_LOW

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.