Bug 217051

Summary: kudzu doesn't find the device file for USB CDC ACM modems
Product: [Fedora] Fedora Reporter: Alex Kanavin <ak>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-28 17:05:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alex Kanavin 2006-11-23 14:35:36 UTC
Kudzu fails to find the device file for USB ACM modems, and as a result,
system-config-network doesn't find these modems either. I believe the fix is as
simple as adding

__getSysfsDevice((struct device *)t,".","tty:",0);
right next to
__getSysfsDevice((struct device *)t,".","net:",0);
in getUsbDevice() in usb.c

Comment 1 Bill Nottingham 2006-11-27 19:02:07 UTC
Have you tested that change? (I don't have that hardware.)

Comment 2 Alex Kanavin 2006-11-28 14:29:10 UTC
Yes. Before the change:
>>> kudzu.probe(kudzu.CLASS_MODEM,kudzu.BUS_UNSPEC,kudzu.PROBE_ALL)
[Desc:           Nokia Nokia 6680
Driver:         cdc-acm
Device:         None
]

After the change:
>>> kudzu.probe(kudzu.CLASS_MODEM,kudzu.BUS_UNSPEC,kudzu.PROBE_ALL)
[Desc:           Nokia Nokia 6680
Driver:         cdc-acm
Device:         ttyACM0
]


Comment 3 Bill Nottingham 2006-11-28 17:05:59 UTC
You wouldn't happen to have any USB-serial converters (ttyUSBX) and notice if
this works for them? :)

Moving the call to after __getNetworkAddr - otherwise if someone does something
patently silly (names a network device ttyACMX), we'll get bogus data.

Will be in 1.2.62-1, might be in a future FC6 update.

Comment 4 Alex Kanavin 2006-12-21 18:35:25 UTC
No I don't :( Looks like all modern Nokia have switched to the USB ACM kind of
interface, and I don't have any other suitable hardware.