Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Wim Brul

Pages: [1] 2 3 ... 15
1
Hardware / Re: WebCam and Libusb
« on: January 20, 2021, 05:36:12 pm »
Hi Paul,

Hi Wim,

When I started developing webcam support I produced USB Webcam Tests that required usbecd.sys in order to function. It only supported a few webcams owned by those persons that helped me out by testing. It is not recommended to be used anymore. At that time only usbecd.sys supported the required isochronous transfers. Since then I worked on usbcalls.dll and usbresmg.sys to implement a.o. isochronous transfers and that capability is nowadays present in both ArcaOS and Lars Erdmann drivers.

What would be really cool would be to add support to our libusb port for ISO transfers - that would simplify porting linux apps that support webcams using (iirc) libuvc....

Cheers,

Paul

Yes Paul, that would be very cool. The question remains how to accomplish that...

With my libusb notes and usbcalls api documentation at hand it must be possible to implement that support. Perhaps a phased implementation is necessary. First convert libusb to support asynchronous bulk and interupt transfers and then, when that works, implement asynchronous isochronous transfers. There must be a way to test this. Normally I would write a simple application to test e.g. synchronous bulk transfers and then, when that works,  modify that application to use asynchronous bulk transfers. Or I would use an existing application for that purpose. The problem is that I am not really an application programmer and I will have to resort to assembler or simple borland c programming.

I think this calls for a separate thread.

Regards,
Wim

2
Hardware / Re: WebCam Driver Question
« on: January 20, 2021, 04:38:06 pm »
@Martin - Use "webcam /n" to start the Webcam Server and use "wmvideo /n" to start the Webcam Monitor Video and see what you get.

Thanks Wim for the crash course. I just use it here in my Thinkpad L420 and it worked to show my webcam image.
Just one question. What if I connect a second USB Webcam, how does the program knows which webcam image to get?

Regards

Webcam Server uses the first webcam that it finds. On my Dell Latitude e6500 this is the builtin webcam.
When I plugin my Logitech c250 webcam and then start Webcam Server then it will find that device.

3
Hardware / Re: WebCam Driver Question
« on: January 20, 2021, 11:57:26 am »
Hi Wim,

It works nice since.

Regards
Rémy

Hi Rémy,

Fine. In the meantime I have updated webcam.exe and wmaudio.exe and added  wmvideo.exe and I think my package is now complete.
I think I tested it with your wcc.exe but I don't remember. My memory is getting worse. I have attached it here so Martin could try these too.

@Martin - Use "webcam /n" to start the Webcam Server and use "wmvideo /n" to start the Webcam Monitor Video and see what you get.

Regards,
Wim

4
Hardware / Re: WebCam Driver Question
« on: January 19, 2021, 02:09:23 pm »
Hi Martin,

When I started developing webcam support I produced USB Webcam Tests that required usbecd.sys in order to function. It only supported a few webcams owned by those persons that helped me out by testing. It is not recommended to be used anymore. At that time only usbecd.sys supported the required isochronous transfers. Since then I worked on usbcalls.dll and usbresmg.sys to implement a.o. isochronous transfers and that capability is nowadays present in both ArcaOS and Lars Erdmann drivers.

After that I developed UVC Webcam Support which works with usbcalls.dll and usbresmg.sys and consists of two separate sets of programs for UVC compliant webcams. Use either the 640x480 or the 320x240 set. Use the WebCam Viewer to watch video and take snapshots or use WebSee Server and Websee Client to watch video over a tcp/ip connection and take snapshots.  Later on I developed UVC Microscope Viewer which works with usbcalls.dll and usbresmg.sys and consist of one program for UVC compliant webcams to inspect specimem at 640x480 resolution and take snapshots.

