From: Mann, E. <eri...@in...> - 2013-07-12 16:00:03
|
Did you explicitly add vlan 2 to the receiver? ekm -----Original Message----- From: Prabhakar Lad [mailto:pra...@gm...] Sent: Friday, July 12, 2013 4:27 AM To: Mann, Eric Cc: Dániel Velez; Ope...@li... Subject: Re: [Open-avb-devel] Talker difficulty Hi Eric, On Wed, Jun 19, 2013 at 11:06 PM, Mann, Eric <eri...@in...> wrote: [snip] > > Just to review, I personally do the following: > > a) Rmmod igb (if its loaded in the kernel) > > b) Modprobe ptp > > c) Modprobe dca (if needed by kernel config options . usually not .not > relevant to AVB .) > > d) Insmod igb_avb.ko > > e) Verify the interface is up via ifconfig and pinging a peer a few > times > > f) Start mrpd -i <interface> -vs > > g) Start daemon_cl <interface> > > h) Start simple_talker > > i) Go to other system . repeat steps a - g (technically you don't > need an I210 on the listener side .) > > j) I personally use for testing igb transmits 'mrpl' (under example > mrp-client apps) to trigger the packet transmission process - > simple_listener does the additional step of decoding the packets and writing > it out to a file . mrpl only registers for the stream as a listener which > triggers transmission from the talker . > > I am trying the simple_talker and simple_listener example on i210 adapter at both ends, Ive followed the above steps I see that listener connects to the talker and wav file is created on listener end Following is the log on talker side:-- attaching to 0000:02:00.0 detected domain Class A PRIO=3 VID=0002... advertising stream ... awaiting a listener ... EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication got a listener ... ml_phoffset = 0, ls_phoffset = -1373626286878862551 ml_freqffset = 0, ls_freqoffset = 0 EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication EVENT on STREAM ID=a0369f10cd560000 with state ready got a new/join indication .... /* this msg keeps on printing */ Following is the log on the listener end:- ./simple_listener -i eth1 -f out.wav Waiting for talker... Msg: SJO D:C=6,P=3,V=0002 R=000000000000 VP/IN Msg: SNE T:S=a0369f10cd560000,A=91e0f0000e80,V=0002,Z=84,I=1,P=96,L=3900,B=0000000000000000,C=0 R=a0369f10cd56 VO/IN Send ready-msg... Ready-Msg: S+L:L=a0369f10cd560000, D=2 Created file called out.wav Got session handler. Compiled and applied filter. I see that there is no callback being called on the listener end. Any pointers would be helpful to fix this issue. Regards, --Prabhakar Lad |