Help for s3c-hsotg driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

Currently I am trying to bring up Linux kernel 2.6.32 on a dev board equipped
with S3C6410.  I met some problems when attempting to load s3c-hsotg driver
together with the g_file_storage kernel module to use the 6410 platform as a usb
disk.  Basically, the problem is that my Windows host cannot recognize the
device correctly and from reading the log, I found that there are many INTknEP
interrupts on ep0 and finally the device got suspended.  I tried 2.6.35 as well
since it is said to have several patches on s3c-hsotg.c.  On the other hand, the
hsotg code for s3c in uboot appeared to work well since booting with U-Boot, I
managed to download a kernel into the dev board using dnw through USB cable.

In case you are interested, I have attached the an excerpt of the log captured
from the
s3c-hsotg kernel driver.  And advice or suggestion would be appreciated.

Thanks,
-       Jason

log:

<7>g_file_storage gadget: ep0-setup, length 8:
<7>00000000: 80 06 00 01 00 00 40 00
<7>g_file_storage gadget: get device descriptor
<7>s3c-hsotg s3c-hsotg: ep0: req c7960c00: 18@c79d3200, noi=0, zero=1, snok=0
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_start_req: DxEPCTL=0x00028000, ep 0, dir in
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_start_req: 1@18/18, 0x00080012 => 0x00000910
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_start_req: DxEPCTL=0x84028000
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_write_fifo: GNPTXSTS=0b0701c0, can=448, to=18,
mps 64
<7>s3c-hsotg s3c-hsotg: write 18/18, can_write 448, done 0
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_start_req: DxEPCTL=0x80008000
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: 040e8028 000c0000 (f00c3cd4) retry 6
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: daint=00010001
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0(out) DxEPINT=0x00000018
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: Setup/Timeout
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0(in) DxEPINT=0x000000f0
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: B2BSetup/INEPNakEff
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknTXFEmpMsk
<7>s3c-hsotg s3c-hsotg: Jason read fifo 
<4>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknEP
s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknEP
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: 04068028 00040000 (f00c3cd4) retry 8
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: daint=00000001
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0(in) DxEPINT=0x000000b0
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknTXFEmpMsk
<7>s3c-hsotg s3c-hsotg: Jason read fifo 
<4>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknEP
s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknEP
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: 04068028 00040000 (f00c3cd4) retry 8
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: daint=00000001
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0(in) DxEPINT=0x000000b0
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknTXFEmpMsk
<7>s3c-hsotg s3c-hsotg: Jason read fifo 
<4>s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknEP
s3c-hsotg s3c-hsotg: s3c_hsotg_epint: ep0: INTknEP
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: 04068028 00040000 (f00c3cd4) retry 8
<7>s3c-hsotg s3c-hsotg: s3c_hsotg_irq: daint=00000001

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux