How to find resource that causes "Resource Busy" message?
-
Currently I'm trying to run the command:
i2cset -y 0 0x10 0x15 0x03But I get an error message:
Error: Could not set address to 0x10: Resource busyI assume this means some other process is using the device I want to write to. I'm looking for an easy way to find this resource or resources, and kill them / it.
-
@Nathan-Guyette What firmware version are you using please?
Are you using some I2C device(s) in your Omega2 system now?
Which one(s)?
-
Firmware
I couldn't find anything titled "firmware" though I did find the Kernel. Is this the same thing? The Kernel is 4.4.74I2C device
This is a piezoelectric alarm.
-
Use the following command to get the F/W version:
> Device Firmware Version: 0.2.2 b201 > Checking latest version online... url: https://api.onioniot.com/firmware/omega2p/stable > Repo Firmware Version: 0.2.2 b200 > Comparing version numbers > Device firmware is up to date!
-
@Nathan-Guyette Please use the
oupgrade -v
and/or theonion os version
commands:# Omega2+ firmware v0.3.2 b223 root@Omega-5BE1:~# oupgrade -v > Device Firmware Version: 0.3.2 b223 root@Omega-5BE1:~# onion os version === Version Info === Omega firmware: v0.3.2 b223 onion-os - 1.0.6-1
I'm afraid a "piezoelectric alarm" (a buzzer) is not an I2C device.
For example there is an integrated circuit (IC) on Onion's Relay Expansion. It's an I2C device.
Or please take a look at this guide:
SparkFun Qwiic Starter Kit for Onion Omega Quickstart
I haven't tried either this Onion kit or SparkFun's qwiic (yet ;-).
Just out of sheer curiosity - do you really have an Onion2S+?
Do you have / did you make some custom dock for this SM module ?
-
This is all custom stuff that was thrown together, which we don't have any schematics for...
-
@Nathan-Guyette said in How to find resource that causes "Resource Busy" message?:
Currently I'm trying to run the command:
i2cset -y 0 0x10 0x15 0x03But I get an error message:
Error: Could not set address to 0x10: Resource busyI assume this means some other process is using the device I want to write to. I'm looking for an easy way to find this resource or resources, and kill them / it.
I know what resource should you "kill" ;-).
Do you also want to know?Why don't you answer for this simple question:
What firmware version are you using ?
-
=== Version Info ===
Omega firmware: v0.2.1 b199
onion-os - 1.0.5-1