14e4:4727 [Asus 1225B] echo 1 > /proc/brcm_monitor0 returns Input/output error
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | broadcom-sta (Ubuntu) |
Undecided
|
Unassigned | ||
Bug Description
I am trying to change the value in the file /proc/brcm_monitor0 from 0 to 1. This file is used to set Broadcom wifi modules into monitor mode.
The default method to do this is:
sudo -s
echo 1 > /proc/brcm_monitor0
But, this gives the error:
-bash: echo: write error: Input/output error
| LennartP (lennart-preuss) wrote : | #1 |
| LennartP (lennart-preuss) wrote : | #2 |
| Launchpad Janitor (janitor) wrote : | #3 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in broadcom-sta (Ubuntu): | |
| status: | New → Confirmed |
| Luis Fernando (maverickp) wrote : | #4 |
I found a solution for this error: take the source, replace buggy Ubuntu patch (0009-add-
INSTRUCTIONS:
1. Download driver source (6.30.223.141) from Broadcom
2. DO NOT APPLY LINUX 3.10 UBUNTU PATCH. Apply http://
3. Compile the driver. make
4. Testing the driver. sudo rmmod wl ; sudo insmod ./wl.ko
5. Enable monitor mode. sudo bash -c "echo 1 > /proc/brcm_
6. Test monitor prism0 device. sudo airodump-ng prism0
Works for me. I have a "Broadcom Corporation BCM43142 802.11b/g/n (rev 01)"
source: https:/
Any changes here? I confirm that patch from Archlinux works fine, so i believe it should be merged in Ubuntu tree.
| Martin Cigorraga (martincigorraga) wrote : | #6 |
Same here, would be nice to see this issue solved as 14.04 is an LTS.
| Christopher M. Penalver (penalvch) wrote : | #7 |
LennartP, could you please provide only the missing information following https:/
| tags: | added: trusty |
| Changed in broadcom-sta (Ubuntu): | |
| status: | Confirmed → Incomplete |
| LennartP (lennart-preuss) wrote : | #8 |
1) I really don't know which of the two have the bug, so here are both:
bcmwl-kernel-
Installed: 6.30.223.
Candidate: 6.30.223.
Version table:
*** 6.30.223.
500 http://
100 /var/lib/
broadcom-
Installed: 6.30.223.141-1
Candidate: 6.30.223.141-1
Version table:
*** 6.30.223.141-1 0
500 http://
100 /var/lib/
2)
lspci -vvnn | grep -A 9 Network
04:00.0 Network controller [0280]: Broadcom Corporation BCM4313 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
Subsystem: AzureWave Device [1a3b:2047]
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 17
Region 0: Memory at fea00000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: wl
lennart@slim2a:~$ uname -a
Linux slim2a 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:30:27 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
lennart@slim2a:~$ sudo dmidecode -s bios-version
209
lennart@slim2a:~$ sudo dmidecode -s bios-release-date
06/05/2012
| LennartP (lennart-preuss) wrote : | #9 |
3) Asus 1225B-SIV047M
4) Don't know, haven't tried it in previous releases.
5) Yes.
6) Have not tried this with the open source driver.
7) Have not tried this with ndiwrapper.
There is a later version of this driver from Broadcom, but I haven't tried it.
| summary: |
- echo 1 > /proc/brcm_monitor0 returns Input/output error + 14e4:4727 [Asus 1225B] echo 1 > /proc/brcm_monitor0 returns Input/output + error |
| Luis Fernando (maverickp) wrote : | #10 |
I'm using the latest Ubuntu 14.10,
kernel-source-bcmwl 6.30.223.248+bdcom
The problem has worsened. Now if I try to run the command ...
sudo bash -c "echo 1 > /proc/brcm_
... the whole system freezes and I have to hard-reset my laptop.
My wifi-card is: 06:00.0 Network controller: Broadcom Corporation BCM43142 802.11b/g/n (rev 01)
b43 not offer free support for my wifi card, and I'm forced to use this non-free module.
LennartP, please perform the following tests and report back:
+ As one wouldn't want both wl drivers installed simultaneously, as they provide different versions of the same driver. Hence, if you uninstall one, and vice versa, does it change anything?
+ For regression testing purposes, could you please test 12.04.0 with kernel 3.2.x (not 12.04.5 or some other variant) via http://
+ Which latest release of Ubuntu did you test specifically?
Luis Fernando, unfortunately this bug report is not scoped to you, your hardware, or your problem. If you want your issue focused on and addressed, please file a new report (not post "Me too!" comments here) following https:/
Thank you for your understanding.
Helpful bug reporting tips:
https:/
| Luis Fernando (maverickp) wrote : | #13 |
Ah. Sorry. I've been following this error since March, as it is exactly the same fault that I have, and I suspect that they are failures in the **general** code.
I've written about a possible solution (see above), it no longer works in later versions of the kernel ...
Not detracting from the work of others, but rather in the __general__ code (ubuntu patches? Upstream?) Is wrong, and that I have tested and exposed here.
The work-around has worked for me and worked some more we follow the error. We do not share the same hardware model.
If that is indeed something unique, hardware-specific Asus 1225B and I have to send another bug report for my Broadcom card, I understand and I will send another bug report.
(my English is not good, any offense / misunderstanding is unintentional)
Greetings!
| Launchpad Janitor (janitor) wrote : | #15 |
[Expired for broadcom-sta (Ubuntu) because there has been no activity for 60 days.]
| Changed in broadcom-sta (Ubuntu): | |
| status: | Incomplete → Expired |
| zebul666 (zebul666) wrote : | #16 |
On a DELL Inspiron 15 (3521) using BCM43142 with bcmwl-kernel-
sudo echo 1 > /proc/brcm_monitor0
just FREEZES the laptop with no other choice than to hard reboot....
| cooolman (coolman) wrote : | #17 |
root@ubuntu:~# sudo chmod 600 /sys/module/
root@ubuntu:~# sudo echo 200000 > /sys/module/
echo: write error: Input/output error
help, ubuntu 15.10


lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04