[Galaxy Tab  Android Development] nogo8888:
Re: [ROM][CM10.1][JB][4.2.2][SGT7][P1000/N/L/CDMA][OpenPDroid][20130328]

Initial report on 3/28 update:

Usb host working great. Able to detect usb mouse.

I will update on the usb serial test on next post

Update:

u0_a24@android:/ $ su

u0_a24@android:/ # insmod /system/lib/modules/pl2303.ko

u0_a24@android:/ # lsmod

pl2303 10650 0 - Live 0xbf05b000

usbserial 26166 1 pl2303, Live 0xbf065000

bcmdhd 334910 0 - Live 0xbf007000

vibrator 5875 0 - Live 0xbf000000

u0_a24@android:/ # dmesg | grep usb

<6>[ 0.000000] sclk_cam: source is xusbxti (1), rate is 24000000

<6>[ 0.624316] usbcore: registered new interface driver usbfs

<6>[ 0.624506] usbcore: registered new interface driver hub

<6>[ 0.624802] usbcore: registered new device driver usb

<4>[ 0.942890] sec_switch_init_work : initial usb_sel(1), uart_sel(0)

<6>[ 2.626134] usbcore: registered new interface driver cdc_acm

<6>[ 2.626582] usbcore: registered new interface driver usb-storage

<6>[ 2.628136] android_usb gadget: android_usb ready

<7>[ 2.631872] Registered gadget driver 'android_usb'

<6>[ 2.632666] android_register_function usb_mass_storage

<4>[ 2.633257] android_usb gadget: using random self ethernet address

<4>[ 2.633443] android_usb gadget: using random host ethernet address

<6>[ 2.634546] usb0: MAC 7a:25:fb:08:2f:49

<6>[ 2.634723] usb0: HOST MAC 1e:a8:e5:f5:df:f8

<6>[ 2.635136] android_usb gadget: Mass Storage Function, version: 2009/09/11

<6>[ 2.635318] android_usb gadget: Number of LUNs=2

<6>[ 2.636954] usbcore: registered new interface driver xpad

<6>[ 3.091707] usbcore: registered new interface driver usbhid

<6>[ 3.091808] usbhid: USB HID core driver

<6>[ 52.304253] usbcore: registered new interface driver usbserial

<6>[ 52.304648] usbcore: registered new interface driver usbserial_generic

<6>[ 52.304731] usbserial: USB Serial Driver core

<6>[ 52.906964] init: processing action 0x310a8 (property:persist.sys.usb.config=*)

<6>[ 52.907431] init: processing action 0x30780 (property:sys.usb.config=none)

<6>[ 52.908112] init: processing action 0x35790 (property:sys.usb.config=none)

<6>[ 52.908415] init: processing action 0x357e8 (property:sys.usb.config=mass_storage)

<6>[ 457.845545] usbcore: registered new interface driver pl2303

<7>[ 713.397984] usb usb1: default language 0x0409

<7>[ 713.410323] usb usb1: udev 1, busnum 1, minor = 0

<6>[ 713.410477] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

<6>[ 713.410561] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

<6>[ 713.410707] usb usb1: Product: S3C OTGHCD

<6>[ 713.410787] usb usb1: Manufacturer: Linux 2.6.35.14-HumberOS-g8e37547 EMSP_OTGHCD

<6>[ 713.410933] usb usb1: SerialNumber: s3cotg

<7>[ 713.415160] usb usb1: usb_probe_device

<7>[ 713.415315] usb usb1: configuration #1 chosen from 1 choice

<7>[ 713.415427] usb usb1: adding 1-0:1.0 (config #1, interface 0)

<7>[ 713.415971] hub 1-0:1.0: usb_probe_interface

<7>[ 713.416056] hub 1-0:1.0: usb_probe_interface - got id

<6>[ 713.431226] => OTG HCD Initialized HCD, bus=C110 OTG Controller, usbbus=1

<6>[ 713.894309] usb 1-1: new full speed USB device using s3c_otghcd and address 2

<7>[ 714.019742] usb 1-1: default language 0x0409

<7>[ 714.020141] usb 1-1: udev 2, busnum 1, minor = 1

<6>[ 714.020226] usb 1-1: New USB device found, idVendor=067b, idProduct=2303

<6>[ 714.020373] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0

<6>[ 714.020457] usb 1-1: Product: USB-Serial Controller D

<6>[ 714.020601] usb 1-1: Manufacturer: Prolific Technology Inc.

<7>[ 714.021037] usb 1-1: usb_probe_device

<7>[ 714.021188] usb 1-1: configuration #1 chosen from 1 choice

<7>[ 714.021784] usb 1-1: adding 1-1:1.0 (config #1, interface 0)

<7>[ 714.022318] usbserial_generic 1-1:1.0: usb_probe_interface

<7>[ 714.022406] usbserial_generic 1-1:1.0: usb_probe_interface - got id

<7>[ 714.022575] pl2303 1-1:1.0: usb_probe_interface

<7>[ 714.022658] pl2303 1-1:1.0: usb_probe_interface - got id

<6>[ 714.024679] usb 1-1: pl2303 converter now attached to ttyUSB0

u0_a24@android:/ # microcom -s 9600 /dev/ttyUSB0

@alroger, @humberos please see hidden codes.

Modules are in place, usb to serial adapter was detected and was attached to ttyUSB0.

upon microcom command it just hangs and i think no communication to external serial device.