USB keyboard not recognized Meizu 4

Bug #1488899 reported by fcolcord
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Medium
Unassigned

Bug Description

expected:
using Meizu Ubuntu phone on screen keyboard
plug in usb keyboard
type on keyboard
letters appear on phone

what happened instead:
no letters appear, even after I restart, even after I wait for a while, even if I plug in or don't plug in the power supply to OTP cable

I have an external keyboard and OTP cable which are recognized by my android Nexus 7.
I am trying to use them with my Meizu 4.

I think I have got it to work once. I can't remember.
I have left the keyboard in for a while, and it doesn't work.

OS: Ubuntu 15.04(r3)
Last updated 6/30/15
(no updates available)

I am just a normal user, haven't tried to become a developer user.

I've searched for the word keyboard in the settings. Don't see anything.
I've searched in apps. Don't see anything helpful.

I'm happy to debug, but not sure where to start.

I've searched for USB in the bugs reported, and don't see it.

I've looked through some questions:
http://askubuntu.com/search?q=%5Bubuntu-touch%5D+usb+keyboard

http://askubuntu.com/questions/485816/onboard-usb-keyboard-doesnt-work-ubuntu-14-04
This is about desktop ubuntu. I don't see the "System Settings / Universal Access / Typing" on my phone.

http://askubuntu.com/questions/218139/can-i-use-a-usb-keyboard-and-mouse-with-the-nexus-7
this question indicates it should work

http://askubuntu.com/questions/634715/state-of-usb-host-on-ubuntu-touch-port-on-nexus-4
this question hasn't been answered

http://askubuntu.com/questions/601771/external-usb-numeric-keypad-not-working-14-04
this question has some trouble shooting steps, but doesn't look relevant to my problem.

http://askubuntu.com/questions/561491/touch-pad-not-working-yoga-2-pro-ubuntu-14-10
I typed xinput in the terminal and got 'command not found'
I typed 'dmesg' in the terminal and got: 'dmesg: read kernel buffer failed: Operation not permitted'

Please let me know how to help you debug this problem.

Revision history for this message
fcolcord (fcolcord) wrote :

I found this:

http://askubuntu.com/questions/77515/how-can-i-automatically-change-the-system-keyboard-layout-when-plugging-in-an-ex

I typed 'lsusb' into the terminal and got 'bash: lsusb: command not found'

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

I've reassigned this to unity8 for now, since it's unity that actually does the detection of the hardware keyboard (the ubuntu-keyboard project only refers to the on-screen keyboard).

affects: ubuntu-keyboard (Ubuntu) → unity8 (Ubuntu)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

not really unity either... must be the USB drivers/kernel. Not sure if the MX4 even supports this. Moving to canonical-devices-system-image for further dispatching.

affects: unity8 (Ubuntu) → canonical-devices-system-image
Revision history for this message
fcolcord (fcolcord) wrote : Re: [Bug 1488899] Re: USB keyboard not recognized Meizu 4

Thanks for keeping me posted.

I've updated the phone and tested the keyboard again.

Meizu MX4 Ubuntu Edition
OS: Ubuntu 15.04(r4)
Last updated 8/28/15

I've left the keyboard plugged in for an hour or so. Same results.
Should I reboot the phone and look again?

Happy to troubleshoot, if I can help.

Since my last bug report on this, I've installed LogViewer. I don't know
which log I'm looking for.

DBUS? I can't see anything there.

media-hub? just looks like audio events.

unity8-dash.log? nothing interesting there.

unity8.log? nothing interesting there.

usensord? nothing interesting there.

Those are the only logs that look at all relevant (or I don't know what
they are).

thanks again for your work on this.

Frank

On 1 September 2015 at 14:19, Michael Zanetti <<email address hidden>
> wrote:

> not really unity either... must be the USB drivers/kernel. Not sure if
> the MX4 even supports this. Moving to canonical-devices-system-image for
> further dispatching.
>
> ** Package changed: unity8 (Ubuntu) => canonical-devices-system-image
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1488899
>
> Title:
> USB keyboard not recognized Meizu 4
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1488899/+subscriptions
>

--
<email address hidden>, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: <email address hidden>

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@YC can you comment

Changed in canonical-devices-system-image:
assignee: nobody → Yuan-Chen Cheng (ycheng-twn)
status: New → Confirmed
Revision history for this message
fcolcord (fcolcord) wrote :

Hi Everyone,

thanks for taking this on.

