Re: HELPME PLEASE

1999-07-26 Thread Klaus Kudielka

On Mon, Jul 26, 1999 at 08:50:08AM +1000, Craig Small wrote:
 I thought that PTs only were able to set the DMA to 1 or 3.

Me too. BTW, support for DMA 0 on the S5SCC/DMA card is on my
TODO list.

-Klaus



Re: HELPME PLEASE

1999-07-22 Thread John Feist

The PackeTwin board has DMA 0-3 available, since most soundcards us 1
and 3 that leaves 0. I forget what DMA 2 was being used for. The serial
sync port runs in non-interupt DMA mode. Don't forget to change the
NRZI=1 for the serial sync port.

As I mentioned in a earlier post, I am using the RH 6.0 package with the
2.2.5-22 kernel which has the dmascc drivers built right in as a network
interface. Works fine..Lasts longtime.

I did experience a problem with trying to configure Port B for RS-422
(even though the manual stated that it was possible).

John

Gerd wrote:

 Hello Rommel Voncente Torres T., hello all,

  I have setup AX25 and PackeTwin in my Linux BOX but when start I
  obtained this messages:
 
  PT: Probing for card at address 0x300
  PT: Found a PT at address 0x300
  PT: Autodetected IRQ 3, assuming DMA 0

 That seems to be the problem. Is it really DMA 0 (this is unusual)?
 I'd recommend trying different DMA settings.

  PT: pt_tmrisr() Invalid tstate 0 for Channel A
 
 
  I have Linux Slackware 3.5 whit kernel 2.0.34

 Then you have the older set of AX.25 drivers. You then either have
 to apply the AX.25 modules patch to get a more recent version of
 the drivers (see the AX.25-HOWTO for this - but it is not
 recommended any more) or switch to a kernel 2.0.35, 2.0.36 or
 2.0.37 (here those modules and drivers are included already).

 [config files snipped]

 I'd recommend upgrading the drivers first and then reading the
 readme for the PacketTwin driver to find out how to give that driver
 the right DMA channel.

 Cheers, 73

 Gerd



Re: HELPME PLEASE

1999-07-21 Thread John Feist

Howdee, I am doing the same thing here. But, I used the Linux dmascc drivers
built into the 2.2.5 kernel. Mr. Klaus Kudielka has been a great help with
this. Currently I have the RS-422 on the first port and RS-232 for the
second. The dmascc config utility is loaded in my rc.local. Both ports are
seen with the ifconfig command.

Once the dmascc0/dmascc1 interfaces are configured, I ported them off to
tnos/jnos with the net2kiss command using ptypX/ttypX pairs. I am still
waiting for the transverter but I can initiate a transmit from the nos port.

Take a look at the www.wa4dsy.radio.org site for the dmascc driver site.
Once I get it all working I will attempt to right a HOWTO. I am using the
Red Hat 6.0 package with the 2.2.5-22 kernel.

Regards, John

