All of lore.kernel.org
 help / color / mirror / Atom feed
* VT paramter doesn't take effect - global_cursor_default
@ 2013-08-16  5:43 Woody Wu
  2013-08-16 12:53 ` Valdis.Kletnieks at vt.edu
  0 siblings, 1 reply; 3+ messages in thread
From: Woody Wu @ 2013-08-16  5:43 UTC (permalink / raw)
  To: kernelnewbies

Hi, 

I was trying to set a module parameter for vt.c, I set it in command
line as "global_cursor_default=0".  After that, I debug the kernel by
printing and check the /sys/modules/vt/parameters/global_cursor_default,
all found the parameter did not take effect. The corresponding static
variable is still keep its default value of -1.

What's wrong with my operations?

Thanks in advance.

-- 
I can't go back to yesterday - because I was a different person then

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

* VT paramter doesn't take effect - global_cursor_default
  2013-08-16  5:43 VT paramter doesn't take effect - global_cursor_default Woody Wu
@ 2013-08-16 12:53 ` Valdis.Kletnieks at vt.edu
  2013-08-17  8:26   ` Woody Wu
  0 siblings, 1 reply; 3+ messages in thread
From: Valdis.Kletnieks at vt.edu @ 2013-08-16 12:53 UTC (permalink / raw)
  To: kernelnewbies

On Fri, 16 Aug 2013 13:43:19 +0800, Woody Wu said:

> I was trying to set a module parameter for vt.c, I set it in command
> line as "global_cursor_default=0".  After that, I debug the kernel by
> printing and check the /sys/modules/vt/parameters/global_cursor_default,
> all found the parameter did not take effect. The corresponding static
> variable is still keep its default value of -1.
>
> What's wrong with my operations?

Module parameters have to be specified as  modulename.parametername=foo.

Try this instead:     vt.global_cursor_default=0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130816/a5fab925/attachment.bin 

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

* VT paramter doesn't take effect - global_cursor_default
  2013-08-16 12:53 ` Valdis.Kletnieks at vt.edu
@ 2013-08-17  8:26   ` Woody Wu
  0 siblings, 0 replies; 3+ messages in thread
From: Woody Wu @ 2013-08-17  8:26 UTC (permalink / raw)
  To: kernelnewbies

On Fri, Aug 16, 2013 at 08:53:22AM -0400, Valdis.Kletnieks at vt.edu wrote:
> On Fri, 16 Aug 2013 13:43:19 +0800, Woody Wu said:
> 
> > I was trying to set a module parameter for vt.c, I set it in command
> > line as "global_cursor_default=0".  After that, I debug the kernel by
> > printing and check the /sys/modules/vt/parameters/global_cursor_default,
> > all found the parameter did not take effect. The corresponding static
> > variable is still keep its default value of -1.
> >
> > What's wrong with my operations?
> 
> Module parameters have to be specified as  modulename.parametername=foo.
> 
> Try this instead:     vt.global_cursor_default=0

I also found the reason, exactly as you said.  Thanks a lot!

-- 
I can't go back to yesterday - because I was a different person then

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

end of thread, other threads:[~2013-08-17  8:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-16  5:43 VT paramter doesn't take effect - global_cursor_default Woody Wu
2013-08-16 12:53 ` Valdis.Kletnieks at vt.edu
2013-08-17  8:26   ` Woody Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.