Release [WIP] Master Control - Testers needed


New unsuccessful test, with a Sitecom dongle and Toshiba stack.

In this case, you must first register on the PC the device service (not just pairing), the stack must find the service and asks you when to launch the connection from the device, then it registers it, and you are able to connect when you want.

What happened with my phone:

- The stack found the service and opened a popup telling me to connect and then press OK

- I launched the connection from the phone, and it reported "Connection refused"

- Pressed OK on the popup and the Stack told me "Device registered correctly", and it started a (working) HID connection to my phone.

- Then from my phone I can succefully start the connection when I want.

What happened with Pandora:

- The stack found the service and opened a popup telling me to connect and then press OK

- I launched the connection from MasterControl (with the right address already set in conf) and it reported "Connection refused" (same as the phone)

- Pressed OK on the popup but the Stack this time told me "Unable to register the device. [Retry] [Cancel]"

I made a dump during this procedure for the Pandora if you want to see it, but I didn't found the time to do it for the phone... if you need it I will do it the next week
I don't know what this "register device" does, but a dump might be helpful to find out.
 
A new update is online!

Several things have changed. Here's the change log:

v1.0.3.0

Gui
  - The mini and full screen windows have been removed.
    MC now resides in the system tray and it's options are accessed via a context menu:

    Status: Displays Bluetooth/USB status
    Bluetooth: Handle connections
    Plugins: Handle (HID) plugins
    Grab input: Prevents forwarding input to the Pandora

  General
    - A plugin system has been implemented. HIDs now come as plugins, instead of being hardcoded into MC
    - Replaced the config file parser by a custom one. The old one (libconfig++) was too restrictive.
      This makes the old config files unusable. They will be deleted by the startup script.
    - Changed category from "System" to "Utility" (Accesories)

  Devices:
    - Implemented basic language support for the HID keyboard
      Each language needs it's own config file (Keyboard_XX.conf, where XX is the country code)
      Currently supported are German and (US) English keyboards.
      Switching language is done in Keyboard.conf (currently 'de' or 'us')

Hope you like the new look :)

Edit:

When in "Grab input" mode, you will need the stylus to interact with the MC icon. Nub input won't work. This is intended, so you can't accidentally click it.
 
Last edited by a moderator:
First I could click on the Pandora screen when MC is enabled.

Now (after one minute of usage) I can't click anywhere on the screen.

EDIT:

Gernman Keyboard is awesome.

Now it's finally fully usable for me.

Thank you.

Being able to click everywhere on the Pandora screen is bad.

Can't you make some full screen mode again (just a picture one can make fullscreen).

Wrote this using Master Control :) .

Looking forward to play games with my Pandora on big computer.
 
Last edited by a moderator:
You

Are

Awesome

:)
Thanks very much :)

First I could click on the Pandora screen when MC is enabled.

Now (after one minute of usage) I can't click anywhere on the screen.

EDIT:

Gernman Keyboard is awesome.

Now it's finally fully usable for me.

Thank you.

Being able to click everywhere on the Pandora screen is bad.

Can't you make some full screen mode again (just a picture one can make fullscreen).

Wrote this using Master Control :) .

Looking forward to play games with my Pandora on big computer.
There is this option "Grab input". When it's enabled, you shouldn't be able to click anywhere, but the MC icon.
 
If I "do Grab input" I can#t even click the Master Control Icon.

Right shoulder button doesn't work as CTRL (Left shoulder button is working fine).
 
If I "do Grab input" I can#t even click the Master Control Icon.
Not with the nubs. This is intended. You need the stylus here.

Right shoulder button doesn't work as CTRL (Left shoulder button is working fine).
I forgot to map the right shoulder button.

Just replace

  out.Keyboard.RightCtrl = in.Keyboard.RightCtrl

with

  out.Keyboard.RightCtrl = in.Gamepad.RightShoulder

in Keyboard.conf. That should do the trick.
 
Last edited by a moderator:
If I "do Grab input" I can#t even click the Master Control Icon.
Not with the nubs. This is intended. You need the stylus here.
Oh, that's nice.

Would be good to mention it somewhere :) .

Right shoulder button doesn't work as CTRL (Left shoulder button is working fine).
I forgot to map the right shoulder button.

Just replace

  out.Keyboard.RightCtrl = in.Keyboard.RightCtrl

with

  out.Keyboard.RightCtrl = in.Gamepad.RightShoulder

in Keyboard.conf. That should do the trick.
No problem.

Thanks for information.

Now we have to wait what the "Shank-test" of ekianjo says :D .
 
Android still wont connect over bluetooth (tablet recognizes as input device, mastercontrol says connection refused when I try to connect). I did get usb to work on android once (keyword: once).
 
Last edited by a moderator:
Damn, I blindly updated without reading the changes, so I waited for the interface to appear... waited... gave a look at pndrun.out... then I clicked on the icon on the task bar.............

AWESOME !!!!!!!!!!!!!!!!!!!!!!  :lol:

It's so minimal you just can't go wrong about the options, and it have a great look too.

It can detect disconnections very well now.

The only wrong thing are the special characters, but all the other keys, shift and function keys are working fine.

Where does it get the list of the bluetooth devices ? It was showing to me a lot of addresses I never paired to, and them are also not in the bluetooth manager list, seems like I have to make cleaning somewhere
 
Last edited by a moderator:
Android still wont connect over bluetooth (tablet recognizes as input device, mastercontrol says connection refused when I try to connect). I did get usb to work on android once (keyword: once).
I'm having the same problem. I was hoping this program would help me use Skype while my laptop is broken.
 
Trying to use this via usb, no device detected on my pc and it says not connected in the mastercontrol icon on the pandy, any ideas? :)

sdcard mass storage works so it's not a problem with the cable ^^
 
Android still wont connect over bluetooth (tablet recognizes as input device, mastercontrol says connection refused when I try to connect). I did get usb to work on android once (keyword: once).
What's your Android version? Please post the log file (mastercontrol.log in appdata dir)

Trying to use this via usb, no device detected on my pc and it says not connected in the mastercontrol icon on the pandy, any ideas? :)

sdcard mass storage works so it's not a problem with the cable ^^
Same for you: Log file please.
 
It's so minimal you just can't go wrong about the options, and it have a great look too.


It can detect disconnections very well now.


The only wrong thing are the special characters, but all the other keys, shift and function keys are working fine.


Where does it get the list of the bluetooth devices ? It was showing to me a lot of addresses I never paired to, and them are also not in the bluetooth manager list, seems like I have to make cleaning somewhere
Thank you :)

I remember from your Windows screen shots, you aren't using German or English (could have been Italian?)  So, to get the special characters work, you would have to create a config file for your language. I can't do that for all languages on this earth :)

Ah, I forgot to mention that in the change log. The BT devices are read from /var/bluetooth/XX../names. For a cleanup you can safely delete XX completely. The bluetooth daemon will recreate the need files.
 
Here's my log file:

Code:
Found input device on '/dev/input/event0' (keypad)
Found input device on '/dev/input/event1' (power-button)
Found input device on '/dev/input/event2' (nub0)
Found input device on '/dev/input/event3' (nub1)
Found input device on '/dev/input/event4' (gpio-keys)
Found input device on '/dev/input/event5' (touchscreen)
Plugin: Loaded Keyboard!
Plugin: Loaded Mouse!
Plugin: Loaded Gamepad!
SDP: Services registered!
Bluetooth: Server started!
Bluetooth: Listening for connections...
USB: Server started. Waiting for connections...
Bluetooth: Trying to connect to D4:20:6D:6D:0A:49...
Bluetooth: Failed to connect to control psm 17! (Connection refused)
Bluetooth: Connection failed! Connection refused
Grabbing Mouse: Ok!
Grabbing keyboard: Ok!
Bluetooth: Trying to connect to D4:20:6D:6D:0A:49...
Bluetooth: Failed to connect to control psm 17! (Connection refused)
Bluetooth: Connection failed! Connection refused
Bluetooth: Trying to connect to D4:20:6D:6D:0A:49...
Bluetooth: Failed to connect to control psm 17! (Connection refused)
Bluetooth: Connection failed! Connection refused
Bluetooth: Trying to connect to D4:20:6D:6D:0A:49...
Bluetooth: Failed to connect to control psm 17! (Connection refused)
Bluetooth: Connection failed! Connection refused
Bluetooth: Not longer listening...
SDP: Services unregistered!
Bluetooth: Server stopped!
Plugin: Unloaded Gamepad
Plugin: Unloaded Keyboard
Plugin: Unloaded Mouse
 
Android still wont connect over bluetooth (tablet recognizes as input device, mastercontrol says connection refused when I try to connect). I did get usb to work on android once (keyword: once).
 
What's your Android version? Please post the log file (mastercontrol.log in appdata dir)

Trying to use this via usb, no device detected on my pc and it says not connected in the mastercontrol icon on the pandy, any ideas? :)


sdcard mass storage works so it's not a problem with the cable ^^
 
Same for you: Log file please.
Android version 4.3

