OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> Usb "retail Plus" Wifi
Capn_Fish
post Nov 30 2007, 08:53 PM
Post #16





Group: Members
Posts: 2,352
Joined: 30-July 06
Member No.: 10,575



I did strip it, mostly out of habit. I'll try again tomorrow.
Go to the top of the page
 
+Quote Post
Antikx
post Dec 1 2007, 12:27 PM
Post #17





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



smile.gif OK, thanks.
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 1 2007, 02:22 PM
Post #18





Group: Members
Posts: 2,352
Joined: 30-July 06
Member No.: 10,575



Here's the new module, a.k.a. the same module not stripped smile.gif.
Attached File(s)
Attached File  zd1211b_new.tar.gz ( 126.07K ) Number of downloads: 9
 
Go to the top of the page
 
+Quote Post
Antikx
post Dec 11 2007, 10:19 PM
Post #19





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



I think we are getting warmer here!
when I plug it in, dmesg now says this:
CODE
usb 1-2: configuration #1 chosen from 1 choice

_____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
/ /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.22.0.0-development
vendor_id = 0ace
product_id = 1215
USB 1.1 Host
Release Ver = 4810
EEPORM Ver = 4810
Finsih download Firmware. Ready to reboot
PA type: 0
PHYNEWLayout = 1
Airoha AL2230S_RF
OverWrite CR47 = 0x1C
zd1205_config: EEP(HWFeature)=0x580
AllowedChannel = 000107ff
Region:16
usbcore: registered new driver zd1211b


EDIT:
Next I did a:
CODE
modprobe -v zd1211b

then typed:
CODE
ifconfig eth0 up

It now just blinks on and off, now.

I guess I need to figure out how to get it to find my AP next.
Any advice, please?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 12 2007, 04:43 AM
Post #20





Group: Members
Posts: 2,352
Joined: 30-July 06
Member No.: 10,575



Cool! I had little hope that it would work.

The usual

CODE
iwconfig mode managed essid YOURSSID key WEPKEY power 1
dhcpcd INTERFACE


ought to do it, unless you're using WPA, in which case you need to use WPA_Supplicant

CODE
wpa_supplicant -Dzd1211b -iINTERFACE /etc/wpa_supplicant.conf


The above line may be wrong, as I'm doing it off the top of my head.
Go to the top of the page
 
+Quote Post
Antikx
post Dec 12 2007, 09:10 AM
Post #21





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



I've been trying that and it just keeps blinking. Tried it on two AP's.
hmmm...
any other advice?

I've signed up for their driver mail list so I'll tell them exactly what we have done and they should be able to help.

EDIT, here's the mail I sent to the list:
Hello,

First off, thanks for the work put into this driver. I'm sure it wasn't a walk in the park.

As per the Subject line I'm trying to get a USB Wifi device working on the Sharp Zaurus (a Linux sub-sub-laptop).

I started a thread on the OESF forum, if you want to read it first: http://www.oesf.org/forum/index.php?showtopic=25125

Someone who has the kernel source and a compile environment was kind enough to compile the driver for me.
I'm running a 2.6.16 kernel with the pdaXrom R198 distro. Because it no 2.6.18 or better he had to compile the one that was not supported. sad.gif

I've installed the kernel module and according to dmesg it looks like it loads OK:
CODE
usb 1-2: configuration #1 chosen from 1 choice

_____     ____    _    ____
|__  /   _|  _ \  / \  / ___|
  / / | | | | | |/ _ \ \___ \
/ /| |_| | |_| / ___ \ ___) |
/____\__, |____/_/   \_\____/
     |___/
ZD1211B - version 2.22.0.0-development
vendor_id = 0ace
product_id = 1215
USB 1.1 Host
Release Ver = 4810
EEPORM Ver = 4810
Finsih download Firmware. Ready to reboot
PA type: 0
PHYNEWLayout = 1
Airoha AL2230S_RF
OverWrite CR47 = 0x1C
zd1205_config: EEP(HWFeature)=0x580
AllowedChannel = 000107ff
Region:16
usbcore: registered new driver zd1211b

I've typed the following, but it still just keeps blinking and never connects to the AP:
CODE
modprobe -v zd1211b
ifconfig eth0 up
iwconfig eth0 rate 2000kb
iwconfig eth0 channel 11
iwconfig eth0 essid linksys
iwpriv eth0 set_mac_mode 3
iwconfig eth0 mode 2

