lkml.org 
[lkml]   [2003]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: isapnp modem in 2.6.0-test9-bk13 not working
On Tue, Dec 02, 2003 at 10:43:37PM +0000, Adam Belay wrote:
> On Tue, Nov 11, 2003 at 01:58:58AM +0100, ivan vadovic wrote:
> > I've got an ordinary isapnp modem which provides a serial port unlike
> > winmodems and it just happens to work under 2.4 kernels. When I boot into
> > the 2.6 kernel on the same machine, everything ( sound, ide, md, networking,
> > input devices) seems to work right but the modem. Modprobing 8250_pnp only
> > detects the 2 onboard serial ports. Am I doing anything wrong? What am I
> > supposed to test? Should I provide any more info? Please Cc me as I'm not
> > on the list.
> >
>
> Could you try this patch.
>
> --- a/drivers/serial/8250_pnp.c 2003-11-26 20:42:52.000000000 +0000
> +++ b/drivers/serial/8250_pnp.c 2003-12-02 22:41:04.000000000 +0000
> @@ -310,6 +310,8 @@
> { "PNPCXXX", UNKNOWN_DEV },
> /* More unkown PnP modems */
> { "PNPDXXX", UNKNOWN_DEV },
> + /* check all devices and guess if they are modems */
> + { "ANYDEVS", UNKNOWN_DEV },
> { "", 0 }
> };
>
> Thanks,
> Adam
>

On second thought this isn't a very good idea because of the way the current
code enables devices on a match. Instead I'll need the EISA ID for your modem.
You can find it by catting /proc/isapnp in 2.4 or through sysfs in 2.6.

Thanks,
Adam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.028 / U:2.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site