22 February 2017, 04:08 | #1 |
Registered User
Join Date: Aug 2016
Location: Ohio
Posts: 185
|
Serial Port?
I have a USB Serial port I use with my laptop.
Code:
[400122.167508] usb 3-2: new full-speed USB device number 5 using xhci_hcd [400122.332306] usb 3-2: New USB device found, idVendor=067b, idProduct=2303 [400122.332326] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [400122.332329] usb 3-2: Product: USB-Serial Controller D [400122.332332] usb 3-2: Manufacturer: Prolific Technology Inc. [400122.332696] pl2303 3-2:1.0: pl2303 converter detected [400122.333282] usb 3-2: pl2303 converter now attached to ttyUSB0 In my fs-uae config I added: Code:
serial_port = /dev/ttyUSB0 |
22 February 2017, 15:48 | #2 |
\m/
Join Date: Nov 2008
Location: Devon, U.K.
Posts: 573
|
Linux permissions to use the serial port? Maybe try running FS-UAE as root to test that.
|
22 February 2017, 19:49 | #3 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
I'll show a case with /dev/ttyS0 , replace with your device
Code:
ls >/dev/ttyS0 ls: write error: Input/output error ls -l /dev/ttyS0 crw-rw----+ 1 root dialout 4, 64 Feb 22 19:28 /dev/ttyS0 My user is "alex" so... Code:
sudo usermod -a -G dialout alex |
22 February 2017, 21:49 | #4 |
Registered User
Join Date: Aug 2016
Location: Ohio
Posts: 185
|
I guess I should have listed that above I already checked permissions, here you can see:
Code:
sh-4.3$ ls > /dev/ttyUSB0 sh-4.3$ ls -l /dev/ttyUSB0 crw-rw---- 1 root dialout 188, 0 Feb 22 15:50 /dev/ttyUSB0 sh-4.3$ groups Eugene disk lp mem wheel floppy dialout audio video cdrom games messagebus plugdev power netdev scanner vboxusers tor burning truecrypt aros sh-4.3$ |
22 February 2017, 22:29 | #5 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
Whats connected on the other side? (Dunno what a breakbox is)
You run a terminal program on the other side? (screen?) So ls >/dev/ttyUSB0 sends ls' output to the program on the other side? If you boot fs-uae and you do in amiga shell: date >ser: do you see anything on the other side? |
23 February 2017, 01:09 | #6 |
Registered User
Join Date: Aug 2016
Location: Ohio
Posts: 185
|
The breakout box is an old troubleshooting tool. Its basically some LED's across all the lines. If you turn off hardware flow control (or jumper the flow control lines) you can then watch the LED's flash as you send out data.
I'm testing with my old HP48SX calculator. Installed C-kermit on Linux and can successfully send files to/from the calculator. I remembered back in 1992 when I first bought it I would have used my Amiga so I've been looking through the early fish disks and found a couple Kermit programs and a couple terminal programs to see if I can get it working again. So no blinkin lights from date >ser: I wonder if the serial prefs are not ignoring flow control, I'll try jumpering those and see |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE Serial port | xArtx | support.WinUAE | 3 | 20 March 2016 08:44 |
Serial port, parallel port, and pipe device mount errors | Samurai_Crow | support.FS-UAE | 4 | 13 March 2014 00:04 |
Serial Port Questions | iainnitro | support.Hardware | 10 | 21 April 2012 16:03 |
How to test serial port? | mmikko | support.Hardware | 2 | 05 February 2008 08:43 |
Lightgun with serial port | cebulba | support.Hardware | 1 | 10 December 2003 14:05 |
|
|