[uClinux-dev] uclinux driver question : fail to opendevice!pid29:failed 65280

jack czl steadytechnology at yahoo.com
Thu Jan 19 02:38:11 EST 2006


Thank you for your advice. I am now reading the book
<linux device drivers>. 

--- C Doyle <cdoyle35 at hotmail.com> wrote:

> Free drivers books and the linux device driver
> bibles - theres a section on 
> ioctl that should help you
> 
> http://www.xml.com/ldd/chapter/book/
> http://lwn.net/Kernel/LDD3/
> 
> also grep through the user land programs and other
> driver code to see how 
> different ioctl's tie up
> 
> 
> 
> >From: jack czl <steadytechnology at yahoo.com>
> >Reply-To: uClinux development list
> <uclinux-dev at uclinux.org>
> >To: uClinux development list
> <uclinux-dev at uclinux.org>
> >Subject: Re: [uClinux-dev] uclinux driver question
> : fail to 
> >opendevice!pid29:failed 65280
> >Date: Wed, 18 Jan 2006 05:33:03 -0800 (PST)
> >
> >Thank you very much. The driver works well now.
> >Dose it mean that we couldn't have more than 254
> >devices? And one more question: I have written the
> >following sub program in my driver.
> >
> >int mytimer_ioctl(struct inode *inode, struct file
> >*filp, unsigned int cmd, unsigned long arg)
> >{
> >   Led_Display(cmd);
> >   return(0);
> >}
> >
> >How can I call it in my user program?
> >
> >
> >--- Suresh Steven Veigas
> <suresh.veigas at amdlbct.com>
> >wrote:
> >
> > >
> > > int majortr = 254;
> > >
> > > 3.Add "monody $(ROMFSDIR)/dev/mytimer c 254 0"
> to
> > > 'uClinux-dist\vendors\Samsung\4510B\Makefile'
> > >
> > >
> > >
> > > Regards
> > > Steven
> > > Systems Engineer
> > > AMDL
> > >
> > >
> > >   ----- Original Message -----
> > >   From: jack czl
> > >   To: uClinux development list
> > >   Sent: Wednesday, January 18, 2006 12:36 PM
> > >   Subject: Re: [uClinux-dev] uclinux driver
> question
> > > : fail to open device!pid29:failed 65280
> > >
> > >
> > >   Thanks. But I still don't know what to do.
> Would
> > > you please tell me much mor specifically ?
> > >
> > >   Suresh Steven Veigas
> <suresh.veigas at amdlbct.com>
> > > wrote:
> > >     ....................Check Major Number once
> > >
> > >
> > >     Regards
> > >     Steven
> > >     Systems Engineer
> > >     AMDL
> > >     ----- Original Message -----
> > >     From: "jack czl"
> > >     To:
> > >     Sent: Wednesday, January 18, 2006 7:13 AM
> > >     Subject: [uClinux-dev] uclinux driver
> question :
> > > fail to open device!pid
> > >     29:failed 65280
> > >
> > >
> > >
> > >
>
>------------------------------------------------------------------------------
> > >   Yahoo! Photos - Showcase holiday pictures in
> > > hardcover
> > >   Photo Books. You design it and we'll bind it!
> > >
> > >
> > >
>
>------------------------------------------------------------------------------
> > >
> > >
> > >  
> _______________________________________________
> > >   uClinux-dev mailing list
> > >   uClinux-dev at uclinux.org
> > >
> > >
>
>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > >   This message was resent by
> uclinux-dev at uclinux.org
> > >
> > >
> > > Confidentiality Notice:
> > >
> > > The information contained in this electronic
> message
> > > and any attachments to this message are intended
> for
> > > the exclusive use of the addressee(s) and may
> > > contain confidential or privileged information.
> If
> > > you are not the intended recipient, please
> notify
> > > the sender at AMDLBCT or sysadmin at amdlbct.com
> > > immediately and destroy all copies of this
> message
> > > and any attachments.>
> >_______________________________________________
> > > uClinux-dev mailing list
> > > uClinux-dev at uclinux.org
> > >
>
>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> > > This message was resent by
> uclinux-dev at uclinux.org
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Tired of spam?  Yahoo! Mail has the best spam
> protection around
> >http://mail.yahoo.com
> >_______________________________________________
> >uClinux-dev mailing list
> >uClinux-dev at uclinux.org
>
>http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> >This message was resent by uclinux-dev at uclinux.org
> 
>
_________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get
> it now! 
>
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 
> _______________________________________________
> uClinux-dev mailing list
> uClinux-dev at uclinux.org
>
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by uclinux-dev at uclinux.org
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the uClinux-dev mailing list