(I read that I can't changed the channel while in managed mode... why is that?)

if I try and run "dhcpd eth0", it blinks for a bit and then seems to down the eth0 device

If I look at dmesg after I've tried connecting to an AP it starts out by saying:
CODE
ADDRCONF(NETDEV_UP): eth0: link is not ready
Wait too long to start scanning

then is says a lot of:
CODE
ZD1211_TX_BUSY is locked over 5 seconds
jiffies = 1817302, lastSetBusy = 1815785, HZ=100

(the above two lines repeat many times with only the jiffies and lastSetBusy numbers changing)

then near the bottom I get (FYI, might have been around when I unplugged the device):
CODE
macp is NULL or macp.flags.ZD1211_RUNNING
Wait too long to start scanning
soc: WM8750 <-> pxa2xx-i2s info
soc: rate mask 0x6fe
soc: min ch 2 max ch 2
soc: min rate 8000 max 96000
ADDRCONF(NETDEV_UP): eth0: link is not ready
Call StartSTA(IBSS or AP)
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 12 2007, 11:37 AM
Post #22





Group: Members
Posts: 2,352
Joined: 30-July 06
Member No.: 10,575



That sounds like what happens with my ZT6688 (DM9601) wired USB ethernet adapter. I insert it, the module loads, and I can get eth0 up, but dhcpcd times out (just like you said). I have no idea what is going on with it. It worked OK once when I wired it directly to a spare router with a ~0.5m cable, but nothing after that. You could try standing right next to the AP (seeing as how distance seemed to be a factor in my case).
Go to the top of the page
 
+Quote Post
kkazakov13
post Dec 12 2007, 11:51 AM
Post #23





Group: Members
Posts: 409
Joined: 3-December 06
Member No.: 13,063



Do you use powered USB hubs? Because ... I have an Asus WL-167G and under debian it showed in the logs, that the power is insufficient. But under beta3 - it just lights up and nothing more ... I don't have powered USB hub yet to try ...
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 12 2007, 12:48 PM
Post #24





Group: Members
Posts: 2,352
Joined: 30-July 06
Member No.: 10,575



Good point, I considered asking at some point, then forgot about it.

Unfortunately that can't be my issue. From some USB identification program, I have learned that my adapter should draw 150mA tops. sad.gif Not that that response was aimed at me.
Go to the top of the page
 
+Quote Post
Antikx
post Dec 12 2007, 01:58 PM
Post #25





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



smile.gif and sad.gif
Well kkazakov13... you called it.
It's cool that we now have a working driver on the Zaurus for a very cheap ($19) USB WiFi stick, but it's sad that it requires a powered USB hub.

Thanks guys!

My quest goes on... can anyone recommend a cheap (and small) USB WiFi device that doesn't require a powered hub?
Go to the top of the page
 
+Quote Post
Capn_Fish
post Dec 12 2007, 02:23 PM
Post #26





Group: Members
Posts: 2,352
Joined: 30-July 06
Member No.: 10,575



You can still stick it in your Z. I seem to recall AlbertR's site says you just need to bypass a resistor and then you can use it on USB power alone.

EDIT: Glad to hear the driver works (note to self: don't strip modules! smile.gif)
Go to the top of the page
 
+Quote Post
kkazakov13
post Dec 13 2007, 08:57 AM
Post #27





Group: Members
Posts: 409
Joined: 3-December 06
Member No.: 13,063



Yes, we can use description from here - http://www.seicento.selfip.org/zelectronic...ower_boost.html

unfortunately, I removed everything, got to the mentioned resistor ... but it was TOO SMALL, I barely saw it ... can't risk soldering on it. I have a friend with soldering skills in another city, which I will beg to help me smile.gif
Go to the top of the page
 
+Quote Post
Antikx
post Dec 13 2007, 12:06 PM
Post #28





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



hmmm... looks like I might need a better soldering kit and less coffee.

EDIT: coincidently, he mentions the exact same WiFi adapter. smile.gif
Go to the top of the page
 
+Quote Post
Drake01
post Dec 13 2007, 03:36 PM
Post #29





Group: Members
Posts: 226
Joined: 29-March 06
Member No.: 9,483



QUOTE(Antikx @ Dec 13 2007, 02:06 PM) *
hmmm... looks like I might need a better soldering kit and less coffee.

Didn't someone mention using a conductive "silver paint" to do something similar? Sounds like it would be a lot easier than trying to solder that.

I think I found the post I remembered. Apparently there was an issue with the conductivity of the "paint," but it might work for this application since the resistors would be in direct contact with each other and we're talking about much higher resistances than the 10 Ohms from pelrun's post.
Go to the top of the page
 
+Quote Post
Antikx
post Dec 19 2007, 10:30 AM
Post #30





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



QUOTE(Drake01 @ Dec 13 2007, 05:36 PM) *
QUOTE(Antikx @ Dec 13 2007, 02:06 PM) *
hmmm... looks like I might need a better soldering kit and less coffee.

Didn't someone mention using a conductive "silver paint" to do something similar? Sounds like it would be a lot easier than trying to solder that.

I think I found the post I remembered. Apparently there was an issue with the conductivity of the "paint," but it might work for this application since the resistors would be in direct contact with each other and we're talking about much higher resistances than the 10 Ohms from pelrun's post.


I have never heard of silver paint. I'll have to look into it. thanks.

Capn'Fish... would the driver that you compiled work under pdaXrom Beta3? I know you used the kernel sources from the 2.6.16 kernel, but I don't have enough experience to know how forgiving it will be when installed on a 2.4.x kernal system.

Go to the top of the page
 
+Quote Post

3 Pages V  < 1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd May 2015 - 07:17 PM