[hsflinux] Re: kppp reporting 'unable to open modem'

Linuxant support (Jonathan) support at linuxant.com
Wed Dec 14 14:11:25 EST 2005


Hi,

can you try with a 2.6.13 kernel to see if you have the same problem? 
You could also try with a 2.6.15-rcX kernel as well. It's important to 
note that before you attempt to use the HSF modem driver version 
7.18.00.07full on the 2.6.15 kernel, you must patch the driver or else 
the driver will crash. You can patch the driver with the 'hsfconfig 
--patch' command in a root shell. You should use this command before 
using the 'hsfconfig' command to compile the kernel modules.

Regards,


Jonathan
Technical specialist / Linuxant
www.linuxant.com
support at linuxant.com



Guerreiro da Luz wrote:
> On 12/14/05, Linuxant support (Jonathan) <support at linuxant.com> wrote:
> 
>>Hi,
>>
>>the source of the problem could be either kppp, the kernel of the HSF
>>modem driver. You are the first user which have reported this issue and
>>we will investigate if other users report it as well. If this is a bug
>>in the HSF modem driver, it will be fixed in a future release of the driver.
>>
>>Regards,
>>
>>
>>Jonathan
>>Technical specialist / Linuxant
>>www.linuxant.com
>>support at linuxant.com
>>
> 
> 
> Fair enough, but seems to me that we already have another user
> experiencing exactly the same problem (Nate Bargmann on "hsfmodem
> doesn't respond on Debian with Linux 2.6.14 " thread): we both have
> 2.6.14 kernel and and HSF driver 7.18.00.07full installed, minicom is
> able to talk with modem for both of us and kppp is reporting same "the
> modem does not respond" error message to both of us (and, as I
> mentioned in my previous message, from my examination of kppp source
> seems like there is only one place where this error message is
> generated)...
> 
> I just tried deleting 2.6.14 workaround in serial_cnxt.c and
> recompiling, but to no avail.
> 
> Regards.
> 
> 
> 
>>Guerreiro da Luz wrote:
>>
>>>On 12/13/05, Linuxant support (Jonathan) <support at linuxant.com> wrote:
>>>
>>>
>>>>Hi,
>>>>
>>>>the messages found in your 'dmesg' are generated when the HSF modem
>>>>driver modules are inserted into the kernel and they are not affected by
>>>>the dialing program used.
>>>>
>>>>To try to tack down the problem with 'kppp' you could try to use an
>>>>utility such as 'strace' to see what system calls are called by 'kppp'
>>>>and compare the trace with a working dialing software to see what is the
>>>>exact source of the problem. Alternatively, you could build 'kppp' from
>>>>sources with possibility more debugging output which might help to track
>>>>down this problem.
>>>>
>>>>Regards,
>>>>
>>>>
>>>>Jonathan
>>>>Technical specialist / Linuxant
>>>>www.linuxant.com
>>>>support at linuxant.com
>>>>
>>>
>>>
>>>Jonathan,
>>>
>>>Thanks for hints.  I was able to find analyzing kppp source that the
>>>problem occurs when calling tcsendbreak() syscall - it should send a
>>>stream of zeroes to modem for 0.5s or so and there is a timeout in
>>>kppp source around it to check if it will hang after 2s and report
>>>above error if it does.  So this is what happens - tcsendbreak() for
>>>some reason hangs if minicom or wvdial not launched before kppp.  Now,
>>>even if I code around this, compiling kppp from source is real pain
>>>(whole kdenetwork package should be compiled actually), thus I think
>>>I'm rather going to spend some more time to find workaround.  Since I
>>>have my license delivered now - are more questions regarding above
>>>appropriate to Linuxant support e-mail address or your position would
>>>be that since driver is definitely working (as confirmed by minicom
>>>and wvdial) then these kppp woes are not your business?
>>>
>>>Regards.
>>>
>>>
>>>
>>>
>>>>Guerrero da Luz wrote:
>>>>
>>>>
>>>>>On 12/12/05, Guerreiro da Luz <g.da.luz at gmail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>>>Got Thinkpad R51 machine with Conexant HSF softmodem
>>>>>>(PCI-8086:24c6-1014:055a).  So I downloaded free version of Linuxant
>>>>>>HSF modem driver and installed it along with my kernel (stock
>>>>>>2.6.14.3, my machine is Slackware 10.2 btw).  Tried driver with
>>>>>>minicom and it works great, so I'm certainly going to order full
>>>>>>license.  However, I do have small problem with kppp dialer - it keeps
>>>>>>reporting 'unable to open modem' when I try dialing.  I do have
>>>>>>/dev/modem link to /dev/ttySHSF0.  I tried to use wvdial and it works
>>>>>>fine.  I tried set to modem initialization sequence in kppp to same
>>>>>>sequence minicom or wvdial are using, but same error still there.
>>>>>>Weirdest of all, if I launch either minicom or wvdial once and then
>>>>>>exit and try kppp again, it works perfectly.  So it's not that big
>>>>>>deal, but still I would like to have it working without this "hack" -
>>>>>>maybe someone on this list could offer some advice regarding how to
>>>>>>track what minicom or wvdial are doing that kppp is not or anything
>>>>>>else to try?
>>>>>>
>>>>>>Thanks.
>>>>>>
>>>>>
>>>>>
>>>>>After sending previous message, I realized two previous threads on
>>>>>this list had also to do with kppp problems on Thinkpads (it would be
>>>>>really good to have search capability available directly on the Web
>>>>>for this list) and I found some hints.  I tried to run "hsfconfig
>>>>>--dumpdiag" before and after launching minicom (ie. before and after
>>>>>being able to use kppp properly) and here is the difference (what
>>>>>follows appears only after launching minicom):
>>>>>
>>>>>< usbcore: deregistering driver hsfusbcd2
>>>>>< PCI: Found IRQ 11 for device 0000:00:1f.6
>>>>>< PCI: Sharing IRQ 11 with 0000:00:1f.3
>>>>>< PCI: Sharing IRQ 11 with 0000:00:1f.5
>>>>>< PCI: Setting latency timer of device 0000:00:1f.6 to 64
>>>>>< ttySHSF0 at I/O 0x2400 (irq = 11) is a Conexant HSF softmodem (PCI-8086:24c6-1
>>>>>014:055a)
>>>>>< usbcore: registered new driver hsfusbcd2
>>>>>
>>>>>So I guess what kppp is missing is some kind of executing setserial
>>>>>equivalent for HSF modem, in order to set IRQ and I/O port; but HSF
>>>>>modems FAQ states it is not possible to use setserial on
>>>>>/dev/ttySHSF*.  Any hint?
>>>>>
>>>>>Thanks.
>>>>>_______________________________________________
>>>>>hsflinux mailing list
>>>>>hsflinux at lists.linuxant.com
>>>>>https://www.linuxant.com/mailman/listinfo/hsflinux
>>>>
>>>_______________________________________________
>>>hsflinux mailing list
>>>hsflinux at lists.linuxant.com
>>>https://www.linuxant.com/mailman/listinfo/hsflinux
>>
> _______________________________________________
> hsflinux mailing list
> hsflinux at lists.linuxant.com
> https://www.linuxant.com/mailman/listinfo/hsflinux


More information about the hsflinux mailing list