Prev Previous Post   Next Post Next
Old 09-06-2012, 06:01 PM
VanniX VanniX is offline
Join Date: Nov 2011
Location: Italy - Clowns country
Posts: 120

I simply compiled all gadget modules (scsi are required for OTG storage) from samsung sources:
  CC      drivers/scsi/ch.mod.o
  LD [M]  drivers/scsi/ch.ko
  CC      drivers/scsi/scsi_mod.mod.o
  LD [M]  drivers/scsi/scsi_mod.ko
  CC      drivers/scsi/scsi_wait_scan.mod.o
  LD [M]  drivers/scsi/scsi_wait_scan.ko
  CC      drivers/scsi/sd_mod.mod.o
  LD [M]  drivers/scsi/sd_mod.ko
  CC      drivers/scsi/sg.mod.o
  LD [M]  drivers/scsi/sg.ko
  CC      drivers/usb/gadget/arcotg_udc.mod.o
  LD [M]  drivers/usb/gadget/arcotg_udc.ko
  CC      drivers/usb/gadget/g_file_storage.mod.o
  LD [M]  drivers/usb/gadget/g_file_storage.ko
  CC      drivers/usb/gadget/g_midi.mod.o
  LD [M]  drivers/usb/gadget/g_midi.ko
  CC      drivers/usb/gadget/g_serial.mod.o
  LD [M]  drivers/usb/gadget/g_serial.ko
  CC      drivers/usb/gadget/g_zero.mod.o
  LD [M]  drivers/usb/gadget/g_zero.ko
  CC      drivers/usb/gadget/gadgetfs.mod.o
  LD [M]  drivers/usb/gadget/gadgetfs.ko
And then i loaded it without problems:
modprobe g_serial
Now serial gadget and usb otg hardware basically work, but now we need a good configuration for linux.
In player console when i connect the usb cable it write:
[  261.130000] gs_disconnect: Gadget Serial disconnected
[  261.240000] gs_setup_complete: status error, status=-108, actual=28, length=28
[  261.250000] gs_disconnect: Gadget Serial disconnected
[  261.380000] gs_setup_complete: status error, status=-108, actual=18, length=18
[  261.390000] gs_setup_complete: status error, status=-108, actual=32, length=32
[  261.400000] gs_setup_complete: status error, status=-108, actual=28, length=28
[  261.410000] gs_setup_complete: status error, status=-108, actual=4, length=4
[  261.410000] gs_set_config: Gadget Serial configured, high speed BULK config
[  261.420000] gs_setup_complete: status error, status=-108, actual=38, length=38
And.. In my thinkpad, with lsusb it shows:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0a5c:2110 Broadcom Corp. Bluetooth Controller
Bus 005 Device 003: ID 0483:2016 SGS Thomson Microelectronics Fingerprint Reader
Bus 004 Device 008: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device
Bus 001 Device 019: ID 0525:a4a6 Netchip Technology, Inc. Linux-USB Serial Gadget
This is your link, but it's useless now...

Like these other...

Then i can't go on myself, i need help :P
Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 10:45 AM.