-
Notifications
You must be signed in to change notification settings - Fork 6
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
Communication Device Class in Win7 for VCOM #1
Comments
I will look into this - there is a rumour that it is supported http://support.microsoft.com/kb/837637/en-us |
I downloaded the test driver from theSycon for the other USB stuff, but at least it didn't work "out of the box" |
I still have to test that thoroughly - it may well be that there is a 'magic handshake' missing for windows. I saw some drivers from TI which I think are free and I thought would implement USB/CDC Ethernet... On 17 Oct 2011, at 09:29, Mikael wrote:
|
Hmm, would this vcom solve the 1½ year long problem with sending non Audio data to the Audio USB Card. theSycon wanted you to pay 3000£ or something upfront to be able to use the API. There is companies that has released custom XMOS Audio product in there own brand. |
I have not tried this but it may solve that problem. You could either put an ethernet or a VCOM device next to an audio device and send non-audio data both ways. THe Ethernetnet device would be portable - you could use a web server to configure your audio board. |
We tried it in Ubuntu 10.4.3 LTS as well. The Ethernet starts as Eth1, but it is impossible to establish a connection to the VCOM, even if it is seen both in "lsusb", and in /dev/ |
Just checked it - the current version works. On the Mac it comes up with a window:
I then press "Cancel" because it isn't really a network interface (the Mac thinks it is an old fashioned AT-modem on a USB cable), and then do in one window
while in another window:
The kernel.log file has two lines related to this:
The server.log is empty. On linux I would expect a new /dev/tty to appear - it is worth trying
and see what the most recent file is. I will see if I can find a linux box somewhere... |
On a linux box I can see a problem:
The last line isn't good. It keeps the CDC ACM module in there though. Sometimes it takes a while to disconnect, in which time it does not complain when I access /dev/ttyACM0 - but it does not give me data either. |
Success on linux...
Will push in a minute. |
Great, if we can verify it on Linux, it is easier to track problems in Windows, since we have something to compare to. |
Ethernet example (ecm) also works under linux now, but you need to go to http://169.254.85.85/ in order to use http://blah.local/ you will need avahi or similar |
Yes I saw the IP for the XMOS side even if it was written in HEX. It seems to be working fine now the ECM. |
Is it working fine on Windows or on Linux? |
Yes I had no problem at all yesterday in linux. What about Windows? |
An other thing, can VCOM be fitted in the XTAG2 ? Has it place for VCOM code? |
So for linux I had to change it because, despite the USB device stating that it has no capability do do line-state-settings, the linux driver tries it anyway, and when we don't respond hangs up. So I have faked that. It may be that windows will ask for something similar... About the XTAG2 - there is some space left in there, but that is mostly used at the moment for buffering xscope data. In theory you could slot VCOM in there. I am not sure whether the XTAG2 will be running out of threads, I will need to check. |
What about that you could choose.
|
Yes that may work. But, the user would have to "reboot" their XTAG2 when switching modes - it would be nicer if there was a soft switch. I will have a chat with the XTAG2 designer and see what room there is... |
VCOM on windows is now working using the .INF file on xcore (now in github), and some extra handhelding for the windows usbser.sys driver. |
From the web I read
"Mac OS9 and OS X recognize the device instantly when connected."
"Windows system has a CDC protocol driver (usbser.sys) to generate virtual COM port. However, it requires a "Setting Information" file at the first connection. At this time, the patch driver (lowcdc.sys) is installed together."
I get an unknown device in the device manager when I plug in the VCOM example, but I have no clue what driver to feed it with.
Not even after reading at MSDN that mostly links to the ATMEL way of doing it.
I have tested several drivers but Windows refuse to eat them :(
The text was updated successfully, but these errors were encountered: