Linux wireless drivers development
 help / color / mirror / Atom feed
* Unable to set regulatory domain
@ 2012-11-10  9:48 Felix Braun
  0 siblings, 0 replies; only message in thread
From: Felix Braun @ 2012-11-10  9:48 UTC (permalink / raw)
  To: linux-wireless

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-10 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-10  9:48 Unable to set regulatory domain Felix Braun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox