On Mon, May 18, 2009 at 01:47:02PM +0000, Dean Warren wrote: > Let me introduce myself: I am a free-lance developer currently trying to > integrate a device onto an embedded ARM Linux target. I have a the following > problem and I wonder if you could give me some gentler nudges in the right > direction here? > > Device: Sierra Wireless Compass 888 USB HSPA Modem > Device driver version: v.1.6.0 > Linux kernel version: 2.6.25.7 > > The device driver sierra.ko uses the built-in usbserial. > > When plugging in the device after I have ‘insmod sierra’ the system has six new > USB/serial ports (as expected). When I try to send an Hayes AT command to the > modem command port like so ‘echo ‘AT+CSQ’ > /dev/ttyUSB3’ the terminal hangs > with the message ‘echo: write error: Cannot allocate memory’. The kernel output > is as follows ‘sierra ttyUSB3: sierra_open: submit irq_in urb failed -12 > sierra ttyUSB3: sierra_write - usb_submit_urb(write bulk) failed with status = - > 12’ > > The manufacturer Sierra Wireless who do not openly support the Linux driver are > saying it nothing to do with there driver which is tested on both an x86 and > ARM platform. Therefore it must be the target has run out of memory. > > Now I have looked at the Sierra Wireless driver and sure enough when it calls > usb_submit_urb() from sierra_open() the call fails with ‘out of memory’. > However, the target has plenty of memory free. > > Any idea/pointers to what to examine with regards to this error? Is this a real > memory error or is there a configuration tweak needed for the usb core/serial? As I mentioned before, this is most likely a problem in your USB host controller for this platform, or some other lower-level problem in your system, and not a sierra driver issue. good luck, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html