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 - ivan

Pages: 1 ... 97 98 [99] 100 101 ... 104
1471
Applications / Re: vlc 2.1.0 won't start
« on: October 12, 2013, 05:54:51 pm »
Sorry Joop but it works here for me on 6 computers with varying processors and video cards.

The only thing is I strip out all the intermediate directory tree since I don't have a usr dir, so no usr\local and I start it with a cmd file, just as I have all the other versions.

The bin, include, lib and share directories are under vlc-210 - on drive I on my test machine.  I then use the following cmd file:

i:
set beginlibpath=i:\vlc-210\lib;
cd vlc-210\bin
vlc
exit

As an aside, this is version plays the mp4 hd files I have without the cutoff on the side that the older versions had.
 

1472
Networking / Re: OS/2, Realtek and NIC drivers
« on: October 06, 2013, 11:40:10 pm »
Which Realtek chip does it use?

1473
Hardware / Re: Webcam Support for OS/2 and eCS!!
« on: September 28, 2013, 07:00:34 pm »
Paul, I have a problem using lsusb.exe.  It works when I use lsusb -h (it shoes the options) but when I try to do anything else I get the following:

[D:\utility]>lsusb -d 04b8:010c -v

Killed by SIGSEGV
pid=0x0076 ppid=0x006e tid=0x0001 slot=0x00b2 pri=0x0200 mc=0x0001
D:\UTILITY\LSUSB.EXE
LSUSB 0:0000f3b6
cs:eip=005b:0001f3b6      ss:esp=0053:0081ff30      ebp=0081ffa0
 ds=0053      es=0053      fs=150b      gs=0000     efl=00012246
eax=00000000 ebx=ffffffff ecx=ffffffff edx=00000000 edi=00000000 esi=0081ffbc
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

The usb.ids is in os2\bin as per your readme.os2 since this is a standard WSeB install.  I assume not finding the usb.ids is the problem so what di I need to do to make it do so?

1474
Applications / Re: ecenter ecomcenter minimize window question
« on: September 25, 2013, 11:05:47 pm »
I was under the impression that ecenter was an eCS skinned version of xcenter so you should be able to unpack the xcenter distribution and use the widgets it contains.

1475
Applications / Re: Java applications
« on: September 24, 2013, 12:43:00 pm »
Thanks Dave.  I thought it had to be something like that but I don't know enough about *nix to be sure - hence my asking for help decoding the script.

1476
Applications / Re: Java applications
« on: September 24, 2013, 12:02:17 am »
A couple of things to note Martin.

First run <path to openjdk-sdk\bin> java -jar greenfoot-generic-230.jar  that is the installer.

Second, the installer wants to put tools.jar in the sdk \lib directory.  If it can't do this it will stop working and greenfoot is not installed.

Other than having the openjdk6-sdk-ga5 dir in the root of a drive (in my case f:\ as it where I have space to try things out on this box) and Andy saving me the trouble of working out the script I did nothing that isn't normal when running a java app.

One other thing.  I have now made a program object as follows;

Path and file name
F:\OPENJDK6-SDK-GA5\BIN\JAVA.EXE

Parameters
-Duser.home=f:\java-apps\greenfoot -cp f:\java-apps\greenfoot\lib\bluej.jar;f:\openjdk6-sdk-ga5\lib\tools.jar bluej.Boot -greenfoot=true -bluej.compiler.showunchecked=false "$@"

Working directory
left blank

**The parameters are all on one line**

I also made an icon for it.
 

1477
Applications / Re: Java applications
« on: September 22, 2013, 05:43:20 pm »
Thanks Andy, that gets it up and running.

The only thing missing is starting firefox, which it appears to want to do.  It supposedly uses the JDK browser starting functions to, first see if there is a running instance of firefox and then, if not, start it.

The score of 0 is because I was watching what happened rather than doing anything with it.

1478
Applications / Re: Java applications
« on: September 21, 2013, 04:59:49 pm »
OK, I downloaded greenfoot (because it was a small download). 

The generic jar file is an installer which works without any apparent problems.  It creates a shell script (it appears to assume that our system is linux because we are using openjdk6) which I now have to interpret for OS/2 to use.

The script is below if anyone would like to venture an interpretation it would be helpful.

#!/bin/sh
APPBASE="f:\java-apps\greenfoot"
JAVAPATH="F:\openjdk6-sdk-ga5"
CP="$APPBASE/lib/bluej.jar:$JAVAPATH/lib/tools.jar"
"$JAVAPATH/bin/java" -cp "$CP" bluej.Boot -greenfoot=true -bluej.compiler.showunchecked=false "$@"
 

1479
Applications / Re: Java applications
« on: September 20, 2013, 10:43:40 pm »
Martin, you did note that both of those programs require the JDK or SDK in OS/2-eCS speak not the runtime.

I might see about downloading one of them over the weekend and see if I can do anything with it.

1480
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 28, 2013, 09:14:59 pm »
Sorry Barbara but I can't find the notes I made in 2009 when this first came up so at the moment I'm working off the top of my head.

Our version of usb-modeswitch was ported from the Linux version here http://www.draisberghof.de/usb_modeswitch/  On that site there is a little more information that might be of use to you.

Now another question.  What do you get when you type ppp in an OS/2 window after your usb modem is mounted?

The ppp usage is as follows if you need to know.

┌─────────────┐
│     PPP     │ OS/2 TCP/IP Point-to-Point Protocol Driver
│    2.00     │ Copyright(c) IBM Corp. 1994, 1995
└─────────────┘ Revision: 1.18a   10 Jan 1997 00:00:00

Usage: ppp [options], where options are:
        <device>        Communicate over the named device
        <speed>         Set the baud rate to <speed>
        <ip>:<ipdest>   Set the local and/or remote interface IP
                        addresses.  Either one may be omitted.
        asyncmap <n>    Set the desired async map to hex <n>
        auth            Require authentication from peer
        connect "cmd"   Invoke command cmd to set up the serial line
                            Ex. connect "slattach atdt9,999-9999 CONNECT"
        defaultroute    Add default route through interface
        file <f>        Take options from file <f>
        idle <n>        Set the idle timeout period to <n> minutes.
        modem           Set/Reset modem control lines
        mru <n>         Set MRU value to <n> for negotiation
        netmask <n>     Set interface netmask to <n>
        notify          Display notification message when DCD signal drops
        priority <n>    Set process scheduling priority to <n>
        rtscts          Use hardware RTS/CTS flow control
        silent          Don't send connect request to peer, wait for request

If you get some indication that ppp sees the modem on the com port it shouldn't take too much to get you connected.


1481
Applications / Re: Pdfsam and JAVA1.6.0ga5
« on: August 28, 2013, 01:49:57 pm »
Very strange in deed.  Maybe there is some interaction between Odin and the latest java but that is just clutching at straws.

The two attachments show the PDFSam about page and the program object settings notebook page.

1482
Applications / Re: Pdfsam and JAVA1.6.0ga5
« on: August 28, 2013, 10:10:41 am »
I am using PDFSam 2.2.2 with java 1.6.0ga5 without any problems.  I start it from a program object with the Parameters -Duser.home=h:\java-apps\pdfsam -Xmx256m -jar pdfsam-2.2.2.jar

1483
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 24, 2013, 02:16:15 pm »
Hi Barbara, because something was niggling at the back of my mind I downloaded the usb-modeswitch package from hobbes.

The following is the readme from that package:


usb_modeswitch.exe for OS/2
===========================

This version of usb_modeswitch has been compiled using gcc 3.3.5.  I
have compiled it using
   usb_modeswitch 1.0.2 from http://www.draisberghof.de/usb_modeswitch
   libusb-0.1.10a-os2.zip from hobbes.nmsu.edu
   usbcalls-20090823.zip from http://ecomstation.ru/projects/developer/downloads/usbcalls-20090823.zip

NOTE: usb.h is from libusb-0.1.10a-os2.zip and *not* from usbcalls-20090823.zip

For convenience I have copied the pre-compiled libraries and headers
into this distribution.

INSTALLATION
============
Copy boot/usbresmg.sys to e:/ecs/boot

!!!!!!Don't forget to make a backup of the original !!!!!!!
                            
Make sure that the usbresmg.sys is in config.sys as
   DEVICE=E:\ECS\BOOT\USBRESMG.SYS                               
REM out any older line in config.sys

Copy dll/usbcalls.dll to a dll directory which is in your LIBPATH.
(Make sure that there isn't an older copy)

Copy usb_modeswitch.conf to /etc directory.  I had to make an etc
directory because usb_modeswitch.exe doesn't seem to use the ETC
variable set in config.sys

Edit usb_modeswitch.conf for your device.  I have an Cricket A600
and so I uncommented

########################################################
# Cricket A600
#
# Switches to ACM device.  Might need a ResetUSB after switching - or not
#
# Contributor: Jeffrey Hoogland

DefaultVendor=  0x1f28
DefaultProduct= 0x0021

TargetVendor=   0x1f28
TargetProduct=  0x0020

# only for reference
MessageEndpoint=0x08

MessageContent="555342431234567824000000800108df200000000000000000000000000000"

# Afterwards (optional): "usb_modeswitch -v 0x1f28 -p 0x0020 -R"

########################################################

Running
=======

Running usb_modeswitch with my Cricket A600 USB modem gives me

********************************
Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
 Found default devices (1)
Accessing device 001 on bus 000 ...
Using endpoints 0x08 (out) and 0x87 (in)
Inquiring device details; driver will be detached ...
 Cant't do driver detection and detaching on this platform.
 Could not send INQUIRY message (error -22)

Device description data (identification)
-------------------------
Manufacturer: Cal-comp E&CC Limited
     Product: USB Micro SD Storage
  Serial No.: 215973138300
-------------------------
 Cant't do driver detection and detaching on this platform.
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x08 ...
 OK, message successfully sent
Device is gone, skipping further steps ...
-> Run lsusb to note any changes. Bye.
*********************************

Compiling
=========

Make sure you have gcc 3.3.5 installed.
Then the following command with make usb_modeswitch.exe

make -f Makefile.os2

--------------------------------------------------

Cheng-Yang Tan
cytan299@yahoo.com
25 Aug 2009

=========================================================================

Now the question is, what do you have in your usb_modeswitch.conf file and in particular what setup message content are you using?

1484
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 21, 2013, 01:14:22 pm »
Andi, this thing is a smartphone without the screen and other odd bits.  It connects to a 3G network using a SIM card and makes use of your monthly data allowance to connect you to the web.  It was a long time ago when this first came up for discussion and I never bothered to keep the notes I made at the time believing that the info was safe on the forum. 

1485
Setup & Installation / Re: Internet USB Key Huawei E353 and SafeFire PPP
« on: August 21, 2013, 09:59:26 am »
It is a pity that all the past info on this site appears to be lost because there was a full discussion on this subject that lead first to the porting of the usb-modeswitch from linux to OS/2 and then on to the actual use of the device.  I suspect the ecomstation.ru article is based on this the information we had here.

What I did then was look at the way linux activated and used the device.  Fortunately, the person asking about it was able to port the modeswitcher and so get his device seen and bypass the virtual CD that is presented (to allow the install of a windows control panel for the device before it switches to the modem).  Once that switching was accomplished, it was a fairly simple matter to use the modem.  Sorry but I can't remember the procedure because I don't have a unit to play with.  All I had at the time were the spec sheets that allowed me to know what it was supposed to do.

Now if Martin could find that old thread....
 

Pages: 1 ... 97 98 [99] 100 101 ... 104