linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* USB modem no longer detected in -test4
@ 2003-09-03 19:17 Pavel Machek
  2003-09-03 22:39 ` Greg KH
  2003-09-04  0:00 ` [linux-usb-devel] " David Brownell
  0 siblings, 2 replies; 13+ messages in thread
From: Pavel Machek @ 2003-09-03 19:17 UTC (permalink / raw)
  To: kernel list, Linux usb mailing list

Hi!

In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on
toshiba 4030cdt).

Relevant messages seem to be:

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

							Pavel
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

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

* Re: USB modem no longer detected in -test4
  2003-09-03 19:17 USB modem no longer detected in -test4 Pavel Machek
@ 2003-09-03 22:39 ` Greg KH
  2003-09-03 22:44   ` Pavel Machek
  2003-09-04  0:00 ` [linux-usb-devel] " David Brownell
  1 sibling, 1 reply; 13+ messages in thread
From: Greg KH @ 2003-09-03 22:39 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Linux usb mailing list

On Wed, Sep 03, 2003 at 09:17:01PM +0200, Pavel Machek wrote:
> Hi!
> 
> In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on
> toshiba 4030cdt).
> 
> Relevant messages seem to be:
> 
> PM: Adding info for usb:1-1.2
> drivers/usb/class/cdc-acm.c: need inactive config#2
> PM: Adding info for usb:1-1.2:0
> drivers/usb/class/cdc-acm.c: need inactive config#2

And this worked just fine in 2.6.0-test3?

thanks,

greg k-h

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

* Re: USB modem no longer detected in -test4
  2003-09-03 22:39 ` Greg KH
@ 2003-09-03 22:44   ` Pavel Machek
  2003-09-03 23:36     ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Pavel Machek @ 2003-09-03 22:44 UTC (permalink / raw)
  To: Greg KH; +Cc: kernel list, Linux usb mailing list

Hi!

> > In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on
> > toshiba 4030cdt).
> > 
> > Relevant messages seem to be:
> > 
> > PM: Adding info for usb:1-1.2
> > drivers/usb/class/cdc-acm.c: need inactive config#2
> > PM: Adding info for usb:1-1.2:0
> > drivers/usb/class/cdc-acm.c: need inactive config#2
> 
> And this worked just fine in 2.6.0-test3?

It worked okay in 2.5.62, and probably in many later versions, but I'm
not sure if I specificaly tested it with -test3.
								Pavel
-- 
Horseback riding is like software...
...vgf orggre jura vgf serr.

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

* Re: USB modem no longer detected in -test4
  2003-09-03 22:44   ` Pavel Machek
@ 2003-09-03 23:36     ` Greg KH
  2003-09-04 21:24       ` Jamie Lokier
  0 siblings, 1 reply; 13+ messages in thread
From: Greg KH @ 2003-09-03 23:36 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Linux usb mailing list

On Thu, Sep 04, 2003 at 12:44:12AM +0200, Pavel Machek wrote:
> Hi!
> 
> > > In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on
> > > toshiba 4030cdt).
> > > 
> > > Relevant messages seem to be:
> > > 
> > > PM: Adding info for usb:1-1.2
> > > drivers/usb/class/cdc-acm.c: need inactive config#2
> > > PM: Adding info for usb:1-1.2:0
> > > drivers/usb/class/cdc-acm.c: need inactive config#2
> > 
> > And this worked just fine in 2.6.0-test3?
> 
> It worked okay in 2.5.62, and probably in many later versions, but I'm
> not sure if I specificaly tested it with -test3.

2.5.62???  You are going to have to help narrow it down a bit more :)

thanks,

greg k-h

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

* Re: [linux-usb-devel] USB modem no longer detected in -test4
  2003-09-03 19:17 USB modem no longer detected in -test4 Pavel Machek
  2003-09-03 22:39 ` Greg KH
@ 2003-09-04  0:00 ` David Brownell
  1 sibling, 0 replies; 13+ messages in thread
From: David Brownell @ 2003-09-04  0:00 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, Linux usb mailing list

