I demand that Alan Jenkins may or may not have written... > On 12/9/09, Darren Salt <[email protected]> wrote: >> I demand that Alan Jenkins may or may not have written... >> [snip] >>> If I repeatedly plug and unplug the power adaptor with eeepc-acpi-scripts >>> installed (triggering the switch between "performance" and "normal"), I >>> see various kernel messages. These are the kernel init messages for the >>> webcam and cardreader, suggesting that they are disappearing and >>> re-appearing. I wasn't able to reproduce it without eeepc-acpi-scripts >>> (either by plugging / unplugging repeatedly, or by toggling the value of >>> cpufv in a scripted loop, or by both at the same time). >> Strange. Some logging may provide some clue; are ACPI events which would >> be used to toggle these being generated?
> I'm not sure what you mean. There's no code in the eeepc-laptop driver to > receive events for these settings. (And I'm pretty sure that my userspace > doesn't touch the "cardr" or "camera" files in /sys). What am I looking > for? Well... for the camera, it could be eeepc-acpi-scripts which is reacting to ACPI events. But the card reader would require that there be local changes for its apparent presence to be toggled. # sh -x /etc/acpi/actions/ac_adapter.sh . . 00000080 00000000 (fake unplugging) # sh -x /etc/acpi/actions/ac_adapter.sh . . 00000080 00000001 (fake plugging in) ... anything unusual? (That script ignores the first two parameters.) -- | Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon | using Debian GNU/Linux | or ds ,demon,co,uk | Northumberland | Army | + http://wiki.debian.org/DebianEeePC/ Do not tell big lies. Small ones can be just as effective. _______________________________________________ Debian-eeepc-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel
