[ solved ] Problem with usb wifi adapter Dlink DWA-140 H/W Ver:B3

February 26th, 2012 Leave a comment Go to comments

HomeForumsGeeXboX for PC[ solved ] Problem with usb wifi adapter Dlink DWA-140 H/W Ver:B3

Tagged: 

This topic has 2 voices, contains 15 replies, and was last updated by  tomlohave 80 days ago.

Viewing 15 posts - 1 through 15 (of 16 total)
Author Posts
Author Posts
February 7, 2012 at 14:41 #2881

yellow44

Hello!
I have last geexbox build(geexbox-devel-20120207-r13917-i386) on my HTPC(AMD E-350).
And there is a DWA-140,but it’s no work.
There are rt2x00usb rt2800usb drivers not work automation too. I do modprobe rt2800usb
I found offical ralink driver on site http://www.ralinktech.com/en/04_support/support.php?sn=501
and Ubuntu Topic http://ubuntuforums.org/showthread.php?t=1914575
But I don’t found develpment tools(make gcc kernel source) in my geexbox and I don’t make offical driver.
Please Help!
Sorry for my english.

uname -a
Linux geexbox 3.2.4 #1 SMP Sun Feb 5 15:43:18 CET 2012 i686 GNU/Linux

dmesg
[ 123.584530] usbcore: registered new interface driver rt2800usb
[ 166.185989] usb 1-1: USB disconnect, device number 2
[ 168.976064] usb 1-1: new high-speed USB device number 5 using ehci_hcd
123.509986] cfg80211: Calling CRDA to update world regulatory domain
[ 123.584530] usbcore: registered new interface driver rt2800usb
[ 166.185989] usb 1-1: USB disconnect, device number 2
[ 168.976064] usb 1-1: new high-speed USB device number 5 using ehci_hcd
[ 286.881597] usbcore: deregistering interface driver rt2800usb
[ 293.948397] usbcore: registered new interface driver rt2800usb
[ 312.937227] usbcore: deregistering interface driver rt2800usb
[ 340.191415] cfg80211: Calling CRDA to update world regulatory domain
[ 340.199434] usbcore: registered new interface driver rt2800usb

lsusb:
Bus 001 Device 005: ID 2001:3c15 D-Link Corp.
Bus 001 Device 003: ID 067b:2528 Prolific Technology, Inc.
Bus 004 Device 002: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
lsmod:
rt2800usb 10861 0
rt2800lib 36025 1 rt2800usb
rt2x00usb 6981 1 rt2800usb
rt2x00lib 29235 3 rt2800usb,rt2800lib,rt2x00usb
mac80211 160117 3 rt2800lib,rt2x00usb,rt2x00lib
cfg80211 135874 2 rt2x00lib,mac80211
rfkill 6797 1 cfg80211

  • This reply was modified 80 days ago by  tomlohave.
February 8, 2012 at 02:50 #2887

tomlohave

seems to work : just chaneg /etc/network to enable dhcp in your wifi card (see documentation)

February 10, 2012 at 14:55 #2912

yellow44

Hello!
Thanks for your answer.
my network file.
cat /etc/network
ADDRESS=”"
DNS_SERVER=”"
FTP_SERVER=”true”
GATEWAY=”"
HIDDEN=”false”
HTTP_SERVER=”true”
IFACE=”wlan0″
NETWORK=”WLAN”
PASSPHRASE=”****”
SAMBA_SERVER=”true”
SECURITY=”RSN”
SSID=”****”
TELNET_SERVER=”true”
ZEROCONF=”true”

iwconfig
lo
eth0

There isn’t a wlan0 or ra0 in the system, becouse the driver is not work.
I think, it’s necessary make offical driver or update firmware in the system.

February 14, 2012 at 03:44 #2964

tomlohave

execute this in a virtual terminal

systemd-journalctl -a > /.root/result.txt

you should have a file called result.txt at the root of your usb stick

send result.txt

February 14, 2012 at 15:53 #2970

yellow44

Hi!

Thanks for you response.
I did it.
The file turned a large.
I upload it in my site, because the file can not be upload to this forum.

