Re: Event based scheduling and USB.

2010-10-27 Thread Hans Petter Selasky
By default USB devices are not suspended. You can use usbconfig power_save 
to enable automatic power save for all devices.

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


ifconfig msk0 up hang and eating 100%CPU

2010-10-27 Thread Andrey Smagin
ifconfig msk0 up hang and I can't kill it, also ping any host via another 
working interface - ping hang.
What I can do for debug it process ?

FreeBSD 9.0-CURRENT #4: Wed Oct 27 01:00:31 MSD 2010 
root@:/usr/obj/usr/src/sys/SAM  amd64

top
last pid: 58489;  load averages:  6.55,  4.98,  2.76
up 0+01:53:08  11:37:46
602 processes: 6 running, 594 sleeping, 1 zombie, 1 lock
CPU:  0.2% user,  0.0% nice, 25.6% system,  0.3% interrupt, 73.9% idle
Mem: 354M Active, 200M Inact, 765M Wired, 700K Cache, 76M Buf, 2622M Free
Swap:

  PID USERNAMETHR PRI NICE   SIZERES STATE   C   TIME   WCPU COMMAND
57179 root  1 -320 14340K  1588K CPU11   8:29 100.00% ifconfig

___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Strange hang HPET in current

2010-10-27 Thread Andrey Smagin
In my box (amd64, current 20.oct.10 ) 
some time hang by 5-10 minutes with random subsystem, may 
hang disk access,network,very often tty. In most no output in log, 
sometimes with messages calcru: .. After 5-10 minutes it 
continue work again. When I disabled HPET in bios - problem gone.


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


[patch] via_dma.c

2010-10-27 Thread Ian FREISLICH
Hi

While trying to make googleearth work on a Via Epia LN board with
openchrome and GL we noticed that the X server crashed after about
30 seconds of use.  I got a flood of the following messages.

Oct 26 12:13:24 test kernel: error: [drm:pid97391:via_hook_segment] *ERROR* 
Paused at incorrect address. 0xe1fcf300, 0xe1fc4900 0x
Oct 26 12:13:24 test kernel: error: [drm:pid97391:via_hook_segment] *ERROR* 
Paused at incorrect address. 0xe1fd0300, 0xe1fc4900 0x
Oct 26 12:13:24 test kernel: error: [drm:pid97391:via_cmdbuf_size] *ERROR* 
VIA_CMDBUF_LAG timed out.

Some research showed that occasionally the GPU pauses and when the
pipe is restarted, commands are reordered and the next command after
the paused command is dropped.

I located a patch which I hand applied because every chunk failed.
It has fixed the stability issue and gpu pipe restarting issue.

I still have a problem with googleearth only displaying its image
in part of the window.  It looks like the plane size is correct but
it gets the offset wrong so there is a blank on the right side the
size of the left menu pane and a blank at the bottom the size of
the window bar and menu bar at the top of the window.

Do you have any ideas how to fix this?

Ian

-- 
Ian Freislich

