public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.20-rc6 pb_fnmode regression
@ 2007-01-27 13:29 Soeren Sonnenburg
  2007-01-29  9:55 ` Jiri Kosina
  0 siblings, 1 reply; 9+ messages in thread
From: Soeren Sonnenburg @ 2007-01-27 13:29 UTC (permalink / raw)
  To: Linux Kernel; +Cc: linux-usb-devel

Dear all,

I realized that any setting to  /sys/module/usbhid/parameters/pb_fnmode
is just ignored until the machine does a suspend-resume cycle.

I've added a printk in drivers/usb/input/hid-core.c (which is the only
place where hid->pb_fnmode is set) and indeed only on module load ( in
my case usbhid is compiled into the kernel - so on kernel boot) any
change to hid>pb_fnmode is done. Adding a printk to hidinput_pb_event()
in drivers/hid/hid-input.c says the same: hid->pb_fnmode cannot be
changed on the fly anymore...

HOWEVER: If I s2ram the machine hid->pb_fnmode is initialized with the
value I put into /sys/module/usbhid/parameters/pb_fnmode .

As I have no idea how/whether sysfs works/is possible I now hope someone
more knowledgable than me can resolve this issue!

Soeren
-- 
Sometimes, there's a moment as you're waking, when you become aware of
the real world around you, but you're still dreaming.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-29 15:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-27 13:29 2.6.20-rc6 pb_fnmode regression Soeren Sonnenburg
2007-01-29  9:55 ` Jiri Kosina
2007-01-29 10:26   ` [linux-usb-devel] " Sergey Vlasov
2007-01-29 10:32   ` Soeren Sonnenburg
2007-01-29 10:40     ` Jiri Kosina
2007-01-29 11:13       ` Jiri Kosina
2007-01-29 11:24         ` Soeren Sonnenburg
2007-01-29 11:45           ` Jiri Kosina
2007-01-29 15:12             ` Soeren Sonnenburg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox