ltib
[Top][All Lists]
Advanced

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

[Ltib] RE: Sierra 3G modem not working on Phytec Board. (missing USB End


From: Srinivas Bakki
Subject: [Ltib] RE: Sierra 3G modem not working on Phytec Board. (missing USB End Points, only ep00,ep01,ep81 created.)
Date: Thu, 15 Jul 2010 06:36:50 +0200

Hi Quentino,

                        I had a look at the sysfs tree and am not sure why other endpoint files are not being created. I would need more information

to proceed : enable USB debugs and send me the logs. I would want to look at the enumeration process.

 

Other things you could try - Update to linux 2.6.34 ( present in ltib) which already has MC8790 support built in.

 

Regards

Srinivas Bakki

 

From: Quentin YANG [mailto:address@hidden
Sent: Thursday, July 15, 2010 4:24 AM
To: Srinivas Bakki; address@hidden
Cc: address@hidden
Subject: Sierra 3G modem not working on Phytec Board. (missing USB End Points, only ep00,ep01,ep81 created.)

 

Hi Srinivas,

I've attached the /sys/ tree structure on both Phytec board and on my Linux PC.
Anything else I can do, please let me know.

Thanks for helping me out. Kind of stuck now.


Regards,
Quentin



On Tue, Jul 13, 2010 at 6:52 PM, Srinivas Bakki <address@hidden> wrote:

Hi Quentin,

                     Find my response below.

 

Regards

Srinivas Bakki

 

From: Quentin YANG [mailto:address@hidden]
Sent: Tuesday, July 13, 2010 8:23 AM
To: Srinivas Bakki
Cc: address@hidden
Subject: Re: [Ltib] Sierra 3G modem not working on Phytec Board. (/proc/bus/usb directory not found.)

 

Hi Srinivas,

Thanks for the quick reply.

1. I solved the " ' /proc/bus/usb' directory not found " problem by reconfiguring the linux 2.6.27.8 kernel in LTIB.

Do not worry about the /proc/bus/usb file not found problem. It is there only if you need to access descriptors from the user space.


3. Now more important question is WHY THERE IS ONLY ONE PAIR OF USB END POINT APPEARED (i.e., ep01, ep81) ??? 
    It suppose to have 7 pairs of end-points for sierra MC8790 3G modem MiniCard.

On linux PC, I can see

/dev/usbdev1.2_ep00
/dev/usbdev1.2_ep01
/dev/usbdev1.2_ep02
/dev/usbdev1.2_ep03
/dev/usbdev1.2_ep04
/dev/usbdev1.2_ep05
/dev/usbdev1.2_ep06
/dev/usbdev1.2_ep07
/dev/usbdev1.2_ep81
/dev/usbdev1.2_ep82
/dev/usbdev1.2_ep83
/dev/usbdev1.2_ep84
/dev/usbdev1.2_ep85
/dev/usbdev1.2_ep86
/dev/usbdev1.2_ep87
/dev/usbdev1.2_ep88
/dev/usbdev1.2_ep89
/dev/usbdev1.2_ep8a
/dev/usbdev1.2_ep8b

I'll have a look at this and get back soon. Meantime can you send me your sysfs entries for usb ? Both on linux PC and phytec.

So I think the PROBLEM IS WITH "pnx4008 OHCI" DRIVER, which I guess is the routine to create USB endpoints.
Please correct me if I am wrong.

The endpoints files are created by the kernel NOT the " "pnx4008 OHCI DRIVER ". When the hub succesfully enumerates the device i.e reads the descriptors and configures the device, the endpoint files are created.



I attached the 'console log' from Phytec board. You can clearly see my board config information.

Looking forward to your reply.


Regards,
Quentin



On Mon, Jul 12, 2010 at 2:04 PM, Srinivas Bakki <address@hidden> wrote:

Hi Quentin,

                      Can you  try running "mdev -s"  after you insert usbserial and sierra mdules ?

 

Regards

Srinivas Bakki

 

From: ltib-bounces+srinivas.bakki=nxp.com@nongnu.org [mailto:ltib-bounces+srinivas.bakki=nxp.com@nongnu.org] On Behalf Of Quentin YANG
Sent: Monday, July 12, 2010 7:41 AM
To: address@hidden
Subject: [Ltib] Sierra 3G modem not working on Phytec Board. ()

 

Hi,


My Phytec board is running Linux (2.6.27.8) built from LTIB (LinuxTargetImageBuilder).

http://www.phytec.com/products/linux/bsp-LPC3250.html
http://ics.nxp.com/support/software/lpc32xx.bsp.linux/

http://www.bitshrine.org/ltib/


I can see usbserial, sierra modules are successfully compiled and created
using the console of Phytec board (using on board UART5 terminal as console)

./lib/modules/2.6.27.8/kernel/drivers/usb/serial/usbserial.ko
./lib/modules/2.6.27.8/kernel/drivers/usb/serial/sierra.ko

But after inserting 3G Modem MC8790V,

1. usbserial, sierra modules are not automatically installed after Kernel has detected new USB endpoints.

2. After manually installed the usbserial, sierra modules by 'insmod' command.
It shows 'ttyUSB0' is attached, but no 'ttyUSB0' node created under ' /dev '

3. Also, during boot-up, there is always message saying:

     '
          ............................
          Mounting filesystems
          mount: mounting usbfs on /proc/bus/usb failed: No such file or directory
          .........................
    '


I attached all print (TargetPhytecBoardLinuxPrint.txt) from Phytec Linux Console.

I suspect that I didnot config the kernel properly.
Do you have the recommend '.config' for Linux kernel compiling
so that Sierra Modem can work smoothly?

I attached the one (.config) I used to build Phytec Target Linux Image.
(I enabled usbserial driver, sierra wireless driver to be compiled as modules.
What other packages I must enabled to get Sierra Wireless Modem work?)

Thanks and hope you can spot something I've done wrong.

Regards,
Quentin

 

 

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]