"Rommel Vicente Torres T." wrote:

 Hello

 I have two kits for packet radio, this kits are the following parts:
 -   2 RF Modem w4dsy 56KB PacComm
 -   2 Gracilis PacketTwin-PC Internal comunications controller

 The configuration of the Card is make for the port A for RS-422
 operation whit the following IC placed in the same Card.

 
 | u20(p)  U19 (p)
 | U18(np)   U25(np)
 | Z2 (p)u17 (np)U26(np)  Z3(np)
 | U21(p)U24(p)  U27(np)
 |U23(p)
 |_--

 this is location of IC in the card the legend meaning:
 np = no placed
 p = placed

 I have setup AX25 and PackeTwin in my Linux BOX but when start I
 obtained this messages:

 PT: Probing for card at address 0x300
 PT: Found a PT at address 0x300
 PT: Autodetected IRQ 3, assuming DMA 0

 After

 PT: pt_tmrisr() Invalid tstate 0 for Channel A

 I have Linux Slackware 3.5 whit kernel 2.0.34

 My rc.inet1 is:

 #! /bin/sh
 #
 # rc.inet1  This shell script boots up the base INET system.
 #
 # Version:  @(#)/etc/rc.d/rc.inet1  1.0105/27/93
 #

 HOSTNAME=`cat /etc/HOSTNAME`

 # Attach the loopback device.
 /sbin/ifconfig lo 127.0.0.1
 /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

 # IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure

 the
 # eth0 interface. If you're only using loopback or SLIP, don't include
 the
 # rest of the lines in this file.

 # Edit for your setup.
 IPADDR="192.168.0.192"  # REPLACE with YOUR IP address!
 NETMASK="255.255.255.0" # REPLACE with YOUR netmask!
 NETWORK="192.168.0.0"   # REPLACE with YOUR network address!
 BROADCAST="192.168.0.255"   # REPLACE with YOUR broadcast address,
 if you
 # have one. If not, leave blank and edit below.
 GATEWAY="192.168.0.254" # REPLACE with YOUR gateway address!

 # Uncomment the line below to initialize the ethernet device.
 /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

 # Uncomment these to set up your IP routing table.
 /sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0
 /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1

 # Para el radio configuracion

 IPADDR1="44.136.8.1"# REPLACE with YOUR IP address!
 NETMASK1="255.255.255.0"# REPLACE with YOUR netmask!
 NETWORK1="44.136.8.0"   # REPLACE with YOUR network address!
 BROADCAST1="44.136.8.255"   # REPLACE with YOUR broadcast address,
 if you
 # have one. If not, leave blank and edit below.
 #GATEWAY1="192.168.0.254"   # REPLACE with YOUR gateway address!

 # Uncomment the line below to initialize the ethernet device.
 /sbin/ifconfig pt0a ${IPADDR1} hw ax25 VR2KTJ mtu 512
 /sbin/ifconfig pt0a ${IPADDR1} broadcast ${BROADCAST1} netmask
 ${NETMASK1}

 # Uncomment these to set up your IP routing table.
 /sbin/route add -net ${NETWORK1} netmask ${NETMASK1} window 1024 pt0a
 #/sbin/route add -net 44.0.0.0 netmask 255.0.0.0 dev pt0a
 #/sbin/route add -net 192.168.0.0 netmask ${NETMASK1} dev pt0a
 /sbin/route add -host 44.136.88.255 dev pt0a

 # End of rc.inet1

 And ifconfig return:

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Bcast:127.255.255.255  Mask:255.0.0.0
   UP BROADCAST LOOPBACK RUNNING  MTU:3584  Metric:1
   RX packets:20 error:0 dropped:0 over:0 frame:0
   TX packets:20 error:0 dropped:0 over:0 carrier:0 coll:0

 eth0  Link encap:Ethernet  HWaddr 00:60:97:98:EE:36
   inet addr:192.168.0.192  Bcast:192.168.0.255
 Mask:255.255.255.0
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:333 error:0 dropped:0 over:0 frame:0
   TX packets:2 error:0 dropped:0 over:0 carrier:0 coll:0
   Interrupt:11 Base address:0xe800

 pt0a  Link encap:AMPR AX.25  HWaddr VR2KTJ
   inet addr:44.136.8.1  Bcast:44.136.8.255  Mask:255.255.255.0
   UP BROADCAST RUNNING  MTU:512  Metric:1
   RX packets:0 error:0 dropped:0 over:0 frame:0
   TX packets:0 error:0 dropped:0 over:0 carrier:0 coll:0
   

Re: HELPME PLEASE

1999-07-21 Thread Gerd

Hello Rommel Voncente Torres T., hello all,

 I have setup AX25 and PackeTwin in my Linux BOX but when start I
 obtained this messages:
 
 PT: Probing for card at address 0x300
 PT: Found a PT at address 0x300
 PT: Autodetected IRQ 3, assuming DMA 0

That seems to be the problem. Is it really DMA 0 (this is unusual)? 
I'd recommend trying different DMA settings.

 PT: pt_tmrisr() Invalid tstate 0 for Channel A
 
 
 I have Linux Slackware 3.5 whit kernel 2.0.34

Then you have the older set of AX.25 drivers. You then either have 
to apply the AX.25 modules patch to get a more recent version of 
the drivers (see the AX.25-HOWTO for this - but it is not 
recommended any more) or switch to a kernel 2.0.35, 2.0.36 or 
2.0.37 (here those modules and drivers are included already).

[config files snipped]

I'd recommend upgrading the drivers first and then reading the 
readme for the PacketTwin driver to find out how to give that driver 
the right DMA channel.

Cheers, 73

Gerd