Welcome, Guest. Please login or register.

Author Topic: Serial ADF transfer to/from Linux?  (Read 2664 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline _stet_Topic starter

  • Newbie
  • *
  • Join Date: Jan 2009
  • Posts: 7
    • Show only replies by _stet_
Serial ADF transfer to/from Linux?
« on: January 26, 2009, 03:02:10 PM »
Anybody had success transferring ADFs with transwarp to/from Linux? (or using something other than transwarp?)

I have no trouble transferring ADFs back & forth with transwarp & Windows (using ADF Sender Terminal), so I know everything's OK on the Amiga side, the cabling is fine, etc.

I believe the Linux side should be as simple as this (replacing ttyX with the appropriate device):
cat filename.adf >/dev/ttyX (to send to the Amiga)
cat /dev/ttyX >filename.adf (to receive from the Amiga)

That appears to work for sending (i.e. it writes 80 tracks to a disk), but the resulting disk is always bad. My best guess is that the serial port is misconfigured somehow (I believe I have the baud rate set correctly along with 8N1 and RTS/CTS, but perhaps something else is awry).

So, if you've had success with this, I'd be interested to see the output from "stty -a" for your serial port to see how you've got it configured.

Thanks.
 

Offline tone007

Re: Serial ADF transfer to/from Linux?
« Reply #1 on: January 26, 2009, 03:55:22 PM »
I've used any old Amiga term program that includes a file transfer protocol (xmodem, zmodem.) Never bothered with these "custom" transfer programs.  Of course, you need to have enough RAM/storage to run the term program and store the transferred file(s).

Minicom's still around for linux, isn't it? ;)
3 Commodore file cabinets, 2 Commodore USB turntables, 1 AmigaWorld beer mug
Alienware M14x i7 laptop running AmigaForever
 

Offline brianb

  • Full Member
  • ***
  • Join Date: Jan 2009
  • Posts: 175
    • Show only replies by brianb
Re: Serial ADF transfer to/from Linux?
« Reply #2 on: January 27, 2009, 03:50:42 PM »

Would it automatically use hardware flow control when just piping the data to /dev?   The file might be bad cause you're experiencing buffer overruns.  I know with Amiga Explorer it not only does flow control but will retry bad transmissions. I'm also stuck to a pretty low speed (19200-38400) on my A1200.  But it does work and is pretty reliable.  

It might be easier and more reliable as the previous poster mentioned to just use a simple terminal program on the Amiga size and sz (send zmodem) and rz on the unix size.