dschmenk / apple2pi

Apple II client/server for Raspberry Pi
GNU General Public License v3.0
112 stars 25 forks source link

Connecting Apple IIc to Raspberry Pi 4? #20

Open Taxman45 opened 3 years ago

Taxman45 commented 3 years ago

Dave, I have an Apple IIc and a Raspberry Pi 4 B with 8GB Ram with Raspian Buster installed. I purchased the Apple serial cable and the USB to Serial adapter cable from the links on the ADT Pro website. I have no problem connecting my IIc as a serial console to the Pi and use it that way regularly. After reading about the apple2pi project I attempted to give it a go and used the "owners manual" link on your site and the instructions on Github. I could not get the Apple IIc to go past the spinning / . I did not compile the program on my Pi but downloaded the compiled binary from the web and then installed it. I tried a fresh install of Raspian after it failed to work to see if my previous commands to make my usual serial console connection were keeping it from working. No help there. I am able to use ADT Pro but I have to stop the getty for ttyUSB0.service for the ADT Pro to connect. Does this project work with the hardware that I'm trying to use it with? Is there something specific about connecting via serial cable that I need to do differently? I would appreciate any help you can offer. Thanks!

dschmenk commented 3 years ago

It should work no problem, especially if you have ADTPro working. However, you will need to adjust the setup slightly. First, you will have to disable the getty service on the RS232<->USB adapter. Enable the a2pid to work over the adapter by editing the /etc/default/a2pi file and uncomment the USB0 device line.

The Apple //c will default to the second serial port (I think), so if you need to change it, exit out of the a2pi client at the spinner and run setup. Select the serial port that is connected to the Pi. Should be good to go.

Taxman45 commented 3 years ago

Thanks for responding. I can get adt pro to work but I can’t get past the spinning / on my Apple IIc even after making the edits that you suggest. I have tried change the serial port # with config program. I have also tried both the modem port and the printer port and the upper and lower USB ports. I ran Sudo systemctl disable serial-getty@ttyUSB0. service

I created the a2pi boot disk using adtpro before I started to make sure I was getting a serial connection. With ADTPro I need to make sure that I set the connection speed to 115,200 and 40 blocks at a time to connect. Is there some speed setting I am missing somewhere?

Sent from my iPhone

On Aug 18, 2020, at 7:10 PM, David Schmenk notifications@github.com wrote:

 It should work no problem, especially if you have ADTPro working. However, you will need to adjust the setup slightly. First, you will have to disable the getty service on the RS232<->USB adapter. Enable the a2pid to work over the adapter by editing the /etc/default/a2pi file and uncomment the USB0 device line.

The Apple //c will default to the second serial port (I think), so if you need to change it, exit out of the a2pi client at the spinner and run setup. Select the serial port that is connected to the Pi. Should be good to go.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Taxman45 commented 3 years ago

I am embarrassed to say that my problem was not putting sudo in front of A2pid command. Is there a reason it won’t auto load when the Pi boots up? I’d like to not have to use Real VNC to start up the process on boot. Thanks for your kind reply.

From: David Schmenk notifications@github.com Sent: Tuesday, August 18, 2020 7:11 PM To: dschmenk/apple2pi apple2pi@noreply.github.com Cc: Taxman45 bill.miranda@gmail.com; Author author@noreply.github.com Subject: Re: [dschmenk/apple2pi] Connecting Apple IIc to Raspberry Pi 4? (#20)

It should work no problem, especially if you have ADTPro working. However, you will need to adjust the setup slightly. First, you will have to disable the getty service on the RS232<->USB adapter. Enable the a2pid to work over the adapter by editing the /etc/default/a2pi file and uncomment the USB0 device line.

The Apple //c will default to the second serial port (I think), so if you need to change it, exit out of the a2pi client at the spinner and run setup. Select the serial port that is connected to the Pi. Should be good to go.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dschmenk/apple2pi/issues/20#issuecomment-675779123 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVBCJPF6EMTZFSAJLN4Z6DSBMJ7ZANCNFSM4QDZ7P7Q . https://github.com/notifications/beacon/AQVBCJIFHVVPUYFGQNK4QSTSBMJ7ZA5CNFSM4QDZ7P72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFBDZEMY.gif

mgederberg commented 1 year ago

you will have to disable the getty service on the RS232<->USB adapter

Sudo systemctl disable serial-getty@ttyUSB0. service

So THIS is why ADTPro and the A2SERVER Pi image I have will NOT find the serial port successfully perhaps? It's not some RXTX nonsense so much as I didn't disable Getty so it never sees the port. Hmmmm. Gonna try this.

brunocastello commented 3 weeks ago

@Taxman45 good afternoon, sorry for hijacking your thread - but I also have recently purchased a IIc, how did you get the IIc to talk to a pi box? Is there any sort of guide somewhere? I have some Raspi 3B boxes around here, waiting for some reason to be powered on... My dad is also interested since he has a IIe Platinum and is looking for some projects to get it on our network too. He built his own joystick and paddles for games, as well as a custom switcher for my IIc so I could use the SDisk (a floppy emulator) with it.

Cheers!