Thread: Linux kernel module help

  1. #16
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    I tried lsmod | grep hello_world1.ko and it just went to a new line. But Fordy have you heard of rsyslog?

  2. #17
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Try "lsmod | grep hello_world1"

    I dont use rsyslog, I just use "dmesg | grep <modulename>" as I prefix my printk messages with module name

  3. #18
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    I just used the dmesg command. example: If I enter rmmod hello_world1 then enter dmesg, It will show me the tail end of the kernel log. I am pretty sure that you may use it to see if the module is loaded also.

  4. #19
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Ok so what is in between now and programming a Linux keyboard driver?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. linux kernel module programming
    By circuit in forum Linux Programming
    Replies: 10
    Last Post: 12-01-2004, 06:08 PM
  2. Kernel Module Programming in 2.6
    By KneeLess in forum Linux Programming
    Replies: 1
    Last Post: 04-13-2004, 11:51 AM
  3. linux kernel compile
    By mart_man00 in forum Tech Board
    Replies: 13
    Last Post: 04-30-2003, 04:31 PM
  4. Linux kernel not compiling
    By frenchfry164 in forum Tech Board
    Replies: 2
    Last Post: 04-29-2003, 04:10 PM
  5. linux kernel 2.5
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-31-2002, 11:17 PM

Tags for this Thread