This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Questions about USB in DM6446



Dear all,

       My kernel is lsp1.20 with all patches, dm6446, sili. Now I got a serious issues with the usb:

       1. If I attach more than two devices to the self-powered hub, the usb sub-system would become unstable. Devices may  disconnect randomly;

       2. "sg_completet, unlink --> 0" error messages may occur while an usb-harddisk is attched;

       3. If I downloaded datas to usb-harddisk via usb-wifi wireless network, the network will disconnect after downloaded a few data.

       Thanks! Waiting for your reply.

          Wei Jiang

  • Hi,

    Can you clarify whether it is LSP1.2 or LSP2.1?

    Can you try using LSP1.1 witht he associated patches w.r.t DM6446.

    regards

    swami

  • Hi  swami.

         Thanks for your kindly reply.

          It is LSP1.20, MV 2.6.10 Kernel.

         I have no experience of LSP1.1 and LSP1.20 is recommended by TI.

        Best Regards,

        Wei Jiang

  • I have not heard such instability on LSP1.2.  Hopefully you have applied all the related patches that are available in the updater site.

    regards

    swami

  • WeiJiang said:

         I have no experience of LSP1.1 and LSP1.20 is recommended by TI.

    We normally recommend you work with the latest DVSDK software available; by upgrading entire DVSDK (as opposed to just one software component such as LSP ) you are ensured compatibility among all software components included in that DVSDK release.  That said, the latest DVSDK release for DM6446 is based on LSP 2.0; therefore I am wondering who recommended you use LSP 1.20?  May be they had a good reason for doing so, but I am just curious since that LSP is quite old by now.

  • Hi Juan,

      Thanks for your reply.

       I have just tested lsp2.00. These issues are still exist.

         Wei Jiang

  • Have you checked the Driver Data Manual included in PSP tree (e.g. dvsdk_x_xx_xx_xxx/PSP_x_xx_xx_xxx/docs ); this document list restrictions assciated with USB.  I just had a quick glance and it suggests wireless class has not been validated yet, hence this may explain some of the issues you are seeing.  There are also some scenerious with the way endpoints are assigned (and possible work-arounds) that are mentioned.  I would have a look to ensure you are not falling into any of these restrictions.  If you are, then I am afraid these are known issues and will likely not get fixed in a new DVSDK release soon.  If you beleive these are new issues, then please send detailed instructions on how to reproduce these and which USB devices you are using.  If possible, I will try to reproduce on my end and/or file a bug accordingly.

  • Hi Juan,

        Thanks a lot for your help.

         Driver Data Manua in LSP1.20 doen't mention the way endpoints are assigned.

        Now I "Enable Scheduling of Interrupt Endpoint (EXPERIMENTAL)" and set the "old_scheme_first" to Y. It seems OK except my usb-wifi wireless speed dwon from 2MB/s to 700KB/s.

         While setting "old_scheme_first=0" the usb-wifi I got much better speed reach to 2MB/s but now it's only 700KB/s.

         Can you give me some advice about this? Why the old scheme is slower  than the new one?

        Best Regards,

         Wei Jiang