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 - Neil Waldhauer

Pages: 1 ... 57 58 [59] 60 61 ... 75
871
Applications / Re: Are you getting ready for ArcaOS?
« on: April 26, 2017, 02:08:57 am »
As said in a previous reply, running ArcaOS in new laptops is pointless if wireless is not supported. At the same time to write drivers for every possible wireless card is too expensive.

Wouldn't it be better to write a driver for one or two popular USB wireless adapters, which everybody can use?

Eduardo Vila Echagüe
Santiago, Chile

If you're offering to write one, then more power to you. Good luck!

If not, then why not use a WiFi bridge, which only requires Ethernet and a web browser?

872
Applications / Re: Are you getting ready for ArcaOS?
« on: April 12, 2017, 03:51:45 pm »
As an Arca Noae reseller, I don't have more information than you about products and pricing.

But for video problems and ACPI problems, I will make this comment. It is very useful to developers if you go on to the Arca Noae website and make a good bug report. The bug reports you submit and follow up on make a kind of ToDo list for developers. There is no guaranty that the issue will be fixed, but it really helps your odds.

Also, if you have filled out a bug report, please post a link to it here.

873
Multimedia / Re: recent developments for USB audio
« on: April 09, 2017, 09:35:16 pm »
 I am looking forward to try the results of your efforts.  I had good results with your 2.16 release,  but eventually I found stability bugs that made it difficult to live with.

874
Setup & Installation / Re: Installing eCS 1.2, without CD or network
« on: April 07, 2017, 07:33:10 pm »
If you can make a copy of cd1 on d: with the d drive having the same label as the cd, it should install ok.

875
Applications / Re: Can I use a usb port as a com-port?
« on: March 21, 2017, 03:37:20 pm »
There is obviously some timing issue. You might try and test with sending only 1 data byte with RxUsbBulkWrite.
I could not see any improvement by modifying this value.
But if I improve disconnecting the power to the plate, restoring the laptop, and connecting the usb after restoration worked well. I even added it's rest of code and moved the relays.
It may be that the power supply is not stabilized, and this circuit requires more precision in the voltage.
I have another problem with this laptop, and I have to wait for 16 minutes to 20 minutes, to restart it. If I do not do this, the OS / 2 turns off the laptop. This happens to me with any of the OS / 2 partitions, but not if I boot w10.
The only doubt I have is the numbering of relays. And the possible combination of starting two or more relays at the same time.

Regarding the laptop powering off; it may be overheating.  If so, the latest ACPI from Arca Noae may fix it. 

876
Utilities / Re: PCL6 Printer driver
« on: March 20, 2017, 09:19:23 pm »
In my OS/2 travels I found information that IBM does not have source code for the PCL driver.

877
Applications / Re: Are you getting ready for ArcaOS?
« on: March 11, 2017, 04:05:04 pm »
Taking this one step further, many OS/2 users are hanging on because their OS/2 or Win31 box is tied to a very expensive piece of hardware. I know several cases where the upgrade cost to move from OS/2 to something else is in the 10s of millions of dollars or higher. If it's working anyway, it's cheaper to support OS/2 than to move on.

But every feature deleted from ArcaOS means the chance that the old software won't run. Most of the ones I've seen are not Y2K safe, so they won't set the date or time on them.

878
Multimedia / Re: USB Audio
« on: March 10, 2017, 05:59:08 am »
When playing a YouTube movie, I can run AcpiStat.exe and show the number of interrupts, and it is thousands per second.

879
Multimedia / Re: USB Audio
« on: March 09, 2017, 03:13:22 am »
I have now tried a variety of the old 11 KHz and 22 KHz and 1-channel 44 KHz files. Of course they sound wrong, but none of them seem to give a trap. So I think the test build you provided has improved matters quite a bit.

880
Multimedia / Re: USB Audio
« on: March 08, 2017, 03:51:11 am »
Thanks for the test driver. I installed both the USB stack and the USB audio driver.

Without them, I was able to play system sounds and PM123 sounded pretty good. Both VLC and Firefox would give a sort of a squeal when attempting to play a sound.

With the new drivers, I was able to play system sounds, PM123, VLC and Firefox. I got an occasional drop-out while watching a YouTube video.

I did not see traps, but I did not do extensive testing. I will leave these drivers installed as I go on to test other things.

