mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: David Brownell <david-b@pacbell.net>
Cc: Greg KH <greg@kroah.com>, Pavel Machek <pavel@ucw.cz>,
	kernel list <linux-kernel@vger.kernel.org>,
	Linux usb mailing list  <linux-usb-devel@lists.sourceforge.net>
Subject: Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
Date: Sat, 6 Sep 2003 17:02:00 +0100	[thread overview]
Message-ID: <20030906160200.GA10723@mail.jlokier.co.uk> (raw)
In-Reply-To: <3F57C951.8030606@pacbell.net>

David Brownell wrote:
> >It worked fine in 2.5.75 too.  I have the same problem as Pavel, with
> >a different USB modem in -test4.
> 
> And ... does my suggestion to Pavel then improve things?
>   http://marc.theaimsgroup.com/?l=linux-kernel&m=106263361810553&w=2
>   http://marc.theaimsgroup.com/?l=linux-usb-devel&m=106260875713372&w=2

Yes it does.

When loading the controller, these are some of the messages:

	PM: Adding info for usb:1-1:0
	PM: Adding info for usb:1-1:1
	drivers/usb/class/cdc-acm.c: need inactive config #2
	drivers/usb/class/cdc-acm.c: need inactive config #2

On loading cdc_acm:

	usb 1-1: control timeout on ep0in

When I do the echo 2 >/sys/bus/usb/devices/1-1/bConfigurationValue:

	acm: probe of 1-1:1 failed with error -5

I am able to open the modem device and use it after the echo, and not
before.  (I'm using it now).

> I'll submit a cdc-acm patch later to get rid of the need for the
> manual workaround.  And meanwhile, a hotplug script could automate
> this for you, in /etc/hotplug/usb/cdc-acm ...

So many other things don't work automatically for me in 2.6 that one
little echo for cdc_acm is a little thing.  Besides, hotplug doesn't
work either - something about the arguments to /sbin/hotplug has
changed since 2.4 and I am in no rush to install a new version.

Thanks for the modem fix.  I can now test the futex bug without going
offline :)

Cheers,
-- Jamie

  reply	other threads:[~2003-09-06 16:02 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-03 19:17 Pavel Machek
2003-09-03 22:39 ` Greg KH
2003-09-03 22:44   ` Pavel Machek
2003-09-03 23:36     ` Greg KH
2003-09-04 21:24       ` Jamie Lokier
2003-09-04 22:13         ` Greg KH
2003-09-04 23:22         ` [linux-usb-devel] " David Brownell
2003-09-06 16:02           ` Jamie Lokier [this message]
2003-09-06 17:44             ` Greg KH
2003-09-08  6:20               ` Mike Fedyk
2003-09-08 16:06                 ` Greg KH
2003-09-08 21:32                   ` Mike Fedyk
2003-09-04  0:00 ` [linux-usb-devel] " David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030906160200.GA10723@mail.jlokier.co.uk \
    --to=jamie@shareable.org \
    --cc=david-b@pacbell.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=pavel@ucw.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®