Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- It almost is. Made a test today. Following the procedures used to get drxvi314.ko to work with Kubuntu 13.04 I substituted 'bcm_wimax' for drxvi314.ko.
- It loaded with insmod.
- picocom successfully changed the modem to 'auto' (AT+4GMODE=2).
- Power light turns on. Some claim that this is how far the driver goes successfully.
- It went further for me.
- In the following I post the RAW data output (truncated) for my two attempts. The first one failed because I had changed the wimaxd.conf file to reflect values gleaned from Windows modem.ini. This was rejected. Changing back to the linux notation made the driver activate the modem and start connection attempts.
- The posted data need some interpretation, but I have marked some important steps of the process.
- Data:
- 10/04/13
- testing the functionality of bcm_wimax.
- Start 3g modem.
- Reset to 4G
- lsusb and demsg output below.
- 4Gmodem power light is on.
- link eth1 is not ready.
- Output:
- sudo dmesg -c|tail -15
- [ 5669.775395] sr 2:0:0:0: Attached scsi generic sg2 type 5
- [ 5669.916219] usb 1-4.2: reset full-speed USB device number 4 using ehci-pci
- [ 5676.690829] usb 1-4.2: USB disconnect, device number 4
- [ 5682.104169] usb 1-4.2: new full-speed USB device number 5 using ehci-pci
- [ 5682.197634] usb 1-4.2: New USB device found, idVendor=1fac, idProduct=0151
- [ 5682.197644] usb 1-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
- [ 5682.197651] usb 1-4.2: Product: U600 EVDO Modem
- [ 5682.197657] usb 1-4.2: Manufacturer: Franklin Wireless Corp.
- [ 5682.199422] cdc_acm 1-4.2:1.0: ttyACM0: USB ACM device
- [ 5895.296184] usb 1-4.1: new high-speed USB device number 6 using ehci-pci
- [ 5895.389034] usb 1-4.1: New USB device found, idVendor=198f, idProduct=0220 <-------
- [ 5895.389045] usb 1-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
- [ 5895.389052] usb 1-4.1: Product: BCSM250 Mobile WiMAX
- [ 5895.389058] usb 1-4.1: Manufacturer: Beceem Communications
- [ 5895.389063] usb 1-4.1: SerialNumber: SCG90xxxxx
- peter@pjj:~$
- peter@pjj:~$
- peter@pjj:~$
- peter@pjj:~$ sudo insmod /lib/modules/3.8.0-31-generic/kernel/drivers/staging/bcm/bcm_wimax.kopeter@pjj:~$
- peter@pjj:~$
- peter@pjj:~$ sudo dmesg -c|tail -50
- [ 5962.938527] bcm_wimax: module is from the staging directory, the quality is unknown, you have been warned.
- [ 5962.943588] beceem: Beceem Communications Inc. WiMAX driver, 5.2.45 <----
- [ 5962.943598] Copyright 2010. Beceem Communications Inc
- [ 5962.946845] usbbcm_device_probe:subtype[1] = 0x000000ff
- [ 5962.946854] usbbcm_device_probe:subtype[2] = 0x00000000
- [ 5962.946859] usbbcm_device_probe:subtype[4] = 0x00000000
- [ 5962.946864] usbbcm_device_probe:subtype[8] = 0x00000000
- [ 5962.946869] InitAdapter:Initialising Adapter = f6280500
- [ 5962.946933] InitAdapter:Adapter initialised<7>[ 5962.946941] usbbcm_device_probe:psIntfAdapter 0xf3877000
- [ 5962.947136] usb 1-4.1: RDM Chip ID 0xbece3301
- [ 5962.967455] beceem: AutoSyncup is Disabled
- [ 5962.967463] beceem: Disabling autolink up
- [ 5962.967467] beceem: DDR Setting: 3
- [ 5962.967471] beceem: Power Save Mode: 0
- [ 5962.967475] beceem: Enabling Auto Firmware Download
- [ 5962.967478] beceem: MIPSConfig : 0x0
- [ 5962.967481] beceem: PMU MODE: 0
- [ 5962.967484] beceem: uiEEPROMFlag : 0x2
- [ 5962.968037] reset_card_proc:Resetting UMA-B
- [ 5963.044132] usb 1-4.1: reset high-speed USB device number 6 using ehci-pci
- [ 5963.158339] ddr_init:Register Count is =48
- [ 5963.187891] usbbcm 1-4.1:1.0: beceem eth1: register usb-0000:00:1d.7-4.1 f4:63:49:07:27:9d
- [ 5963.188713] beceem eth1: link up failed (download in progress)
- [ 5963.247125] BcmFileDownload:Opened file is = /lib/firmware/macxvi200.bin and length =0x2084a0 to be downloaded at =0xbfc00000
- [ 5963.247135] BcmFileDownload:download start 84c96d93InterfaceFileDownload:Got end of file!
- [ 5963.825479] InterfaceFileReadbackFromChip:Got end of file!<6>[ 5963.842666] usbcore: registered new interface driver usbbcm <--------- here is the active driver!!!!!!
- [ 5963.910336] beceem eth1: enabling interface
- [ 5963.911138] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
- [ 5963.916215] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
- peter@pjj:~$
- comment:
- of course not. I have not set up matters and need to activate 4g Virgin Mobile for a day.
- ifconfig -a
- eth1 Link encap:Ethernet HWaddr f4:63:49:XX:XX:XX
- UP BROADCAST NOARP MULTICAST MTU:1400 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:5
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- sudo ifconfig eth1 down
- sudo ifconfig eth1 192.168.1.1 up
- ifconfig eth1
- eth1 Link encap:Ethernet HWaddr f4:63:49:xx:xx:xx
- inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
- UP BROADCAST NOARP MULTICAST MTU:1400 Metric:1
- RX packets:0 errors:0 dropped:0 overruns:0 frame:0
- TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
- collisions:0 txqueuelen:5
- RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
- Now a new connection 'wired ethernet' is shown by Network Manager <----------
- sudo wimaxd -D -c /etc/wimaxd.conf
- wimaxc -i
- both start;
- Wimaxd error:
- sudo wimaxd -D -c /etc/wimaxd.conf
- ********** CSCM Server Started ********** 10/04/13 11:54:21
- Processing configuration file
- =============================
- Reading CM Server options file '/etc/wimaxd.conf'
- Unknown option name: 'Bandwidth' <----------- taken from Windows modem.ini
- Unknown option name: 'CenterFrequency' <---------- taken from Windows modem.ini
- ERROR: No value given for option '545000,2647000,2657000,2667000,2499000,2505250,2510250,2515250,2521750,2526750,2531750,2538250,2543250,2548250,2554750,2559750,2564750,2621000,2627250,2632250,2637250,2643750,2648750,2653750,2660250,2665250,2670250,2676750,2681750,2686750,2578000,2584000,2590000,2596000,2602000,2608000,2575000,2581000,2587000,2593000,2599000,2605000,2611000'
- 3 errors found while reading options file.
- Option Values In Effect
- =======================
- BandwidthMHz <Not Set>
- ScanMinFrequencyMHz 0.000
- ScanMaxFrequencyMHz 0.000
- ScanStepFrequencyMHz 0.000
- CenterFrequencyMHz <Not Set>
- Modified wimaxd.conf file to restore old settings.
- Windows option names are not recognized. Original windows is: wimax_bandwidth and wimax_centerfrequency.
- Reverting back to old linux terminology file resulted in:
- sudo wimaxd -D -c /etc/wimaxd.conf
- wimaxc -i
- both start;
- wimaxd output (truncated):
- Option Values In Effect
- =======================
- BandwidthMHz 5.000 10.000
- ScanMinFrequencyMHz 0.000
- ScanMaxFrequencyMHz 0.000
- ScanStepFrequencyMHz 0.000
- CenterFrequencyMHz 2499.000 2505.250 2508.500 2510.250 2515.250 2518.500 2521.750 2525.000 2526.750 2528.500 2531.750
- 2535.000 2538.250 2541.500 2543.250 2545.000 2548.250 2551.500 2554.750 2559.750 2561.500
- 2564.750 2575.000 2578.000 2581.000 2584.000 2587.000 2590.000 2593.000 2596.000 2599.000
- 2602.000 2605.000 2608.000 2611.000 2621.000 2627.250 2630.500 2632.250 2637.250 2640.500
- 2643.750 2647.000 2648.750 2650.500 2653.750 2657.000 2660.250 2663.500 2665.250 2667.000
- 2670.250 2673.500 2676.750 2681.750 2683.500 2686.750
- . . .
- Message queue initialized.
- Process messages thread started successfully.
- Changed state to: Library initialized
- Timer Periodic Action thread has started.
- Timer Check Timeouts thread has started.
- Timer Authentication thread has started.
- Process Messages thread has started.
- Changed state to: Waiting for WiMAX adapter ...
- Trying to open device.
- Device opened successfully. <--------------------
- Registering callback function - Success. <--------------------
- Changed state to: WiMAX adapter initialized <-------------------
- . . .
- ***** Sending subscriber station information request
- Sent: 07 00 01 00
- =============== Received Message Start (2013/09/04 12:10:24.008) ===========
- u32State = WiMAX adapter initialized
- SS info response received (Type = 7 - Subtype = 1 - Length = 184)
- INFO: No socket in BeceemAPI_Unlock()
- Client socket FFFFFFFF unlock Beceem API: Was not locked (this is not an error)
- Found valid library version: 6.0.37
- =============== Received Message End (type=7 sub-type=1) ===============
- ***** Message sent successfully
- Changed state to: Waiting for WiMAX adapter ...
- ***** Sending idle mode status request (2013/09/04 12:10:24.200)
- Sent: 13 00 02 00
- ***** Message sent successfully
- ***** Sending shutdown status request (2013/09/04 12:10:24.201)
- Sent: 1E 00 05 00
- ***** Message sent successfully
- ***** Sending half-mini card status request (2013/09/04 12:10:24.201)
- Sent: 24 00 01 00
- ***** Message sent successfully
- ***** Sending link status request (2013/09/04 12:10:24.201)
- Sent: 02 00 03 00
- ***** Message sent successfully
- =============== Received Message Start (2013/09/04 12:10:24.201) ===========
- u32State = Waiting for WiMAX adapter ...
- Idle mode response received (Type = 19 - Subtype = 2 - Length = 8)
- Idle mode response length = 8
- Changed state to: Waiting for WiMAX adapter ...
- Not in idle mode.
- =============== Received Message End (type=19 sub-type=2) ===============
- =============== Received Message Start (2013/09/04 12:10:24.201) ===========
- u32State = Waiting for WiMAX adapter ...
- Shutdown response received (Type = 30 - Subtype = 5 - Length = 8)
- SUBTYPE_SHUTDOWN_MODE_STATUS_RESP return value = 00000001
- Changed state to: Waiting for WiMAX adapter ...
- =============== Received Message End (type=30 sub-type=5) ===============
- . . .
- = Received Message Start (2013/09/04 12:10:24.201) ===========
- u32State = Waiting for WiMAX adapter ...
- Network entry response received (Type = 2 - Subtype = 2 - Length = 52)
- Network Entry Status Received
- Link status = WAIT FOR PHY SYNC CMD
- Changed state to: Waiting for PHY sync start
- =============== Received Message End (type=2 sub-type=2) ===============
- =============== Received Message Start (2013/09/04 12:10:24.210) ===========
- u32State = Waiting for PHY sync start
- Half-mini card response received (Type = 36 - Subtype = 3 - Length = 4)
- Changed state to: Half-mini Card Device is not shut down
- =============== Received Message End (type=36 sub-type=3) ===============
- ***** Sending link status request (2013/09/04 12:10:28.206)
- Sent: 02 00 03 00
- ***** Message sent successfully
- =============== Received Message Start (2013/09/04 12:10:28.207) ===========
- u32State = Half-mini Card Device is not shut down
- Network entry response received (Type = 2 - Subtype = 2 - Length = 52)
- Network Entry Status Received
- Link status = WAIT FOR PHY SYNC CMD
- Changed state to: Waiting for PHY sync start
- =============== Received Message End (type=2 sub-type=2) ===============
- Got connection 1 from 127.0.0.1 <-------------------
- Wcm connection handling thread launched successfully
- Socket is 00000006
- Client socket 00000006 lock Beceem API: SUCCESS (wait = 0 ms)
- Client socket 00000006 unlock Beceem API: Success <---------
- ***** Sending link status request (2013/09/04 12:10:32.311)
- Sent: 02 00 03 00
- . . .
- =============== Received Message Start (2013/09/04 12:10:36.416) ===========
- u32State = Waiting for PHY sync start
- Network entry response received (Type = 2 - Subtype = 2 - Length = 52)
- Network Entry Status Received
- Link status = WAIT FOR PHY SYNC CMD
- =============== Received Message End (type=2 sub-type=2) ===============
- ***** Message sent successfully
- Received 7 bytes:
- 0000: 73 65 61 72 63 68 00
- Executing command 'search'
- Client socket 00000006 lock Beceem API: SUCCESS (wait = 0 ms)
- ***** Sending PHY sync down request
- Sent: 03 00 01 00
- ***** Message sent successfully
- Changed state to: Sync down request sent
- =============== Received Message Start (2013/09/04 12:10:36.725) ===========
- u32State = Sync down request sent
- Network entry response received (Type = 2 - Subtype = 2 - Length = 52)
- Network Entry Status Received
- Link status = HOST INITIATED SYNC DOWN <-----------------
- Changed state to: Connection error <-----------------
- . . .
- Search CF: 2499000 2505250 2508500 2510250 2515250 2518500 2521750 2525000 2526750 2528500 2531750 2535000 2538250 2541500 2543250 2545000 2548250 2551500 2554750 2559750 2561500 2564750 2575000 2578000 2581000 2584000 2587000 2590000 2593000 2596000 2599000 2602000 2605000 2608000 2611000 2621000 2627250 2630500 2632250 2637250 2640500 2643750 2647000 2648750 2650500 2653750 2657000 2660250 2663500 2665250 2667000 2670250 2673500 2676750 2681750 2683500 2686750
- ***** Sending network search request (2013/09/04 12:10:36.726)
- Sent: 01 00 01 00 00 00 00 00 02 00 00 00 02 00 00 00 88 13 00 00 10 27 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 39 00 00 00 B8 21 26 00 22 3A 26 00 D4 46 26 00 AA 4D 26 00 32 61 26 00 E4 6D 26 00 96 7A 26 00 48 87 26 00 1E 8E 26 00 F4 94 26 00 A6 A1 26 00 58 AE 26 00 0A BB 26 00 BC C7 26 00 92 CE 26 00 68 D5 26 00 1A E2 26 00 CC EE 26 00 7E FB 26 00 06 0F 27 00 DC 15 27 00 8E 22 27 00 98 4A 27 00 50 56 27 00 08 62 27 00 C0 6D 27 00 78 79 27 00 30 85 27 00 E8 90 27 00 A0 9C 27 00 58 A8 27 00 10 B4 27 00 C8 BF 27 00 80 CB 27 00 38 D7 27 00 48 FE 27 00 B2 16 28 00 64 23 28 00 3A 2A 28 00 C2 3D 28 00 74 4A 28 00 26 57 28 00 D8 63 28 00 AE 6A 28 00 84 71 28 00 36 7E 28 00 E8 8A 28 00 9A 97 28 00 4C A4 28 00 22 AB 28 00 F8 B1 28 00 AA BE 28 00 5C CB 28 00 0E D8 28 00 96 EB 28 00 6C F2 28 00 1E FF 28 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 . . . . (code truncated)
- ***** Message sent successfully
- =============== Received Message End (type=2 sub-type=2) ===============
- =============== Received Message Start (2013/09/04 12:10:36.785) ===========
- u32State = Connection error
- Network entry response received (Type = 2 - Subtype = 5 - Length = 12)
- Device status indication: Device is scanning <-----------Woooohhhhooooooo!!
- =============== Received Message End (type=2 sub-type=5) ===============
- ***** Sending link status request (2013/09/04 12:10:40.533)
- Sent: 02 00 03 00
- ***** Message sent successfully
- =============== Received Message Start (2013/09/04 12:10:40.535) ===========
- u32State = Connection error
- Network entry response received (Type = 2 - Subtype = 2 - Length = 52)
- Network Entry Status Received
- Link status = WAIT FOR PHY SYNC CMD
- Changed state to: Waiting for PHY sync start
- =============== Received Message End (type=2 sub-type=2) ===============
- . . .
- =============== Received Message Start (2013/09/04 12:10:46.211) ===========
- u32State = Waiting for PHY sync start
- Network entry response received (Type = 2 - Subtype = 5 - Length = 12)
- Device status indication: Device is ready <------------------------
- =============== Received Message End (type=2 sub-type=5) ===============
- =============== Received Message Start (2013/09/04 12:10:46.213) ===========
- u32State = Waiting for PHY sync start
- Network search response received (Type = 1 - Subtype = 1 - Length = 12)
- 0 base stations found. <------------------
- -- Network Search status: Network search complete
- Changed state to: Network Search completed
- Changed state to: Waiting for PHY sync start
- =============== Received Message End (type=1 sub-type=1) ===============
- DEBUG: ServerSocketResponse for ID=20 Text chars=41: Network search returned 0 base stations. <-------------
- Client socket 00000006 unlock Beceem API: Success
- ***** Sending link status request (2013/09/04 12:10:48.758)
- Sent: 02 00 03 00
- ***** Message sent successfully
- =============== Received Message Start (2013/09/04 12:10:48.758) ===========
- u32State = Waiting for PHY sync start
- Network entry response received (Type = 2 - Subtype = 2 - Length = 52)
- Network Entry Status Received
- Link status = WAIT FOR PHY SYNC CMD
- =============== Received Message End (type=2 sub-type=2) ===============
- Closing wimaxc -i. Code output:
- ^CTerminating Authentication Timer thread.
- Terminating Check Timeouts Timer thread.
- Timer Check Timeouts thread has finished.
- Terminating Periodic Action Timer thread.
- Closing device.
- So far the driver bcm_wimax is working just fine. Now it is up to me to activate a day of VM 4G and to find a location with good coverage.
- If this dirver really works, then it would be unneccessary to go through the trouble of compiling drxvi314.ko to new kernel versions.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement