Find the answer to your Linux question:
Results 1 to 5 of 5
Hello everyone. How do I get to remove ("hot remove") PCI WiFi card? lspci -v says Code: 02:01.0 Network controller: RaLink RT2561/RT61 rev B 802.11g Subsystem: D-Link System Inc AirPlus ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    vig
    vig is offline
    Just Joined!
    Join Date
    Apr 2010
    Location
    Moscow
    Posts
    3

    Question Wi-Fi (PCI) remove


    Hello everyone.
    How do I get to remove ("hot remove") PCI WiFi card?

    lspci -v says
    Code:
    02:01.0 Network controller: RaLink RT2561/RT61 rev B 802.11g
    	Subsystem: D-Link System Inc AirPlus G DWL-G510 Wireless Network Adapter (Rev.C)
    	Flags: slow devsel, IRQ 21
    	Memory at fb000000 (32-bit, non-prefetchable) [size=32K]
    	Capabilities: <access denied>

  2. #2
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,444
    You mean physically pulling the card out?
    You dont.

    Power down the machine, then get the card out.
    You must always face the curtain with a bow.

  3. #3
    vig
    vig is offline
    Just Joined!
    Join Date
    Apr 2010
    Location
    Moscow
    Posts
    3
    Quote Originally Posted by Irithori View Post
    You mean physically pulling the card out?
    You dont.
    I do, read hxxp://en.wikipedia.org/wiki/Hot_swapping
    if you don't know what is "Hot" remove

  4. $spacer_open
    $spacer_close
  5. #4
    Trusted Penguin Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    3,444
    I do know what hot swapping is.

    For that you need two things:
    a) the kernel module knows, that its device can suddenly disapear. I havent looked, if that is the case for the module for your PCI card
    b) more important: the motherboard must support that. For regular desktop motherboards and even most server boards that is not the case.

    Without that feature, there is a good chance you fry your hardware.

    So unless
    - the documentation of your motherboard does not clearly state that ist supports hot plugging,
    - and additionally you are not confident the kernel module can handle it:
    Dont do it on a live system.
    You must always face the curtain with a bow.

  6. #5
    vig
    vig is offline
    Just Joined!
    Join Date
    Apr 2010
    Location
    Moscow
    Posts
    3
    at first, "kernel module" is not about plugging device.
    setpci has some flags, and you need to work with a hexadecimal values
    for example, you have some "macros": DEVICE_ID, STATUS and so on (about 20 values).
    so I thought if it's possible to op one if that values (maybe shift, or echo 0). I don't know. I am still thinking. udev?

Posting Permissions

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