I've just turned on my Ubuntu phone, updated it, and my Dell USB keyboard
still doesn't work.
Meizu MX4 Ubuntu Edition.

I've been using the same keyboard and cable all the time with my Google
Nexus 7 (running plain android).

Let me know what I can do to help trouble shoot this.

About this phone says OS=Ubuntu 15.04 (r6)
Last updated 10/21/15

Reading through emails above:

I typed 'lsusb' into the terminal and got 'bash: lsusb: command not
found'

that is still true.

I've looked through logviewer, and don't see anything there which might
help.
Let me know what to look for.

I'm just about to leave the office.
I will leave the phone here, happy to answer emails tomorrow.

kind regards,

Frank

On 21 October 2015 at 16:24, Pat McGowan <email address hidden> wrote:

> @YC can you comment
>
> ** Changed in: canonical-devices-system-image
> Status: New => Confirmed
>
> ** Changed in: canonical-devices-system-image
> Assignee: (unassigned) => Yuan-Chen Cheng (ycheng-twn)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1488899
>
> Title:
> USB keyboard not recognized Meizu 4
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1488899/+subscriptions
>

--
<email address hidden>, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: <email address hidden>

Revision history for this message
fcolcord (fcolcord) wrote :

I've just tested it again.

The difference is whether the OTG cable has the power connected or not.

The phone does NOT recognize the keyboard when the power IS connected.
The phone DOES recognize the keyboard when the power is NOT connected.

Steps to replicate

1) Buy cable from Amazon
Afunta Micro USB Host OTG Cable with Micro USB Power for Samsung Nexus 7
Galaxy S2 / S3 / S4 & Galaxy Nexus, Samsung i9100 i9300 i9220 i9250
http://www.amazon.co.uk/gp/product/B00EAM8A5G?psc=1&redirect=true&ref_=oh_aui_search_detailpage

2) Plug USB power supply into OTG cable
3) Plug USB keyboard into OTG cable
3) Plug OTG cable into Meizu phone

4) Open word processor
5) type on Dell USB keyboard

Expected behaviour: letters appear on phone
Actual behaviour: nothing appears on phone

6) Unplug OTG cable from Meizu phone
7) Unplug USB power supply from OTG cable
8) Plug OTG cable into Meizu phone
9) type on Dell USB keyboard

Expected and Actual behaviour: Letters appear on phone.

(This didn't occur when I tested this the first time I reported the bug.
Having the power supply plugged in didn't matter as to whether the letters
appeared.)

Hope that helps solve the bug.

thanks,

Frank

On 21 October 2015 at 18:16, Frank Colcord <email address hidden> wrote:

> Hi Everyone,
>
> thanks for taking this on.
>
> I've just turned on my Ubuntu phone, updated it, and my Dell USB keyboard
> still doesn't work.
> Meizu MX4 Ubuntu Edition.
>
> I've been using the same keyboard and cable all the time with my Google
> Nexus 7 (running plain android).
>
> Let me know what I can do to help trouble shoot this.
>
> About this phone says OS=Ubuntu 15.04 (r6)
> Last updated 10/21/15
>
> Reading through emails above:
>
> I typed 'lsusb' into the terminal and got 'bash: lsusb: command not
> found'
>
> that is still true.
>
> I've looked through logviewer, and don't see anything there which might
> help.
> Let me know what to look for.
>
> I'm just about to leave the office.
> I will leave the phone here, happy to answer emails tomorrow.
>
> kind regards,
>
> Frank
>
>
>
>
> On 21 October 2015 at 16:24, Pat McGowan <email address hidden>
> wrote:
>
>> @YC can you comment
>>
>> ** Changed in: canonical-devices-system-image
>> Status: New => Confirmed
>>
>> ** Changed in: canonical-devices-system-image
>> Assignee: (unassigned) => Yuan-Chen Cheng (ycheng-twn)
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1488899
>>
>> Title:
>> USB keyboard not recognized Meizu 4
>>
>> To manage notifications about this bug go to:
>>
>> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1488899/+subscriptions
>>
>
>
>
> --
> <email address hidden>, cell: +447763116793, skype: colcord,
> if you ever get no response, please send to: <email address hidden>
>

--
<email address hidden>, cell: +447763116793, skype: colcord,
if you ever get no response, please send to: <email address hidden>

Changed in canonical-devices-system-image:
importance: Undecided → Medium
Changed in canonical-devices-system-image:
milestone: none → backlog
Changed in canonical-devices-system-image:
assignee: Yuan-Chen Cheng (ycheng-twn) → nobody
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers