On Mar 31, 2008, at 13:47 , John Ford wrote:
You can set the ioreg_mode parameter to accept either ascii hex or
binary.
But using the binary interface with your incantation does work!
Here's a handy way to make things (at least the IP address part) more
readable...
echo -ne `printf '\\x
ow block"
>>>> for the
>>>> register. If you use fwrite() in C to write to the /proc register
>>>> file it
>>>> works though; you need to explicitly use an unsigned variable type
>>>> though.
>>>>
>>>> Peter
>
1 March 2008 11:48 AM
To: John Ford
Cc: casper@lists.berkeley.edu
Subject: Re: [casper] borph interface question
Peter was having this same problem using 'echo >' this past
weekend. I
do not see this issue with the UDP_framework on the correlator, so i
suspect the problem is that some underlying
;> -Original Message-
>> From: casper-boun...@lists.berkeley.edu
>> [mailto:casper-boun...@lists.berkeley.edu] On Behalf Of Jason Manley
>> Sent: 31 March 2008 11:48 AM
>> To: John Ford
>> Cc: casper@lists.berkeley.edu
>> Subject: Re: [casper] borph
rkeley.edu
[mailto:casper-boun...@lists.berkeley.edu] On Behalf Of Jason Manley
Sent: 31 March 2008 11:48 AM
To: John Ford
Cc: casper@lists.berkeley.edu
Subject: Re: [casper] borph interface question
Peter was having this same problem using 'echo >' this past weekend. I
do not see this issue
d variable type though.
Peter
-Original Message-
From: casper-boun...@lists.berkeley.edu
[mailto:casper-boun...@lists.berkeley.edu] On Behalf Of Jason Manley
Sent: 31 March 2008 11:48 AM
To: John Ford
Cc: casper@lists.berkeley.edu
Subject: Re: [casper] borph interface question
Peter was h
Peter was having this same problem using 'echo >' this past weekend. I
do not see this issue with the UDP_framework on the correlator, so i
suspect the problem is that some underlying code is assuming signed
values.
C code reading/writing in binary transfer mode to the proc-ioreg
filesyst
Hi all. We're rapidly closing in on a testable version of our system.
I'm writing some scripts to set up some variables using the ioreg
interface, and I've come across a very strange problem. Trying to set
large values through the shell seems to fail. For instance, setting the
ip address in a r
8 matches
Mail list logo