sitnikoff.su/result.txt

And I add full dmesg too.

sitnikoff.su/dmesg.txt

  • This reply was modified 92 days ago by  yellow44.
  • This reply was modified 92 days ago by  yellow44.
  • This reply was modified 92 days ago by  yellow44.
  • This reply was modified 92 days ago by  yellow44.
February 15, 2012 at 00:09 #2976

tomlohave

you need a firmware for your card : rtl8168e-2.fw
put it in firmware/rtl_nic/

edit : for unknow reason, this package exist in our repo, but it’s not included in our default iso, iw will add this

  • This reply was modified 91 days ago by  tomlohave.
  • This reply was modified 91 days ago by  tomlohave.
February 15, 2012 at 06:03 #2979

yellow44

Hello!
No, rtl8168e is ethernet gigabit network card, it’s work, but I don’t know how.

My usb WIFI adapter Dlink DWA-140 h/w ver:B3 does not work.
lsusb:
Bus 001 Device 005: ID 2001:3c15 D-Link Corp. <–this is it, and in the dmesg and systemd-journalctl -a output there isn't information about it(usb device). And the D-Link driver isn't load in the system. I load by manual: modprobe rt2800usb or rt2x00usb, but did not help. I think problem with uchi_hcd ohci_hcd echi_hcd or driver(firmware) for the device.
Feb 14 21:22:03 geexbox kernel: uhci_hcd: USB Universal Host Controller Interface driver
Feb 14 21:22:03 geexbox kernel: sl811: driver sl811-hcd, 19 May 2005
Feb 14 21:22:03 geexbox kernel: r8a66597_hcd: driver r8a66597_hcd, 2009-05-26
Feb 14 21:22:03 geexbox kernel: usbcore: registered new interface driver hwa-hc
Feb 14 21:22:03 geexbox kernel: usbcore: registered new interface driver wusb-cbaf
Feb 14 21:22:03 geexbox kernel: usbcore: registered new interface driver cdc_acm
Feb 14 21:22:03 geexbox kernel: cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

February 15, 2012 at 07:04 #2980

tomlohave

ok , my bad ;)

there is a solution, try and report please ;)

http://ubuntuforums.org/showpost.php?p=11638917&postcount=4

February 15, 2012 at 09:05 #2981

yellow44

Ok, I try it, thaks.

February 16, 2012 at 16:22 #2989

yellow44

Hello,
Faild.
I run
sudo gedit /etc/udev/rules.d/network_drivers.rules

ACTION==”add”, SUBSYSTEM==”usb”, ATTR{idVendor}==”2001″, ATTR{idProduct}==”3c15″, RUN+=”/sbin/modprobe -qba rt2800usb”

/etc/modprobe.d/network_drivers.conf

install rt2800usb /sbin/modprobe –ignore-install rt2800usb $CMDLINE_OPTS; /bin/echo “2001 3c15″ > /sys/bus/usb/drivers/rt2800/new_id #IT’S not work!!!

sudo mv /lib/firmware/rt2870.bin /lib/firmware/rt2870.old
sudo cp Desktop/RT2870_Firmware_V22/rt2870.bin /lib/firmware

sudo modprobe rt2800usb
dmesg
[ 153.434918] usb 1-1: USB disconnect, device number 2
[ 155.648099] usb 1-1: new high-speed USB device number 4 using ehci_hcd
[ 722.012119] usb 1-1: reset high-speed USB device number 4 using ehci_hcd
[ 722.168968] phy0 -> rt2800_init_eeprom: Error – Invalid RT chipset detected.
[ 722.168984] phy0 -> rt2x00lib_probe_dev: Error – Failed to allocate device.
[ 744.428156] usb 1-1: reset high-speed USB device number 4 using ehci_hcd
[ 744.584869] phy1 -> rt2800_init_eeprom: Error – Invalid RT chipset detected.
[ 744.584883] phy1 -> rt2x00lib_probe_dev: Error – Failed to allocate device.
[ 834.704721] usbcore: deregistering interface driver rt2800usb
[ 863.744965] rt2800usb: Unknown parameter `2001′
[ 874.265300] rt2800usb: Unknown parameter `2001:3c15′
[ 877.465885] usbcore: registered new interface driver rt2800usb
[ 892.476119] usb 1-1: reset high-speed USB device number 4 using ehci_hcd
[ 892.632976] phy2 -> rt2800_init_eeprom: Error – Invalid RT chipset detected.
[ 892.632990] phy2 -> rt2x00lib_probe_dev: Error – Failed to allocate device.
[ 965.191050] usbcore: deregistering interface driver rt2800usb
[ 1030.555606] cfg80211: Calling CRDA to update world regulatory domain
[ 1030.570364] usbcore: registered new interface driver rt2800usb
[ 1036.020111] usb 1-1: reset high-speed USB device number 4 using ehci_hcd
[ 1036.176929] phy0 -> rt2800_init_eeprom: Error – Invalid RT chipset detected.
[ 1036.176945] phy0 -> rt2x00lib_probe_dev: Error – Failed to allocate device.
[ 1062.702430] usbcore: deregistering interface driver rt2800usb
[ 1135.796390] cfg80211: Calling CRDA to update world regulatory domain
[ 1135.804599] usbcore: registered new interface driver rt2800usb
[ 1149.880116] usb 1-1: reset high-speed USB device number 4 using ehci_hcd
[ 1150.038696] phy0 -> rt2800_init_eeprom: Error – Invalid RT chipset detected.
[ 1150.038713] phy0 -> rt2x00lib_probe_dev: Error – Failed to allocate device.

And systemd-jou
Feb 16 21:45:08 geexbox kernel: usb 1-1: reset high-speed USB device number 4 using ehci_hcd
Feb 16 21:45:09 geexbox kernel: phy0 -> rt2800_init_eeprom: Error – Invalid RT chipset detected.
Feb 16 21:45:09 geexbox kernel: phy0 -> rt2x00lib_probe_dev: Error – Failed to allocate device.

I get it, when I run manual echo “2001 3c15″ > /sys/bus/usb/drivers/rt2800/new_id

I think maybe firmware bad or driver or other.
And I find abount this problem
http://rt2x00.serialmonkey.com/phpBB/viewtopic.php?f=5&t=6202
Maybe this problem connected with kernel: I use Linux version 3.2.4 (thomas@thomas-dv7) (gcc version 4.6.2 (GCC) ) #1 SMP Sat Feb 11 16:51:19 CET 2012, becouse I use geexbox-devel-20120212-r13950-i386 build.

February 18, 2012 at 13:44 #2996

tomlohave

ok thanks for the report. I “ll try to add the official driver. Let me some time. quite busy now ;)

February 24, 2012 at 15:53 #3136

tomlohave

Can you test this : http://download.openbricks.org/r13982/
use this iso + package ralink-8070-3070-3370-5372-usb_2.5.0.3-1_i686.opk
after installing this package, do :
depmod -a

  • This reply was modified 82 days ago by  tomlohave.
February 26, 2012 at 04:16 #3151

yellow44

Thanks, I try it now.

February 26, 2012 at 05:58 #3161

yellow44

It’s WORK!!! But in the package ralink-8070-3070-3370-5372-usb_2.5.0.3-1_i686 there isn’t firmware file(RT2870STA.dat). In the offical readme README_STA_usb have a paragraph about it: “5> $cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat”. Then I created these folders and copy the firmware file. And I create udev rule for boot /etc/udev/rules.d/network_drivers.rules:
ACTION==”add”, SUBSYSTEM==”usb”, ATTR{idVendor}==”2001″, ATTR{idProduct}==”3c15″, RUN+=”/sbin/modprobe -qba rt5370sta”

Thank you very mach for your help!
And I have two question:
Which is the build me used? r13982? or other?
And how I can connect udp IPTV to geexbox?

  • This reply was modified 80 days ago by  yellow44.
February 26, 2012 at 06:55 #3163

tomlohave

i will add this firmware, thanks for the test ;)
when i make a new iso, i upload all needed packages , so yours too.
for iptv, don’t know, i haven’t such service., do you have a link ?

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.