USB-to-Serial and USB-to-MODEM device support on i.MX53 QSB.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

USB-to-Serial and USB-to-MODEM device support on i.MX53 QSB.

1,646 次查看
Claude_Sylvain
Contributor I

Hello,

- Have anyone tried to get an USB-to-Serial or a USB-to-MODEM
  device to work on the i.MX53 Quick Start Board?

- I am currently trying to get one to work (Prolific PL-2303),
  without success.


Claude



标签 (1)
0 项奖励
回复
6 回复数

1,257 次查看
Claude_Sylvain
Contributor I

Hello Joshua,

- I was able to get the USB-to-MODEM driver working on i.MX53
  QSB.
  But, I have not followed exactly the way explained by Matt
  Clements.  What I have done is add the USB-to-MODEM driver
  when configuring the Kernel in Ltib (like Matt says), but
  also build rootfs (software packages) to have a BSP
  built from scratch.

- Remark: Building BSP from scratch is really not obvious, if you
  never done such thing before.  But, it can be done if you take the
  time to do it.


Claude

0 项奖励
回复

1,257 次查看
JoshuaParrish
Contributor I

Matt, 

 

I haven't had luck trying this out. I've built the modules I need, usbserial.ko and cp210x.ko. 

I copied them to my quickstart board sd card. 

then when I try to insmod them, they do not load. 

insmod reports that they are in an incorrect format.

 

any ideas?

 


Matt Clemens said:

You should just need to build a couple driver modules (usbserial & pl2303) in the kernel config menu, then put the .ko files at /lib/modules/[kernel version]/kernel/drivers/usb/serial and insmod the driver.

 

To do this, in ltib select "configure the kernel" in the top level ltib menu, then when you get into the kernel config menu go to Device Drivers -> USB Support -> USB Serial Converter support <M> -> USB Prolific 2303 Single Port Serial Driver <M>.

 

Then when the build is done copy the usbserial.ko and pl2303.ko files that you'll find at ltib/rootfs/lib/modules/[kernel version]/drivers/usb/serial to the rootfs on your SD card, and you should then be able to insmod the driver and get it working.

0 项奖励
回复

1,257 次查看
Claude_Sylvain
Contributor I

Matt Clemens said:

>
> You should just need to build a couple driver modules
> (usbserial & pl2303) in the kernel config menu, then put the
> .ko files at /lib/modules/[kernel version]/kernel/drivers/
> usb/serial and insmod the driver.
>
> To do this, in ltib select "configure the kernel" in the top
> level ltib menu, then when you get into the kernel config menu
> go to Device Drivers -> USB Support ->
> USB Serial Converter support <M> -> USB Prolific 2303 Single
> Port Serial Driver <M>.
>
> Then when the build is done copy the usbserial.ko and pl2303.ko
> files that you'll find at ltib/rootfs/lib/modules/
> [kernel version]/drivers/usb/serial to the rootfs on your SD card,
> and you should then be able to insmod the driver and get it working.
>

- Thank you very much.


- Now, I have just to get rid of the Ltib build problem :-/
 (see other post).


Claude



0 项奖励
回复

1,257 次查看
mdc
Contributor V

You should just need to build a couple driver modules (usbserial & pl2303) in the kernel config menu, then put the .ko files at /lib/modules/[kernel version]/kernel/drivers/usb/serial and insmod the driver.

 

To do this, in ltib select "configure the kernel" in the top level ltib menu, then when you get into the kernel config menu go to Device Drivers -> USB Support -> USB Serial Converter support <M> -> USB Prolific 2303 Single Port Serial Driver <M>.

 

Then when the build is done copy the usbserial.ko and pl2303.ko files that you'll find at ltib/rootfs/lib/modules/[kernel version]/drivers/usb/serial to the rootfs on your SD card, and you should then be able to insmod the driver and get it working.

0 项奖励
回复

1,257 次查看
Claude_Sylvain
Contributor I

Jim Donelson said:

>
> Which os do you have loaded?
>

- I use the Linux Binary Demo Files 2011.01
  (L2.6.35_11.01.00_ER_images_MX5X.tar.gz).


Claude


0 项奖励
回复

1,257 次查看
JimDonelson
Contributor I

Which os do you have loaded?

0 项奖励
回复