USB host not working on imx6 marshmallow

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

USB host not working on imx6 marshmallow

728 次查看
divyeshpatel
Contributor I

hi,

     I am working on imx6 sabreauto marshmallow platform. When I insert USB Stick at that time 

it is showing attached device but in android screen it not showing. Currently, I am using Linux 4.1.15 kernel.

Log:

usb 1-1.4: new full-speed USB device number 5 using ci_hdrc
usb 1-1.4: not running at top speed; connect to a high speed hub
usb 1-1.4: New USB device found, idVendor=0781, idProduct=5567
usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-1.4: Product: Cruzer Blade
usb 1-1.4: Manufacturer: SanDisk
usb 1-1.4: SerialNumber: 4C530001180519116383
usb-storage 1-1.4:1.0: USB Mass Storage device detected
scsi host1: usb-storage 1-1.4:1.0
imx-spdif sound-spdif: ASoC: CPU DAI (null) not registered
imx-spdif sound-spdif: snd_soc_register_card failed: -517
imx-spdif sound-spdif: ASoC: CPU DAI (null) not registered
imx-spdif sound-spdif: snd_soc_register_card failed: -517
scsi 1:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 6
imx-spdif sound-spdif: ASoC: CPU DAI (null) not registered
imx-spdif sound-spdif: snd_soc_register_card failed: -517
sd 1:0:0:0: [sda] 15633408 512-byte logical blocks: (8.00 GB/7.45 GiB)
sd 1:0:0:0: [sda] Write Protect is off
sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
sda: sda1
sd 1:0:0:0: [sda] Attached SCSI removable disk

root@sabreauto_6q:/ #

0 项奖励
2 回复数

457 次查看
divyeshpatel
Contributor I

hi Vinod Kumar,

                         Thanks for reply, I can do USB stick mount manually. But issue is that in the /etc/ udev is not found,

so, how can i do that without udev?

0 项奖励

457 次查看
vinodmaverickr0
Contributor IV

Hi Divyesh,

From the logs it looks like that USB device is mounted (we can see the vendor and product ID of USB devices). Only sound card registration is getting failed.

You can check the USB device mounting through lsusb command. Once you can see the device you can perform the below task:

Mounting the USB device:

mount -t usbfs none /proc/bus/usb

Add the vendor and Product ID here to see the device on screen

/etc/udev/rules.d/*

Regards,

Vinod Kumar

0 项奖励