From: Felix Braun <Felix.Braun@mail.mcgill.ca>
To: <linux-wireless@vger.kernel.org>
Subject: Unable to set regulatory domain
Date: Sat, 10 Nov 2012 10:48:57 +0100 [thread overview]
Message-ID: <1352540937.4179.14.camel@eressea> (raw)
Hi there,
I'm having the following problem that I have so far failed to root
cause: my kernel spams the logfiles with calls to CRDA every three
seconds. This is caused by spurious (?) udev events:
# udevdam monitor --property
KERNEL[1469.840484] change /devices/platform/regulatory.0 (platform)
ACTION=change
COUNTRY=00
DEVPATH=/devices/platform/regulatory.0
MODALIAS=platform:regulatory
SEQNUM=2472
SUBSYSTEM=platform
KERNEL[1469.848058] change /devices/platform/regulatory.0 (platform)
ACTION=change
COUNTRY=97
DEVPATH=/devices/platform/regulatory.0
MODALIAS=platform:regulatory
SEQNUM=2473
SUBSYSTEM=platform
and so on and so forth every three seconds always in pairs for country
00 and then country 97.
I have a corresponding udev rule in /lib/udev/rules.d/85-regulatory
which instructs udev to call /usr/bin/crda. However, calling crda also
fails:
# COUNTRY=00 crda
Failed to set regulatory domain: -7
I have the following questions:
- what does error code -7 stand for? How can I fix it?
- how does the kernel produce the illegal country code 97?
I think part of the problem is that my wireless card seems to be
calibrated for China, whereas I am currenty located in Germany (which is
reflected by my access point)
Any pointers how to solve this would be very welcome.
Thanks in advance!
Felix
reply other threads:[~2012-11-10 10:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1352540937.4179.14.camel@eressea \
--to=felix.braun@mail.mcgill.ca \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox