- From: george gomes <georgegdc4_at_gmail.com>
- Date: Tue, 7 Aug 2007 19:25:15 -0700
Thank you. That did the trick. :)
On 8/6/07, nkataria_at_npcil.co.in <nkataria_at_npcil.co.in> wrote:
>
> Hi,
>
> I think you have forgotten to do comedi_config for your specific device.
>
> $ comedi_config /dev/comedi0 <decive-id>
>
> > Hi all
> >
> > I am having trouble opening up my comedi device, an NI 6221. On
> executing
> > the line:
> >
> > device = comedi_open("/dev/comedi0")
> >
> > /dev/comedi0: Permission denied
> >
> > the file /dev/comedi0 has permissions rw-rw---- (660) root root. When I
> > change the permissions to rw-rw-rw- (666) I get the error message:
> >
> > /dev/comedi0: No such device
> >
> > When I do 'lsmod', it shows that ni_pcimio is loaded.
> > We've compiled 0.7.73 on a kernel 2.6.15 on an ubuntu system.
> >
> > How do I get my program to see the module? I am assuming that for some
> > reason the module can not be seen.
> >
> > Thank you for the help guys and gals.
> >
> > George
> >
>
>
> -----------
> Disclaimer:
>
> This email and any files transmitted with it are intended solely for the
> use of the addressed individual or entity. It contains information that is
> confidential and protected from disclosure. It must not be printed, read,
> copied, disclosed, forwarded, distributed or used (in whatsoever manner) by
> any person other than the addressee. Unauthorized use, disclosure or copying
> is strictly prohibited and may constitute unlawful act and can possibly
> attract legal action.
>
> Please note that any views or opinions presented in this email are solely
> those of the author and do not necessarily represent those of the company.
> The recipient should check this email and any attachments for the presence
> of viruses. The company accepts no liability for any damage caused by any
> virus transmitted by this email.
>
> If you have received this message in error, you should destroy this
> message and may please notify the sender by e-mail.
> Thank you.
> -----------
>
Received on 2007-08-08Z01:25:15