linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WLAN USB at boot time not recognized
@ 2004-09-13 11:05 Thomas Herrmann
  2004-09-14  6:26 ` Greg KH
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Herrmann @ 2004-09-13 11:05 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I have some trouble with USB hotplug. I read a lot of information and
documentation available, but can not find out what's going wrong. Maybe some
on this list can shade some light?

My remote system uses a WLAN USB device for network. Everything works fine
if I plug the WLAN USB stick in while the system is up and running. Just if
the stick is already plugged in when the system boots, it does not get
recognized while the hotplug service loads the USB controller modules. lsusb
just after boot (with the stick plugged in) list only the 2 USB controllers,
no device.

Since this system is a remote box I don't want to unplug and replug the WLAN
USB stick everytime after a boot. In addition since the WLAN is the only
network connection of this system, some services do not work.

It's using plain kernel 2.6.7 in a Gentoo environment. The hardware is a
SIS740 chipset and I want to use the internal USB controllers. Hotplug
service gets started in runlevel default.

What's going wrong? Is the hotplug service suppost to recognize USB devices
at boot time? Or can I trigger a plug event in software?

Thanks,   Thomas

-- 
NEU: Bis zu 10 GB Speicher für e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: WLAN USB at boot time not recognized
  2004-09-13 11:05 WLAN USB at boot time not recognized Thomas Herrmann
@ 2004-09-14  6:26 ` Greg KH
  2004-09-15 15:50 ` David Brownell
  2004-09-22  7:48 ` Thomas Herrmann
  2 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2004-09-14  6:26 UTC (permalink / raw)
  To: linux-hotplug

On Mon, Sep 13, 2004 at 01:05:16PM +0200, Thomas Herrmann wrote:
> Hi,
> 
> I have some trouble with USB hotplug. I read a lot of information and
> documentation available, but can not find out what's going wrong. Maybe some
> on this list can shade some light?
> 
> My remote system uses a WLAN USB device for network. Everything works fine
> if I plug the WLAN USB stick in while the system is up and running. Just if
> the stick is already plugged in when the system boots, it does not get
> recognized while the hotplug service loads the USB controller modules. lsusb
> just after boot (with the stick plugged in) list only the 2 USB controllers,
> no device.
> 
> Since this system is a remote box I don't want to unplug and replug the WLAN
> USB stick everytime after a boot. In addition since the WLAN is the only
> network connection of this system, some services do not work.
> 
> It's using plain kernel 2.6.7 in a Gentoo environment.

Try upgrading to a 2.6.8.1 kernel, this sounds like a host controller
issue, and not a hotplug script specific issue.

If you still have problems with that kernel version, take this to the
linux-usb-devel mailing list (detailing what USB host controller driver
you are using.)  The developers there will be able to help you out.

thanks,

greg k-h


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: WLAN USB at boot time not recognized
  2004-09-13 11:05 WLAN USB at boot time not recognized Thomas Herrmann
  2004-09-14  6:26 ` Greg KH
@ 2004-09-15 15:50 ` David Brownell
  2004-09-22  7:48 ` Thomas Herrmann
  2 siblings, 0 replies; 4+ messages in thread
From: David Brownell @ 2004-09-15 15:50 UTC (permalink / raw)
  To: linux-hotplug

On Monday 13 September 2004 4:05 am, Thomas Herrmann wrote:
> 
> My remote system uses a WLAN USB device for network. Everything works fine
> if I plug the WLAN USB stick in while the system is up and running. Just if
> the stick is already plugged in when the system boots, it does not get
> recognized while the hotplug service loads the USB controller modules.....
> 
> It's using plain kernel 2.6.7 in a Gentoo environment. The hardware is a
> SIS740 chipset and I want to use the internal USB controllers.

Some USB devices seem to need power cycling to enumerate properly,
and not all motherboards are wired so that Linux can do that.

You might have better luck hooking that device up through an
external hub.

- Dave


-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

* Re: WLAN USB at boot time not recognized
  2004-09-13 11:05 WLAN USB at boot time not recognized Thomas Herrmann
  2004-09-14  6:26 ` Greg KH
  2004-09-15 15:50 ` David Brownell
@ 2004-09-22  7:48 ` Thomas Herrmann
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Herrmann @ 2004-09-22  7:48 UTC (permalink / raw)
  To: linux-hotplug

>Some USB devices seem to need power cycling to enumerate properly,
>and not all motherboards are wired so that Linux can do that.
>
>You might have better luck hooking that device up through an
>external hub.
>
>- Dave

Hi Dave & list,

Dave might be right with his comment on power cycling. The system does
recognize and configures the USB device after a power cycle (a real one with
the power supply being disconnected from the wall plug).

Now, since I don't have a hub I did some more experiments. I disabled the
hotpluging scripts and put the ohci_hcd module into the modules.autoload
file. Then I start the wlan driver as well as the network service in the
default runlevel and everything is working well, even after a soft reboot.

One major difference I see between using hotplug and the manual approach, by
using hotplug and put the system to halt the USB WLAN device is still
powered (control light stays on), while with the manual procedure described
the device control light turnes off when the system goes to halt.

What is hotplug doing different to the USB controller hat the device stays
powered while the system halts?

Thanks,   Thomas


-- 
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2004-09-22  7:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 11:05 WLAN USB at boot time not recognized Thomas Herrmann
2004-09-14  6:26 ` Greg KH
2004-09-15 15:50 ` David Brownell
2004-09-22  7:48 ` Thomas Herrmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).