NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/42667: rum(4) is not detected on HP Pavilion Slimline s5210uk Desktop PC



Alexander Nasonov wrote:
> Wireless network card is not detected by NetBSD 5.0.1 and -current.
> OpenBSD detects it fine (OpenBSD dmesg is at the bottom of the
> report).

OpenBSD worked because they added SPARKLAN RT2573 in rev 1.67:

http://www.openbsd.org/cgi-bin/cvsweb/src/sys/dev/usb/if_rum.c#rev1.67
    SPARKLAN RT2573, found in HP s3200n, owned by laa%laa.zp.ua@localhost
    rum vs ural determination done by jsg

I can now see my access point:

$ sudo ifconfig rum0 list scan
SSID                              BSSID              CHAN RATE  S:N     INT CAPS
POBEDA                            00:1b:2f:42:17:ec   11   54M  56:0    100 EPS 
 WPA WME
SKY44624                          00:22:3f:5a:f1:d6   11   54M 109:0    100 EPS 
 WPA WME

WPA2 doesn't seem to work. I'll later try other encryption options.

PS: if_rum.c in NetBSD is based on OpenBSD rev 1.40 but they current
version in 1.97. It's worth going through a list of changes since 1.40.
For example, this little typo is not fixed in NetBSD:

--- src/sys/dev/usb/if_rum.c    2008/07/21 19:43:19 1.74
+++ src/sys/dev/usb/if_rum.c    2008/07/30 07:25:23 1.75
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rum.c,v 1.74 2008/07/21 18:43:19 damien Exp $  */
+/* $OpenBSD: if_rum.c,v 1.75 2008/07/30 06:25:23 damien Exp $  */
 
 /*-
  * Copyright (c) 2005-2007 Damien Bergamini 
<damien.bergamini%free.fr@localhost>
@@ -583,7 +583,7 @@ rum_alloc_rx_list(struct rum_softc *sc)
 
    return 0;
 
-fail:  rum_free_tx_list(sc);
+fail:  rum_free_rx_list(sc);
    return error;
 }
 


Home | Main Index | Thread Index | Old Index