Log for usb stuff: (Note, I tried plugging and unplugging the usb cable a lot)

Found input device on '/dev/input/event0' (keypad)
Found input device on '/dev/input/event1' (power-button)
Found input device on '/dev/input/event2' (nub0)
Found input device on '/dev/input/event3' (nub1)
Found input device on '/dev/input/event4' (gpio-keys)
Found input device on '/dev/input/event5' (touchscreen)
Plugin: Loaded Keyboard!
Plugin: Loaded Mouse!
Plugin: Loaded Gamepad!
SDP: Failed to connect to SDP server! (No such file or directory)
Bluetooth: Server started!
Bluetooth: Listening for connections...
USB: Server started. Waiting for connections...
USB: Connected! (Speed: 3)
USB: Disconnected!
USB: Connected! (Speed: 3)
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0300, wIndex=0x0000, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=0, language=0x0000
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0302, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=2, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0301, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=1, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0303, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=3, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x00, bRequest=0x09, wValue=0x0001, wIndex=0x0000, wLength=0x0000)
USB: Request id: USB_REQ_SET_CONFIGURATION
USB: Parameters: config=1
USB: Setting up...
USB: Setup complete!
USB: Acknowledging: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0304, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=4, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0305, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=5, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0303, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=3, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x21, bRequest=0x0a, wValue=0x0000, wIndex=0x0000, wLength=0x0000)
USB: Request id: HID_SET_IDLE
USB: Parameters: interface=0
USB: Acknowledging: Ok!
USB: Got request! (bRequestType=0x81, bRequest=0x06, wValue=0x2200, wIndex=0x0000, wLength=0x0094)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: HID_DT_REPORT
USB: Parameters: interface=0, index=0
USB: Sending report: Ok!
USB: Suspended!
USB: Disconnected!
USB: Suspended!
USB: Connected! (Speed: 3)
USB: Disconnected!
USB: Connected! (Speed: 3)
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0300, wIndex=0x0000, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=0, language=0x0000
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0302, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=2, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0301, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=1, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0303, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=3, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x00, bRequest=0x09, wValue=0x0001, wIndex=0x0000, wLength=0x0000)
USB: Request id: USB_REQ_SET_CONFIGURATION
USB: Parameters: config=1
USB: Setting up...
USB: Setup complete!
USB: Acknowledging: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0304, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=4, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0305, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=5, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x80, bRequest=0x06, wValue=0x0303, wIndex=0x0409, wLength=0x00ff)
USB: Request id: USB_REQ_GET_DESCRIPTOR
USB: Descriptor id: USB_DT_STRING
USB: Parameters: index=3, language=0x0409
USB: Sending string: Ok!
USB: Got request! (bRequestType=0x21, bRequest=0x0a, wValue=0x0000, wIndex=0x0000, wLength=0x0000)
USB: Request i
Log for bluetooth stuff (I re-paired my tablet and tried to connect. Still connection refused, doesn't look like much helpful stuff in the log):

Code:
Found input device on '/dev/input/event0' (keypad)
Found input device on '/dev/input/event1' (power-button)
Found input device on '/dev/input/event2' (nub0)
Found input device on '/dev/input/event3' (nub1)
Found input device on '/dev/input/event4' (gpio-keys)
Found input device on '/dev/input/event5' (touchscreen)
Plugin: Loaded Keyboard!
Plugin: Loaded Mouse!
Plugin: Loaded Gamepad!
SDP: Services registered!
Bluetooth: Server started!
Bluetooth: Listening for connections...
USB: Server started. Waiting for
 
The USB connection doesn't work for me, MasterControl reports as "Connected", and I can see in Windows a device called "Pandora HID" but the "Mouse compatible HID" driver seems to have problems starting

EDIT: I removed the Mouse driver from the hardware list and then unplugged and replugged the pandora, now the keyboard works, but in the list now I see 2 "HID keyboard" and no Mouse
 
Last edited by a moderator:
Oh, forgot my Android version. It's 4.0.3, on an HTC Evo 3D, it's MidnightRomS 1.1.2.
 
The Gamepad DPad Left and Right doesn't work for me... the other game keys seems working (even Up and Down)

EDIT: Actually it works, seems like it doesn't work only in Hydro Thunder, but it's an old game, maybe it doesn't support so much gamepads
 
Last edited by a moderator:
Thanks for your feedbacks. I found a critical bug in the new plugin system, where the HID descriptors are assembled incorrectly. This error affects both, USB and Bluetooth. I will upload a hotfixed version tomorrow!

Download will be disabled until then.
 
Last edited by a moderator:
Back
Top