[Dev] SDB does not work on ODROID-U3

Chanho Park chanho61.park at samsung.com
Fri Aug 29 15:00:23 GMT 2014


Hi,

Can you try below command in your odroid shell?
(Actually, the linux-3.10 is for tizen 3.0.)

$ killall sdbd
$ echo 0 > /sys/class/usb_mode/usb0/enable
$ echo sdb > /sys/class/usb_mode/usb0/funcs_fconf
$ echo 1 > /sys/class/usb_mode/usb0/enable
$ sdbd

In your host PC,
$ sdb devices

Best Regards,
Chanho Park

> -----Original Message-----
> From: Dev [mailto:dev-bounces at lists.tizen.org] On Behalf Of GyeongHwan
> Hong
> Sent: Friday, August 29, 2014 11:49 PM
> To: dev at lists.tizen.org
> Subject: [Dev] SDB does not work on ODROID-U3
> 
> I am porting Tizen 2.2.1 on ODROID-U3 board, and this work is almost
> done.
> 
> 
> I enabled 'USB debugging' in preferences app and plugged it to Host PC
> through USB cable.
> 
> 
> However, on the host PC(Ubuntu 13.10), 'sdb devices' command does not
> show any devices at all.
> 
> Host PC cannot even recognize ODROID-U3 with Tizen as USB storage.
> 
> 
> When I run Android(a version given by manufacturer) on the same device,
> ODROID-U3 is successfully connected to host PC through adb or USB
> storage connection.
> 
> 
> I think that I forgot to port something required for SDB or USB storage
> connection.
> 
> 
> Tizen on ODROID-U3 is using Kernel 3.10, which is based on the Tizen
> source code and built by myself.
> 
> I recognized some code related to USB-OTG support in "arch/arm/mach-
> exynos/mach-smdk4x12.c"(ODROID-U3 uses Exynos 4412.) and
> "drivers/usb/gadget/s3c-hsotg.c".
> 
> SDB-related code is also found in "drivers/usb/gadget/f_sdb.c".
> 
> I guess that this kernel have enough code to support SDB and USB stoage
> connection.
> 
> However, I don't know about the full processes of them, so I cannot
> ensure it.
> 
> 
> What components are required for SDB?
> 
> If I know the components, I could resolve this problem.
> 
> Please tell me about it.
> 
> 
> Thanks,
> Gyeonghwan Hong.
> 
> 
> --
> 
> Gyeonghwan Hong (RedCarrottt)
> Embedded Software Lab.
> Sungkyunkwan University
> RedCarrottt at gmail.com



More information about the Dev mailing list