id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	blockedby	blocking	estimated	haspatch	patchreview	reproducible
2209	alsactl restore wakes up X	lindi	openmoko-kernel	"{{{
Steps to reproduce:
1) alsactl -f stereout.state restore
2) xset s 10 5
3) wait for X to turn display off
4) alsactl -f gsmhandset.state restore

Expected results:
4) alsactl changes sound configuration but does not affect display

Actual results:
4) display is turned on

More info:
1) strace shows that xserver-xglamo reads one byte from fd 0
   (/dev/tty2) when alsactl is ran:

13:09:39.424700 gettimeofday({1231844979, 425590}, NULL) = 0
13:09:39.427042 --- SIGALRM (Alarm clock) @ 0 (0) ---
13:09:39.429421 --- SIGIO (I/O possible) @ 0 (0) ---
13:09:39.430684 read(0, ""w""..., 256)    = 1
13:09:39.435815 gettimeofday({1231844979, 436702}, NULL) = 0
13:09:39.438910 read(0, 0x3ff28a0, 256) = -1 EAGAIN (Resource temporarily unavailable)
13:09:39.441274 read(5, 0x13c5a4, 256)  = -1 EAGAIN (Resource temporarily unavailable)
13:09:39.445092 ioctl(6, EVIOCGVERSION, 0x3ff28b4) = 0
13:09:39.448269 ioctl(6, 0x80204520, 0x3ff28b0) = 4
13:09:39.450572 ioctl(6, 0x80404523, 0x3ff28a8) = 8

2) Switching to gsmhandset.state seems to always write ""w"" and
   switching to stereout.state seems to write ""\367"". Any idea where
   these values come from?

}}}
"	defect	new	low	stable-kernel-2009.1	kernel		normal							0		
