<br><br><div><span class="gmail_quote">On 6/28/06, <b class="gmail_sendername">Mike</b> &lt;<a href="mailto:stuff@dustsmoke.com">stuff@dustsmoke.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Skip Patterson wrote:<br>&gt; On 6/27/06, *Mike* &lt;<a href="mailto:stuff@dustsmoke.com">stuff@dustsmoke.com</a> &lt;mailto:<a href="mailto:stuff@dustsmoke.com">stuff@dustsmoke.com</a>&gt;&gt;<br>&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Skip Patterson wrote:
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Sorry if this may seem slightly OT but it is in regards to<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Mythnotify.&nbsp;&nbsp;Long time myth user, first time posting so be gentle.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; I'm running fedora core 4 (Mythdora) with pvr 250 and a 150 and
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; using<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; an external Usr 56.6 k v.90 courier modem.&nbsp;&nbsp;The modem is setup on<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; /dev/ttyS0 and I know the system can see it, the permissions are<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; correct (666) and if I run minicom I am able to communicate with
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; the<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; modem and since I do subscribe to CallerId when I phone it does show<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; up in minicom however when I try running cidbcast I get an error<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; initializing the modem. Here is the output with verbose mode,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; any help<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; would be appreciated.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; [root@myth23 cidbcast]# ./cidbcast --verbose --device=/dev/ttyS0<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; --file cidbcast.xml --init=&quot;AT S7=45 S0=0 L0 V1 X4 &amp;c1 E0 Q0 #CID=1&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Verbose mode enabled<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; raw_message (460):<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &lt;telephone-event type=&quot;callerID&quot; TTY=&quot;%cid_port%&quot;&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &lt;time stamp=&quot;%cid_time_stamp%&quot; zone=&quot;%cid_time_zone%&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; daylight-savings=&quot;%cid_daylight_saving%&quot; second=&quot;%cid_time_second%&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; minute=&quot;%cid_time_minute%&quot; hour=&quot;%cid_time_hour%&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; day=&quot;%cid_time_day%&quot;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; month=&quot;%cid_time_month%&quot;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; year=&quot;%cid_time_year%&quot;&gt;%cid_time_string%&lt;/time&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &lt;ring-type&gt;%cid_ring_type%&lt;/ring-type&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &lt;from&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;name&gt;%cid_name%&lt;/name&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;number&gt;%cid_number%&lt;/number&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;&nbsp;&nbsp; &lt;/from&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; &lt;/telephone-event&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Send AT<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Send AT<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Send AT<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; error init modem<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Error initializing modem /dev/ttyS0 - exiting<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; From other posts I've seen it looks like others see the init
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; string go<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; out on the 3rd Send AT but mine does not seem to.&nbsp;&nbsp;While the Send AT<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; commands are going there is activity on the modem led's.<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; thank you,
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt; Ben<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &gt;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; Does this work?<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ./cidbcast --verbose --device=/dev/ttyS0 --file cidbcast.xml<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; --init=&quot;AT<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; #CID=1&quot;<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; -Mike
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; _______________________________________________<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; mythtv-users mailing list<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a> &lt;mailto:<a href="mailto:mythtv-users@mythtv.org">
mythtv-users@mythtv.org</a>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>&gt;<br>&gt;<br>&gt; Hey Mike,<br>&gt;<br>&gt; Thanks for the reply, unfortunatly that produces the same results:
<br>&gt;<br>&gt; [root@myth23 cidbcast]# ./cidbcast --verbose --device=/dev/ttyS0<br>&gt; --file cidbcast.xml --init=&quot;AT #CID=1&quot;<br>&gt; Verbose mode enabled<br>&gt; raw_message (460):<br>&gt; &lt;telephone-event type=&quot;callerID&quot; TTY=&quot;%cid_port%&quot;&gt;
<br>&gt;&nbsp;&nbsp; &lt;time stamp=&quot;%cid_time_stamp%&quot; zone=&quot;%cid_time_zone%&quot;<br>&gt; daylight-savings=&quot;%cid_daylight_saving%&quot; second=&quot;%cid_time_second%&quot;<br>&gt; minute=&quot;%cid_time_minute%&quot; hour=&quot;%cid_time_hour%&quot; day=&quot;%cid_time_day%&quot;
<br>&gt; month=&quot;%cid_time_month%&quot; year=&quot;%cid_time_year%&quot;&gt;%cid_time_string%&lt;/time&gt;<br>&gt;&nbsp;&nbsp; &lt;ring-type&gt;%cid_ring_type%&lt;/ring-type&gt;<br>&gt;&nbsp;&nbsp; &lt;from&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;name&gt;%cid_name%&lt;/name&gt;
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; &lt;number&gt;%cid_number%&lt;/number&gt;<br>&gt;&nbsp;&nbsp; &lt;/from&gt;<br>&gt; &lt;/telephone-event&gt;<br>&gt; Send AT<br>&gt; Send AT<br>&gt; Send AT<br>&gt; error init modem<br>&gt; Error initializing modem /dev/ttyS0 - exiting
<br>&gt;<br>&gt; thanks,<br>&gt; Ben<br>It looks like somehow its not taking your --init string... You should<br>see something like this if it took your AT command<br><br>Send AT<br>Send AT<br>Send AT S7=45 S0=0 L0 V1 X4 &amp;c1 E0 Q0 #CID=1 S41=1
<br><br>Try not giving it an init string since that one above is the default and<br>works with my serial usr sportster serial modem. Something like this<br>should work on ttyS0 since the rest of that is defaults in cidbcast.c
<br><br>./cidbcast --verbose --file cidbcast.xml<br><br>Also double check your /etc/group file. Do you have any groups in there<br>you think you should be added to? If your rebooting and you have udev<br>without making udev rules to handle this it will revert your premissions
<br>on your device every time. But I'm thinking your problem is probably<br>with that third &quot;Send AT&quot; message from verbose not showing any init string.<br><br>-Mike<br><br><br>_______________________________________________
<br>mythtv-users mailing list<br><a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
</a><br></blockquote></div><br>Hey Mike, I tried without the init but same results as before, nothing goes out on the 3rd Send AT.&nbsp; 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.
<br><br>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.&nbsp; 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.&nbsp; 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.&nbsp; Is the latest cidbcast the one dated 9/13/03 still?&nbsp; I looked in svn and it seemed to be dated the same.
<br><br>thanks again,<br>Ben<br>