[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Setting power-on time on PowerMac


I'm trying to see if I can make my computer start up on a schedule. I found the bootsched program for this purpose in the pmac-utils package in Debian Ports. But it doesn't work on my computers; it outputs "bootsched: write returned -1". Here is relevant output from strace:

$ sudo strace bootsched +10m
openat(AT_FDCWD, "/dev/adb", O_RDWR)    = 3
write(3, "\1\3", 2)                     = 2
read(3, "\1\0\3\333\215i\332", 16)      = 7
write(3, "\1\v\333\215l2", 6)           = -1 EINVAL (Invalid argument)
write(2, "bootsched: write returned -1\n", 29bootsched: write returned -1
) = 29
exit_group(1)                           = ?

$ uname -a
Linux crabapple 5.8.0-1-powerpc #1 Debian 5.8.7-1 (2020-09-05) ppc GNU/Linux

This is on a PowerBook G4 12", and I also see the same on a iMac G4 17".

Does anyone have ideas for how to make this work?

Charles Lehner

Attachment: pgp0SXhgXpUqW.pgp
Description: OpenPGP digital signature

Reply to: