Find the answer to your Linux question:
Results 1 to 4 of 4
Hi to all, I am the new user to Linux. I want to know IS BIOS UPDATED WHEN ANY EXTERNAL DEVICE ATTACHED/REMOVED ? Actually my task is to detect whether ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    13

    Thumbs up Is Bios Updated When Any External Device Attached/removed ?


    Hi to all,
    I am the new user to Linux.
    I want to know IS BIOS UPDATED WHEN ANY EXTERNAL DEVICE ATTACHED/REMOVED ?
    Actually my task is to detect whether any USB device is attached or removed at runtime.
    But I dont want to use /proc file.
    I want to know the exact route that How interrupt is generated when external device , suppose USB , attached and what is interrupt routine.
    If the interrupt is directly affect the BIOS and then from BIOS OS is updated , I want to catch the interrupt from the BIOS and then from the BIOS information I want the my running application catch the information about USB detection and update the alert regarding to it.
    So, Pls tell me that if BIOS is updated at runtime or not ?????
    Any good suggestion is appriciated...
    Thanks.

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    Unless you're planning on writing your own kernel, I don't think you really want to bother with the BIOS. The kernel handles hardware detection, so you don't have to deal with the messy details.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  3. #3
    Just Joined!
    Join Date
    Nov 2006
    Posts
    13
    Quote Originally Posted by Javasnob
    Unless you're planning on writing your own kernel, I don't think you really want to bother with the BIOS. The kernel handles hardware detection, so you don't have to deal with the messy details.
    How kernel detects hardware ?
    Pls give details.

  4. #4
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    I don't know exactly how it detects hardware, but I would guess it gets an interrupt from the hardware and responds to it. kernel.org has the kernel source; you can find out exactly how they do it by reading the source.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •