while inserting the usb in otg port : imx6

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

while inserting the usb in otg port : imx6

561 Views
sumanthg
Contributor II

Usb port: When connecting in device mode

Error message:

/sys/class/gpio/gpci_hdrc ci_hdrc.0: EHCI Host Controller
io87 # ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 2
ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 3.14.52-00003-gc58c145-dirty ehci_hcd
usb usb2: SerialNumber: ci_hdrc.0
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1999 at fs/sysfs/dir.c:52 sysfs_warn_dup+0x80/0x8c()
sysfs: cannot create duplicate filename '/dev/char/189:128'
Modules linked in:
CPU: 0 PID: 1999 Comm: kworker/u4:2 Not tainted 3.14.52-00003-gc58c145-dirty #13
Workqueue: ci_otg ci_otg_work
[<c0015a34>] (unwind_backtrace) from [<c0012518>] (show_stack+0x10/0x14)
[<c0012518>] (show_stack) from [<c0a1fc04>] (dump_stack+0x7c/0xbc)
[<c0a1fc04>] (dump_stack) from [<c003b8fc>] (warn_slowpath_common+0x74/0x90)
[<c003b8fc>] (warn_slowpath_common) from [<c003b948>] (warn_slowpath_fmt+0x30/0x40)
[<c003b948>] (warn_slowpath_fmt) from [<c0190dac>] (sysfs_warn_dup+0x80/0x8c)
[<c0190dac>] (sysfs_warn_dup) from [<c0191098>] (sysfs_do_create_link_sd.isra.2+0xb4/0xbc)
[<c0191098>] (sysfs_do_create_link_sd.isra.2) from [<c0467c60>] (device_add+0x1e8/0x538)
[<c0467c60>] (device_add) from [<c05c2b0c>] (usb_new_device+0x270/0x56c)
[<c05c2b0c>] (usb_new_device) from [<c05c7f28>] (usb_add_hcd+0x3d4/0x6fc)
[<c05c7f28>] (usb_add_hcd) from [<c05f3bd8>] (host_start+0x180/0x3fc)
[<c05f3bd8>] (host_start) from [<c05efd10>] (ci_handle_id_switch+0xa8/0xd8)
[<c05efd10>] (ci_handle_id_switch) from [<c05efeec>] (ci_otg_work+0x1ac/0x274)
[<c05efeec>] (ci_otg_work) from [<c0054174>] (process_one_work+0x10c/0x450)
[<c0054174>] (process_one_work) from [<c0054f2c>] (worker_thread+0x130/0x3bc)
[<c0054f2c>] (worker_thread) from [<c005a740>] (kthread+0xcc/0xe4)
[<c005a740>] (kthread) from [<c000e6c0>] (ret_from_fork+0x14/0x34)
---[ end trace 5e76402d5711cbce ]---
usb usb2: can't device_add, error -17
ci_hdrc ci_hdrc.0: can't register root hub for usb2, -17
ci_hdrc ci_hdrc.0: USB bus 2 deregistered

0 Kudos
1 Reply

315 Views
igorpadykov
NXP Employee
NXP Employee

Hi sumanth

misbehaviour may be caused by wrong image, please try

to identify it: what is full name of used processor?

Use mfg tools for that processor and linux bsps release found

on link

i.MX 6 Series Software and Development Tool|NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos