Re: How to support Huawei ET302
Thanks for the info. I really should start to post the "echo" line with the class restriction. The respective kernel that understands this must be spread wide by now.
Also, there is no negative effect if the kernel is older.
Also, there is no negative effect if the kernel is older.
Re: How to support Huawei ET302
i met the same problem.Josh wrote:Thanks for the info. I really should start to post the "echo" line with the class restriction. The respective kernel that understands this must be spread wide by now.
Also, there is no negative effect if the kernel is older.
does any body fixed this?
i also install huawei linux driver , doesn't work.
root@raspberrypi:~/Desktop/driver# ./install /root/Desktop
DRIVER COPY START
STA_PATH_FLAG=.
STA_PATH_FULL=/root/Desktop/driver/install
START_PATH_DRIVER=/root/Desktop/driver
CURRENT install from ./install
INSTALL_PATH=/root/Desktop
DRIVER COPY END
have usb_modeswitch rules to HUAWEI DataCard: COUNT=0
ls: cannot access /dev/ttyUSB?: No such file or directory
ttyUSB%n not exist,ok
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'cdc_ether': No such file or directory
Error: could not remove module cdc_ether: No such file or directory
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'usbnet': No such file or directory
Error: could not remove module usbnet: No such file or directory
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'hw_cdc_driver': No such file or directory
Error: could not remove module hw_cdc_driver: No such file or directory
make -C src/ clean
make[1]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers *.order
/root/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh "clean" "/lib/modules/3.18.11+/build/include/linux/usb"
rmmod -f hw_cdc_driver
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'hw_cdc_driver': No such file or directory
Error: could not remove module hw_cdc_driver: No such file or directory
Makefile:37: recipe for target 'clean' failed
make[1]: *** [clean] Error 1
make[1]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:30: recipe for target 'clean' failed
make: *** [clean] Error 2
make -C src/ modules
make[1]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
#/root/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh "modules" "/lib/modules/3.18.11+/build/include/linux/usb"
make -C /lib/modules/3.18.11+/build SUBDIRS=/root/Desktop/driver/ndis_driver/ndis_src/src modules
make[2]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
make[2]: *** /lib/modules/3.18.11+/build: No such file or directory. Stop.
make[2]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:32: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:27: recipe for target 'modules' failed
make: *** [modules] Error 2
make -C src/ install
make[1]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
#install -m 744 -c hw_cdc_driver.o /lib/modules/3.18.11+/kernel/drivers/usb/net
#depmod -a
#modprobe hw_cdc_driver
/root/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh "install"
modprobe hw_cdc_driver
FATAL: Module hw_cdc_driver not found.
Makefile:43: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:33: recipe for target 'install' failed
make: *** [install] Error 2
Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel buid(/lib/modules/3.18.11+/build) to be all installed?
Re: How to support Huawei ET302
There is no linux kernel driver directly supporting your device and I don't think it is supported in Huawei's own "linux datacard driver", it is not listed in their udev rules files.abianyu wrote:i met the same problem.
does any body fixed this?
i also install huawei linux driver , doesn't work.
I think you'd better look for another td-scdma dongle, Huawei has others which can work in linux.
Re: How to support Huawei ET302
LOM wrote:There is no linux kernel driver directly supporting your device and I don't think it is supported in Huawei's own "linux datacard driver", it is not listed in their udev rules files.abianyu wrote:i met the same problem.
does any body fixed this?
i also install huawei linux driver , doesn't work.
I think you'd better look for another td-scdma dongle, Huawei has others which can work in linux.
Hey, thanks for reply:
i found et30 listed in their rules file "driver\50-Huawei-Datacard.rules ":
Line 91: SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1D50*", KERNEL=="sr[0-9]", NAME="hwcdrom", MODE="0666"
Line 1003: SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1D50*", KERNEL=="ttyACM*", ATTRS{bInterfaceNumber}=="01", ATTRS{bInterfaceProtocol}=="01", NAME="ttyUSB_utps_modem"
Line 1004: SUBSYSTEMS=="usb", ATTRS{modalias}=="usb:v12D1p1D50*", KERNEL=="ttyACM*", ATTRS{bInterfaceNumber}=="03", ATTRS{bInterfaceProtocol}=="01", NAME="ttyUSB_utps_pcui"
i also found in chinese forum that sb installed huawei linux driver successfully(https://forum.suse.org.cn/viewtopic.php?f=3&t=589), but i didn't success.
Re: How to support Huawei ET302
You are right, I found it now when turning off "case sensitive" in the search, I searched for 1d50 ..abianyu wrote:
Hey, thanks for reply:
i found et30 listed in their rules file "driver\50-Huawei-Datacard.rules ":
the udev rule shows that 2 ttyACM devices are expected, one for the ppp modem and one for AT cmds so the Huawei ndis driver is not used from what I can see.
Re: How to support Huawei ET302
currently, i can't install the huawei linux driver successfully, how to fix the problem?LOM wrote:You are right, I found it now when turning off "case sensitive" in the search, I searched for 1d50 ..abianyu wrote:
Hey, thanks for reply:
i found et30 listed in their rules file "driver\50-Huawei-Datacard.rules ":
the udev rule shows that 2 ttyACM devices are expected, one for the ppp modem and one for AT cmds so the Huawei ndis driver is not used from what I can see.
when installing ,it shows:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
root@raspberrypi:~/Desktop/driver# ./install /root/D*
DRIVER COPY START
STA_PATH_FLAG=.
STA_PATH_FULL=/root/Desktop/driver/install
START_PATH_DRIVER=/root/Desktop/driver
CURRENT install from ./install
INSTALL_PATH=/root/Desktop
DRIVER COPY END
have usb_modeswitch rules to HUAWEI DataCard: COUNT=0
ls: cannot access /dev/ttyUSB?: No such file or directory
ttyUSB%n not exist,ok
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'cdc_ether': No such file or directory
Error: could not remove module cdc_ether: No such file or directory
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'usbnet': No such file or directory
Error: could not remove module usbnet: No such file or directory
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'hw_cdc_driver': No such file or directory
Error: could not remove module hw_cdc_driver: No such file or directory
make -C src/ clean
make[1]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_version s Module.symvers Modules.symvers *.order
/root/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh "clean" "/lib/modul es/3.18.11+/build/include/linux/usb"
rmmod -f hw_cdc_driver
libkmod: ERROR ../libkmod/libkmod-module.c:753 kmod_module_remove_module: could not remove 'hw_cdc_driver': No such file or directory
Error: could not remove module hw_cdc_driver: No such file or directory
Makefile:37: recipe for target 'clean' failed
make[1]: *** [clean] Error 1
make[1]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:30: recipe for target 'clean' failed
make: *** [clean] Error 2
make -C src/ modules
make[1]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
#/root/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh "modules" "/lib/mo dules/3.18.11+/build/include/linux/usb"
make -C /lib/modules/3.18.11+/build SUBDIRS=/root/Desktop/driver/ndis_driver/ndi s_src/src modules
make[2]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
make[2]: *** /lib/modules/3.18.11+/build: No such file or directory. Stop.
make[2]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:32: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:27: recipe for target 'modules' failed
make: *** [modules] Error 2
make -C src/ install
make[1]: Entering directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
#install -m 744 -c hw_cdc_driver.o /lib/modules/3.18.11+/kernel/drivers/usb/net
#depmod -a
#modprobe hw_cdc_driver
/root/Desktop/driver/ndis_driver/ndis_src/src/add_header.sh "install"
modprobe hw_cdc_driver
FATAL: Module hw_cdc_driver not found.
Makefile:43: recipe for target 'install' failed
make[1]: *** [install] Error 1
make[1]: Leaving directory '/root/Desktop/driver/ndis_driver/ndis_src/src'
Makefile:33: recipe for target 'install' failed
make: *** [install] Error 2
Install NDIS driver failed.
The compiling environment is not all ready.
Please check gcc, make and kernel buid(/lib/modules/3.18.11+/build) to be all installed?
------------------------------------------------------------------------------------------------------------------------------------------------------------------
my linux os is: Linux raspberrypi 3.18.11+ #781 PREEMPT Tue Apr 21 18:02:18 BST 2015 armv6l GNU/Linux
the driver dl url : http://download-c.huawei.com/download/d ... iteCode=cn
i need help,thank u!
Re: How to support Huawei ET302
Did you check if "/dev/ttyACM0" exists once the modem is connected? If it's there then you don't need any special driver as LOM pointed out.
If you insist on compiling the Huawei driver:
You need to check if "/lib/modules/3.18.11+/build" is a symbolic link to your configured kernel source.
If you insist on compiling the Huawei driver:
You need to check if "/lib/modules/3.18.11+/build" is a symbolic link to your configured kernel source.
Re: How to support Huawei ET302
thanks.Josh wrote:Did you check if "/dev/ttyACM0" exists once the modem is connected? If it's there then you don't need any special driver as LOM pointed out.
If you insist on compiling the Huawei driver:
You need to check if "/lib/modules/3.18.11+/build" is a symbolic link to your configured kernel source.
there's no /dev/ttyACM0 exists after i insert the et302 dongle.
------------------------------------------------------------------------------
root@raspberrypi:/lib/modules# ls
3.18.11+ 3.18.11-v7+
--------------------------------------------------------------------------------
root@raspberrypi:/lib/modules/3.18.11+# ls
kernel modules.alias.bin modules.builtin.bin modules.dep.bin modules.order modules.symbols
modules.alias modules.builtin modules.dep modules.devname modules.softdep modules.symbols.bin
--------------------------------------------------------------------------------------------------------------------------------------
"You need to check if "/lib/modules/3.18.11+/build" is a symbolic link to your configured kernel source.[/quote]"
how to check this?
could u help me compiling the Huawei driver step by step?
i'm a beginner to linux & compiling stuff.
thanks.
Re: How to support Huawei ET302
Sorry, this is not the place for basic compilation support - there are countless other sources that can help there, like this one:
http://askubuntu.com/questions/323031/h ... nd-devices
Just google "compile huawei driver module".
http://askubuntu.com/questions/323031/h ... nd-devices
Just google "compile huawei driver module".
Re: How to support Huawei ET302
thank you.Josh wrote:Sorry, this is not the place for basic compilation support - there are countless other sources that can help there, like this one:
http://askubuntu.com/questions/323031/h ... nd-devices
Just google "compile huawei driver module".
if i don't compile the driver(seems to hard to me ) ,is there a way let my et302 work properly? Only use "usb_modeswitch"?
thanks
Re: How to support Huawei ET302
Does anybody fix the problem?