linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: AirPrime 5220 1xEVDO PC Card
Date: Thu, 28 Apr 2005 05:12:02 +0000	[thread overview]
Message-ID: <20050428051201.GA10563@kroah.com> (raw)
In-Reply-To: <d4oi56$mvf$1@sea.gmane.org>

On Wed, Apr 27, 2005 at 07:57:21PM -0500, Ian Pilcher wrote:
> Greg KH wrote:
> >Oh, that was just too easy, here's a patch, let me know if this driver
> >works for you.
> 
> GOOD NEWS:
> 
> The driver works.  It's loaded automatically when I insert the card, and
> the /dev/ttyUSB* devices are created with the correct major numbers.

Yeah!

> BAD NEWS:
> 
> Two "bogus" /dev/ttyUSB* devices are also created.

Boo!

Can you try the patch below to see if it fixes the issue?

> Trying to connect with ttyUSB1 or ttyUSB3 causes a kernel oops.

What is the oops message?

thanks,

greg k-h

--- gregkh-2.6.orig/drivers/usb/serial/airprime.c	2005-04-27 11:20:26.000000000 -0700
+++ gregkh-2.6/drivers/usb/serial/airprime.c	2005-04-27 22:11:08.000000000 -0700
@@ -36,7 +36,7 @@
 	.num_interrupt_in =	NUM_DONT_CARE,
 	.num_bulk_in =		NUM_DONT_CARE,
 	.num_bulk_out =		NUM_DONT_CARE,
-	.num_ports =		2,
+	.num_ports =		1,
 };
 
 static int __init airprime_init(void)


-------------------------------------------------------
SF.Net email is sponsored by: Tell us your software development plans!
Take this survey and enter to win a one-year sub to SourceForge.net
Plus IDC's 2005 look-ahead and a copy of this survey
Click here to start!  http://www.idcswdc.com/cgi-bin/survey?id\x105hix
_______________________________________________
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

  parent reply	other threads:[~2005-04-28  5:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-27 17:34 AirPrime 5220 1xEVDO PC Card Ian Pilcher
2005-04-27 18:00 ` Greg KH
2005-04-27 18:17 ` Greg KH
2005-04-28  0:57 ` Ian Pilcher
2005-04-28  2:47 ` David Brownell
2005-04-28  3:00 ` Matthew Dharm
2005-04-28  5:12 ` Greg KH [this message]
2005-04-28 12:26 ` Ian Pilcher
2005-04-28 20:47 ` Linas Vepstas
2005-04-28 21:33 ` Ian Pilcher

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=20050428051201.GA10563@kroah.com \
    --to=greg@kroah.com \
    --cc=linux-hotplug@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).