881
Multimedia / Re: USB Audio
« on: March 07, 2017, 10:01:05 pm »

Would you be willing to test a new set of drivers ? If yes let me know where to send the stuff ...

OK, sure. Sent you PM with contact info.


882
Multimedia / Re: USB Audio
« on: March 07, 2017, 04:52:04 pm »
I looked at the version, and it appears to be Arca Noae 11.12. I will experiment with 10.215 next.

The device report for the sound device is here.

Code: [Select]
<<< Device Description >>>
 Type            : 01
 USB Rev         : 110
 Class           : Reserved (0)
 Subclass        : Reserved (0)
 Protocol        : Reserved (0)
  Device Information is defined at interface Level
 Max. packetsize : 08
 Vendor  ID      : 0D8C
 Product ID      : 0014
 Device Release# : 0100
 Strings:
  Manufacturer Name : C-Media Electronics Inc.
  Product Name      : USB Audio Device
  Serial number     : Not implemented
 Number of Configurations : 1

 Configuration 0 :
  Lenght     : 253
  Name       : <NONE>
  Value      : 1
  Attributes : 0x80
  Power      : 100 mA
  Interfaces : 4

  Interface 0
   Alt Setting : 0
   Name        : <NONE>
   Class       : Audio
   SubClass    : AudioControl
   Protocol    : Not used(0)
   Endpoints   : 0
     Audiocontrol CS Interface Descriptor
     Length  : 10
     Type    : 0x24
     Subtype : 0x01
    Header :
     Audio Device Class Release Number : 0100
     Max size of AudioControl interface descriptor. : 16205
     Number of AudioStreaming and MIDIStreaming interfaces : 2
      1. Streaming interface on Device Interface 1
      2. Streaming interface on Device Interface 2
     Audiocontrol CS Interface Descriptor
    Input Terminal :
     Length  : 12
     Type    : 0x24
     Subtype : 0x02
     Unique Terminal ID       : 1
     Terminal Type            : 0x0101
     Assoc. Terminal ID       : 0
     Number of Log. Channels  : 2
     Spatial channel location : 0x0003
     Name of Channel          : Not Implemented
     Name of Terminal         : Has Index 12(GetString Error -225)
     Audiocontrol CS Interface Descriptor
    Input Terminal :
     Length  : 12
     Type    : 0x24
     Subtype : 0x02
     Unique Terminal ID       : 2
     Terminal Type            : 0x0201
     Assoc. Terminal ID       : 0
     Number of Log. Channels  : 1
     Spatial channel location : 0x0001
     Name of Channel          : Not Implemented
     Name of Terminal         : Has Index 9(GetString Error -225)
     Audiocontrol CS Interface Descriptor
    Output Terminal :
     Length  : 9
     Type    : 0x24
     Subtype : 0x03
     Unique Terminal ID : 6
     Terminal Type      : 0x0301
     Assoc. Terminal ID : 0
     Source ID          : 9
     Name of Terminal   : Not Implemented
     Audiocontrol CS Interface Descriptor
    Output Terminal :
     Length  : 9
     Type    : 0x24
     Subtype : 0x03
     Unique Terminal ID : 7
     Terminal Type      : 0x0101
     Assoc. Terminal ID : 0
     Source ID          : 8
     Name of Terminal   : Not Implemented
     Audiocontrol CS Interface Descriptor
    Selector Unit :
     Length  : 7
     Type    : 0x24
     Subtype : 0x05
     Unique Unit ID    : 8
     Input pins        : 1
      Pin 0 is Connected to Unit 1
      Pin 1 is Connected to Unit 10
     Name of Selector Unit : Has Index 10(GetString Error -225)
     Audiocontrol CS Interface Descriptor
    Feature Unit :
    Length  : 10
    Type    : 36
    Subtype : 6
    Dumped Data :
     09 0F 01 01 02 02
     00 09
     Unique Unit ID  : 9
     Source ID       : 15
     Size of Control Item  : 1
     ControlMap for Master : 0x01
     ControlMap for Channel 1 : 0x02
     ControlMap for Channel 2 : 0x02
     Name of Feature Unit : Has Index 9(GetString Error -225)
     Audiocontrol CS Interface Descriptor
    Feature Unit :
    Length  : 9
    Type    : 36
    Subtype : 6
    Dumped Data :
     0A 02 01 43 00 00
     09
     Unique Unit ID  : 10
     Source ID       : 2
     Size of Control Item  : 1
     ControlMap for Master : 0x43
     ControlMap for Channel 1 : 0x00
     Name of Feature Unit : Has Index 9(GetString Error -225)
     Audiocontrol CS Interface Descriptor
    Feature Unit :
    Length  : 9
    Type    : 36
    Subtype : 6
    Dumped Data :
     0D 02 01 03 00 00
     0D
     Unique Unit ID  : 13
     Source ID       : 2
     Size of Control Item  : 1
     ControlMap for Master : 0x03
     ControlMap for Channel 1 : 0x00
     Name of Feature Unit : Has Index 13(GetString Error -225)
     Audiocontrol CS Interface Descriptor
    Mixer Unit :
     Length  : 13
     Type    : 0x24
     Subtype : 0x04
     Unique Unit ID    : 15
     Input pins        : 2
      Pin 0 is Connected to Unit 2
      Pin 1 is Connected to Unit 1
      Pin 2 is Connected to Unit 13
     Logical Output channels  : 3
     Spatial channel location : 0x0000
     Name of 1st log. Channel : Not Implemented
     Name of Mixer Unit : Has Index 4(GetString Error -225)

  Interface 1
   Alt Setting : 0
   Name        : <NONE>
   Class       : Audio
   SubClass    : Streaming Audio
   Protocol    : Not used(0)
   Endpoints   : 0

  Interface 1
   Alt Setting : 1
   Name        : <NONE>
   Class       : Audio
   SubClass    : Streaming Audio
   Protocol    : Not used(0)
   Endpoints   : 1
    General Endpoint Information:
     Length  : 7
     Type    : 0x24
     Subtype : 0x01
     Controls:
      - Sampling Frequency
      - Locktime 16323 ms
     Audiostreaming CS Interface Descriptor
     Format Type:
     Length  : 14
     Type    : 0x24
     Subtype : 0x02
      Physical Channels : 2
      Subframe size     : 2
      Bits used         : 16
      Supported Frequencies
       - 48000Hz
       - 44100Hz
       - 66825Hz

   Endpoint 0:
    Address     : 01
    Attributes  : 09
    Packetsize  : 00C8
    Interval    : 1
    General Endpoint Information:
     Length  : 7
     Type    : 0x25
     Subtype : 0x01
     Controls:
      - Sampling Frequency
      - Locktime 16353 ms

  Interface 2
   Alt Setting : 0
   Name        : <NONE>
   Class       : Audio
   SubClass    : Streaming Audio
   Protocol    : Not used(0)
   Endpoints   : 0

  Interface 2
   Alt Setting : 1
   Name        : <NONE>
   Class       : Audio
   SubClass    : Streaming Audio
   Protocol    : Not used(0)
   Endpoints   : 1
    General Endpoint Information:
     Length  : 7
     Type    : 0x24
     Subtype : 0x01
     Controls:
      - Sampling Frequency
      - Pitch
      - Locktime 16378 ms
     Audiostreaming CS Interface Descriptor
     Format Type:
     Length  : 14
     Type    : 0x24
     Subtype : 0x02
      Physical Channels : 1
      Subframe size     : 2
      Bits used         : 16
      Supported Frequencies
       - 48000Hz
       - 44100Hz
       - 8520969Hz

   Endpoint 0:
    Address     : 82
    Attributes  : 0D
    Packetsize  : 0064
    Interval    : 1
    General Endpoint Information:
     Length  : 7
     Type    : 0x25
     Subtype : 0x01
     Controls:
      - Sampling Frequency
      - Locktime 16408 (No Unit)

  Interface 3
   Alt Setting : 0
   Name        : <NONE>
   Class       : Human Interface Device (HID)
   SubClass    : No Subclass
   Protocol    : None
   Endpoints   : 1
   HID Description:
    Length          : 09
    HID Rel. Number : 100
    Country Code    : 0000
    Descriptors     : 1
     Type          : 22
     Length        : 0
     Type          : 07
     Length        : 0

   Endpoint 0:
    Address     : 87
    Attributes  : 03
    Packetsize  : 0004
    Interval    : 2

