Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
zd1211 usb device can't load its firmware
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Tue Jun 22, 2010 9:46 am    Post subject: zd1211 usb device can't load its firmware Reply with quote

My USB wifi adaptor works fine on my main PC, (I'm using it right now), but on my server the driver can't seem to load the firmware. The kernel has everything built-in, except for the zd1211rw driver which is built as a module. Here's some dmesg illustrating my problem:

modprobe zd1211rw; plug in USB adaptor:
usbcore: registered new interface driver zd1211rw
usb 1-1: new full speed USB device using ppc-of-ohci and address 4
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: reset full speed USB device using ppc-of-ohci and address 4
phy1: Selected rate control algorithm 'pid'
zd1211rw 1-1:1.0: phy1

ifconfig wlan0 up:
usb 1-1: firmware: requesting zd1211/zd1211b_ub
usb 1-1: Could not load firmware file zd1211/zd1211b_ub. Error number -2
zd1211rw 1-1:1.0: couldn't load firmware. Error number -2


The firmware is definitely in the right place, I downloaded it last night from the site mentioned in the kernel's menuconfig and installed it in /lib/firmware/zd1211rw/, as instructed by the README file in the tarball.

When I run ifconfig, it waits ages before finally saying "SIOCSIFFLAGS: No such file or directory"

My server is running 2.6.28-hardened-r9, and is a PPC system running on uClibc, if that matters.

Am I doing something wrong, or is there a bug?
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
paulusbrand
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2009
Posts: 111

PostPosted: Tue Jun 22, 2010 9:56 am    Post subject: Reply with quote

requesting zd1211/zd1211b_ub
/lib/firmware/zd1211rw/

See the difference? :wink:
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Tue Jun 22, 2010 10:02 am    Post subject: Reply with quote

My bad, I was writing from memory.
The folder on my filesystem is indeed /lib/firmware/zd1211/
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
eduardhc
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jan 2007
Posts: 97

PostPosted: Tue Jun 22, 2010 3:57 pm    Post subject: Reply with quote

Napalm Llama wrote:
My bad, I was writing from memory.
The folder on my filesystem is indeed /lib/firmware/zd1211/


Hi,
There's an ebuild for the zd1211 firmware in Portage. Just emerge it and it will install the firmware on the required location:
Code:

emerge zd1211-firmware


I have a zd1211-based adapter and it has always worked fine this way.

Regards
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Fri Jun 25, 2010 1:13 am    Post subject: Reply with quote

Nope, emerged it but the problem remains. I'm guessing this is a bug, I'll get reporting it...

edit: done.
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Fri Jun 25, 2010 9:38 am    Post subject: Reply with quote

I wanted to get rid of udev on my old laptop, so I've set up this: http://www.mail-archive.com/zd1211-devs@lists.sourceforge.net/msg01105.html

udev should do it by itself, by maybe doing those uploads one by one, you'll notice something wrong.
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Mon Jun 28, 2010 12:05 am    Post subject: Reply with quote

...you might be onto something there. I think I took udev out of that machine a while ago because it was causing more trouble than it was worth - and if zd1211rw doesn't work out-of-the-box without it, that's probably the source of the problem. Thanks for the link, I'll have a go at that :)
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Napalm Llama
Guru
Guru


Joined: 04 Jun 2005
Posts: 520
Location: Swansea, UK

PostPosted: Mon Jun 28, 2010 12:09 am    Post subject: Reply with quote

One thing - where do I put the script, and how do I get the driver to use it?
_________________
splig: amd64; nForce3; sata; GeForce 6600gt agp
muttley: EFIKA 5200B - PPC SoC :)

Registered Linux User #381314
# killall humans
Back to top
View user's profile Send private message
Paczesiowa
Guru
Guru


Joined: 06 Mar 2006
Posts: 593
Location: Oborniki Śląskie, Poland

PostPosted: Mon Jun 28, 2010 8:31 am    Post subject: Reply with quote

it doesn't matter where you put it, chmod +x it, and echo its location into /proc/sys/kernel/hotplug
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum