Hi,

I am trying to get an MRF24J40MA up and running on a Raspberry Pi.

So far, I have a 3.6 kernel and modules compiled with the latest linux-zigbee 
changes (including the mrf24jm40 driver) backported to 3.6. CONFIG_SPI is set 
and offers the devices /dev/spidev0.0 and /dev/spidev0.1. I have tested SPI to 
be working with spidev_test from the kernel documentation. Modprobing mrf24j40 
succeeds, but does not show anything in /var/log/messages or dmesg.

In some email back on the list when I wasn't subscribed Alan and Randy wrote:
> > Also, do I just need to specify modalias, mode, irq, bus_num and
> > chip_select in my board_info struct ? No platform_data ?
> 
> platform_data is not necessary.

Could the missing irq in the Pi's spi_board_info be a problem?

static struct spi_board_info bcm2708_spi_devices[] = {
        {
                .modalias = "spidev",
                .max_speed_hz = 500000,
                .bus_num = 0,
                .chip_select = 0,
                .mode = SPI_MODE_0,
        }, {
                .modalias = "spidev",
                .max_speed_hz = 500000,
                .bus_num = 0,
                .chip_select = 1,
                .mode = SPI_MODE_0,
        }
};

Any pointers are appreciated,
Markus

------------------------------------------------
| Dipl.-Ing. Markus Becker
| Communication Networks
| TZI - Center for Computing Technologies
| University Bremen
| Germany
------------------------------------------------

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to