Date: Tue, 13 Nov 2001 23:41:44 +0900 From: WATANABE Kiyoshi <aab10490@pop16.odn.ne.jp> To: Scott Lambert <lambert@lambertfam.org> Cc: FreeBSD-Mobile@FreeBSD.org Subject: Re: linmodem on freebsd Message-ID: <3BF11508.FD372F0@pop16.odn.ne.jp> References: <3BEF1C33.ACDCABEA@pop16.odn.ne.jp> <20011113014012.A74305@laptop.lambertfam.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 13 Nov 2001 01:40:12 -0500, Scott Lambert wrote: > > Unfortunately for me, it doesn't seem to recognize my modem. Maybe I just > need to fix up the pci_ids list? > > The pci probe info for my Xircom MPCI modem is: > found-> vendor=0x115d, dev=0x00d4, revid=0x00 > class=07-00-02, hdrtype=0x00, mfdev=1 > subordinatebus=0 secondarybus=0 > intpin=a, irq=11 > map[10]: type 3, range 32, base 0000ff38, size 3 > map[14]: type 1, range 32, base efdff000, size 12 > > Original pci_ids: > static struct pci_ids pci_ids[] = { > { 0x115d, 0x0000, 0x000f, 0x00, "Xircom Winmodem" }, > { 0x115d, 0x0440, 0x045c, 0x00, "Xircom Winmodem" }, > { 0x11c1, 0x0440, 0x045c, 0x00, "Lucent Winmodem" }, > { 0x0000, 0x0000, 0x0000, 0x00, NULL } > }; > > I have tried: > static struct pci_ids pci_ids[] = { > { 0x115d, 0x0000, 0x0fff, 0x00, "Xircom Winmodem" }, > { 0x115d, 0x0440, 0x045c, 0x00, "Xircom Winmodem" }, > { 0x11c1, 0x0440, 0x045c, 0x00, "Lucent Winmodem" }, > { 0x0000, 0x0000, 0x0000, 0x00, NULL } > }; > > static struct pci_ids pci_ids[] = { > { 0x115d, 0x0000, 0x000f, 0x00, "Xircom Winmodem" }, > { 0x115d, 0x0010, 0x00ff, 0x00, "Xircom Winmodem" }, > { 0x115d, 0x0440, 0x045c, 0x00, "Xircom Winmodem" }, > { 0x11c1, 0x0440, 0x045c, 0x00, "Lucent Winmodem" }, > { 0x0000, 0x0000, 0x0000, 0x00, NULL } > }; I think that both must match with your modem. I read ltmdmobj.o-6.00 again and found that the range of device which lucent_detect_modem@ltmdmobj.o accepts was changed. pci_ids should be as follows. static struct pci_ids pci_ids[] = { { 0x115d, 0x0000, 0x00d4, 0x00, "Xircom Winmodem" }, { 0x115d, 0x0440, 0x045c, 0x00, "Xircom Winmodem" }, { 0x11c1, 0x0440, 0x045c, 0x00, "Lucent Winmodem" }, { 0x0000, 0x0000, 0x0000, 0x00, NULL } }; I don't know why the driver doesn't recognize your modem. What did it say when loaded? If you define LTMDM_DEBUG_MSG, you can get more infomation. --- ltmdmsio.c.orig +++ ltmdmsio.c @@ -447,1 +447,1 @@ -#undef LTMDM_DEBUG_MSG +#define LTMDM_DEBUG_MSG -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BF11508.FD372F0>