kmod-usb-bcma is not available

Nerijus Baliūnas nerijus at users.sourceforge.net
Tue Aug 18 05:25:11 EDT 2020


Just FYI - no, bcma-hcd was not needed, /etc/init.d/gtm382 was enough for 
lsusb to see modem:

#!/bin/sh /etc/rc.common

START=11

cd /sys/class/gpio
echo 4 > export
echo 5 > export
echo 7 > export
cd
echo out > /sys/class/gpio/gpio4/direction
echo 1 > /sys/class/gpio/gpio4/value
echo out > /sys/class/gpio/gpio7/direction
echo out > /sys/class/gpio/gpio4/direction
echo 1 > /sys/class/gpio/gpio4/value
echo out > /sys/class/gpio/gpio5/direction
echo 1 > /sys/class/gpio/gpio5/value

2020-08-14 15:32, Nerijus Baliūnas wrote:
> Hello,
> 
> I am using openwrt-19.07 branch, CONFIG_TARGET_brcm47xx, device is Option 
> Globesurfer III.
> I have an older openwrt image from 2015 with kernel 3.3.8, where 3g modem is 
> seen by lsusb:
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 04cc:1520 ST-Ericsson USB 2.0 Hub (Avocent KVM)
> Bus 001 Device 003: ID 0af0:7601 Option Globetrotter MO40x 3G Modem (GTM 
> 382)
> 
> With openwrt-19.07 branch lsusb does not see it:
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 002: ID 04cc:1520 ST-Ericsson USB 2.0 Hub (Avocent KVM)
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> 
> I suspect it is because older image has bcma-hcd.ko kernel module. I tried 
> to include
> kmod-usb-bcma in openwrt-19.07, but when compiling I get:
> WARNING: kmod-usb-bcma is not available in the kernel config - generating 
> empty package.
> Why is it so? In package/kernel/linux/modules/usb.mk:
> define KernelPackage/usb-ohci
>   TITLE:=Support for OHCI controllers
>   DEPENDS:= \
>         +TARGET_bcm53xx:kmod-usb-bcma \
>         +TARGET_brcm47xx:kmod-usb-bcma \
>         +TARGET_brcm47xx:kmod-usb-ssb



More information about the openwrt-devel mailing list