Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WavSender on linux and Linn DS player
28-08-2013, 04:49 PM
Post: #1
WavSender on linux and Linn DS player
Hi,

I've compiled ohSongcast on fedora. I thought
that the WavSender should songcast wav files to my DS, but it does not.

Quote:./WavSender.elf -m -f track_02.wav
adapter list:
0: 192.168.1.143
using subnet 192.168.1.0
bytes in file: 63534576
sample rate: 44100
sample size: 2
channels: 2
bytes per packet: 880
samples per packet: 220
usec per packet: 4989
q = quit, f = faster, s = slower, n = normal, p = pause, r = restart, m = toggle multicast, e = toggle enabled

nothing happens.In strace I see a lots of theese

Quote:[pid 4896] futex(0x1f13a60, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 4896] futex(0x1f13a34, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5199, {1377708368, 772939000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid 4896] futex(0x1f13a60, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 4896] futex(0x1f13a34, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5201, {1377708368, 778195000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid 4896] futex(0x1f13a60, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 4896] futex(0x1f13a34, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5203, {1377708368, 783554000}, ffffffff) = -1 ETIMEDOUT (Connection timed out)
[pid 4896] futex(0x1f13a60, FUTEX_WAKE_PRIVATE, 1) = 0
[pid 4896] futex(0x1f13a34, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 5205, {1377708368, 787829000}, ffffffffProcess 4895 detached

What am I doing wrong ?
Find all posts by this user
29-08-2013, 09:56 AM
Post: #2
RE: WavSender on linux and Linn DS player
(28-08-2013 04:49 PM)dsun Wrote:  I've compiled ohSongcast on fedora. I thought
that the WavSender should songcast wav files to my DS, but it does not.

./WavSender.elf -m -f track_02.wav

An equivalent command line works for me so I suspect the problem might lie with your linux box or network.

Does your receiver (your DS) show OpenHome WavSender as an available sender when you switch to its Songcast source? If not, do you have a firewall enabled or any other network setup which might block multicast traffic?
Find all posts by this user
29-08-2013, 04:46 PM
Post: #3
RE: WavSender on linux and Linn DS player
No I do not see OpenHome as sender. It looks like the device discovery is not working.
I have another simple sw on the same fedora box which is able to discover
DS device, turn on UpnpAV mode and stream wav to it (using upnplib).

tcpdump using upnplib
Quote:18:27:24.627855 IP wave.59632 > 239.255.255.250.ssdp: UDP, length 129
18:27:24.728215 IP wave.59632 > 239.255.255.250.ssdp: UDP, length 129
18:27:24.940936 IP 192.168.1.126.mxxrlogin > wave.59632: UDP, length 315

tcpdump using WavSender
Quote:18:26:25.434686 IP wave.48901 > 239.255.255.250.ssdp: UDP, length 167
18:26:25.442041 IP wave.48901 > 239.255.255.250.ssdp: UDP, length 148
18:26:25.450680 IP wave.48901 > 239.255.255.250.ssdp: UDP, length 207
18:26:25.450748 IP wave.48901 > 239.255.255.250.ssdp: UDP, length 209
18:26:25.452199 IP wave.52355 > 239.255.255.250.ssdp: UDP, length 303
18:26:25.458978 IP wave > 239.255.255.250: igmp v2 report 239.255.255.250
18:26:25.489592 IP wave.52355 > 239.255.255.250.ssdp: UDP, length 284
18:26:25.522890 IP wave.52355 > 239.255.255.250.ssdp: UDP, length 343
18:26:25.529301 IP wave.36665 > 239.255.255.250.51972: UDP, length 49
18:26:25.584100 IP wave.52355 > 239.255.255.250.ssdp: UDP, length 345
18:26:25.629556 IP wave.36665 > 239.255.255.250.51972: UDP, length 49

WavSender sends a lot of discovery packest, but never receives response
from 192.168.1.126, which is my ds ?

Is there any way to debug this further ?

Device firmware is Davaar 9 (4.9.7) , firewall off.
Find all posts by this user
29-08-2013, 06:23 PM (This post was last modified: 29-08-2013 06:25 PM by dsun.)
Post: #4
RE: WavSender on linux and Linn DS player
problem solved, having only experience with win. songcast,
I was not aware that I need to start kinsky app and select the openhome
songcast sender ( did not appear on DS display even if in songcst mode ). Now songcasting on fedora.

thanks
Find all posts by this user


Forum Jump: