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
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