-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using PC as an N.MUSIC audio source, possibly with beoported #2
Comments
Hey! Sorry for my late reply. I've been on holiday, and I haven't been at my computer. This is an access denied error. Did you run "make install" and reboot? That will install udev rules which will allow a normal user access to the device. Otherwise, please try running with sudo. |
No problem, I am on holiday too and cannot test it currently but it sounds like a very possible solution.
Though I was curious about the install rule in the makefile. Some of the files mentioned there i can not find in the repo. Am i missing something or are they just not committed to the repo?
|
I have now tested and the sudo tips was useful. The connection seems to work but there is some misscommunication I think. To clarify I am only interested in being able to play aux music from the computer with the N.music mode in B&O.
I might have misunderstood what this command does but it did not enable the aux input. Then I tried to have the
The time 2021-08-07 20:22:35 is before turning on the speakers and the 2021-08-07 20:22:51 is after. Here some message seems to be not supported from the beoport device but I am not sure if that is the problem. Have you seen this before or have some suggestion of what I can try? |
So if I'm understanding you correctly, what you're after is to be able to use the PC as an N.MUSIC audio source, connected to a B&O system? |
Yes that sounds correct. And we currently have that setup with the B&O BeoPort software in Windows 7. |
Your formulation was so good that I changed the title of the issue |
Heh, I see! Okay, well. This changes requirements a little bit. So as of now, there is no functionality for this use case in the code. But it's not impossible, and I'm open to developing this with you further. Unless you were willing to help me by doing annotated captures of USB traffic - I could walk you through that, it's basically monitoring what traffic happens on the USB bus while running the legacy B&O software, and annotating the traffic with describing what you're doing - I would need to find an audio master which allows N. MUSIC - I think grandma's using the one I have that supports it. |
No problem, I will definitely do that capturing. I have started to look at usb sniffers but found different ones. It seems that USBlyzer is recommended by some. Is that the right direction? Which tool do you think I should use? |
Great! https://desowin.org/usbpcap/ Here is the tool that I have used for all my captures. I then send that right into Wireshark. Wireshark lets you attach comments to captured packets and save that in the file. You will either want to run it remotely, or figure out how to filter in Wireshark so that you avoid being flooded by packets captured by eg mouse and keyboard :) |
Great I will look into it and hopefully be able to filter correctly. Will get to it hopefully at the end of next week. |
Here are two captures. First is one when starting N.music and the second one is for turning it off. Do they look ok? Are you planning on incorporating this in this software or something else? If I can help in any way I am available! |
Excellent! I will look at this file asap |
Have you managed to get any progress on this @toresbe. Are the capture files making any sense? |
Hi @toresbe,
I very much appreciate you noticing my activity! I want to change our computer running BeoPort from Windows to Linux and this is the only thing left that I need to get it to work. When I found your code I was amazed of your work with the reverse engineering. I managed to compile the program and tried running it by just plugging in usb and aux cord but of course it didn't work with the following output.
I feel that my skills in c++ and B&O are limited and I would appreciate some pointers on how to bug search with reverse engineering and stuff. One reason for that it is not working might be that this is a quite old BeoPort system with hardware from 2006ish. The windows BeoPort software working has the version 5.04.00.0031. If you have no clue on this I will still be amazed by that you got it to work for your system in the first hand, well done!
Cheers,
Adrian
The text was updated successfully, but these errors were encountered: