All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Why I dont' see spidev device entry under /dev
       [not found] ` <D20834BA7297D24FBF1C7894D7C3F1D801B26539@lotus.oceanasensor.ad>
@ 2008-11-18 18:28   ` Ned Forrester
       [not found]     ` <4923093A.4030400-/d+BM93fTQY@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Ned Forrester @ 2008-11-18 18:28 UTC (permalink / raw)
  To: General mailing list for gumstix users., spi-devel

Bill Cuffley wrote:
> As far as I can tell, the dev files aren't created automagically.  To do
> it manually : find out the major and minor numbers for your device
> ('dmesg' should help here, otherwise 'cat /proc/devices' should give you
> the Major number (and use 0 for minor)), and if it should be a block
> device or a character device, then use mknod to create your /dev node.
> ('man mknod' on any *nix system or google to help you here)
> 

If that does not solve the problem (try it first), you might want to ask
your question on <spi-devel-general@lists.sourceforge.net>.  There are a
number of people there that have used spidev, and even the original
author, Andrea Paterniani <a.paterniani@swapp-eng.it>, is active there.

You can subscribe to spi-devel-general at:

https://lists.sourceforge.net/lists/listinfo/spi-devel-general

-- 
Ned Forrester                                       nforrester@whoi.edu
Oceanographic Systems Lab                                  508-289-2226
Applied Ocean Physics and Engineering Dept.
Woods Hole Oceanographic Institution          Woods Hole, MA 02543, USA
http://www.whoi.edu/sbl/liteSite.do?litesiteid=7212
http://www.whoi.edu/hpb/Site.do?id=1532
http://www.whoi.edu/page.do?pid=10079


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Gumstix-users] Why I dont' see spidev device entry under /dev
       [not found]     ` <4923093A.4030400-/d+BM93fTQY@public.gmane.org>
@ 2008-11-18 18:52       ` David Brownell
  0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2008-11-18 18:52 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
  Cc: Ned Forrester, General mailing list for gumstix users.

> > As far as I can tell, the dev files aren't created automagically.

They would be if udev (or even mdev) were in use.

The sysfs class nodes have a "dev" file with the major
and minor numbers to use with "mknod".


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-18 18:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.209529.1227024651.24145.gumstix-users@lists.sourceforge.net>
     [not found] ` <D20834BA7297D24FBF1C7894D7C3F1D801B26539@lotus.oceanasensor.ad>
2008-11-18 18:28   ` Why I dont' see spidev device entry under /dev Ned Forrester
     [not found]     ` <4923093A.4030400-/d+BM93fTQY@public.gmane.org>
2008-11-18 18:52       ` [Gumstix-users] " David Brownell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.