Wohoo it's working. The #rasperrypi zero is fetching the latest images from the #synology NAS when the frame is powered on.
Also found a way to disconnect the gadget from the frame using #configfs. That allows to update the data on the USB drive,disconnect and connect again, so that new content will be displayed without restarting the frame.

Project available at https://gitlab.com/thuri/synology-photo-frame

#DIY #upcycleprojects

/* This is really sick. […] This perversion, OTOH, needs to resolve the target, which would lead to obvious deadlocks if attempted with any directories locked.

Unfortunately, that garbage is userland ABI and we should've said "no" back in 2005. Too late now, so we get to play very ugly games with locking.

Try *ANYTHING* of that sort in new code, and you will really regret it. Just ask yourself - what could a BOFH do to me and do I want to find it out first-hand?

AV, a thoroughly annoyed bastard. */

https://elixir.bootlin.com/linux/v6.11.5/source/fs/configfs/symlink.c#L166-L189

#linux #kernel #configfs

symlink.c - fs/configfs/symlink.c - Linux source code v6.11.5 - Bootlin

Elixir Cross Referencer - source file of Linux (version v6.11.5). Browsed file: /fs/configfs/symlink.c

Превращаем Android-смартфон в USB-клавиатуру, мышь и флешку

Android-смартфон при подключении к компьютеру через USB может выглядеть как медиаустройство, модем или хранилище файлов. В этой статье мы научимся делать из него USB-клавиатуру, мышь и флешку.

https://habr.com/ru/companies/ruvds/articles/816595/

#andoid #mouse #keyboard #mass_storage #usb #su #root #configfs #ruvds_статьи

Превращаем Android-смартфон в USB-клавиатуру, мышь и флешку

Android-смартфон при подключении к компьютеру через USB может выглядеть как медиаустройство, модем или хранилище файлов. В этой статье мы научимся делать из него USB-клавиатуру, мышь и флешку....

Хабр