About a USB driver of LinuxBSP for i.MX6 Solo

cancel
Showing results for 
Search instead for 
Did you mean: 

About a USB driver of LinuxBSP for i.MX6 Solo

Jump to solution
889 Views
yuuki
Contributor V

Dear all,

We use i.MX6Solo.
And L3.0.35_4.0.0_130424_source.tar.gz is used.

We have some questions about Linux BSP.

In our system, we think about the following configuration.
We use this for the maintenance of our system. (like RS232C)

     [PC(USB Host)]<====[USB to serial]====>[i.MX6 original board(USB Device)]

In this case, we understand that we should use "g_serial" included in the USB gadget of Linux BSP.

[Question1]
We want to modify this "g_serial".
However, the "g_serial" is a module form.

Can "g_serial" be modified?

[Question2]
Is there the document about "g_serial"?

[Question3]
When we use USB like RS232C, is there the good idea?

[Question4]
We understand that the USB driver included in Linux BSP decides the operation of the USB port by a state of USB_OTG_ID.

      - Low => USB_OTG of i.MX6 works as Host.
      - High => USB_OTG of i.MX6 works as Device.

Is my understanding right?

May I have advice?

Best Regards,
Yuuki

Labels (1)
0 Kudos
1 Solution
279 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Yuuki

1.2. for  usb "g_serial" one can look at

Linux-USB Gadget API Framework

and attached Linux Manual Chapter 41 CHIPIDEA USB Driver,

in most cases there is no need for modification of this driver

3. this is common approach, seems this is not bad idea

4. yes it is right

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
280 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Yuuki

1.2. for  usb "g_serial" one can look at

Linux-USB Gadget API Framework

and attached Linux Manual Chapter 41 CHIPIDEA USB Driver,

in most cases there is no need for modification of this driver

3. this is common approach, seems this is not bad idea

4. yes it is right

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos