Bananian

[SOLVED] BananaPI with 2 wifi dongle at same time

7 2300
AlterX  
Edited by AlterX at Tue Feb 24, 2015 03:18

Hi all,
I am trying to use 2 identical dongles on my banana without success.
If I use one dongle at time it works, but both are not working even if dmesg is finding that in the same way it does with the working one.
I saw other cases on raspberry (even if you use different wifi chipset) and someone resolved blacklisting driver, but for me it seems very strange.
I tried to get it up manually without success (link bla bla doesn't exist).

EDIT: I forgot to say that I am using one dongle as AP and one as client.

For me 3 can be problems:
1. Limit/bug of Bananian
2. udev rule on same chipset that prevent to activate the second wifi dongle
3. Protection mode due to too much consumption of energy

Someone has resolved or had same problem?
AlterX  
Looking at my dmesg, I discovered something strange:
[    2.310912] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.327923] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.341209] usb usb4: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.352847] usb usb4: Manufacturer: Linux 3.4.104+ ohci_hcd
[    2.361536] usb usb4: SerialNumber: sw-ohci
[    2.392579] usbcore: registered new interface driver usb-storage
[    2.431750] usb 1-1: SerialNumber: 00E04C0001
[    2.584735] usb 3-1: new high-speed USB device number 2 using sw-ehci
[    2.755070] usb 3-1: New USB device found, idVendor=0bda, idProduct=8179
[    2.773750] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.783829] usb 3-1: Product: 802.11n NIC
[    2.790871] usb 3-1: Manufacturer: Realtek
[    2.798259] usb 3-1: SerialNumber: 00E04C0001
[    2.868288] usbcore: registered new interface driver usbhid
[    2.876696] usbhid: USB HID core driver
[   16.018871] sw_usb_enable_hcd: usbc_num = 2
[   16.579994] usbcore: registered new interface driver rtl8188eu

As you can see above, it seems that the second usb is configured as usb-storage! can be that due to I previously put in a usb-storage and udev is remember this?

AlterX  
Edited by AlterX at Tue Feb 17, 2015 11:12

This is another strange thing:
[  105.189722] usb 3-1: new high-speed USB device number 2 using sw-ehci
[  105.350831] usb 3-1: New USB device found, idVendor=0bda, idProduct=8179
[  105.363944] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  105.374379] usb 3-1: Product: 802.11n NIC
[  105.381669] usb 3-1: Manufacturer: Realtek
[  105.389304] usb 3-1: SerialNumber: 00E04C0001
[  105.471074] sw_usb_enable_hcd: usbc_num = 2
[  105.622558] usbcore: registered new interface driver rtl8188eu
[  106.535742] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[  167.345962] ehci_irq: port change detect
[  167.624468] usb 1-1: new high-speed USB device number 2 using sw-ehci
[  167.785595] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179
[  167.798711] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  167.809141] usb 1-1: Product: 802.11n NIC
[  167.816415] usb 1-1: Manufacturer: Realtek
[  167.824029] usb 1-1: SerialNumber: 00E04C0001
[  167.984317] ERROR: 256 KiB atomic DMA coherent pool is too small!
[  167.984329] Please increase it with coherent_pool= kernel parameter!



I tried to change this as parameter, but it seems a blackbox...there is no so called file uEnv.txt, no one knows where this file should be and no one knows what the format! I created a file in /boot and just put coherent_pool=2M of course without any success.

AlterX  
Athore strange error found right now:

[    0.392730] usbcore: registered new interface driver usbfs
[    0.397093] usbcore: registered new interface driver hub
[    0.401274] usbcore: registered new device driver usb
[    0.435867] WRN287(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: det_vbus pin is invaild
[    0.443183] WRN426(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: check_usb_board_info failed
[    0.450861] WRN480(drivers/usb/sunxi_usb/manager/usb_manager.c):ERR: get_usb_cfg failed
[    1.686934] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.699879] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.713515] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.725504] usb usb1: Manufacturer: Linux 3.4.104+ ehci_hcd
[    1.734195] usb usb1: SerialNumber: sw-ehci
[    1.878628] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    1.891609] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.904929] usb usb2: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    1.916597] usb usb2: Manufacturer: Linux 3.4.104+ ohci_hcd
[    1.925314] usb usb2: SerialNumber: sw-ohci
[    2.074241] usb 1-1: new high-speed USB device number 2 using sw-ehci
[    2.107057] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    2.120043] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.133707] usb usb3: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.145722] usb usb3: Manufacturer: Linux 3.4.104+ ehci_hcd
[    2.154427] usb usb3: SerialNumber: sw-ehci
[    2.265411] usb 1-1: New USB device found, idVendor=0bda, idProduct=8179
[    2.278267] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.288382] usb 1-1: Product: 802.11n NIC
[    2.295468] usb 1-1: Manufacturer: Realtek
[    2.305286] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    2.318227] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.331513] usb usb4: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    2.343150] usb usb4: Manufacturer: Linux 3.4.104+ ohci_hcd
[    2.351840] usb usb4: SerialNumber: sw-ohci
[    2.382871] usbcore: registered new interface driver usb-storage
[    2.422072] usb 1-1: SerialNumber: 00E04C0001
[    2.575110] usb 3-1: new high-speed USB device number 2 using sw-ehci
[    2.745433] usb 3-1: New USB device found, idVendor=0bda, idProduct=8179
[    2.764111] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.774190] usb 3-1: Product: 802.11n NIC
[    2.781232] usb 3-1: Manufacturer: Realtek
[    2.788621] usb 3-1: SerialNumber: 00E04C0001
[    2.858535] usbcore: registered new interface driver usbhid
[    2.866944] usbhid: USB HID core driver
[   16.108955] sw_usb_enable_hcd: usbc_num = 2
[   16.668645] usbcore: registered new interface driver rtl8188eu

AlterX  
I found this udev rule example:
  1. SUBSYSTEM="usb", ATTRS{idVendor}="xxxx", ATTRS{idProduct}="xxxx", RUN+="modprobe 8188eu"
Copy the Code
but I have no clue where to use this, someone knows?

AlterX  
I think I have solved problem just setting coherent_pool=2M in the boot text file

Roy360  
Edited by Roy360 at Sun Mar 1, 2015 14:49

mind explaining how you even got one to work? I stopped using Bananarian because I couldn't get it to connect to my wifi network.

I've tried following guides for Debian on how to connect to wireless networks, but there's always atleast once command that fails to run.

TIA

AlterX  
What do you mean? I have just attached it and it worked out of box!

You have to log in before you can reply Login | Sign Up

Points Rules