lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 17 Feb 2009 13:58:57 +0000
From:	Sitsofe Wheeler <sitsofe@...oo.com>
To:	linux-kernel@...r.kernel.org
Cc:	corentincj@...aif.net, acpi4asus-user@...ts.sourceforge.net,
	Alan Jenkins <alan-jenkins@...fmail.co.uk>
Subject: EeePC card reader activated after suspend to ram

Hi,

I've found that there is a particular circumstance when the card reader
in my EeePC 900 will always be activated on resume even though before
the suspend to ram it was switched off.

The steps to reproduce are as follows:

1. Ensure the card reader is enabled before Linux boots (e.g. if Linux
is already running do (as root)
echo 1 > /sys/devices/platform/eeepc/cardr
and then reboot).
2. In the freshly booted kernel issue (as root)
echo 0 > /sys/devices/platform/eeepc/cardr
3. Initiate suspend to RAM e.g.:
echo mem > /sys/power/state 
4. Press a key to resume.

Notice that the logs will contain something similar to the following:

kernel: [  841.435629] Restarting tasks ... done.
kernel: [  907.576216] usb 1-5: new high speed USB device using ehci_hcd and address 3
kernel: [  907.699381] usb 1-5: configuration #1 chosen from 1 choice
kernel: [  907.707460] scsi3 : SCSI emulation for USB Mass Storage devices

Doing
cat /sys/devices/platform/eeepc/cardr
returns 0. Issuing
echo 0 > /sys/devices/platform/eeepc/cardr
even though the card reader is supposedly off will result in it being
disabled until after the next suspend to ram/resume.

Reproduced with a clean 2.6.29rc5 and the heavily Xandros patched
Xandros 2.6.21 kernel that the Eee ships with.

Does anyone have any ideas about this one?

-- 
Sitsofe | http://sucs.org/~sits/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