mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Armin Steinhoff <armin@steinhoff.de>
To: "Hans J. Koch" <hjk@linutronix.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: UIO and Fedora 13  (kernel 33.6)
Date: Tue, 31 Aug 2010 08:57:40 +0200	[thread overview]
Message-ID: <4C7CA7E4.8010005@steinhoff.de> (raw)
In-Reply-To: <20100830162435.GB2566@local>

  Hans J. Koch wrote:
> On Mon, Aug 30, 2010 at 12:49:10PM +0200, Armin Steinhoff wrote:
>>   Hi,
>>
>> I'm writing an UIO driver for a plain PC/104 board (ISA bus).
>> After insmod<my_driver_mod>  I don't see an entry of uio0 in /dev
>> and also no entries in /sys/class. There are no error messages at
>> module load.
> Are you sure your probe() function is called?
   That's the case.

>   After a successfull
> uio_register_device() there is both a /dev/uioX and a directory
> /sys/class/uio/uioX/.
   Seems not be possible after a kernel ooops ...
>> The same happens after loading the module uio.ko and uio_pdrv.ko ...
>> no entries at all, no error messages.
>> uio_pdrv needs platform data set up somewhere, did you do that?
>> See docs in Documentation/DocBook/ for more details.

   uio_pdrv.ko was provided unmodified and precompiles by the Fedora 
distro.
   This example seems more or less incomplete ... it seems also the case 
with the uio_pdrv_genirq example

   However, it seems so I have to go back 2 steps and restart after 
reading  more details of the concept of platform devices ...

   Thanks

   --Armin




  reply	other threads:[~2010-08-31  6:57 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-14 18:23 reiserfs issue with 2.6.32.8 Bret Towe
2010-02-14 23:27 ` Rafael J. Wysocki
2010-02-15  6:39 ` Christian Kujau
     [not found]   ` <dda83e781002142245l5c95d08bu214a796be289eb22@mail.gmail.com>
2010-02-15  6:46     ` Bret Towe
2010-08-30 10:49       ` UIO and Fedora 13 (kernel 33.6) Armin Steinhoff
2010-08-30 16:24         ` Hans J. Koch
2010-08-31  6:57           ` Armin Steinhoff [this message]
2010-08-31 10:35             ` Hans J. Koch
2010-08-31 13:23               ` Armin Steinhoff
2010-09-01  7:31               ` Armin Steinhoff
2010-09-01 18:56                 ` Hans J. Koch
2010-09-01 21:40                   ` Armin Steinhoff
2010-09-01 22:14                     ` Hans J. Koch
2010-08-30 11:07       ` UIO and Fedora 13 (kernel 33.6) / kernel module corrected Armin Steinhoff
2010-02-24  5:31   ` reiserfs issue with 2.6.32.8 Bret Towe
2010-02-24  7:03     ` Christian Kujau
2010-02-25  2:17       ` Bret Towe
2010-03-04  3:00       ` Bret Towe
2010-03-04 21:37         ` Christian Kujau
2010-03-04 22:53           ` Bret Towe
2010-03-05  7:36             ` Christian Kujau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C7CA7E4.8010005@steinhoff.de \
    --to=armin@steinhoff.de \
    --cc=hjk@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome