Coder Social home page Coder Social logo

Comments (11)

cezuni avatar cezuni commented on July 24, 2024 1

@hubbybob2015 , @yelfarri : USB cam may use a isochronous transfer mode, which is the most complex mode and is not tested sufficiently. I will try to fix bugs. As first step, I'm searching a USB cam. 😢

from usbip-win.

hubbybob2015 avatar hubbybob2015 commented on July 24, 2024

@yelfarri the usb camera driver cannot be installed correctly ,the Devcei Manager shows "USB Device over IP" for warning ,it 's a bug? And when I attcched my USB Audio in the win10 usbip client caused bluescreen,it's a bug?

from usbip-win.

yelfarri avatar yelfarri commented on July 24, 2024

@yelfarri the usb camera driver cannot be installed correctly ,the Devcei Manager shows "USB Device over IP" for warning ,it 's a bug? And when I attcched my USB Audio in the win10 usbip client caused bluescreen,it's a bug?

According to @luochaoying yes it is. I have no access to a usb audio or UVC camera. I did not experience a bluescreen can you share more details on what USB audio device your using, and some bugs reports? :)

from usbip-win.

hradec avatar hradec commented on July 24, 2024

I just installed usbip-win on a windows 10 home running inside a KVM.

Everything went well, and I was able to attach to a Microsoft Corp. : LifeCam Cinema (045e:075d) on my linux machine without a problem... no error messages, nothing!

but, this is how the Lifecam shows in device manager:
image

Although it's not USB Device over IP, it seems the webcam was passed on to windows as a input device, not a media device.

in my linux machine, this is how usbip lists the device:
image

I'm not sure where the problem lies, but I thought it was weird that usbip on linux recognized the device as Miscellaneous Device / ? / Interface Association (ef/02/01)... but maybe that's just how media devices are recognized by usbip... or maybe the linux usbipd server miss interpreted it and its the reason windows got it as a input device?

anyhow... I'm running the usbip released from cezuni/usbip-win depot, btw... I've downloaded the binaries!

any ideas?

@cezuni: if you wan't I could redirect my linux usbipd server port to my webserver IP address so you can try it yourself with my MS Lifecam webcam... let me known! :)

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

I'm not sure where the problem lies, but I thought it was weird that usbip on linux recognized the device as Miscellaneous Device / ? / Interface Association (ef/02/01)... but maybe that's just how media devices are recognized by usbip... or maybe the linux usbipd server miss interpreted it and its the reason windows got it as a input device?

@hradec : I think that the problem lies in usbip-win code itself. 😢
I suspects that windows VHCI driver does not handle an usbip command in iso transfer mode.

anyhow... I'm running the usbip released from cezuni/usbip-win depot, btw... I've downloaded the binaries!

It's good news that uploaded binaries are working correctly. In fact, I had not checked them.

@cezuni: if you wan't I could redirect my linux usbipd server port to my webserver IP address so you can try it yourself with my MS Lifecam webcam... let me known! :)

That's a good idea 😆 but sometimes resetting usbip on linux is required. Also linux logs.
Fortunately, I found my mac notebook has a usb camera and barely do a work.

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

Recent commit(cf70c86) does not solve this issue. 😢
After some efforts, I have found that my borrowed USB cam(MS lifecam) is a sort of IAD device, which has EF/01/02(class/subclass/protocol) in device descriptor. MSDN tells me that a hardware id and compatible id of such a device should be composed in different way.

This issue seems to need more commits.

from usbip-win.

Oxalin avatar Oxalin commented on July 24, 2024

I do have a ID 046d:0826 Logitech, Inc. HD Webcam C525 at hand. I could give it a go. I've seen some bug reports under SourceForge about webcams not being supported correctly. Here is on such example: https://sourceforge.net/p/usbip/discussion/418507/thread/d1256c5b/

As you said @cezuni , it was pointing to isochronous transfer.

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

@Oxalin: Currently, Windows kernel detects my MS camera correctly by adjusting class/subclass/protocol fields according to IAD. But it's not working yet. Your cam is a sort of IAD ?

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

@wrenchonline : In my opinion, 4 ways in MSDN may help if a driver has no control over compatible id. But we have a vhci and can let usbccgp.sys enumerate a composite device by returning USB\COMPOSITE as a compatible id. Recent commit 393ac6a adds USB\COMPOSITE to compatible ids if a device is IAD type. Now my cam is detected correctly, but it's still not working. 😢

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

Recently, I have pushed a few of commits and published a 0.0.4 release.
Now camera app seems to work with my MS lifeCam. However, the app does not show a visible screen even if it runs over 10 minutes. From kernel logs, vhci driver simply does isochronous transfers repeatedly. I'm not sure that this is due to slow network/performance or another bugs.

from usbip-win.

cezuni avatar cezuni commented on July 24, 2024

I have checked that MS lifeCam is working with 0.0.4 release though camera app screen is not perfect. Poor camera quality may be due to usbip-win performance problem.

No visible screen in my previous comment was caused by too many debug messages. After removing those nuisance logs, camera app shows captured images.

Now camera app seems to work with my MS lifeCam. However, the app does not show a visible screen even if it runs over 10 minutes. From kernel logs, vhci driver simply does isochronous transfers repeatedly. I'm not sure that this is due to slow network/performance or another bugs.

from usbip-win.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.