ds1685_rtc_...auxbatt_show(9)
π ds1685_rtc_sysfs_auxbatt_show β NAME β¨
okay bestie, so this is ds1685_rtc_sysfs_auxbatt_show, and it's literally just the sysfs file for aux battery status π β that's it, that's the whole vibe. We're in the Kernel API Manual today, iykyk π
π¦ SYNOPSIS π¦
ssize_t ds1685_rtc_sysfs_auxbatt_show (struct device *dev , struct
device_attribute *attr , char *buf );
no cap, that's the whole signature β three args in, a ssize_t out, and honestly she ate π
πΈ ARGUMENTS πΈ
devβ pointer to the device structure. your main character device, fr fr π«Άattrβ pointer to thedevice_attributestructure. the attribute that got us here, iconic β¨bufβ pointer to the char array that's gonna hold the output. this is the lil basket where the answer goes π§Ί
ngl bestie, that's all the args. three of 'em. lowkey a serve π
π₯ SEE ALSO π₯
like, the whole ds1685 family reunion, periodt ππ
- Kernel file
./drivers/rtc/rtc-ds1685.c ds1685_read(9)ds1685_write(9)ds1685_indirect_read(9)ds1685_indirect_write(9)ds1685_rtc_bcd2bin(9)ds1685_rtc_bin2bcd(9)ds1685_rtc_check_mday(9)ds1685_rtc_switch_to_bank0(9)ds1685_rtc_switch_to_bank1(9)ds1685_rtc_begin_data_access(9)ds1685_rtc_end_data_access(9)ds1685_rtc_get_ssn(9)ds1685_rtc_read_time(9)ds1685_rtc_set_time(9)ds1685_rtc_read_alarm(9)ds1685_rtc_set_alarm(9)ds1685_rtc_alarm_irq_enable(9)ds1685_rtc_extended_irq(9)ds1685_rtc_irq_handler(9)ds1685_rtc_proc(9)ds1685_rtc_sysfs_battery_show(9)ds1685_rtc_sysfs_serial_show(9)ds1685_rtc_probe(9)ds1685_rtc_remove(9)ds1685_rtc_poweroff(9)
okay that's the whole page, bestie, go read the source at ./drivers/rtc and stan a real one π
this lil love letter is dated October 2026, and the page itself is ds1685_rtc_...auxbatt_show(9) β mwah, slay, bye πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms