Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with wl1251-cal/udev #115

Closed
sicelo opened this issue Apr 14, 2018 · 1 comment
Closed

Issue with wl1251-cal/udev #115

sicelo opened this issue Apr 14, 2018 · 1 comment
Assignees

Comments

@sicelo
Copy link
Collaborator

sicelo commented Apr 14, 2018

On my device, when I install wl1251-cal, wlan0 no longer comes up when the device is booted, and even doing /etc/init.d/eudev restart && /etc/init.d/networking restart does not help.

With wl1251-cal installed, wlan0 only works when /lib/udev/rules.d/49--firmware-wl1251.rules is adjusted as follows:

SUBSYSTEM=="firmware", ACTION=="add", ENV{FIRMWARE}=="*wl1251-nvs.bin", RUN:="/root/foo.sh /usr/bin/wl1251-cal --nvs-loading=/sys$env{DEVPATH}/loading --nvs-push-data=/sys$env{DEVPATH}/data"

where /root/foo.sh contains the following:

#!/bin/sh strace -s 1024 -f -o /tmp/log-$$.txt $@.

This produces two logs (attached). However, the logs are only produced the very first time that eudev/networking are restarted. Even on a reboot they are not produced, but wlan0 does come up.
log-3013.txt
log-3017.txt

@MerlijnWajer
Copy link
Member

Version 1.2 of wl1251-cal should fix issues that people were seeing with it not always working. If this is still not the case, please report back. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants