LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 03-28-2014, 12:15 PM   #1
Hetty
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
Question spidevB.C not shown in /dev/


I enabled the user mode SPI device driver at make menuconfig.

After compiling the kernel, device tree, etc and reboot, the /sys/bus/spi/drivers/spidev is present. Also, $cat /proc/devices includes 153 spi

Now, I assumed this driver will detect the spi device once it connects to the processor via SPI bus. But the connected device is not shown in /dev/ directory, where I was expecting something like /dev/spidevB.C.

Do I need to $mknod manually?? Even I make the node manually, it is not shown in /sys/bus/spi/devices/, so I doubt the created one is really binded to the spi device driver.

By the way, in the device tree file, I have cell-index = <1>, which indicates SPI2, and <reg> = 0, which indicates chip select 0, so I was expecting the /dev/spidev2.0.

Thanks in advance for any help!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
usb keyboard identified and events shown but key character not shown on the prompt flyxtop Linux - Software 0 11-30-2013 08:45 AM
USB mount point is not shown in /dev entry point garryhk Linux - Software 3 12-12-2012 06:28 PM
pseudo terminals: /dev/ptmx <-> /dev/pts/ vs. /dev/ptyp <-> /dev/ttyp rtspitz Linux - Software 2 12-02-2011 03:07 PM
While booting no option is shown for Linux! Only windows xp is shown!! mon avis Linux - General 7 08-06-2006 05:14 PM
USB Palm not shown in /dev - Debian etch moisvon Linux - Hardware 2 06-14-2006 03:32 PM


All times are GMT -5. The time now is 06:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration