Re: Re2: uplcom(4) problem

看板DFBSD_kernel作者時間21年前 (2004/10/17 11:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
Quoting Matthew Dillon <dillon@apollo.backplane.com>: > : Hey Rahul, I got the PL2303 based usb->serial adapters but unfortunately > : they appear to work perfectly. I connected up a modem via /dev/ucom0 > : and dialed an ISP using ppp and it works. > > I take it back! > > It turns out that 'ppp' works fine, but 'pppd' cannot seem to read any > data back from the modem. When I used pppd to talk to the modem via > ucom0 it failed to read() data from the modem even though the modem was > definitely sending data to the computer. When I used pppd to talk to > the modem via cuaa0 it read() the data fine (and also hit the continuous > loop problem). > > So I am able to reproduce *BOTH* issues. Well, great that you see the problem! Though in my case ppp didn't work either. Also, when I tried backporting the linux 2.6 patch to linux 2.4, pppd connects, but then doesn't seem to exchange any data after that. It seems a simple backport so I can't see what is wrong (but maybe that's why they haven't backported it upstream, even in the latest prepatch...) I think my modem is the "HX" kind, that's what the linux 2.6 change seems to treat. Rahul
文章代碼(AID): #11SUUr00 (DFBSD_kernel)
文章代碼(AID): #11SUUr00 (DFBSD_kernel)