Pavel Machek wrote:
> Hi!
> 
> In 2.6.0-test4, USB ELSA modem no longer works. This is UHCI (on
> toshiba 4030cdt).
> 
> Relevant messages seem to be:
> 
> PM: Adding info for usb:1-1.2
> drivers/usb/class/cdc-acm.c: need inactive config#2
> PM: Adding info for usb:1-1.2:0
> drivers/usb/class/cdc-acm.c: need inactive config#2


Try the usb_set_configuration() patch I just posted this morning
(to linux-usb-devel).

Apply it, and you'll still get these messages ... but then you'll
be able to

    # echo 2 > /sys/bus/usb/devices/1-1.2/bConfigurationValue

and then it should work as before.  Granted that works as I expect,
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 ...

- Dave




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

* Re: USB modem no longer detected in -test4
  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
  0 siblings, 2 replies; 13+ messages in thread
From: Jamie Lokier @ 2003-09-04 21:24 UTC (permalink / raw)
  To: Greg KH; +Cc: Pavel Machek, kernel list, Linux usb mailing list

Greg KH wrote:
> 2.5.62???  You are going to have to help narrow it down a bit more :)

It worked fine in 2.5.75 too.  I have the same problem as Pavel, with
a different USB modem in -test4.

-- Jamie

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

* Re: USB modem no longer detected in -test4
  2003-09-04 21:24       ` Jamie Lokier
@ 2003-09-04 22:13         ` Greg KH
  2003-09-04 23:22         ` [linux-usb-devel] " David Brownell
  1 sibling, 0 replies; 13+ messages in thread
From: Greg KH @ 2003-09-04 22:13 UTC (permalink / raw)
  To: Jamie Lokier; +Cc: Pavel Machek, kernel list, Linux usb mailing list

On Thu, Sep 04, 2003 at 10:24:17PM +0100, Jamie Lokier wrote:
> Greg KH wrote:
> > 2.5.62???  You are going to have to help narrow it down a bit more :)
> 
> It worked fine in 2.5.75 too.  I have the same problem as Pavel, with
> a different USB modem in -test4.

Again, that was a while ago.  Care to help narrow it down some? 

thanks,

greg k-h

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

* Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
  2003-09-04 21:24       ` Jamie Lokier
  2003-09-04 22:13         ` Greg KH
@ 2003-09-04 23:22         ` David Brownell
  2003-09-06 16:02           ` Jamie Lokier
  1 sibling, 1 reply; 13+ messages in thread
From: David Brownell @ 2003-09-04 23:22 UTC (permalink / raw)
  To: Jamie Lokier; +Cc: Greg KH, Pavel Machek, kernel list, Linux usb mailing list

Jamie Lokier wrote:
> Greg KH wrote:
> 
>>2.5.62???  You are going to have to help narrow it down a bit more :)
> 
> 
> 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

referring to this patch

   http://marc.theaimsgroup.com/?l=linux-usb-devel&m=106260875713372&w=2

Same symptoms should in this case mean same fix ...

- Dave



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

* Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
  2003-09-04 23:22         ` [linux-usb-devel] " David Brownell
@ 2003-09-06 16:02           ` Jamie Lokier
  2003-09-06 17:44             ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Jamie Lokier @ 2003-09-06 16:02 UTC (permalink / raw)
  To: David Brownell; +Cc: Greg KH, Pavel Machek, kernel list, Linux usb mailing list

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

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

* Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
  2003-09-06 16:02           ` Jamie Lokier
@ 2003-09-06 17:44             ` Greg KH
  2003-09-08  6:20               ` Mike Fedyk
  0 siblings, 1 reply; 13+ messages in thread
From: Greg KH @ 2003-09-06 17:44 UTC (permalink / raw)
  To: Jamie Lokier
  Cc: David Brownell, Pavel Machek, kernel list, Linux usb mailing list

On Sat, Sep 06, 2003 at 05:02:00PM +0100, Jamie Lokier wrote:
> 
> 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.

Sorry, but if you want hotplug to work in 2.6, you will have to install
a new version due to some changes to the network arguments, and due to a
bug in the older versions of the scripts.

