I bought an devolo 1200e (https://openwrt.org/toh/hwdata/devolo/devolo_wifi_pro_1200e ) months ago. I knew there was an beeper (buzzer,... whatever) in. With the stock firmware was everything find(Stock is really really old: OpenWrt 17.x).
According to https://frickel.cloud/firmware/openwrt/commit/1724d4e9ed7716a5444eca42adf045c2f3afc554 the buzzer shuld be accessible via GPIO 15.
I also read this article: https://openwrt.org/docs/techref/hardware/port.gpio - No success
Now my Question: How to controll the buzzer? Is there an option or plugin for luci?
Simply that question.
jeff
July 22, 2019, 12:54pm
2
It's at least present on the ath79 firmware
beeper {
compatible = "gpio-beeper";
gpios = <&gpio 4 GPIO_ACTIVE_HIGH>;
};
You'd need something to drive that GPIO. Perhaps there is a kmod-beeper or the like if https://github.com/torvalds/linux/blob/master/drivers/input/misc/gpio-beeper.c isn't built by default.
tmomas
July 22, 2019, 12:56pm
3
1 Like
I saw kmod-gpio-beeper already. How to use it?
jeff
July 22, 2019, 2:07pm
5
Check to see what kind of device it reveals in /dev/
and/or /sys/
and then write/find a user-land package to do what you want.
#push ?
Please explain you answer!
jeff
July 26, 2019, 9:57pm
8
The hardware definitions are in the kernel.
If present, the kernel will attach the gpio-beeper driver to it the hardware. It will typically reveal a device in /dev/
as well as in the sysfs.
You need to find software that drives a GPIO beeper to do something useful for you.
Yah.......What software is good to use? I cant find any!