[mythtv-users] cidbcast
Skip Patterson
hunchbehr at gmail.com
Thu Jun 29 13:06:23 UTC 2006
On 6/29/06, Mike <stuff at dustsmoke.com> wrote:
>
> Skip Patterson wrote:
> > Hey Mike, I tried without the init but same results as before, nothing
> > goes out on the 3rd Send AT. I wasn't sure if that would work as I
> > don't have distinctive ring on my phone (the S41=1) but it didn't seem
> > to matter.
> >
> > I believe the groups are okay as I do seem to be able to access what I
> > need, I'm even trying to run cidbcast as root just to see if that
> > works. As far as udev, I've never messed with that so I honestly
> > don't know but I'm not rebooting and the permissions are okay still.
> > I agree its something to do with it not sending the init string, I've
> > looked through the code but I don't see any reason for it. Is the
> > latest cidbcast the one dated 9/13/03 still? I looked in svn and it
> > seemed to be dated the same.
> >
> > thanks again,
> > Ben
>
> Well, in svn they aren't using svn keywords for the date so it's not
> really correct. Its newer than than 2003, about 8 months old right now.
>
>
> http://svn.mythtv.org/trac/browser/trunk/mythtv/contrib/mythnotify/cidbcast/cidbcast.c
>
> Yeah, I don't know why its not attempting to send the init string for
> you. cidbcast seems to be pretty flakey for me too. Since I upgraded my
> motherboard and built a new kernel, I can't even get it to parse the
> response buffer correctly anymore. I know it works since minicom works
> just fine under my user plus I've used it for quite some time in the
> past. But I just can't seem to get it to work with my limited knowledge
> of C. You may try svn just to see if that works for you. It doesn't for
> me but I can atleast initialize the modem.
>
> svn co http://svn.mythtv.org/svn/trunk/mythtv/contrib/mythnotify
>
>
> -Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
I grabbed the latest version from SVN but same results although when I went
to make it I got this:
gcc -g -Wall -O -DDEBUG -c cidbcast.c -o cidbcast.o
cidbcast.c: In function âmainâ:
cidbcast.c:699: warning: pointer targets in passing argument 2 of
âipaddr_to_intâ differ in signedness
cidbcast.c:729: warning: pointer targets in passing argument 2 of
âipaddr_to_intâ differ in signedness
gcc -o cidbcast cidbcast.o -lm
I did look at the source and when ipaddr_to_int is declared at line 100 it
is setup as unsigned:
int ipaddr_to_int(const char *stringIP, unsigned int *ip)
I don't know c though so I'm not sure what that means, it does still compile
but I still get the 3 Send AT with no init. I assume its not really
actively maintained anymore or that it normally just works. Minicom works
for me as well, weird. Thanks for the help again!
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060629/11821f68/attachment.htm
More information about the mythtv-users
mailing list