public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Unplugging USB wireless adapter
@ 2008-03-27 22:29 Grant
  2008-03-27 23:19 ` Volker Armin Hemmann
  0 siblings, 1 reply; 8+ messages in thread
From: Grant @ 2008-03-27 22:29 UTC (permalink / raw
  To: Gentoo mailing list

Whenever I unplug a USB wireless adapter I must reboot in order for it
to be recognized again.  Is there a way to avoid the reboot?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-27 22:29 [gentoo-user] Unplugging USB wireless adapter Grant
@ 2008-03-27 23:19 ` Volker Armin Hemmann
  2008-03-28  2:49   ` Grant
  0 siblings, 1 reply; 8+ messages in thread
From: Volker Armin Hemmann @ 2008-03-27 23:19 UTC (permalink / raw
  To: gentoo-user

On Donnerstag, 27. März 2008, Grant wrote:
> Whenever I unplug a USB wireless adapter I must reboot in order for it
> to be recognized again.  Is there a way to avoid the reboot?
>
> - Grant

making usb modular and unload/reload the modules?
--
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-27 23:19 ` Volker Armin Hemmann
@ 2008-03-28  2:49   ` Grant
  2008-03-28  3:43     ` Dale
  0 siblings, 1 reply; 8+ messages in thread
From: Grant @ 2008-03-28  2:49 UTC (permalink / raw
  To: gentoo-user

>  > Whenever I unplug a USB wireless adapter I must reboot in order for it
>  > to be recognized again.  Is there a way to avoid the reboot?
>  >
>  > - Grant
>
>  making usb modular and unload/reload the modules?

I think I just needed to make sure to stop net.wlan0 before removing
the adapter.  I thought that didn't work before, but it seems to be
now.

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-28  2:49   ` Grant
@ 2008-03-28  3:43     ` Dale
  2008-03-28 10:09       ` Michal 'vorner' Vaner
  0 siblings, 1 reply; 8+ messages in thread
From: Dale @ 2008-03-28  3:43 UTC (permalink / raw
  To: gentoo-user

Grant wrote:
>>  > Whenever I unplug a USB wireless adapter I must reboot in order for it
>>  > to be recognized again.  Is there a way to avoid the reboot?
>>  >
>>  > - Grant
>>
>>  making usb modular and unload/reload the modules?
>>     
>
> I think I just needed to make sure to stop net.wlan0 before removing
> the adapter.  I thought that didn't work before, but it seems to be
> now.
>
> - Grant
>   

I haven't kept up with this but isn't there a hotplug/coldplug monitor 
that detects things like this?  I'm thinking hotplug is the correct one 
since the machine is powered up.

Dale

:-)  :-)
-- 
gentoo-user@lists.gentoo.org mailing list



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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-28  3:43     ` Dale
@ 2008-03-28 10:09       ` Michal 'vorner' Vaner
  2008-03-28 11:42         ` Neil Bothwick
  0 siblings, 1 reply; 8+ messages in thread
From: Michal 'vorner' Vaner @ 2008-03-28 10:09 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 519 bytes --]

Hello

On Thu, Mar 27, 2008 at 10:43:58PM -0500, Dale wrote:
> I haven't kept up with this but isn't there a hotplug/coldplug monitor that 
> detects things like this?  I'm thinking hotplug is the correct one since 
> the machine is powered up.

I think it is no longer needed and udev should take care of all this. At
last, I do not have hotplug nor coldplug and inserting/removing all usb
devices, laptop modules, PCMCIAs works on runtime.

-- 
Support your right to arm bears!!

Michal 'vorner' Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-28 10:09       ` Michal 'vorner' Vaner
@ 2008-03-28 11:42         ` Neil Bothwick
  2008-03-28 14:02           ` Michal 'vorner' Vaner
  2008-03-28 14:40           ` Grant
  0 siblings, 2 replies; 8+ messages in thread
From: Neil Bothwick @ 2008-03-28 11:42 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

On Fri, 28 Mar 2008 11:09:08 +0100, Michal 'vorner' Vaner wrote:

> I think it is no longer needed and udev should take care of all this. At
> last, I do not have hotplug nor coldplug and inserting/removing all usb
> devices, laptop modules, PCMCIAs works on runtime.

That's fine with most devices, but causes a problem with network
adaptors. No hotplug system can anticipate your removing the device and
unmount NFS shares before you do it, so the only safe way to remove a USB
NIC is to bring down the interface first.


-- 
Neil Bothwick

I used to have a handle on life, then it broke.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-28 11:42         ` Neil Bothwick
@ 2008-03-28 14:02           ` Michal 'vorner' Vaner
  2008-03-28 14:40           ` Grant
  1 sibling, 0 replies; 8+ messages in thread
From: Michal 'vorner' Vaner @ 2008-03-28 14:02 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1024 bytes --]

Hello

On Fri, Mar 28, 2008 at 11:42:18AM +0000, Neil Bothwick wrote:
> On Fri, 28 Mar 2008 11:09:08 +0100, Michal 'vorner' Vaner wrote:
> 
> > I think it is no longer needed and udev should take care of all this. At
> > last, I do not have hotplug nor coldplug and inserting/removing all usb
> > devices, laptop modules, PCMCIAs works on runtime.
> 
> That's fine with most devices, but causes a problem with network
> adaptors. No hotplug system can anticipate your removing the device and
> unmount NFS shares before you do it, so the only safe way to remove a USB
> NIC is to bring down the interface first.

Yes, sure. It can't unmount it and terminate the connections. However,
there is no reason why the device shouldn't be detected again. And, if
hotplug can do it, why couldn't udev?

I was just saying hotplug is outdated and replaced by udev.

-- 
This email was generated by a biological random generator.
If you want more random text, just respond to this email.

Michal 'vorner' Vaner

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [gentoo-user] Unplugging USB wireless adapter
  2008-03-28 11:42         ` Neil Bothwick
  2008-03-28 14:02           ` Michal 'vorner' Vaner
@ 2008-03-28 14:40           ` Grant
  1 sibling, 0 replies; 8+ messages in thread
From: Grant @ 2008-03-28 14:40 UTC (permalink / raw
  To: gentoo-user

>  > I think it is no longer needed and udev should take care of all this. At
>  > last, I do not have hotplug nor coldplug and inserting/removing all usb
>  > devices, laptop modules, PCMCIAs works on runtime.
>
>  That's fine with most devices, but causes a problem with network
>  adaptors. No hotplug system can anticipate your removing the device and
>  unmount NFS shares before you do it, so the only safe way to remove a USB
>  NIC is to bring down the interface first.

Here's the problem.  I have an Edimax and a Linksys USB adapter.  They
both use the rt73usb driver in 2.6.24.  I can stop the interface and
successfully switch from Edimax to Linksys, but trying to go from
Linksys to Edimax says the hardware is not present when trying to
start the interface again.  Rebooting fixes it.  Can anyone make sense
of that?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



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

end of thread, other threads:[~2008-03-28 14:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-27 22:29 [gentoo-user] Unplugging USB wireless adapter Grant
2008-03-27 23:19 ` Volker Armin Hemmann
2008-03-28  2:49   ` Grant
2008-03-28  3:43     ` Dale
2008-03-28 10:09       ` Michal 'vorner' Vaner
2008-03-28 11:42         ` Neil Bothwick
2008-03-28 14:02           ` Michal 'vorner' Vaner
2008-03-28 14:40           ` Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox