Bug 10735 - kudzu 0.36-2 doesn't see my USR modem
kudzu 0.36-2 doesn't see my USR modem
Product: Red Hat Linux
Classification: Retired
Component: kudzu (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-04-11 17:51 EDT by Jonathan Kamens
Modified: 2014-03-16 22:13 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-02-04 17:40:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
strace output for kudzu run that doesn't detect the modem (19.21 KB, text/plain)
2000-04-11 17:52 EDT, Jonathan Kamens
no flags Details
strace of kudzu-0.38-1 not detectingmodem (25.76 KB, text/plain)
2000-04-13 08:41 EDT, Jonathan Kamens
no flags Details
hwconf (2.47 KB, text/plain)
2000-04-15 22:45 EDT, Jonathan Kamens
no flags Details
Hacked but functioning PnP serial.c (37.43 KB, text/plain)
2002-04-18 23:26 EDT, DaveG
no flags Details

  None (edit)
Description Jonathan Kamens 2000-04-11 17:51:34 EDT
kudzu-0.27-1 detected my USR modem just fine:

class: MODEM
detached: 1
device: ttyS1
driver: ignore
desc: "USR|0100 Courier V.Everything EXT"
pnpmfr: USR
pnpmodel: 0100
pnpcompat: PNPC107
pnpdesc: Courier V.Everything EXT

When I upgraded to kudzu-0.36-2, it first informed me that my modem was
a generic serial modem rather than the specific modem shown above, and
then when I tried to duplicate that, it didn't find the modem at all.

I will attach strace output from kudzu-0.36-2, in case that's helpful.
Comment 1 Jonathan Kamens 2000-04-11 17:52:59 EDT
Created attachment 194 [details]
strace output for kudzu run that doesn't detect the modem
Comment 2 Bill Nottingham 2000-04-12 11:36:59 EDT
It's not detecting it because the modem port is locked
from another program (the file /var/lock/LCK..modem
exists), so therefore kudzu won't probe that serial

If you remove the /var/lock/LCK..modem file, does it
then detect the modem correctly?
Comment 3 Jonathan Kamens 2000-04-13 08:41:59 EDT
Created attachment 198 [details]
strace of kudzu-0.38-1 not detectingmodem

root@jik:/c/build/curl!67# ls -l /var/lock/LCK*; kudzu; rpm -q kudzu
ls: No match.

I'll attach another strace.out from kudzu-0.38-1 when the lock file does not
Comment 4 Bill Nottingham 2000-04-14 17:05:59 EDT
What's the current /etc/sysconfig/hwconf when you're running this?

(unfortunately, serial probe problems are very hard to pin down
without access to the hardware in question... :( )
Comment 5 Jonathan Kamens 2000-04-15 22:45:59 EDT
Created attachment 203 [details]
Comment 6 Bill Nottingham 2001-02-01 18:35:41 EST
Eek, I've ignored this for *way* too long.

I'm assuming the same behavior happens with the current version
(the serial code hasn't changed...)
Comment 7 Jonathan Kamens 2002-01-23 12:10:57 EST
I have not seen this problem in a long time.  I don't know what has changed to
make it go away.
Comment 8 DaveG 2002-04-18 23:24:02 EDT

I was also having problems with kudzu-0.99.23 (RH7.2) and my USR modem.

I took a look under the hood and found the problems...
Older USR modems are not PnP but have ATI9 responses in the right format. The 
problem is in parse_pnp_string() - The string has <cr><lf> before the 
opening "(" and the PnP version number is in decimal rather than coded binary. 
The string also has extensions, but no checksum. The end result is that the 
valid ATI9 response gets rejected.

I have hacked around with serial.c and produced something that works. The only 
problem left is that the modem refuses to dial after being probed. The problem 
must be with the state of the serial port as resetting the modem doesn't clear 

Once I work out how to post my modified serial.c, I'll pass it on. Sorry it got 
hacked around, but I needed to find out what was happening, so a diff might be 
diffucult! ('scuse the pun)
Comment 9 DaveG 2002-04-18 23:26:30 EDT
Created attachment 54524 [details]
Hacked but functioning PnP serial.c
Comment 10 Bill Nottingham 2005-02-04 17:40:49 EST
Closing out bugs from older, no longer supported releases. Apologies for the
lack of response.

Note You need to log in before you can comment on or make changes to this bug.