thanks,

greg k-h

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

* Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
  2003-09-06 17:44             ` Greg KH
@ 2003-09-08  6:20               ` Mike Fedyk
  2003-09-08 16:06                 ` Greg KH
  0 siblings, 1 reply; 13+ messages in thread
From: Mike Fedyk @ 2003-09-08  6:20 UTC (permalink / raw)
  To: Greg KH
  Cc: Jamie Lokier, David Brownell, Pavel Machek, kernel list,
	Linux usb mailing list

On Sat, Sep 06, 2003 at 10:44:18AM -0700, Greg KH wrote:
> On Sat, Sep 06, 2003 at 05:02:00PM +0100, Jamie Lokier wrote:
> > 
> > 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.
> 
> Sorry, but if you want hotplug to work in 2.6, you will have to install
> a new version due to some changes to the network arguments, and due to a
> bug in the older versions of the scripts.

What release date should the hotplug scripts be?  I still have that hotplug
related oops that I told you about a while ago...

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

* Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
  2003-09-08  6:20               ` Mike Fedyk
@ 2003-09-08 16:06                 ` Greg KH
  2003-09-08 21:32                   ` Mike Fedyk
  0 siblings, 1 reply; 13+ messages in thread
From: Greg KH @ 2003-09-08 16:06 UTC (permalink / raw)
  To: Jamie Lokier, David Brownell, Pavel Machek, kernel list,
	Linux usb mailing list

On Sun, Sep 07, 2003 at 11:20:28PM -0700, Mike Fedyk wrote:
> On Sat, Sep 06, 2003 at 10:44:18AM -0700, Greg KH wrote:
> > On Sat, Sep 06, 2003 at 05:02:00PM +0100, Jamie Lokier wrote:
> > > 
> > > 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.
> > 
> > Sorry, but if you want hotplug to work in 2.6, you will have to install
> > a new version due to some changes to the network arguments, and due to a
> > bug in the older versions of the scripts.
> 
> What release date should the hotplug scripts be?  I still have that hotplug
> related oops that I told you about a while ago...

Try the latest :)

But that oops should have nothing to do with the scripts, that's a
kernel oops that I could never duplicate :(

thanks,

greg k-h

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

* Re: [linux-usb-devel] Re: USB modem no longer detected in -test4
  2003-09-08 16:06                 ` Greg KH
@ 2003-09-08 21:32                   ` Mike Fedyk
  0 siblings, 0 replies; 13+ messages in thread
From: Mike Fedyk @ 2003-09-08 21:32 UTC (permalink / raw)
  To: Greg KH
  Cc: Jamie Lokier, David Brownell, Pavel Machek, kernel list,
	Linux usb mailing list

On Mon, Sep 08, 2003 at 09:06:31AM -0700, Greg KH wrote:
> On Sun, Sep 07, 2003 at 11:20:28PM -0700, Mike Fedyk wrote:
> > On Sat, Sep 06, 2003 at 10:44:18AM -0700, Greg KH wrote:
> > > On Sat, Sep 06, 2003 at 05:02:00PM +0100, Jamie Lokier wrote:
> > > > 
> > > > 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.
> > > 
> > > Sorry, but if you want hotplug to work in 2.6, you will have to install
> > > a new version due to some changes to the network arguments, and due to a
> > > bug in the older versions of the scripts.
> > 
> > What release date should the hotplug scripts be?  I still have that hotplug
> > related oops that I told you about a while ago...
> 
> Try the latest :)
> 
> But that oops should have nothing to do with the scripts, that's a
> kernel oops that I could never duplicate :(

Are the kksymoops reports parsable by the userspace ksymoops?  Whenever I
run the 2.6 kernel resolved oops through the user space ksymoops, it points
to a different part of the kernel, leading me to suspect that i shouldn't be
doing that.

Is that right?  Also I use modules a lot, will that affect this?

I'd like to get this fixed.  Any instructions / patches would be helpful.

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

end of thread, other threads:[~2003-09-08 21:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-03 19:17 USB modem no longer detected in -test4 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
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

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).