Button(on/auto/off) is available in fvdw firmware

Button(on/auto/off) is available in fvdw firmware

Postby Basajaun » Mon Jul 02, 2018 9:56 am

Good morning,

the Lacie back button (on/auto/off) is available ? Works ?

Thanks in advance !

Best regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Button(on/auto/off) is available in fvdw firmware

Postby fvdw » Mon Jul 02, 2018 7:14 pm

I need to check as it was awhile ago that we compiled kernels for this device. But Icthink only on/off is doing something. Probably when on on the system can be rebooted and shutdown using webinterface. But I will check kernel setup later this evening
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Button(on/auto/off) is available in fvdw firmware

Postby Basajaun » Mon Jul 02, 2018 7:39 pm

Hi fvdw,

thanks in advance !

Regards
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Button(on/auto/off) is available in fvdw firmware

Postby fvdw » Mon Jul 02, 2018 9:06 pm

well these buttons are defined in kernel setup

Code: Select all
static struct gpio_keys_button net5big_buttons[] = {
   {
      .type      = EV_SW,
      .code      = NET5BIG_SWITCH_POWER_OFF,
      .gpio      = NET5BIG_GPIO_POWER_SWITCH_OFF,
      .desc      = "Power rocker switch (auto|off)",
      .active_low   = 0,
   },
   {
      .type      = EV_SW,
      .code      = NET5BIG_SWITCH_POWER_ON,
      .gpio      = NET5BIG_GPIO_POWER_SWITCH_ON,
      .desc      = "Power rocker switch (on|auto)",
      .active_low   = 0,
   },
   {
      .type      = EV_KEY,
      .code      = KEY_POWER,
      .gpio      = NET5BIG_GPIO_PUSH_BUTTON,
      .desc      = "Front Push Button",
      .active_low   = 0,
   },
};

So as well front push button as backside button

However the buttons daemon we use only reacts on the front push button (the big blue light). GPIO pin 8 and 9 could be used to determine position of button on backside but it is not implemented in our firmware
Code: Select all
   MPP8_GPIO,   /* input Rear power switch (on(01b)|auto(oob) off(10b) */
   MPP9_GPIO,   /* Input Rear power switch (auto|off) */

Reason no use, we control the nas via software via web interafce
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Button(on/auto/off) is available in fvdw firmware

Postby Basajaun » Tue Jul 03, 2018 4:06 am

Good morning fvdw,

please, could you implement these buttons in your firmware, back buttons to shutdown and startup nas ?

Thanks in advance!

Best regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Button(on/auto/off) is available in fvdw firmware

Postby fvdw » Tue Jul 03, 2018 2:10 pm

What would be the use? You can use webinterface to shut itdown or reboot?
In other words functionality of that button should be defined. What is described in the 5big1 manual as function if this back side switch
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Button(on/auto/off) is available in fvdw firmware

Postby Basajaun » Wed Jul 04, 2018 11:16 am

Hi fvdw,

firts, sorry for my bad english. Thanks for your time and help.

The operation mode of the button (on / auto / off) in the original version was as follows:

- on - Startup unit.
- auto - While the button was in auto mode, the unit could be turned off from the web interface. Also Wake on Lan is allowed.
- off- Unit was turned off.

Thank you very much.

Regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Button(on/auto/off) is available in fvdw firmware

Postby Basajaun » Tue Jul 17, 2018 1:41 pm

Hi fvdw,

any news ?

Thanks in advance !

Best regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Re: Button(on/auto/off) is available in fvdw firmware

Postby fvdw » Tue Jul 17, 2018 6:13 pm

Hi, not really it is on the to do list but with low priority as it has not so much use and I need to figure out which gpio to program. It will require a specific buttons daemon for 5big1
Also in summer I spend more time outside then with programming.Sorry to keep you waiting
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Button(on/auto/off) is available in fvdw firmware

Postby Basajaun » Tue Jul 17, 2018 6:29 pm

Hi fvdw,

thanks for your time and help !

Best regards,
Basajaun
Donator VIP
Donator VIP
 
Posts: 99
Joined: Fri Mar 23, 2018 1:03 pm

Next

Return to Lacie 5Big Network vs1

Who is online

Users browsing this forum: No registered users and 6 guests