From: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: AirPrime 5220 1xEVDO PC Card
Date: Thu, 28 Apr 2005 03:00:54 +0000 [thread overview]
Message-ID: <20050428030054.GA823@one-eyed-alien.net> (raw)
In-Reply-To: <d4oi56$mvf$1@sea.gmane.org>
[-- Attachment #1: Type: text/plain, Size: 1445 bytes --]
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.
>
> BAD NEWS:
>
> Two "bogus" /dev/ttyUSB* devices are also created.
I'm more used to looking at /proc/bus/usb/devices than lsusb, but it looks
to me like your device has two interfaces (usb-level interfaces, that is).
The driver Greg wrote looks for a compatible interface to bind to. The way
it specified what type of interface, both advertised interfaces qualify.
Then, it specified two serial-level interfaces for each usb-level
interface you bind to. Thus, 4 interfaces.
I think the first thing to do is change the driver to .num_ports = 1 --
that will get you down to just 2 /dev/ttyUSB nodes. Try that, and then see
what happens when you try to talk to the various /dev/ttyUSB nodes.
Next, we may want to think about how to talk to that control interface.
But, that's out of my expertise. You may want to use something like
minicom (instead of kppp) to debug with.
Matt
--
Matthew Dharm Home: mdharm-usb@one-eyed-alien.net
Maintainer, Linux USB Mass Storage Driver
You suck Stef.
-- Greg
User Friendly, 11/29/97
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-04-28 3:00 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 [this message]
2005-04-28 5:12 ` Greg KH
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=20050428030054.GA823@one-eyed-alien.net \
--to=mdharm-usb@one-eyed-alien.net \
--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).