Skip to contentSkip to conversation

Access the linux_2.6.36 SPI Drivers from Userspace?

DISCUSSION Charles Martel 2 participants 2 messages Nov 1, 2010 1 message not in the archive SPI

lore
Share & tools
lore
#0 lore raw

Does anyone know how to access the linux_2.6.36 SPI Drivers from Userspace? If so, could you explain?

Also, it appears that SPI-DEV (not SPIDEV) has been removed.  Is there a replacement in the works? I could sure use one that lets me change the SPI Speed after I bring up the SPI Device.

Thanks

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
spi-devel-general mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

#2 lore raw
In reply to a message not in the archive
Quoted 4 lines · Charles Martel

Does anyone know how to access the linux_2.6.36 SPI Drivers from Userspace? If so, could you explain?

Also, it appears that SPI-DEV (not SPIDEV) has been removed.  Is there a replacement in the works? I could sure use one that lets me change the SPI Speed after I bring up the SPI Device.

I'm don't know what the difference is between spi-dev and spidev, but spidev allows the spi speed to be changed with an ioctl. Documentation/spi/ contains information about how to use it from userspace, and you can also look at drivers/spi/spidev.c

g.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev