bluetooth modem DUN not available - NM 0.7.0.99
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using Blueman 1.02 to connect GSM cell phone serial port over RFCOMM. With network-manager 0.7.0 the phone was recognized and I was able to initiate the GSM mobile broadband connection. Current network-manager 0.7.0.99 can't do that and I have to estabilish the connection from the command line. It works, but as more packages depend on the network-manager "connected status", it seems that there is no connection at all. I can force to go online e.g. in Firefox, but not e.g. in Pidgin.
I did some debugging and the only clue was, that network-manager (ran in no-daemon mode) shows following message:
NetworkManager: <WARN> modem_device_
The modem was added by blueman and HAL shows this info:
udi = '/org/freedeskt
access_
access_
info.
info.callouts.add = {'hal-acl-tool --add-device'} (string list)
info.
info.capabilities = {'serial', 'modem', 'access_control'} (string list)
info.category = 'serial' (string)
info.parent = '/org/freedeskt
info.product = 'DUN (00:12:
info.udi = '/org/freedeskt
info.vendor = 'Bluetooth' (string)
linux.device_file = '/dev/rfcomm0' (string)
modem.
serial.device = '/dev/rfcomm0' (string)
serial.
serial.port = 0 (0x0) (int)
serial.type = 'unknown' (string)
I've found that there is code recently added in the network-manager's hal manager, which shows this WARN and rejects the serial device, even though there is another code few lines later, which tries to determine the modem type (GSM/CDMA) from the HAL info (deprecated).
I've created patch (attached) which changes the check and tries to use the HAL info to detect the modem type like it was in NM-0.7.0. Now the modem is detected and I can connect.
I saw the comment, that HAL info modem type detection is deprecated, but shouldn't we get some grace period before Blueman/udev/??? is updated to the new sysfs way of properties exhibition?
Description: Ubuntu jaunty (development branch)
Release: 9.04
updated today
network-manager: 0.7.1~rc3-0ubuntu2
blueman: 1.02-1~ppa2j (from blueman team launchpad PPA)
Can you create a package with this patch?