From: "Antonino A. Daplas" <adaplas@gmail.com>
To: linux-fbdev-devel@lists.sourceforge.net
Cc: twomol@126.com
Subject: Re: Strange iotcl operation
Date: Thu, 22 Jun 2006 20:00:21 +0800 [thread overview]
Message-ID: <449A8655.8080101@gmail.com> (raw)
In-Reply-To: <4499F432.00003A.03013@m61.126.com>
[-- Attachment #1: Type: text/plain, Size: 654 bytes --]
twomol wrote:
> Hi,all
> I'm using FC5, our graphic card's framebuffer driver's ioctl function
> work abnormally.I mean
> our framebuffer driver provide extending ioctl command. But the ioctl
> cmd can't be transport correctly from user space to kernel space, ie,if
> I ioctl(fd,0x123456,&arg) in user space, the kernel space can not get
> the cmd 0x12345, but a totally different number.
You can't just use any number, be sure to use the 'F' (0x46) identifier for
framebuffer devices. See also Documentation/ioctl-number.txt.
Also, look at drivers that has their own ioctl's for help, such as matroxfb
(drivers/video/matrox/matroxfb_base.c).
Tony
[-- Attachment #2: Type: text/plain, Size: 280 bytes --]
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Linux-fbdev-devel mailing list
Linux-fbdev-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-fbdev-devel
prev parent reply other threads:[~2006-06-22 12:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-22 1:36 Strange iotcl operation twomol
2006-06-22 12:00 ` Antonino A. Daplas [this message]
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=449A8655.8080101@gmail.com \
--to=adaplas@gmail.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
--cc=twomol@126.com \
/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;
as well as URLs for NNTP newsgroup(s).