[LINUX] HOW-TO get AmbX with X11 working using Boblight and CombustD

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
peterasd Offline
Junior Member
Posts: 5
Joined: Sep 2010
Reputation: 0
Post: #171
I'm using my AMBX now for a long time and it is working great. Lately I upgrated my HTPC with an external Blu-ray player and now I'm using the Makemkv plugin to watch Blu-ray movies. Unfortunately now my CPU power is no longer sufficient (Acer Revo R3610, 2GB), this means when I use boblight and the Makemkv plugin in parallel the movies can no longer be played smoothly.

Is there are a possibility to reduce the CPU usage of boblight?

Does the new boblight version (http://code.google.com/p/boblight/) have a lower CPU usage? If yes, can somebody help me with the replacement of the old boblight version?
find quote
OvermindDL1 Offline
Junior Member
Posts: 2
Joined: Mar 2012
Reputation: 0
Post: #172
(2012-03-09 23:06)oo_void Wrote:  OvermindDL1, you're close ... I had the same issue, but I've forgotten exactly what I did ;(. It's caused by a problem with the USB audio driver. Look at your log when you plug in your AmbX and then search using the error message that gets thrown. You should get results that point you to the Ubuntu forum with instructions on what to change; Basically removing the device type from one of the configs.

Maybe this will jog someone else's memory and they can post the exact steps.

I did, here is the information.

The problem is caused by libmtp, it tries to access *every*single*device* as a media player, if it fails then it ignores it. It also has a kind of blacklist of certain IDs to just ignore. Programs like Banshee and Amarok and even VLC use it, so you cannot just remove it. There are quite a number of USB devices that it has to Ignore because if they try to be accessed as an invalid device they reset their connection to clean up their state. Other lighting systems, a few mice, and a few odd other things do.

Since I do not want to remove it for obvious reasons I had to find a way to disable it. Well when a USB device is plugged in it calls /lib/udev/mtp-probe and this is where it fails. Since I have no MP3 players or whatever else that I hook up to my computer (just my phone, which I use as a storage interface anyway), I have no qualms about just disabling mtp-probe, so I did:

$ sudo mv /lib/udev/mtp-probe /lib/udev/mtp-probe-broken

Badda bing, no restart needed, everything just magically started worked. There might be a better way then just renaming it, but I do not care as I do not need its probeing functionality.

It is only a problem in mtp9, mtp8 did not have this problem, and supposedily there is an upstream patch to mtp9 to fix it that 'should' come out 'soon' (I.E. probably the next year... or more... in my package manager at least).
(This post was last modified: 2012-05-11 00:15 by OvermindDL1.)
find quote
kickurd Offline
Junior Member
Posts: 1
Joined: Jul 2012
Reputation: 0
Post: #173
(2012-05-11 00:12)OvermindDL1 Wrote:  Since I do not want to remove it for obvious reasons I had to find a way to disable it. Well when a USB device is plugged in it calls /lib/udev/mtp-probe and this is where it fails. Since I have no MP3 players or whatever else that I hook up to my computer (just my phone, which I use as a storage interface anyway), I have no qualms about just disabling mtp-probe, so I did:

$ sudo mv /lib/udev/mtp-probe /lib/udev/mtp-probe-broken

Badda bing, no restart needed, everything just magically started worked. There might be a better way then just renaming it, but I do not care as I do not need its probeing functionality.

It is only a problem in mtp9, mtp8 did not have this problem, and supposedily there is an upstream patch to mtp9 to fix it that 'should' come out 'soon' (I.E. probably the next year... or more... in my package manager at least).

Thx, works like a charm here.......
find quote
Hallo409 Offline
Junior Member
Posts: 1
Joined: Jul 2012
Reputation: 0
Post: #174
Hello,
I almost got it to work aswell. I have installed the 4loosen boblight version because the newer (google project) boblight version give's a lot of error which makes it unable to install. The lights are all working well when wathching youtube etc. But when I start XBMC -eden the lights turn of inmidiately. Whe I close XMBC the automatically turn back on again. Is there anyone who has experienced this problem before?

Thanx in andvance,
Marco
find quote
shivanair Offline
Junior Member
Posts: 29
Joined: Sep 2011
Reputation: 0
Post: #175
Friends,

I need your kind help.
i have just procured the Mad Catz Cyborg amBX Gaming Lights (http://www.cyborggaming.com/prod/ambx.htm) and have followed the instructions for "Openelec" on:

http://openelec.tv/forum/44-cool-things-...me-theater

I have installed the boblightd package from the openelec repository from under All Addons -> Services
I have renamed boblight.conf.sample to boblight.conf and also Renamed boblight.X11.sample to boblight.X11

The lights dont come on. I havent edited the boblight.conf file since I do not know how to set this up,. Both my lights are connected to USB and I would like to have ambient lighting on all the time.

Please can you guide me to configure the Cyborg amBX Lights using Openelec.

Many thanks .

Your help is greatly appreciated.

Regards,
Shiva
find quote
Post Reply