Keyboard,Mouse with sabre auto i.mx6q

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Keyboard,Mouse with sabre auto i.mx6q

2,166 次查看
ahmetkoc
Contributor III

Hi all,

I have a sabre automotive i.mx6q board. I installed yocto linux into it.

How can I use keyboard/mouse with it ? When I try to logitech M235 wireless mouse the board can't detect it.

Also which usb port I can use for Keyboard/Mouse ?

Thank you from now.

标签 (1)
标记 (2)
0 项奖励
回复
13 回复数

1,790 次查看
ahmetkoc
Contributor III

I don't have the source code is there a way to change it from OS ? I will try the cable soon.

0 项奖励
回复

1,790 次查看
deepika_t
Contributor IV

Are'nt you having the source code of the Sabre Auto?

Try with the cable shown by Dan Wang.

0 项奖励
回复

1,790 次查看
ahmetkoc
Contributor III

Is this file avaliable before -make all command in buildroot or it is already in OS after install?

Atm there isn't such a directory in OS.  We are using yocto/open embedded atm. And I  have the finalized image only. My file directory in board looks like this:

bin    lost+found  proc  tmp

boot  home  media       run   unit_tests

dev   mnt      sbin  usr

etc   lib  opt      sys   var

I tried both with mouse and keyboard but it wasn't with the otg to usb 2.0 cable it was with the connector that i posted above.

When i measure the output of otg, is is between 0.2 - 03 mV

0 项奖励
回复

1,790 次查看
deepika_t
Contributor IV

In your kernel directory,go to arch/arm/boot/dts . In this location you will get all the device tree related files. Search for imx6qdl-sabreauto.dtsi.

Also have you tried connecting mouse? Is the board able to give power to it?

0 项奖励
回复

1,790 次查看
ahmetkoc
Contributor III

Hi,

Where I can find that file ?

0 项奖励
回复

1,790 次查看
deepika_t
Contributor IV

Hi

Yes it can be one issue you need to enable the power for usb otg vbus.Can you show me your imx6qdl-sabreauto.dtsi configuration?

0 项奖励
回复

1,790 次查看
ahmetkoc
Contributor III

hi all,

Also output of  usb otg is near 0V I get this message from dmesg or on boot loading.

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1

ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

input: gpio-keys as /devices/soc0/gpio-keys/input/input4

snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2016-07-14 12:32:19 UTC (1468499539)

can-stby: disabling

can-en: disabling

usb_otg_vbus: disabling  => can it be the  problem ?

0 项奖励
回复

1,790 次查看
deepika_t
Contributor IV

Hi

You can use the OTG port as shown in the figure.You need to use OTG to USB 2.0 cable to connect your mouse/keyboard

pastedImage_2.png

0 项奖励
回复

1,790 次查看
ahmetkoc
Contributor III

Thank you or reply, I am using  this connection. Can it be the cause of problem?

usb_af_af.jpg

0 项奖励
回复

1,790 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Hi,

Yes. Here you can use otg line to connect the keyboard or mouse to your board.

IMG_20160715_154309_HDR.jpg

IMG_20160715_154243_HDR.jpg
Have a great day,
Dan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct  button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

1,790 次查看
deepika_t
Contributor IV

Hi

I am not able to view the image.Can you repost it.

0 项奖励
回复

1,790 次查看
ahmetkoc
Contributor III

Here is the image:

usb_af_af.jpg

0 项奖励
回复

1,790 次查看
deepika_t
Contributor IV

Hi ahmet ko&ccedil

You can use the cable shown by Dan Wang

0 项奖励
回复