I have now tried 10.215, and it does not trap while playing the 1-channel 16-bit 44.1 KHz sound file from Blubbels game. It still sounds wrong until converted, but it doesn't trap

883
Multimedia / Re: USB Audio
« on: March 07, 2017, 01:09:10 am »
By the way: are you using the USB Audio device attached to an external USB 2.0 hub or are you using it in a system that in principle has EHCI only but also a rate matching hub built-in ? Or is this USB Audio device really a USB 2.0 device  (which I doubt) ?

Posting the device descriptor (copied from USBRES.EXE) would help. If the device is USB 1.x, it's a problem with USBEHCD.SYS having to do special processing when handling USB 1.x isochronous devices. That stuff is not really well tested.

Sadly, I do not know what the hardware looks like. All the ports claim to be USB 3.0, yet USBEHCI can still get a USB 2.0 connection on all ports. The computer is a ThinkCentre M92p tiny form factor. I was using one of the rear ports.

I also do not know how to use USBRES to get a device descriptor.

884
Multimedia / Re: USB Audio
« on: March 06, 2017, 07:37:20 pm »
I have tried converting to FLAC and OGG just from the context menu. On my eCS 2.2 b2 system, this does not result in a playable file for either format. I understand more work has been done on these codecs.

I tried modifying the sox command to produce 2 channel files. This seems to fix all problems I had with a few files. I tried playing one of the QT games, and early in the play, I got a trap in the USB driver. (see attached photo of trap screen) Converting the sound file eliminates the trap.

Now I an suspicious that any WAV file might need converting unless it is already 2 channel 16 bit 44.1 KHz.

Modified code with new sox invocation that gives stereo
Code: [Select]
/* batch file to convert from old style wave files to
   stereo 16-bit 44.1 KHz ones. Requires sox to run.
   All sounds in the OS/2 multimedia directory are converted
   A backup named IBMSOUND.ZIP is created.
   */

soundDir = SysBootDrive() || '\MMOS2\SOUNDS'
backupZip = SysBootDrive() || '\MMOS2\IBMSOUND.ZIP'

if stream(backupZip, 'c', 'query exists') <> '' then do
   say "No backup created becuase file already exists:" backupZip
end
else do
   'zip -qr' backupZip soundDir
   if rc <> 0 then do
      say "backup file created:" backupZip
   end
end

call SysFileTree soundDir || '\*.wav', 'wav.', 'FOS'

do i=1 to wav.0
   soundPointer = lastpos('.wav', wav.i)
   outputFile = left(wav.i, soundPointer - 1) || '4.wav'
   'sox "' || wav.i || '" -b 16 -c 2 "' || outputFile || '" rate -s -a 44100 dither -s'
   if rc = 0 then do
      say 'converted' filespec('Name', outputFile)
      'copy "' ||  outputFile || '" "' ||  wav.i || '"'
      if rc <> 0 then do
         say 'Error' rc 'updating' wav.i
      end
      'del' outputFile
   end
end

return

885
Multimedia / Re: USB Audio
« on: March 04, 2017, 04:02:43 pm »
I've converted my system sounds to 16-bit, 44.1 KHz. I was going to post the files, but they are over 10 MB zipped.

I used the sox port by Mentore Siesto to convert the files. http://hobbes.nmsu.edu/h-search.php?key=sox&pushbutton=Search

Here is a crude REXX program to convert your files using sox. It shows the options I gave sox to do the work. The documentation for sox is here: http://sox.sourceforge.net/sox.html

Code: [Select]
/* batch file to convert from old style wave files to
   16-bit 44.1 KHz ones. Requires sox to run.
    run from the directory named "sounds"
   */

call SysMkDir '..\SOUND4'

call SysFileTree '*.*', 'wdir.', 'DO'

do i=1 to wdir.0
   soundPointer = pos('sounds', wdir.i)
   say soundPointer wdir.i
   outputFile = overlay('SOUND4', wdir.i, soundPointer)
   call SysMkDir outputFile
   say 'created' outputFile
end
call SysFileTree '*.wav', 'wav.', 'FOS'

do i=1 to wav.0
   soundPointer = pos('sounds', wav.i)
   outputFile = overlay('SOUND4', wav.i, soundPointer)
   'sox' wav.i '-b 16' outputFile 'rate -s -a 44100 dither -s'
   say 'converted' outputFile
end

Pages: 1 ... 57 58 [59] 60 61 ... 75