Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* YAM modems at higher (shared) IRQ's
@ 2011-03-06 19:30 Curt, WE7U
  2011-03-06 20:28 ` Curt, WE7U
       [not found] ` <4D73F262.6000703@exemail.com.au>
  0 siblings, 2 replies; 17+ messages in thread
From: Curt, WE7U @ 2011-03-06 19:30 UTC (permalink / raw)
  To: linux-hams


I haven't seen a lot of activity on the mailing lists for a while about YAM modems, but I just got handed a couple of them and I'd
like to put them to use.

I've successfully configured a YAM on a laptop w/OpenSUSE-11.3 32bit, but cannot on a desktop running OpenSUSE-11.3 64bit.  The
desktop has a Startech 4-port PCI card (with 16550's on it) at /dev/tty4 through 7 at odd addresses and a shared IRQ 17.  The
laptop has one /dev/ttyS0 port at the standard address and IRQ.


Laptop config, appears to work but is not hooked to a radio yet.  The red LED blinks when I do a ping:

     /sbin/modprobe -a yam
     /bin/setserial /dev/ttyS0 uart none
     /usr/sbin/yamcfg yam0 io 0x3f8 irq 4 pers 128 txd 150 bitrate 9600 baudrate 9600
     /sbin/ifconfig yam0 44.24.102.128 netmask 255.255.255.0 mtu 256 hw ax25 WE7U-3 up


Desktop config, doesn't work:

     modprobe -a yam
     setserial /dev/ttyS7 uart none
     yamcfg yam0 io 0xd880 irq 17 pers 128 txd 150 bitrate 9600 baudrate 9600
     /sbin/ifconfig yam0 44.24.102.128 netmask 255.255.255.0 hw


I get this for the desktop config at the "yamcfg" stage:

     yamcfg yam0 io 0xd880 irq 17 pers 128 txd 150 bitrate 9600 baudrate 9600

     yamcfg: Version 0.1 (C) 1998 by Jean-Paul ROUBELAT - F6FBB

     yamcfg: Error Invalid argument (22), cannot ioctl SIOCYAMSCFG on yam0


Using only "yamcfg yam0 io 0xd880 irq 17" I get the same error, but "yamcfg yam0 io 0xd880" works (but IRQ is set to 0 in that case).

I believe the problem is the shared IRQ 17.  "yam.h" appears to reserve one character position for the IRQ, so can't use IRQ's
above 9.  Correct?

I'm attempting to fetch kernel sources but the repositories appear to be unavailable.  Once I have them I'll try to code around the
problem.

If anyone has any ideas or pointers on how to fix this, please let me know.  Thanks!

-- 
Curt, WE7U.        http://www.eskimo.com/~archer
Babysitting your tracker:  http://info.aprs.net/index.php?title=ControlOperator

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-03-12 16:40 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-06 19:30 YAM modems at higher (shared) IRQ's Curt, WE7U
2011-03-06 20:28 ` Curt, WE7U
     [not found] ` <4D73F262.6000703@exemail.com.au>
2011-03-07  6:22   ` Curt, WE7U
2011-03-07 10:49     ` walter harms
2011-03-08  7:01       ` Curt, WE7U
2011-03-08 16:06         ` Curt, WE7U
2011-03-09 16:32           ` Curt, WE7U
2011-03-10  3:07             ` Curt, WE7U
2011-03-11 16:14               ` Curt, WE7U
2011-03-11 19:59                 ` Robin Gilks
2011-03-11 16:26               ` Curt, WE7U
2011-03-11 21:28                 ` Ray Wells
     [not found]                 ` <4D7A8FAF.7070400@exemail.com.au>
2011-03-11 21:40                   ` Curt, WE7U
2011-03-12 16:40                 ` David Ranch
2011-03-11 21:36               ` Dave Platt
2011-03-11 22:32                 ` Curt, WE7U
     [not found]     ` <4D75430C.10508@exemail.com.au>
2011-03-07 21:06       ` Curt, WE7U

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox