linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add device string to zd1211rw
@ 2009-07-12 20:16 Adrián Cereto
  2009-07-13 20:23 ` Hin-Tak Leung
  0 siblings, 1 reply; 4+ messages in thread
From: Adrián Cereto @ 2009-07-12 20:16 UTC (permalink / raw)
  To: dsd, kune, linux-wireless

I have a wireless adapter with the following device string from lsusb:
"ID 083a:e501 Accton Technology Corp. ZD1211B"

It's device string was not in the zd1211rw driver, so I wondered what
would happen if I added it to zd_usb.c... and voilà, now it works
great ;) (i'm writing this connected with that adapter)

I've tried it with compat-wireless-2.6.30, with kernels 2.6.28 (ubuntu
9.04) and 2.6.30 (debian sid), and it works. I've tried to do it with
the bleeding edge compat-wireless, but it wouldn't compile on any of
my machines (the stable version compiled just fine, though).

The only thing I did was to put the following line in the device
string list in drivers/net/wireless/zd1211rw/zd_usb.c:

       { USB_DEVICE(0x083a, 0xe501), .driver_info = DEVICE_ZD1211B }

Do I need to send you a patch?
(if it weren't such a minute modification I wouldn't doubt it)
I've never done it before, but i'll learn to do it if necessary ;).

If you need more testing on this device, count me.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add device string to zd1211rw
  2009-07-12 20:16 Add device string to zd1211rw Adrián Cereto
@ 2009-07-13 20:23 ` Hin-Tak Leung
  2009-07-13 20:46   ` Adrià Cereto Massagué
  0 siblings, 1 reply; 4+ messages in thread
From: Hin-Tak Leung @ 2009-07-13 20:23 UTC (permalink / raw)
  To: Adrián Cereto; +Cc: dsd, kune, linux-wireless

On Sun, Jul 12, 2009 at 9:16 PM, Adrián Cereto<ssorgatem@esdebian.org> wrote:
> I have a wireless adapter with the following device string from lsusb:
> "ID 083a:e501 Accton Technology Corp. ZD1211B"
>
> It's device string was not in the zd1211rw driver, so I wondered what
> would happen if I added it to zd_usb.c... and voilà, now it works
> great ;) (i'm writing this connected with that adapter)
>
> I've tried it with compat-wireless-2.6.30, with kernels 2.6.28 (ubuntu
> 9.04) and 2.6.30 (debian sid), and it works. I've tried to do it with
> the bleeding edge compat-wireless, but it wouldn't compile on any of
> my machines (the stable version compiled just fine, though).

compat-wireless latest-and-greatest is a bit broken lately, in the
last week or so. You are not the only one affected - Luis is working
on it, I think.

>
> The only thing I did was to put the following line in the device
> string list in drivers/net/wireless/zd1211rw/zd_usb.c:
>
>       { USB_DEVICE(0x083a, 0xe501), .driver_info = DEVICE_ZD1211B }
>
> Do I need to send you a patch?
> (if it weren't such a minute modification I wouldn't doubt it)
> I've never done it before, but i'll learn to do it if necessary ;).

A patch is not necessary, but having the RF type line from your dmesg
would be good.

>
> If you need more testing on this device, count me.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add device string to zd1211rw
  2009-07-13 20:23 ` Hin-Tak Leung
@ 2009-07-13 20:46   ` Adrià Cereto Massagué
  2009-07-13 20:59     ` Hin-Tak Leung
  0 siblings, 1 reply; 4+ messages in thread
From: Adrià Cereto Massagué @ 2009-07-13 20:46 UTC (permalink / raw)
  To: Hin-Tak Leung; +Cc: dsd, kune, linux-wireless

A Dilluns, 13 de juliol de 2009 22:23:05, Hin-Tak Leung va escriure:
> On Sun, Jul 12, 2009 at 9:16 PM, Adrián Cereto<ssorgatem@esdebian.org> 
wrote:
> > I have a wireless adapter with the following device string from lsusb:
> > "ID 083a:e501 Accton Technology Corp. ZD1211B"
> >
> > It's device string was not in the zd1211rw driver, so I wondered what
> > would happen if I added it to zd_usb.c... and voilà, now it works
> > great ;) (i'm writing this connected with that adapter)
> >
> > I've tried it with compat-wireless-2.6.30, with kernels 2.6.28 (ubuntu
> > 9.04) and 2.6.30 (debian sid), and it works. I've tried to do it with
> > the bleeding edge compat-wireless, but it wouldn't compile on any of
> > my machines (the stable version compiled just fine, though).
>
> compat-wireless latest-and-greatest is a bit broken lately, in the
> last week or so. You are not the only one affected - Luis is working
> on it, I think.
>
> > The only thing I did was to put the following line in the device
> > string list in drivers/net/wireless/zd1211rw/zd_usb.c:
> >
> >       { USB_DEVICE(0x083a, 0xe501), .driver_info = DEVICE_ZD1211B }
> >
> > Do I need to send you a patch?
> > (if it weren't such a minute modification I wouldn't doubt it)
> > I've never done it before, but i'll learn to do it if necessary ;).
>
> A patch is not necessary, but having the RF type line from your dmesg
> would be good.

I'm not sure if this is what you need, but here it is:

ssorgatem@sobremesakubuntu:~$ dmesg | grep -i zd1211rw
[   10.045331] zd1211rw 1-2:1.0: phy0
[   10.045390] usbcore: registered new interface driver zd1211rw
[   13.184194] zd1211rw 1-2:1.0: firmware version 4725
[   13.224200] zd1211rw 1-2:1.0: zd1211b chip 083a:e501 v4810 high 00-1a-2a 
AL2230_RF pa0 g--NS

I hope it helps.
> > If you need more testing on this device, count me.
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-wireless"
> > in the body of a message to majordomo@vger.kernel.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Add device string to zd1211rw
  2009-07-13 20:46   ` Adrià Cereto Massagué
@ 2009-07-13 20:59     ` Hin-Tak Leung
  0 siblings, 0 replies; 4+ messages in thread
From: Hin-Tak Leung @ 2009-07-13 20:59 UTC (permalink / raw)
  To: ssorgatem; +Cc: dsd, kune, linux-wireless

2009/7/13 Adrià Cereto Massagué <ssorgatem@gmail.com>:

> I'm not sure if this is what you need, but here it is:
>
> ssorgatem@sobremesakubuntu:~$ dmesg | grep -i zd1211rw
> [   10.045331] zd1211rw 1-2:1.0: phy0
> [   10.045390] usbcore: registered new interface driver zd1211rw
> [   13.184194] zd1211rw 1-2:1.0: firmware version 4725
> [   13.224200] zd1211rw 1-2:1.0: zd1211b chip 083a:e501 v4810 high 00-1a-2a
> AL2230_RF pa0 g--NS

Good - The AL2230_RF line is what I asked for.

Hin-Tak

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-07-13 20:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-12 20:16 Add device string to zd1211rw Adrián Cereto
2009-07-13 20:23 ` Hin-Tak Leung
2009-07-13 20:46   ` Adrià Cereto Massagué
2009-07-13 20:59     ` Hin-Tak Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).