From: giorgos xatzipavlis <gxatzipavlis@softnet.tuc.gr>
To: linux-kernel@vger.kernel.org
Subject: selfmade serial driver problem with chipset other than VIA
Date: Mon, 19 Dec 2005 18:12:22 +0200 [thread overview]
Message-ID: <1135008742.7345.8.camel@someone.somewhere.net> (raw)
In-Reply-To: <S964780AbVLSPVy/20051219152154Z+1140@vger.kernel.org>
hello people
this is my first attempt to the linux serial mailling list so i
apologize for my mistakes...
i am a newbie in kernel development.
i have made a serial driver cause i want to communicate with a serial
device ( a microcontroller ). I have programmed the driver in my
computer and everything is working ok. I have an AMD 1000Hz, MSI
motherboard with VIA chipset and kernel 2.4.31. I have found
informations from Linux Deveice Drivers book. Everything is working ok
in my computer but the driver isn't working in computers with INTEL and
NVIDIA chipsets. The fact that makes me suspicious about that
is that although my driver is registered in /proc/interrupts
and /proc/ioports (irq 4-ioport 0x03f8) when ever i call outb from my
writer bottomhalf routine the interrupt isn't generated from the
hardware(in machines with inter or nvidia chipset).
the flow chart is somethink like that:
1)user space write (getting the data from user)
2)kernel space write (generating the package that i want to send)
3)writer_bottomhalf (i have the package in writer_buffer indexed by a
bytes_send variable. Call "outb(writer_buffer[bytes_send],MY_UART+UART_TX)" )
4)interrupt handler (bytes_send++ ,so i can send the next character variable,
call "tasklet_schedule(&writer_bottomhalf)" to go to step 3)
in computers with chipsets other than VIA the 4th step (interrupt handler) is
never executed.
any ideas?
thank
next parent reply other threads:[~2005-12-19 16:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <S964780AbVLSPVy/20051219152154Z+1140@vger.kernel.org>
2005-12-19 16:12 ` giorgos xatzipavlis [this message]
2005-12-19 21:38 selfmade serial driver problem with chipset other than VIA gxatzipavlis
2005-12-20 3:15 ` Paul Fulghum
-- strict thread matches above, loose matches on Subject: below --
2005-12-19 21:42 gxatzipavlis
2005-12-19 22:08 ` linux-os (Dick Johnson)
2005-12-20 12:30 gxatzipavlis
2006-01-17 14:07 gxatzipavlis
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=1135008742.7345.8.camel@someone.somewhere.net \
--to=gxatzipavlis@softnet.tuc.gr \
--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 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.