Index: sys/dev/drm/via_dma.c
===
RCS file: /home/ncvs/src/sys/dev/drm/via_dma.c,v
retrieving revision 1.2
diff -u -d -r1.2 via_dma.c
--- sys/dev/drm/via_dma.c   22 Apr 2010 18:21:25 -  1.2
+++ sys/dev/drm/via_dma.c   26 Oct 2010 15:03:04 -
@@ -119,10 +119,12 @@
uint32_t count;
hw_addr_ptr = dev_priv-hw_addr_ptr;
cur_addr = dev_priv-dma_low;
-   next_addr = cur_addr + size + 512 * 1024;
+   next_addr = cur_addr + size + 64 * 1024;
count = 100;
do {
-   hw_addr = *hw_addr_ptr - agp_base;
+   (void) *hw_addr_ptr;
+   DRM_MEMORYBARRIER();
+   hw_addr = (*hw_addr_ptr - agp_base);
if (count-- == 0) {
DRM_ERROR
(via_cmdbuf_wait timed out hw %x cur_addr %x 
next_addr %x\n,
@@ -272,7 +274,9 @@
 {
drm_via_private_t *dev_priv;
uint32_t *vb;
+#if 0
int ret;
+#endif
 
dev_priv = (drm_via_private_t *) dev-dev_private;
 
@@ -285,7 +289,12 @@
return -ENOMEM;
}
 
-   if (DRM_COPY_FROM_USER(dev_priv-pci_buf, cmd-buf, cmd-size))
+   vb = via_check_dma(dev_priv, (cmd-size  0x100) ? 0x102 : cmd-size);
+   if (vb == NULL) {
+   return -EAGAIN;
+   }
+
+   if (DRM_COPY_FROM_USER(vb, cmd-buf, cmd-size))
return -EFAULT;
 
/*
@@ -294,19 +303,15 @@
 * copy it to AGP memory when ready.
 */
 
+#if 0
if ((ret =
 via_verify_command_stream((uint32_t *) dev_priv-pci_buf,
   cmd-size, dev, 1))) {
return ret;
}
 
-   vb = via_check_dma(dev_priv, (cmd-size  0x100) ? 0x102 : cmd-size);
-   if (vb == NULL) {
-   return -EAGAIN;
-   }
-
memcpy(vb, dev_priv-pci_buf, cmd-size);
-
+#endif
dev_priv-dma_low += cmd-size;
 
/*
@@ -467,11 +472,28 @@
reader = *(dev_priv-hw_addr_ptr);
diff = (uint32_t) (ptr - reader) - dev_priv-dma_diff;
diff = (dev_priv-dma_high - 1);
-   if (diff != 0  diff  (dev_priv-dma_high  1)) {
-   DRM_ERROR(Paused at incorrect address. 
- 0x%08x, 0x%08x 0x%08x\n,
- ptr, reader, dev_priv-dma_diff);
-   } else if (diff == 0) {
+   if (diff  (dev_priv-dma_high  1)) {
+   if (diff != 0) {
+   volatile uint32_t *rekick;
+
+   DRM_INFO(Paused at incorrect address. 
+   0x%08x, 0x%08x 0x%08x. Restarting.\n,
+   ptr, reader, dev_priv-dma_diff);
+
+   /*
+* Obtain the new pause address the command
+* reader was supposed to pick up.
+*/
+
+   rekick = (volatile uint32_t *)
+  dev_priv-dma_ptr +
+  ((reader - dev_priv-dma_offset -
+  (uint32_t) dev_priv-agpAddr +
+  dev_priv-dma_diff - 4)  2);
+   pause_addr_lo = *rekick;
+   pause_addr_hi = *(--rekick);
+   }
+
/*
 * There is a concern that these writes may stall the 
PCI bus
 * if the GPU is not idle. However, idling the GPU 

Re: Event based scheduling and USB.

2010-10-27 Thread Alexander Motin
Nate Lawson wrote:
 On 10/26/2010 12:57 PM, Alexander Motin wrote:
 Takanori Watanabe wrote:
 I updated my FreeBSD tree on laptop, to the current
 as of 18 Oct.2010, it works fine with CPU C3 state enabled,

 I think this is your achievement of event time scheduler,
 thanks!
 
 Ah, so mav@ implemented a tickless-scheduler? That is nice.

Not exactly. I've only made system to delay empty ticks when idle and
execute them later on wakeup in a batch. Scheduler work is still wanted.

 But when USB driver is enabled, the load average is considerablly 
 high (0.6 to 1.0) if sysctl oid kern.eventtimer.periodic is set to 0.
  Then kern.eventtimer.periodic is set to 1, the load average goes
 to 0 quickly as before, but almost never transit to C3.

 Is this behavior expected, or something wrong?
 
 The USB controller often keeps the bus mastering bit set. This keeps the
 system out of C3. The way to fix this is to implement global suspend.
 Put a device in suspend mode and then turn off power to the USB port it
 is on. Then the USB controller will stop polling the bus.

As I understand, if respective USB port is not used, USB stack should
put it into power_save mode not poll so often to deny entering C3 state.

 I noticed one of usb host controller device shares HPET irq.
 When I implement interrupt filter in uhci driver, the load average
 goes to 0 as before.


 
 % vmstat -i
 interrupt  total   rate
 irq1: atkbd0 398  2
 irq9: acpi0  408  2
 irq12: psm03  0
 irq19: ehci1  37  0
 irq20: hpet0 uhci0 35970230
 irq22: ehci0   2  0
 irq256: em04  0
 irq257: ahci0   1692 10
 Total  38514246
 ===
 I haven't noticed that issue and it is surely not expected for me. I
 will try to reproduce it.

 Most likely you should be able to avoid interrupt sharing using some
 additional HPET options, described at hpet(4).
 
 This seems silly. The whole point of APIC is to avoid clustering on a
 single interrupt but the BIOS put the timer on the USB controller irq?

HPET timer is not a regular ISA or PCI device. It allows several
different interrupt configurations. In most cases I remember, BIOS
setups interrupts 0 and 8, like for legacy_route mode. But this mode is
not really suitable as default in our case ATM due to conflict with
atrtc and attimer drivers.

-- 
Alexander Motin
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Event based scheduling and USB.

2010-10-27 Thread Alexander Leidinger
Quoting Alexander Motin m...@freebsd.org (from Tue, 26 Oct 2010  
22:57:59 +0300):



Takanori Watanabe wrote:



It's time to implement powertop for freebsd, isn't it?


Surely it is. I was even thinking about possibility to port one from
OpenSolaris, but other work distracted me. You may take it, it you wish.


For the benefit of the people which didn't see my message with the URL  
(I don't know if I was sending the URL to mav@ personally or if it  
appeared also in the lists):


http://hub.opensolaris.org/bin/view/Project+tesla/Powertop
is a DTrace-ified version of PowerTop (at the end of the page is a  
description how to get the source).


And for those which like plots of the values:
http://hub.opensolaris.org/bin/view/Project+tesla/ptop-gtk

Bye,
Alexander.

--
A RACF protected dataset is inaccessible.

http://www.Leidinger.netAlexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org   netchild @ FreeBSD.org  : PGP ID = 72077137
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Event based scheduling and USB.

2010-10-27 Thread Hans Petter Selasky
On Wednesday 27 October 2010 10:14:18 Alexander Motin wrote:
 As I understand, if respective USB port is not used, USB stack should
 put it into power_save mode not poll so often to deny entering C3 state.

USB will stop the hardware from polling RAM, but still a 4 second root HUB 
software timer/watchdog will be running.

--HPS
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re[2]: ifconfig msk0 up hang and eating 100%CPU

2010-10-27 Thread Andrey Smagin


Wed, 27 Oct 2010 11:52:18 +0400 письмо от Ilya A. Arhipov 
mi...@heavennet.ru:

 dmesg | grep msk
 and procstat -kk pid
 27.10.10, 11:45, Andrey Smagin samsp...@mail.ru:
  ifconfig msk0 up hang and I can't kill it, also ping any host via another
 working interface - ping hang.
 ? What I can do for debug it process ?
 ? 
 ? FreeBSD 9.0-CURRENT #4: Wed Oct 27 01:00:31 MSD 2010
 root@:/usr/obj/usr/src/sys/SAM? amd64
 ? 
 ? top
 ? last pid: 58489;? load averages:? 6.55,? 4.98,?
 2.76??? up
 0+01:53:08? 11:37:46
 ? 602 processes: 6 running, 594 sleeping, 1 zombie, 1 lock
 ? CPU:? 0.2% user,? 0.0% nice, 25.6% system,? 0.3% interrupt, 73.9% idle
 ? Mem: 354M Active, 200M Inact, 765M Wired, 700K Cache, 76M Buf, 2622M Free
 ? Swap:
 ? 
 ??? PID USERNAME??? THR PRI NICE?? SIZE??? RES STATE?? C?? TIME?? WCPU
 COMMAND
 ? 57179 root? 1 -32??? 0 14340K? 1588K CPU1??? 1?? 8:29 100.00%
 ifconfig
 ? 
 ? ___
 ? freebsd-current@freebsd.org mailing list
 ? http://lists.freebsd.org/mailman/listinfo/freebsd-current
 ? To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
 ? 
 ? 

ran trafshow 5 times
dmesg | grep msk 
msk0: promiscuous mode enabled
msk0: promiscuous mode disabled
msk0: promiscuous mode enabled
msk0: promiscuous mode disabled
msk0: promiscuous mode enabled
msk0: promiscuous mode disabled
msk0: promiscuous mode enabled
msk0: promiscuous mode disabled
msk0: promiscuous mode enabled
msk0: promiscuous mode disabled

ns# procstat -kk 57179
  PIDTID COMM TDNAME   KSTACK
57179 100366 ifconfig -running


___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: ifconfig msk0 up hang and eating 100%CPU

2010-10-27 Thread Ilya A. Arhipov
 http://mail.yandex.ru/neo/compose?to=freebsd-curr...@freebsd.orgdmesg |
grep msk
and procstat -kk pid

27.10.10, 11:45, Andrey Smagin samsp...@mail.ru:

 ifconfig msk0 up hang and I can't kill it, also ping any host via
another working interface - ping hang.
  What I can do for debug it process ?

  FreeBSD 9.0-CURRENT #4: Wed Oct 27 01:00:31 MSD 2010 
 root@:/usr/obj/usr/src/sys/SAM
amd64

  top
  last pid: 58489;  load averages:  6.55,  4.98,
2.76
up 0+01:53:08  11:37:46
  602 processes: 6 running, 594 sleeping, 1 zombie, 1 lock
  CPU:  0.2% user,  0.0% nice, 25.6% system,  0.3% interrupt, 73.9% idle
  Mem: 354M Active, 200M Inact, 765M Wired, 700K Cache, 76M Buf, 2622M Free
  Swap:

PID USERNAMETHR PRI NICE   SIZERES STATE   C   TIME   WCPU
COMMAND
  57179 root  1 -320 14340K  1588K CPU11   8:29 100.00%
ifconfig

  ___
  freebsd-current@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-current
  To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org



___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Alberto Villa
On Tue, Oct 26, 2010 at 2:09 PM, Paul B Mahol one...@gmail.com wrote:
 i've tried ndis without success...

 Sharing you experience would help (if you are not on amd64).

i'm on i386 at the moment, but i'll switch to amd64 as soon as i
decide what to do (keep freebsd natively or virtualize it under
windows... it depends on the wireless driver). would that change
anything?

here's my experience. also, as a reference, here's what i get if i add
the device id to siba_bwn:
# kldload if_bwn
siba_bwn0: Broadcom BCM43225 802.11b/g/n Wireless mem
0xda10-0xda103fff irq 16 at device 0.0 on pci2
siba_bwn0: cannot map register space
device_attach: siba_bwn0 attach returned 6
and here is the new open source driver:
http://wireless.kernel.org/en/users/Drivers/brcm80211

and now, ndis. the driver is bcmwl6
(http://people.freebsd.org/~avilla/bcmwl6.inf and
http://people.freebsd.org/~avilla/bcmwl6.sys , apparently no need for
firmware files, but i'm not sure), which is said not to work with ndis
on linux forums (maybe they removed the support for winxp)
matthias: you should try bcmwl5, that could work for you

using the unmodified files i've attached (they default to winvista and
win7) i get this:
# kldload ./bcmwl6_sys.ko
module ndis already present!
no match for NdisMIndicateReceiveNetBufferLists
no match for NdisFreeNetBufferListPool
no match for NdisMRegisterScatterGatherDma
no match for NdisMAllocatePort
no match for NdisQueueIoWorkItem
no match for NdisMFreePort
no match for NdisMOidRequestComplete
no match for NdisMNetPnPEvent
no match for NdisAllocateIoWorkItem
no match for NdisFreeIoWorkItem
no match for NdisGetVersion
no match for NdisMSetMiniportAttributes
no match for NdisMDeregisterMiniportDriver
no match for NdisAllocateTimerObject
no match for NdisMPauseComplete
no match for NdisOpenConfigurationEx
no match for NdisFreeTimerObject
no match for NdisCancelTimerObject
no match for NdisSetTimerObject
no match for NdisMSynchronizeWithInterruptEx
no match for NdisMDeregisterInterruptEx
no match for NdisMRegisterInterruptEx
no match for NdisMIndicateStatusEx
no match for NdisFreeNetBufferList
no match for NdisGetSystemUpTimeEx
no match for NdisAllocateMdl
no match for NdisAllocateNetBufferAndNetBufferList
no match for NdisFreeMdl
no match for NdisMResetComplete
no match for NdisMSendNetBufferListsComplete
no match for NdisAllocateNetBufferListPool
no match for NdisMRegisterMiniportDriver
no match for NdisMDeregisterScatterGatherDma
no match for NdisAllocateMemoryWithTagPriority
no match for NdisMGetBusData
no match for NdisMSetBusData
no match for ZwQueryInformationFile
no match for ZwReadFile
no match for ZwCreateFile
no match for ExFreePoolWithTag
no match for IoRegisterPlugPlayNotification
no match for IoUnregisterPlugPlayNotification
NDIS dummy called...
NDIS dummy called...

which should mean that the driver doesn't support xp. so i tried
changing (in the .inf)
%V_BCM% = BROADCOM, NTx86.6.0, NTamd64.6.0, NTx86.6.1, NTamd64.6.1
to
%V_BCM% = BROADCOM, NTx86, NTamd64
and then i only get module ndis already present!, but no interface shows up

i also tried removing NTx86, making it
%V_BCM% = BROADCOM, NTamd64
(it should be correct), and with this modification i get the same
error messages of the first attempt

anyway i don't have any experience with ndis... should i test anything else?
-- 
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Paul B Mahol
On 10/27/10, Alberto Villa avi...@freebsd.org wrote:
 On Tue, Oct 26, 2010 at 2:09 PM, Paul B Mahol one...@gmail.com wrote:
 i've tried ndis without success...

 Sharing you experience would help (if you are not on amd64).

 i'm on i386 at the moment, but i'll switch to amd64 as soon as i
 decide what to do (keep freebsd natively or virtualize it under
 windows... it depends on the wireless driver). would that change
 anything?

Currently amd64 is broken with some/most drivers. Drivers appears to
use fpu registers.
I dunno how it ever worked, probably original developer(s) never
encountered drivers which use fpu registers.

I will probably fix amd64 support in this year.

 here's my experience. also, as a reference, here's what i get if i add
 the device id to siba_bwn:
 # kldload if_bwn
 siba_bwn0: Broadcom BCM43225 802.11b/g/n Wireless mem
 0xda10-0xda103fff irq 16 at device 0.0 on pci2
 siba_bwn0: cannot map register space
 device_attach: siba_bwn0 attach returned 6
 and here is the new open source driver:
 http://wireless.kernel.org/en/users/Drivers/brcm80211

 and now, ndis. the driver is bcmwl6
 (http://people.freebsd.org/~avilla/bcmwl6.inf and
 http://people.freebsd.org/~avilla/bcmwl6.sys , apparently no need for
 firmware files, but i'm not sure), which is said not to work with ndis
 on linux forums (maybe they removed the support for winxp)
 matthias: you should try bcmwl5, that could work for you

 using the unmodified files i've attached (they default to winvista and
 win7) i get this:
 # kldload ./bcmwl6_sys.ko
 module ndis already present!
 no match for NdisMIndicateReceiveNetBufferLists
 no match for NdisFreeNetBufferListPool
 no match for NdisMRegisterScatterGatherDma
 no match for NdisMAllocatePort
 no match for NdisQueueIoWorkItem
 no match for NdisMFreePort
 no match for NdisMOidRequestComplete
 no match for NdisMNetPnPEvent
 no match for NdisAllocateIoWorkItem
 no match for NdisFreeIoWorkItem
 no match for NdisGetVersion
 no match for NdisMSetMiniportAttributes
 no match for NdisMDeregisterMiniportDriver
 no match for NdisAllocateTimerObject
 no match for NdisMPauseComplete
 no match for NdisOpenConfigurationEx
 no match for NdisFreeTimerObject
 no match for NdisCancelTimerObject
 no match for NdisSetTimerObject
 no match for NdisMSynchronizeWithInterruptEx
 no match for NdisMDeregisterInterruptEx
 no match for NdisMRegisterInterruptEx
 no match for NdisMIndicateStatusEx
 no match for NdisFreeNetBufferList
 no match for NdisGetSystemUpTimeEx
 no match for NdisAllocateMdl
 no match for NdisAllocateNetBufferAndNetBufferList
 no match for NdisFreeMdl
 no match for NdisMResetComplete
 no match for NdisMSendNetBufferListsComplete
 no match for NdisAllocateNetBufferListPool
 no match for NdisMRegisterMiniportDriver
 no match for NdisMDeregisterScatterGatherDma
 no match for NdisAllocateMemoryWithTagPriority
 no match for NdisMGetBusData
 no match for NdisMSetBusData
 no match for ZwQueryInformationFile
 no match for ZwReadFile
 no match for ZwCreateFile
 no match for ExFreePoolWithTag
 no match for IoRegisterPlugPlayNotification
 no match for IoUnregisterPlugPlayNotification
 NDIS dummy called...
 NDIS dummy called...

 which should mean that the driver doesn't support xp. so i tried
 changing (in the .inf)
   %V_BCM% = BROADCOM, NTx86.6.0, NTamd64.6.0, NTx86.6.1, NTamd64.6.1

Now when you mention this I may send patch for ndisgen(8) so it will
deny creating modules for 6.X API drivers.
 to
   %V_BCM% = BROADCOM, NTx86, NTamd64
 and then i only get module ndis already present!, but no interface shows
 up

 i also tried removing NTx86, making it
   %V_BCM% = BROADCOM, NTamd64
 (it should be correct), and with this modification i get the same
 error messages of the first attempt

 anyway i don't have any experience with ndis... should i test anything else?

NDISulator does not support 6.X NDIS API. You will need to find bcmwl5
driver. Note 5 vs 6 in driver name.
Editing inf files will give you nothing.
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Alberto Villa
On Wed, Oct 27, 2010 at 1:36 PM, Paul B Mahol one...@gmail.com wrote:
 NDISulator does not support 6.X NDIS API. You will need to find bcmwl5
 driver. Note 5 vs 6 in driver name.
 Editing inf files will give you nothing.

i've tried that driver, but apparently it doesn't support my card...
loading the .ko doesn't show anything...
--
Alberto Villa, FreeBSD committer avi...@freebsd.org
http://people.FreeBSD.org/~avilla
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Scot Hetzel
On Wed, Oct 27, 2010 at 12:07 PM, Scot Hetzel swhet...@gmail.com wrote:
 On Wed, Oct 27, 2010 at 8:58 AM, Alberto Villa avi...@freebsd.org wrote:
 On Wed, Oct 27, 2010 at 1:36 PM, Paul B Mahol one...@gmail.com wrote:
 NDISulator does not support 6.X NDIS API. You will need to find bcmwl5
 driver. Note 5 vs 6 in driver name.
 Editing inf files will give you nothing.

 i've tried that driver, but apparently it doesn't support my card...
 loading the .ko doesn't show anything...

 Where did you get your bcmwl5 driver?  If you downloaded it from Acer,
 it should work.  If you downloaded it from anywhere else then this
 might be why it didn't work for you.


Just noticed that you didn't specify your computer manufacture.  The
above would only work for Matthias Apitz.

You just need to download the driver from the manufacture of your computer.

Scot
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Scot Hetzel
On Wed, Oct 27, 2010 at 8:58 AM, Alberto Villa avi...@freebsd.org wrote:
 On Wed, Oct 27, 2010 at 1:36 PM, Paul B Mahol one...@gmail.com wrote:
 NDISulator does not support 6.X NDIS API. You will need to find bcmwl5
 driver. Note 5 vs 6 in driver name.
 Editing inf files will give you nothing.

 i've tried that driver, but apparently it doesn't support my card...
 loading the .ko doesn't show anything...

Where did you get your bcmwl5 driver?  If you downloaded it from Acer,
it should work.  If you downloaded it from anywhere else then this
might be why it didn't work for you.

Scot
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org


Re: Broadcom BCM4310 USB Controller (Wifi)

2010-10-27 Thread Matthias Apitz
El día Wednesday, October 27, 2010 a las 05:10:32PM +, Alberto Villa 
escribió:

 On Wed, Oct 27, 2010 at 5:07 PM, Scot Hetzel swhet...@gmail.com wrote:
  Where did you get your bcmwl5 driver?  If you downloaded it from Acer,
  it should work.  If you downloaded it from anywhere else then this
  might be why it didn't work for you.
 
 i don't remember, actually. anyway i thought the 5 was the driver
 version, i've just understood that it's the windows version :P
 i'll try the acer one, thanks for the suggestion!

I could no get any bcmwl5 driver from Acer, only bcmwl6 version (which
is also installed in Win7 in my laptop). I have even asked Broadcom, but
they pointed me back to my dealer, to the reseller of the Acer laptop.
And asking them, they pointed to Acer. If someone has an bcmwl5 from
Acer, please contact me off-list.

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e g...@unixarea.de - w http://www.unixarea.de/
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org