Re: software USB loopback device for Linux?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Phil Dibowitz wrote:
> Németh Márton wrote:
>> Hi,
>>
>> I am currently working on a project to test video devices (webcams,
>> tuners, etc.) which using the V4L2 API ( http://v4l-test.sourceforge.net/ ).
>>
>> There are a lot of video devices which are connected to the computer
>> via USB. If I have a device available I can run the test against it.
>> Some problems are exists, for example it is not so easy to create
>> an automatic test which unplugs an USB device at a certain test step and
>> replugs it later.
>>
>> If a hardware device is not available the related software driver cannot
>> be tested either.
>>
>> I wonder if a software "USB loopback device" driver already exists,
>> similar to the "lo" device in networking. This device would show up
>> as a USB hardware device when it is asked to do so from the user
>> space. Then the user space "simulator" would receive all USB packets
>> which would normally be sent to the USB device and the "simulator"
>> could react and send USB packets in the other direction.
>>
>> Do you know about such a driver? If not, do you think that the USB
>> subsystem has a point or an interface where this can be implemented?
> 
> There's a vloopback for v4l devices. It's the only way to use certain
> webcams with a lot of linux apps, but it's sadly unmaintained:
> 
>   http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice
> 
> The latest svn does build with the latest kernel though...

Thank you for the hint, looks like an interesting project for me. I
have to read its documentation to understand how it is working.

Regards,

	Márton Németh

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux