HomeGenie Forum
General Category => Troubleshooting and Support => Topic started by: codedmind on September 05, 2014, 02:24:35 PM
-
Hy there,
My x10 cm15a pro isn't working, any way i can debug why?
Thanks
-
You'll have to be a little more specific. But, as a first blind suggestion, try turning on debugging and check for error messages. If that doesn't help, try launching HG manually and watch mono output.
-
I don't know if the problem is because i have mochad too...
But when i connect the usb i get a lot of this lines on dmesg:
[96577.577655] usb 1-1.2: usbfs: interface 0 claimed by usbfs while 'mono' sets config #1
[96577.579385] usb 1-1.2: usbfs: process 2971 (mono) did not claim interface 0 before use
How can i turn debug on?
Thanks
-
I don't think you can rum mochad and HG with both accessing the CM15 at the same time.
-
If i kill mochad, the dmesg lines stops, however no juice...
starting hg manual i get the folling error after try use x10 command
[18:28:03.815657] X10 < 04 19
[18:28:03.850245] X10 ! The object was used after being disposed.
[18:28:03.930441] X10 ! at System.Runtime.InteropServices.SafeHandle.DangerousGetHandle () [0x00000] in <filename unknown>:0
at LibUsbDotNet.LudnMonoLibUsb.Internal.MonoUsbTransferContext.Fill (IntPtr buffer, Int32 offset, Int32 count, Int32 timeout) [0x00000] in <filename unknown>:0
at LibUsbDotNet.Main.UsbTransfer.Fill (System.Object buffer, Int32 offset, Int32 count, Int32 timeout) [0x00000] in <filename unknown>:0
at LibUsbDotNet.Main.UsbEndpointBase.SubmitAsyncTransfer (System.Object buffer, Int32 offset, Int32 length, Int32 timeout, LibUsbDotNet.Main.UsbTransfer& transferContext) [0x00000] in <filename unknown>:0
at XTenLib.Drivers.CM15.WriteData (System.Byte[] bytesToSend) [0x00000] in <filename unknown>:0
at XTenLib.XTenManager.SendMessage (System.Byte[] message) [0x00000] in <filename unknown>:0
[18:28:03.989045] X10 < 06 13
[18:28:03.993233] X10 ! The object was used after being disposed.
[18:28:04.004909] X10 ! at System.Runtime.InteropServices.SafeHandle.DangerousGetHandle () [0x00000] in <filename unknown>:0
at LibUsbDotNet.LudnMonoLibUsb.Internal.MonoUsbTransferContext.Fill (IntPtr buffer, Int32 offset, Int32 count, Int32 timeout) [0x00000] in <filename unknown>:0
at LibUsbDotNet.Main.UsbTransfer.Fill (System.Object buffer, Int32 offset, Int32 count, Int32 timeout) [0x00000] in <filename unknown>:0
at LibUsbDotNet.Main.UsbEndpointBase.SubmitAsyncTransfer (System.Object buffer, Int32 offset, Int32 length, Int32 timeout, LibUsbDotNet.Main.UsbTransfer& transferContext) [0x00000] in <filename unknown>:0
at XTenLib.Drivers.CM15.WriteData (System.Byte[] bytesToSend) [0x00000] in <filename unknown>:0
at XTenLib.XTenManager.SendMessage (System.Byte[] message) [0x00000] in <filename unknown>:0
2014-09-05T18:28:04.0984840+01:00 MIG.Gateways.WebServiceGateway 192.168.1.145 api/HomeAutomation.HomeGenie/Logging/RealTime.EventStream/ HTTP GET
2014-09-05T18:28:04.1229030+01:00 HomeAutomation.X10 E6 - Status.Level 0
-
Maybe try restarting the system before launching HG?
-
after las update start working :D
Don't know why... but ok is working, mochad killed like yesterday... today didn't even restart rpi... but is working...
-
HG keeps trying to connect, so if you unplug the usb and then reconnect it will start working again without a restart.