Return-path: Received: from purkki.adurom.net ([80.68.90.206]:41676 "EHLO purkki.adurom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752332Ab0JYCDZ (ORCPT ); Sun, 24 Oct 2010 22:03:25 -0400 To: George Cc: Grazvydas Ignotas , Luciano Coelho , "Luis R. Rodriguez" , Bob Copeland , Denis 'GNUtoo' Carikli , "linux-wireless\@vger.kernel.org" Subject: Re: Compat-wireless N900 References: <4CB6BE57.8010401@gmx.net> <1287071844.11341.5.camel@gnutoo-laptop> <4CB74759.3030807@gmx.net> <4CB7F7C7.7030804@gmx.net> <4CBABB84.1090100@gmx.net> <4CBC7725.7050202@gmx.net> <4CBC9A51.8030309@gmx.net> <1287427291.8043.2.camel@powerslave> <1287428554.8043.6.camel@powerslave> <4CBD52DE.9090804@gmx.net> <4CBDB654.6060702@gmx.net> <4CBDBEDB.3070407@gmx.net> <4CBE9C4F.7050806@gmx.net> From: Kalle Valo Date: Mon, 25 Oct 2010 05:03:19 +0300 In-Reply-To: <4CBE9C4F.7050806@gmx.net> (George's message of "Wed\, 20 Oct 2010 09\:37\:51 +0200") Message-ID: <87ocaj1120.fsf@purkki.adurom.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-wireless-owner@vger.kernel.org List-ID: George writes: > It seems that it tries to do something but it is not finally done. > However, as you can see it seems there is no error (at least > reported). Could it be that spi_read buf is almost everytime reading > 00 00 00 00? If you get nothing but zeros back from the device, most likely that means that it's not powered up properly. wl1251 chip on n900 is powered up by using a gpio line. I'm worried that the struct wl12xx_platform_data wl1251 wireless-compat driver expects (defined in /include/linux/wl12xx.h) doesn't match what the old maemo kernel provides. Unfortunately I can't remember anymore what the platform data was like in maemo kernels and there's no easy way for me to check that right now. -- Kalle Valo