problem opening SPI driver on PowerPC 8313

View: New views
1 Messages — Rating Filter:   Alert me  

problem opening SPI driver on PowerPC 8313

by ybisou () :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I can't load the spi module using  a 2.6.27 kernel on a PowerPc 8313.
When I try "MAKEDEV spi", a few spi devices are created but when I try to open one of them it fails. I get : "can not open device: No such device or address";

I also tried to load spi dynamically.
I did something like this:
      insmod spi_mpc83xx.ko
      mknod /dev/spi c 153 0
      chmod 666 /dev/spi

When I tried to open the SPI dev, I got the same error "can not open device: No such device or address";

Does anyone knows how I can at least debug this ? maybe a way to obtain a little more information on the errors ? the /var/log or dmesg did not help much.

PS> We can open i2c in the same way(ioctl) with no problem.

I appreciate your assistance.

Thanks.

Yan~