<br><br><div><span class="gmail_quote">On 6/28/06, <b class="gmail_sendername">Mike</b> <<a href="mailto:stuff@dustsmoke.com">stuff@dustsmoke.com</a>> 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>> On 6/27/06, *Mike* <<a href="mailto:stuff@dustsmoke.com">stuff@dustsmoke.com</a> <mailto:<a href="mailto:stuff@dustsmoke.com">stuff@dustsmoke.com</a>>><br>> wrote:<br>><br>> Skip Patterson wrote:
<br>> > Sorry if this may seem slightly OT but it is in regards to<br>> > Mythnotify. Long time myth user, first time posting so be gentle.<br>> ><br>> > I'm running fedora core 4 (Mythdora) with pvr 250 and a 150 and
<br>> using<br>> > an external Usr 56.6 k v.90 courier modem. The modem is setup on<br>> > /dev/ttyS0 and I know the system can see it, the permissions are<br>> > correct (666) and if I run minicom I am able to communicate with
<br>> the<br>> > modem and since I do subscribe to CallerId when I phone it does show<br>> > up in minicom however when I try running cidbcast I get an error<br>> > initializing the modem. Here is the output with verbose mode,
<br>> any help<br>> > would be appreciated.<br>> ><br>> > [root@myth23 cidbcast]# ./cidbcast --verbose --device=/dev/ttyS0<br>> > --file cidbcast.xml --init="AT S7=45 S0=0 L0 V1 X4 &c1 E0 Q0 #CID=1"
<br>> > Verbose mode enabled<br>> > raw_message (460):<br>> > <telephone-event type="callerID" TTY="%cid_port%"><br>> > <time stamp="%cid_time_stamp%" zone="%cid_time_zone%"
<br>> > daylight-savings="%cid_daylight_saving%" second="%cid_time_second%"<br>> > minute="%cid_time_minute%" hour="%cid_time_hour%"<br>> day="%cid_time_day%"
<br>> > month="%cid_time_month%"<br>> year="%cid_time_year%">%cid_time_string%</time><br>> > <ring-type>%cid_ring_type%</ring-type><br>> > <from>
<br>> > <name>%cid_name%</name><br>> > <number>%cid_number%</number><br>> > </from><br>> > </telephone-event><br>> > Send AT<br>
> > Send AT<br>> > Send AT<br>> > error init modem<br>> > Error initializing modem /dev/ttyS0 - exiting<br>> ><br>> ><br>> > From other posts I've seen it looks like others see the init
<br>> string go<br>> > out on the 3rd Send AT but mine does not seem to. While the Send AT<br>> > commands are going there is activity on the modem led's.<br>> ><br>> ><br>> > thank you,
<br>> > Ben<br>> ><br>><br>> Does this work?<br>><br>> ./cidbcast --verbose --device=/dev/ttyS0 --file cidbcast.xml<br>> --init="AT<br>> #CID=1"<br>><br>> -Mike
<br>> _______________________________________________<br>> mythtv-users mailing list<br>> <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a> <mailto:<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>><br>><br>> Hey Mike,<br>><br>> Thanks for the reply, unfortunatly that produces the same results:
<br>><br>> [root@myth23 cidbcast]# ./cidbcast --verbose --device=/dev/ttyS0<br>> --file cidbcast.xml --init="AT #CID=1"<br>> Verbose mode enabled<br>> raw_message (460):<br>> <telephone-event type="callerID" TTY="%cid_port%">
<br>> <time stamp="%cid_time_stamp%" zone="%cid_time_zone%"<br>> daylight-savings="%cid_daylight_saving%" second="%cid_time_second%"<br>> minute="%cid_time_minute%" hour="%cid_time_hour%" day="%cid_time_day%"
<br>> month="%cid_time_month%" year="%cid_time_year%">%cid_time_string%</time><br>> <ring-type>%cid_ring_type%</ring-type><br>> <from><br>> <name>%cid_name%</name>
<br>> <number>%cid_number%</number><br>> </from><br>> </telephone-event><br>> Send AT<br>> Send AT<br>> Send AT<br>> error init modem<br>> Error initializing modem /dev/ttyS0 - exiting
<br>><br>> thanks,<br>> 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 &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 "Send AT" 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. 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. 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.
<br><br>thanks again,<br>Ben<br>