Jump to content

Ericsson H5321gw - WWAN Connection Failed


johnstray2001

Recommended Posts

I have an Ericsson H5321gw 3G Wireless WWAN device in my laptop that I'd like to get working, but I am in need of some help.
 
So far, I have successfully got the device to appear as a wwan device by patching CellPhoneHelper.kext with the correct idVendor, idProduct, etc.. I setup the correct apn for my service in network settings, "connect", tried both the Generic and Sony Ericsson profiles.
 
However, I have not been able to connect yet. The console is reporting errors from pppd; "LCP: timeout sending Config-Requests", which then results in the connection disconnecting again.
 
Is anyone able to help me solve this problem so that I can successfully connect? Thanks in advance for your help. It will be greatly appreciated.

PS: This device works perfectly when used under both Windows 7/8.1/10 and Ubuntu 15.04/16.10.

Here is the output from my console:
 

  Reveal hidden contents

 

Link to comment
Share on other sites

  • Administrators

You obviously have the WWAN module correctly setup since it's clearly detected by the OS and you initiate connections. I'd say it's your apn settings that are probably incorrect. May be you can post details of those settings.

Link to comment
Share on other sites

I have attached screenshots of the various settings related to this.

To inject my device into CellPhoneHelper.kext, I actually created an Codeless Injector kext which is loaded by Clover. Following is the content of the Info.plist file:
 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>English</string>
	<key>CFBundleGetInfoString</key>
	<string>Ericsson H5321gw 3G Wireless WAN Device Driver</string>
	<key>CFBundleIdentifier</key>
	<string>com.ericsson.h5321gw</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>Ericsson H5321gw 3G Wireless WAN Device Driver</string>
	<key>CFBundlePackageType</key>
	<string>KEXT</string>
	<key>CFBundleVersion</key>
	<string>1.0.0</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>IOKitPersonalities</key>
	<dict>
		<key>0x0BDB/0x1926 Ericsson H5321 gw</key>
		<dict>
			<key>CFBundleIdentifier</key>
			<string>com.apple.driver.AppleUSBHostMergeProperties</string>
			<key>IOClass</key>
			<string>AppleUSBHostMergeProperties</string>
			<key>IOProviderClass</key>
			<string>IOUSBHostDevice</string>
			<key>IOProviderMergeProperties</key>
			<dict>
				<key>DeviceModemOverrides</key>
				<dict>
					<key>AccessPointName</key>
					<string>connect</string>
					<key>ConnectionPersonality</key>
					<string>Sony Ericsson GPRS</string>
					<key>ConnectionScript</key>
					<string>Generic GPRS.ccl</string>
					<key>DeviceContextID</key>
					<string>1</string>
					<key>DeviceModel</key>
					<string>GPRS (GSM/3G)</string>
					<key>Device Vendor</key>
					<string>Sony Ericsson</string>
				</dict>
				<key>DevicePPPOverrides</key>
				<dict>
					<key>LCPMTU</key>
					<integer>1450</integer>
				</dict>
				<key>InfoCommands</key>
				<dict>
					<key>ATCommands</key>
					<dict>
						<key>DirectoryNumber</key>
						<string>+cnum</string>
						<key>IMEI</key>
						<string>+cgsn</string>
						<key>IMSI</key>
						<string>+cimi</string>
						<key>Manufacturer</key>
						<string>+cgmi</string>
						<key>Model</key>
						<string>+cgmm</string>
						<key>ModemSW</key>
						<string>+cgmr</string>
					</dict>
					<key>HiddenProperties</key>
					<dict>
						<key>CommandPortBaseName</key>
						<string>wwan</string>
						<key>ControlPortBaseName</key>
						<string>wwan</string>
						<key>DataPortBaseName</key>
						<string>wwan</string>
						<key>InterfaceDriver</key>
						<string>AppleUSBCDC</string>
						<key>StatusType</key>
						<string>CellPhoneGSM</string>
					</dict>
				</dict>
				<key>Initializing</key>
				<true/>
				<key>InterfaceMapping</key>
				<dict>
					<key>2</key>
					<dict>
						<key>name</key>
						<string>wwan</string>
					</dict>
				</dict>
				<key>WWAN</key>
				<true/>
			</dict>
			<key>bcdDevice</key>
			<integer>0</integer>
			<key>idProduct</key>
			<integer>6438</integer>
			<key>idVendor</key>
			<integer>3035</integer>
		</dict>
	</dict>
	<key>OSBundleLibraries</key>
	<dict>
		<key>com.apple.driver.AppleUSBHostMergeProperties</key>
		<string>1.0</string>
		<key>com.apple.iokit.IOUSBHostFamily</key>
		<string>1.0.1</string>
		<key>com.apple.kpi.iokit</key>
		<string>8.0</string>
		<key>com.apple.kpi.libkern</key>
		<string>9.0.0</string>
	</dict>
</dict>
</plist>

This was created based on information in another post here. The F5521gw is virtually the same card as this one, with the only difference being that the F is the Full-height mPCI version where as the H is the Half-height version.

From the information I have found; This device has these interfaces:
 - H5321 gw Mobile Broadband Modem

 - H5321 gw Mobile Broadband Data Modem
 - H5321 gw Mobile Broadband GPS Port
 - H5321 gw Mobile Broadband Device Management
 - H5321 gw Mobile Broadband USIM Port

IORegistryEditor shows this device as having 10 interfaces? IOReg dump attached. You'll find it under XHC@14 -> HSP4@144 -> H5321 gw@144

post-98153-0-01999700-1475832174_thumb.png

post-98153-0-36283100-1475832211_thumb.png

post-98153-0-56444400-1475832228_thumb.png

post-98153-0-69869700-1475833191_thumb.png

ThinkBook.ioreg.zipFetching info...

Link to comment
Share on other sites

  • Administrators

I would suggest you add all H5321gw entries to the list of installed interfaces and try to connect using the specific WWAN entry.

 

NB: I have not looked very deep into the difference between models 5321gw and 5521gw but the H5321gw is half-size model of F5321gw, not F5521gw. H5321gw datasheet specifies it was designed for tablets, which meant reduced size and very-low power consumption. I also saw that the 5321gw model supports HSPA Evolution, not the 5521gw. Other than that, these modules appear indeed quite similar (21Mbps download, 5,76Mbps upload).

Link to comment
Share on other sites

  • Administrators

Try to revert to patched CellPhoneHelper.kext and make sure to patch your current vanilla kext (it varies slightly between OS X versions and releases). Your injector header is a little different from the full header of the vanilla kext, though I cannot say if that's an issue per sé.

 

One other thing. You have:

<key>AccessPointName</key>
<string>connect</string>

when El Capitan 10.11.6 vanilla kext has:

<key>AccessPointName</key>
<string>Obtain From Service Provider</string>

Why don't you try the vanilla settings instead?

 

One last thing. Although it only happened to me once and under ML when I 1st played with WWAN modules a few years ago, I had to specify a username + password in the WWAN module PrefPane tab. I never had to do it again with subsequent installations. You could be in that same situation. All details are here. Check your telco/service provider's published APN settings, they're usually available on the web. Examples here or here.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...