View Single Post
Old 06-16-2016, 04:45 AM   #13
pipcat
Connoisseur
pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.pipcat ought to be getting tired of karma fortunes by now.
 
Posts: 65
Karma: 200153
Join Date: Apr 2016
Device: Kobo Glo Hd
I want to test AutoPatch with KHD downloads, but I don't know so much about linux internals and I have some questions...

- You included patch32lsb.c but not the executable. We need to compile it for kobo devices with specific parameters or we can use a binary from Metazoa pack?

- Can you explain autopatch.rules ?
KERNEL=="fsl-usb2-udc" (autopatch and autoshelf)
ACTION=="remove" (autopatch)
SUBSYSTEM=="drivers" (autoshelf)

- suspend_nickel() and resume_nickel(). How did you find that ? ;-)

- To process KHD downloads, in autopatch.sh, before cd "$AUTOPATCH" line, maybe this will be enough:
Code:
# If there are downloaded patches from KHD extract them
DOWNLOADED_ZIP="download.php"
if [ -f /mnt/onboard/"$DOWNLOADED_ZIP" ]
then
	unzip -o /mnt/onboard/"$DOWNLOADED_ZIP" *.patch -d /mnt/onboard/.autopatch
	rm /mnt/onboard/"$DOWNLOADED_ZIP"
fi
pipcat is offline   Reply With Quote