Bug 217051 - kudzu doesn't find the device file for USB CDC ACM modems
Summary: kudzu doesn't find the device file for USB CDC ACM modems
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kudzu
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-23 14:35 UTC by Alex Kanavin
Modified: 2014-03-17 03:04 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2006-11-28 17:05:59 UTC


Attachments (Terms of Use)

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.


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