LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.20-rc7: hid on PPC
@ 2007-02-02 20:51 Elimar Riesebieter
  2007-02-03 23:50 ` Jiri Kosina
  0 siblings, 1 reply; 3+ messages in thread
From: Elimar Riesebieter @ 2007-02-02 20:51 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: jkosina

Hi all,

it would be great, if we can choose pb_fnmode while configure the
kernel. I have a PowerBook5,6 but want fkeysfirst. So I have to
# echo 2 >| /sys/module/hid/parameters/pb_fnmode
by hand after each boot. The module-parm pb_fnmode doesn't work
either in /etc/modules nor in a modprobe instruction while boot.

An modprobe -r usb-hid hid; sleep 2; modprobe hid pb_fnmode=2;
modprobe usb-hid works on a fresh booted machine.

Else module-parm isn't available with a built-in hid, though.

Thanks

Elimar

-- 
  Do you smell something burning or ist it me?
  Please reply me directly while I am not subsribed, thanks.

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

* Re: 2.6.20-rc7: hid on PPC
  2007-02-02 20:51 2.6.20-rc7: hid on PPC Elimar Riesebieter
@ 2007-02-03 23:50 ` Jiri Kosina
  2007-02-04  2:00   ` Elimar Riesebieter
  0 siblings, 1 reply; 3+ messages in thread
From: Jiri Kosina @ 2007-02-03 23:50 UTC (permalink / raw)
  To: Elimar Riesebieter; +Cc: Linux Kernel Mailing List

On Fri, 2 Feb 2007, Elimar Riesebieter wrote:

> it would be great, if we can choose pb_fnmode while configure the 
> kernel. I have a PowerBook5,6 but want fkeysfirst. So I have to # echo 2 
> >| /sys/module/hid/parameters/pb_fnmode by hand after each boot. The 
> module-parm pb_fnmode doesn't work either in /etc/modules nor in a 
> modprobe instruction while boot. An modprobe -r usb-hid hid; sleep 2; 
> modprobe hid pb_fnmode=2; modprobe usb-hid works on a fresh booted 
> machine. Else module-parm isn't available with a built-in hid, though.

Hi Elimar,

sorry, but I don't seem to understand your problem. There are two 
situations - either you have hid bultin in kernel, or compiled as a 
module. In the first case, you simply modify the kernel boot commandline 
to contain a string 

	hid.pb_fnmode=2 

and that's it. In the latter case, you add something like 

	options hid     pb_fnmode=2

into the /etc/modprobe.conf file (or you can use any distro-specific way 
to pass parameters to modules, such as /etc/modprobe.d). This is standard 
way to do things, and it works also with hid.

I don't think there is a need to have this as a separate kernel 
configuration option.

Thanks,

-- 
Jiri Kosina
SUSE Labs

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

* Re: 2.6.20-rc7: hid on PPC
  2007-02-03 23:50 ` Jiri Kosina
@ 2007-02-04  2:00   ` Elimar Riesebieter
  0 siblings, 0 replies; 3+ messages in thread
From: Elimar Riesebieter @ 2007-02-04  2:00 UTC (permalink / raw)
  To: Jiri Kosina; +Cc: Linux Kernel Mailing List

On Sun, 04 Feb 2007 the mental interface of
Jiri Kosina told:

> On Fri, 2 Feb 2007, Elimar Riesebieter wrote:
> 
> > it would be great, if we can choose pb_fnmode while configure the 
> > kernel. I have a PowerBook5,6 but want fkeysfirst. So I have to # echo 2 
> > >| /sys/module/hid/parameters/pb_fnmode by hand after each boot. The 
> > module-parm pb_fnmode doesn't work either in /etc/modules nor in a 
> > modprobe instruction while boot. An modprobe -r usb-hid hid; sleep 2; 
> > modprobe hid pb_fnmode=2; modprobe usb-hid works on a fresh booted 
> > machine. Else module-parm isn't available with a built-in hid, though.
> 
> Hi Elimar,
> 
> sorry, but I don't seem to understand your problem. There are two 
> situations - either you have hid bultin in kernel, or compiled as a 
> module. In the first case, you simply modify the kernel boot commandline 
> to contain a string 
> 
> 	hid.pb_fnmode=2 

This works fine, thanks ;)

> and that's it. In the latter case, you add something like 
> 
> 	options hid     pb_fnmode=2
> 
> into the /etc/modprobe.conf file (or you can use any distro-specific way 
> to pass parameters to modules, such as /etc/modprobe.d). This is standard 
> way to do things, and it works also with hid.

Hmmm, I've had "options hid     pb_fnmode=2" in /etc/modprobe.d/hid,
which did not work. But "options hid pb_fnmode=2" in
/etc/modprobe.conf works well ;)

> I don't think there is a need to have this as a separate kernel 
> configuration option.

Thanks, sorry for the noise.

Elimar

-- 
  Do you smell something burning or ist it me?


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

end of thread, other threads:[~2007-02-04  2:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-02 20:51 2.6.20-rc7: hid on PPC Elimar Riesebieter
2007-02-03 23:50 ` Jiri Kosina
2007-02-04  2:00   ` Elimar Riesebieter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).