Linux utilities and the stamp --- help!
Archiver
Posts: 46,084
I downloaded the sourcecode for the linux stamp utils. I ran make
and make install. It compiled fine.
Tokenizing works
but when i run the program i get the following:
[noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
Error: Could not open /dev/bstamp for reading/writing!
Any ideas how to open the /dev/bstamp device?
and make install. It compiled fine.
Tokenizing works
but when i run the program i get the following:
[noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
Error: Could not open /dev/bstamp for reading/writing!
Any ideas how to open the /dev/bstamp device?
Comments
> I downloaded the sourcecode for the linux stamp utils. I ran make
> and make install. It compiled fine.
>
> Tokenizing works
>
> but when i run the program i get the following:
>
> [noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
> Error: Could not open /dev/bstamp for reading/writing!
>
> Any ideas how to open the /dev/bstamp device?
--- In basicstamps@yahoogroups.com, Bill Boyer <daweasel@s...> wrote:
> Do you have permission to write to the device?
>
> > I downloaded the sourcecode for the linux stamp utils. I ran
make
> > and make install. It compiled fine.
> >
> > Tokenizing works
> >
> > but when i run the program i get the following:
> >
> > [noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
> > Error: Could not open /dev/bstamp for reading/writing!
> >
> > Any ideas how to open the /dev/bstamp device?
change the permissions on the serial port.
> I did this as root. So I should have the rights.
>
> > Do you have permission to write to the device?
> >
> > > I downloaded the sourcecode for the linux stamp utils. I ran
> make
> > > and make install. It compiled fine.
> > >
> > > Tokenizing works
> > >
> > > but when i run the program i get the following:
> > >
> > > [noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
> > > Error: Could not open /dev/bstamp for reading/writing!
> > >
> > > Any ideas how to open the /dev/bstamp device?
utility. I never tried to get the one you are using to work. I had
good luck with the other one off the parallax site.
Regarding the program you are using, it sounds to me like /dev/bstamp
never got created on your machine. Check to see if it is there. If
not, look at the documation for your program about how to create it. If
the documentation doesn't help you, I would then try making a symbolic
link to your serial port device.
nestlerv wrote:
> I did this as root. So I should have the rights.
>
>
> --- In basicstamps@yahoogroups.com, Bill Boyer <daweasel@s...> wrote:
>
>>Do you have permission to write to the device?
>>
>>
>>>I downloaded the sourcecode for the linux stamp utils. I ran
>>
> make
>
>>>and make install. It compiled fine.
>>>
>>>Tokenizing works
>>>
>>>but when i run the program i get the following:
>>>
>>>[noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
>>>Error: Could not open /dev/bstamp for reading/writing!
>>>
>>>Any ideas how to open the /dev/bstamp device?
>>
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
--- In basicstamps@yahoogroups.com, Bob Reite <bobr@t...> wrote:
> Look through some of my early posts about running a different Linux
> utility. I never tried to get the one you are using to work. I
had
> good luck with the other one off the parallax site.
>
> Regarding the program you are using, it sounds to me
like /dev/bstamp
> never got created on your machine. Check to see if it is there.
If
> not, look at the documation for your program about how to create
it. If
> the documentation doesn't help you, I would then try making a
symbolic
> link to your serial port device.
>
> nestlerv wrote:
> > I did this as root. So I should have the rights.
> >
> >
> > --- In basicstamps@yahoogroups.com, Bill Boyer <daweasel@s...>
wrote:
> >
> >>Do you have permission to write to the device?
> >>
> >>
> >>>I downloaded the sourcecode for the linux stamp utils. I ran
> >>
> > make
> >
> >>>and make install. It compiled fine.
> >>>
> >>>Tokenizing works
> >>>
> >>>but when i run the program i get the following:
> >>>
> >>>[noparse][[/noparse]root@l... bstamp]# ./bstamp_run stepper.tok
> >>>Error: Could not open /dev/bstamp for reading/writing!
> >>>
> >>>Any ideas how to open the /dev/bstamp device?
> >>
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the
Subject and Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >