From: Matthew Dharm Date: Thu, 28 Apr 2005 03:00:54 +0000 Subject: Re: AirPrime 5220 1xEVDO PC Card Message-Id: <20050428030054.GA823@one-eyed-alien.net> MIME-Version: 1 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > GOOD NEWS: >=20 > The driver works. It's loaded automatically when I insert the card, and > the /dev/ttyUSB* devices are created with the correct major numbers. >=20 > BAD NEWS: >=20 > 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 =3D 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 --=20 Matthew Dharm Home: mdharm-usb@one-eyed-alien.= net=20 Maintainer, Linux USB Mass Storage Driver You suck Stef. -- Greg=20 User Friendly, 11/29/97 --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFCcFHmHL9iwnUZqnkRAuzLAJ94kYwEBb6TBMjDMKQKzcLT9SSKrACfQOLz hBPBv0k3UNDW4JY116IXe0U= =9sHo -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- ------------------------------------------------------- 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=105hix _______________________________________________ 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