Hi Matthew, My comments here are based on WL18xx experience rather than BBBW specifically.
For WL18xx to stay active while the host (AM335x) is suspended the WL_EN pin needs to be kept high. However if I look at am335x-boneblack-wl1835.dtsi (from 4.9.88-ti-rt-r107 which I happened to have) I can see that the wlan_pins_sleep pin mux is specifying PIN_OUTPUT_PULLDOWN for WL_EN. I would have thought it should be PIN_OUTPUT_PULLUP to keep the enable line driven high during host suspend. I can't comment on whether it is like this on purpose or not. Hopefully you can patch the device tree and see if that helps. Iain On Friday, October 5, 2018 at 3:47:54 AM UTC+1, [email protected] wrote: > > I'm trying to configure the beaglebone black [wireless version - > 4.9.82-ti-r102 #1 SMP PREEMPT] -- running debian 9.3 stretch. > > So, I can successfully cause the device to sleep and wake with this > command: > > /usr/sbin/rtcwake -m mem -u -t $(date +%s -d "20 minutes") > > However, the AP run from the BBB wireless does not restart. > > I would like to use crontab to then restart the BBB access point, which I > think I have to do via connmanctl. > > Unfortunately, I've not been able to get this to happen. What I am seeing > is that the wifi module on the BBB wifi appears to require a power cycle or > a physical reset before the wifi will re-establish properly after a suspend > and then wake. The following command will not give errors, but it won't > actually get the AP up and running again: > > /usr/bin/connmanctl disable wifi;/usr/bin/connmanctl enable > wifi;/usr/bin/connmanctl tether wifi "BeagleBone-thing" "Password" > > Is this a limitation of the wifi module on this board? Is there a way to > initiate a reset of the module without powering down the BBB? > > Thanks! > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/e1da9741-78eb-4b1e-b256-6960d58b4555%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