My latest development (for Rémy Dodin's Use of webcam for video and audio recording) works with usbcalls.dll and usbresmg.sys and contains 3 programs for UVC compliant webcams. Webcam Server obtains video and audio from your UVC webcam and acts as an HTTP server and/or named pipe server and/or streams to stdout. Webcam Monitor Video acts as named pipe or HTTP client and shows video from the Webcam Server. Webcam Monitor Audio acts as a named pipe client and plays pcm wave audio from the Webcam Server.

5
Hardware / Re: USB Audio - Issues with some Devices
« on: January 15, 2021, 04:09:50 pm »
Wim, I think not the audio device drivers need a fix but we rather need to add a hack to USBAUDIF.DLL to fake the caller of USBAUDIF.DLL that "playback" or at least "playback or record" was acknowledged instead of "record only". In the end, the caller will overrule this reporting anyway and will subsequently open the stream it needs (playback or record, whatever is intended by the sound app). The drawback of this solution is obvious: if a sound app requests playback but the device really is "record only", this will of course fail if the stream is finally created. However, the audio device drivers properly handle this error, and therefore, at least nothing will crash or break. You will just get an error in the sound app (which might be confusing if everything seemed to work initially).
Yes Lars, that thought crossed my mind too. I think you are right.

By the way, I'm using AN USB 12.07 and I copied USBAUDIO.SYS and USBAUD2.SYS from your usbdrv237. Just in case.
Hi Martin, I hope that you did not just copy those drivers. Proper deinstall/install using minstall /* must have been done.

6
Hardware / USB Audio - Issues with some Devices
« on: January 15, 2021, 12:21:38 pm »
Hi

Today I tried some USB audio input devices I have arround:
- Music Fairy USB 2.0‎‎: worked great with Lar's USBAUDIO.SYS. The chipset is the same as "Conceptronic CSOUNDU C08-041 USB Audio Stick"
- C-Media Electronics USB Mic (0D8C:013C). Did not work.
Karaoke USB Adapter - Only audio Inputs -  This thing has a switch with two modes. Did not work.
-- 1) 046D:0A03  - Logitech USB Microphone  according to some sites)
-- 2) 1415:0000 - Sony SingStar USBMIC by Nam Tai E&E Products Ltd. or OmniVision Technologies, Inc.

I tested these devices with Wim's Audio Recorder.

REgards

Alas, for some reason, the cause of which is yet unknown to me, recording with microphone only USB audio devices does not work.
For me this is a known problem. I think it has to do with some flaw in the USB audio drivers, not with my Wim's Audio Recorder.

7
Hardware / Re: USB Scanners and ArcaOS
« on: January 10, 2021, 03:25:00 pm »
Exactly. You need to install an additional RPM that is not listed as a prerequisite.
You need to install "sane-backends-drivers-scanners".
That will drop a bunch of DLLs into /usr/lib/sane, one DLL per conf file.
And if a scanner is a USB scanner, these DLLs will use usb100.dll which in turn uses USBCALLS.DLL to do their job.
So now I have installed "sane-drivers-scanners" and I have deleted scanimage.exe (size 4.817.128) from h:\tame.

Now scanning with the CanoScan LiDE 210 using Tame/2 on my ArcaOS system works with the latest drivers.

Thank you, Lars!

8
Hardware / Re: USB Scanners and ArcaOS
« on: January 10, 2021, 11:20:44 am »
So what is the strategy / configuration options available to utilize the RPM SANE release in a TAME installation?

I haven't actually tried it yet but it seems like removing the previous SANE install from the TAME directory and literally having TAME issue the normal calls it normally would, which in this case would all come from the \usr\bin directory, should suffice?

It goes w/o saying that the appropriate changes in the various SANE SET...= options need to be made as well.

I guess that scanimage.exe (size 25.154) in \usr\bin works by dynamically loading scanner specific backends.
It seems to me that the "Sane from Netlabs RPM - sane-backends - 1.0.28-2" does not contain these.

9
Hardware / Re: USB Scanners and ArcaOS
« on: January 10, 2021, 12:19:21 am »
Hi Wim,
I assume you are using an up to date version of USBCALLS.DLL and USBRESMG.SYS, correct?
That at least would confirm that we do not need to rework either one.
Yes Lars, that is correct. No rework required.

10
Hardware / Re: USB Scanners and ArcaOS
« on: January 09, 2021, 05:58:25 pm »
Hi Andreas,

Perhaps How I installed SANE and TAME for the first time on my ArcaOS system. I used a two step approach. helps you in getting your CanoScan LiDE 210 scanner working.

The sane-find-scanner.exe (size 81.044) works and shows:found USB scanner (vendor=0x04a9 [Canon], product=0x190a [CanoScan], chip=GL124) at libusb:001:005

Speaking about backends. The scanimage.exe that works (size 4.817.128) has the sane scanner specific backends linked in.

Wim

11
Hardware / Re: Question about USB Audio (Input / Output).
« on: December 27, 2020, 10:43:11 am »
Today I tested the "HP Gaming Headset H320GS".

Audio output is working, and recording also work (tested with DTAPE), even that it records the audio too fast (I sound like a chipmunk).

When using DTAPE for recording you need to set the correct Record Type before you open a new file. You have to do this only once anytime that you plug in a different usb audio device.
For the HP_Gaming_Headset_H320GS you may use PCM, 44100 Hz and 48000 Hz, 16 bits, Mono, Line in. See here for more information...

Quote
I have a question about Wim's Audio Recorder. I noticed on the readme that you need to run it like "record /a1 /b16 /c1 /f44100" (it works fine that way with my laptop internal mic), but how an USB mic should be tested with "Audio Recorder"?

Go to the Multimedia Setup and select the USB Adapter Wave tab.
When it shows Waveaudio02 device then use the /a2 argument.

12
Hardware / Re: Question about USB Audio (Input / Output).
« on: August 26, 2020, 10:24:48 pm »
It appears that your UGREEN adapter (Model 30521)  (C-Media CM6533 chipset) 0d8c:0024 works with synchronous endpoints.
That is if the lsusb report that I found on the internet is the proper one for your device. You might want to run "lsusb -d 0d8c:0024 -v" to verify that.
Perhaps in some way that is causing the problem. Most UAC1 compliant adapters use adaptive endpoints.

13
Comments, Suggestions & Questions / Re: OS/2 Trademarks
« on: August 26, 2020, 05:32:37 pm »
From Glossary D
Quote
D
dead

a dead or abandoned status for a trademark application means that specific application is no longer under prosecution within the USPTO, and would not be used as a bar against your filing. It does not necessarily mean that there are not other marks that the trademark examining attorney would cite. It is also possible to revive an abandoned application (for example, if the USPTO declared the application abandoned for failure of the applicant to respond to an Office action, but the applicant later proved that a response was sent and the USPTO simply failed to match it with the file in a timely manner, then the case could be revived). Also, regardless of the status of an application within the USPTO, the owner may still claim common law rights, i.e, the mark may still be in use in commerce.

14
Hardware / Re: Question about USB Audio (Input / Output).
« on: August 23, 2020, 09:16:52 am »
Quote
Now I hope that someone with experience call tell me if the Audio USB input is supported or not.
Yes. Both playback and recording are supported with the Lars Erdmann USB 10.234 audio drivers.

Any suggestion for audio recording software. I'm using the one includes on ArcaOS 5.0.5 (Digital Audio), but for the moment I was not able to get input audio from the USB device. (But it records from the non-USB mic input jack)

Regards

Hi Martin,

Perhaps DRECORD or DTAPE or even my own Audio Recorder to record up to 32 bit stereo at 384kHz. ?

Regards

15
Hardware / Re: Question about USB Audio (Input / Output).
« on: August 22, 2020, 03:51:24 pm »
Hi Lars,

Hi Wim,

if you are talking about the Multimedia Setup Object Extension that I have written:
I have no clue if ArcaOS also delivers that extension. Can you see if the ArcaOS package (USBAUD2.WPI) contains the DEFDEV.DLL file (the DLL that implements the Multimedia Setup Object Extension) ? The WPI command line tool (WIC.EXE) should be able to list the WPI content.

Yes, I was talking about that Multimedia Setup Object Extension written by you (part of the audio part of usbdrv234.zip).
But I have no clue either whether or not ArcaOS delivers that extension. I have no access to that USBAUD2.WPI either. 

Pages: [1] 2 3 ... 15