Page 1 of 1

Issue using usb serial devices in MorphOS and AROS

Posted: Sat Aug 06, 2022 3:57 pm
by ntromans
I'm having some difficulty using usb serial devices in MorphOS and AROS via Hollywood 9.1. I've just bought a couple of usb to serial devices, one of type pl2303 and the other cp210x (actually cp2102). On both MorphOS and AROS they are recognised by Trident and bound to the correct class.

To test the hardware on MorphOS I connected their serial pins together crossing transmit & receive plus ground), put them into a couple of usb sockets and opened a couple of instances of 'Term', one set to serialpl2303.device unit 0 and the other serialcl20x.device unit 0. With a baud of 300 and xon/xoff I could move files from one device to another.

Now moving on to Hollywood, On MorphOS I tried the following code (after rebooting and not running Term):

OpenSerialPort(1,"serialcp210x.device:0",{BaudRate=#BAUD_300,FlowControl=#FLOW_XON_XOFF})

repeat

debugprint(ReadSerialData(1,256,1000))

forever

However, this results in 'Error opening serial port serialcp210x.device:0!' Similarly if I try to open the pl2303, It also seems to fail on AROS,although there isn't an error message and the script continues, but the companion 'send' script always fails to send anything and obviously the receive scripts gets nothing.

Any pointers on how to resolve this would be much appreciated! Thanks.

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Sat Aug 06, 2022 8:09 pm
by plouf
No idea for morphos never use it

However anythink i have try up to mow was without flow control
Tryed without ?

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Sun Aug 07, 2022 2:12 pm
by airsoftsoftwair
Can you post a SnoopDOS log?

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Sun Aug 07, 2022 9:20 pm
by ntromans
Snoopium log for MorphOS posted below - at a quick glance it still seems to be trying to open 'serial.device'. Alss just to say I did try a number of options (different baud rates, no flow control) with no luck.

Thanks,
Nigel.

[1] [GUI] [OpenDev] [timer.device] [Unit 1] [OK]
[2] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[3] [GUI] [Open] [env:mui/ASLREQUESTER.1.prefs] [Read] [OK]
[4] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[5] [GUI] [Lock] [env:mui] [Read] [OK]
[6] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[7] [GUI] [Open] [env:mui/ASLREQUESTER.1.prefs] [Write] [OK]
[8] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[9] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[10] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[11] [GUI] [Open] [envarc:mui/ASLREQUESTER.1.prefs] [Read] [OK]
[12] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[13] [GUI] [Lock] [envarc:mui] [Read] [OK]
[14] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[15] [GUI] [Open] [envarc:mui/ASLREQUESTER.1.prefs] [Write] [OK]
[16] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[17] [GUI] [OpenLib] [iffparse.library] [Ver 2] [OK]
[18] [GUI] [Open] [CON:100/100/500/200/Hollywood output/AUTO/CLOSE/WAIT] [Write] [OK]
[19] [GUI] [Open] [NIL:] [Read] [OK]
[20] [GUI] [Open] [NIL:] [Write] [OK]
[21] [CON] [FindSem] [muicon_CON] [] [OK]
[22] [<Unknown>] [Open] [NIL:] [Read] [OK]
[23] [<Unknown>] [ChangeDir] [DM5:Programing/Hollywood] [] []
[24] [Background CLI] [Open] [*] [Write] [OK]
[25] [Background CLI] [FindVar] [process] [Local] [Fail]
[26] [Background CLI] [SetVar] [process=1] [Local] [OK]
[27] [Background CLI] [FindVar] [process] [Local] [Fail]
[28] [Background CLI] [FindVar] [RC] [Local] [Fail]
[29] [Background CLI] [SetVar] [RC=0] [Local] [OK]
[30] [Background CLI] [FindVar] [RC] [Local] [Fail]
[31] [Background CLI] [FindVar] [Result2] [Local] [Fail]
[32] [Background CLI] [SetVar] [Result2=0] [Local] [OK]
[33] [Background CLI] [FindVar] [Result2] [Local] [Fail]
[34] [Background CLI] [GetVar] [shellppc.prefs] [Any] [Fail]
[35] [Background CLI] [FindVar] [shellppc.prefs] [Local] [Fail]
[36] [Background CLI] [ChangeDir] [RAM:ENV] [] []
[37] [Background CLI] [Open] [shellppc.prefs] [Read] [Fail]
[38] [Background CLI] [ChangeDir] [DM5:Programing/Hollywood] [] []
[39] [Background CLI] [GetVar] [echo] [Local] [Fail]
[40] [Background CLI] [FindVar] [echo] [Local] [Fail]
[41] [Background CLI] [FindVar] [Hollywood:System/Hollywood] [Alias] [Fail]
[42] [Background CLI] [GetVar] [_pchar] [Local] [Fail]
[43] [Background CLI] [FindVar] [_pchar] [Local] [Fail]
[44] [Background CLI] [GetVar] [_mchar] [Local] [Fail]
[45] [Background CLI] [FindVar] [_mchar] [Local] [Fail]
[46] [Background CLI] [ChangeDir] [DM5:Programing/Hollywood] [] []
[47] [Background CLI] [Lock] [Hollywood:System/Hollywood] [Read] [OK]
[48] [Background CLI] [Open] [Hollywood:System/Hollywood] [Read] [OK]
[50] [Background CLI] [Open] [Hollywood:System/Hollywood] [Read] [OK]
[51] [Background CLI] [Lock] [Hollywood:System/Hollywood] [Read] [OK]
[52] [Background CLI] [ChangeDir] [DM5:Programing/Hollywood] [] []
[54] [Hollywood:System/Hollywood] [OpenLib] [objdata.library] [Ver 0] [OK]
[55] [Hollywood:System/Hollywood] [OpenLib] [bsdsocket.library] [Ver 0] [OK]
[56] [Hollywood:System/Hollywood] [OpenDev] [timer.device] [Unit 0] [OK]
[57] [Hollywood:System/Hollywood] [OpenLib] [utility.library] [Ver 37] [OK]
[58] [Hollywood:System/Hollywood] [OpenLib] [locale.library] [Ver 0] [OK]
[59] [Hollywood:System/Hollywood] [Open] [SYS:Data/zoneinfo/GMT] [Read] [Fail]
[60] [Hollywood:System/Hollywood] [Open] [MOSSYS:Data/zoneinfo/GMT] [Read] [OK]
[61] [Hollywood:System/Hollywood] [GetVar] [TZ] [Any*] [OK]
[62] [Hollywood:System/Hollywood] [FindVar] [TZ] [Local] [Fail]
[63] [Hollywood:System/Hollywood] [ChangeDir] [RAM:ENV] [] []
[64] [Hollywood:System/Hollywood] [Open] [TZ] [Read] [OK]
[65] [Hollywood:System/Hollywood] [ChangeDir] [DM5:Programing/Hollywood] [] []
[66] [Hollywood:System/Hollywood] [GetVar] [TZ] [Any*] [OK]
[67] [Hollywood:System/Hollywood] [FindVar] [TZ] [Local] [Fail]
[68] [Hollywood:System/Hollywood] [ChangeDir] [RAM:ENV] [] []
[69] [Hollywood:System/Hollywood] [Open] [TZ] [Read] [OK]
[70] [Hollywood:System/Hollywood] [ChangeDir] [DM5:Programing/Hollywood] [] []
[71] [Hollywood:System/Hollywood] [Open] [SYS:Data/zoneinfo/Europe/London] [Read] [Fail]
[72] [Hollywood:System/Hollywood] [Open] [MOSSYS:Data/zoneinfo/Europe/London] [Read] [OK]
[73] [Hollywood:System/Hollywood] [OpenLib] [charsets.library] [Ver 0] [OK]
[74] [Hollywood:System/Hollywood] [OpenLib] [intuition.library] [Ver 39] [OK]
[75] [Hollywood:System/Hollywood] [OpenLib] [graphics.library] [Ver 39] [OK]
[76] [Hollywood:System/Hollywood] [OpenLib] [locale.library] [Ver 0] [OK]
[77] [Hollywood:System/Hollywood] [OpenLib] [utility.library] [Ver 39] [OK]
[78] [Hollywood:System/Hollywood] [OpenLib] [z.library] [Ver 0] [OK]
[79] [Hollywood:System/Hollywood] [OpenLib] [jfif.library] [Ver 0] [OK]
[80] [Hollywood:System/Hollywood] [OpenLib] [png.library] [Ver 0] [OK]
[81] [Hollywood:System/Hollywood] [OpenLib] [objdata.library] [Ver 0] [OK]
[82] [Hollywood:System/Hollywood] [OpenLib] [icon.library] [Ver 0] [OK]
[83] [Hollywood:System/Hollywood] [OpenLib] [layers.library] [Ver 39] [OK]
[84] [Hollywood:System/Hollywood] [OpenLib] [asl.library] [Ver 39] [OK]
[85] [Hollywood:System/Hollywood] [OpenLib] [datatypes.library] [Ver 39] [OK]
[86] [Hollywood:System/Hollywood] [OpenCat] [Sys/libs.catalog] [0] [Fail]
[87] [Hollywood:System/Hollywood] [GetVar] [TZ] [Global] [OK]
[88] [Hollywood:System/Hollywood] [ChangeDir] [RAM:ENV] [] []
[89] [Hollywood:System/Hollywood] [Open] [TZ] [Read] [OK]
[90] [Hollywood:System/Hollywood] [ChangeDir] [DM5:Programing/Hollywood] [] []
[91] [Hollywood:System/Hollywood] [OpenLib] [workbench.library] [Ver 39] [OK]
[92] [Hollywood:System/Hollywood] [OpenLib] [commodities.library] [Ver 39] [OK]
[93] [Hollywood:System/Hollywood] [OpenLib] [gadtools.library] [Ver 0] [OK]
[94] [Hollywood:System/Hollywood] [OpenLib] [amigaguide.library] [Ver 0] [OK]
[95] [Hollywood:System/Hollywood] [OpenLib] [keymap.library] [Ver 37] [OK]
[96] [Hollywood:System/Hollywood] [OpenDev] [input.device] [Unit 0] [OK]
[97] [Hollywood:System/Hollywood] [OpenDev] [timer.device] [Unit 0] [OK]
[98] [Hollywood:System/Hollywood] [OpenLib] [cybergraphics.library] [Ver 0] [OK]
[99] [Hollywood:System/Hollywood] [Open] [NIL:] [Read] [OK]
[100] [Hollywood:System/Hollywood] [Open] [NIL:] [Write] [OK]
[101] [Hollywood wait task] [OpenDev] [timer.device] [Unit 0] [OK]
[102] [Hollywood:System/Hollywood] [Open] [NIL:] [Read] [OK]
[103] [Hollywood:System/Hollywood] [Open] [NIL:] [Write] [OK]
[104] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[105] [Hollywood:System/Hollywood] [FindRes] [MorphOS] [] [OK]
[106] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[107] [Hollywood:System/Hollywood] [OpenDev] [timer.device] [Unit 0] [OK]
[108] [Hollywood:System/Hollywood] [Lock] [""] [Read] [OK]
[109] [Hollywood:System/Hollywood] [OpenCat] [Hollywood/Hollywood.catalog] [Ver 0] [Fail]
[110] [Hollywood:System/Hollywood] [GetVar] [TZ] [Global] [OK]
[111] [Hollywood:System/Hollywood] [ChangeDir] [RAM:ENV] [] []
[112] [Hollywood:System/Hollywood] [Open] [TZ] [Read] [OK]
[113] [Hollywood:System/Hollywood] [ChangeDir] [DM5:Programing/Hollywood] [] []
[114] [Hollywood:System/Hollywood] [Open] [Test_M:test.hws] [Read] [OK]
[115] [Hollywood:System/Hollywood] [Open] [PROGDIR:Hollywood.key] [Read] [OK]
[116] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[117] [Hollywood:System/Hollywood] [Open] [CON:336/210/1008/630/Hollywood Startup/SCREENWorkbench] [Write] [OK]
[118] [Hollywood:System/Hollywood] [Open] [NIL:] [Read] [OK]
[119] [Hollywood:System/Hollywood] [Open] [NIL:] [Write] [OK]
[120] [CON] [FindSem] [muicon_CON] [] [OK]
[121] [CON] [Open] [NIL:] [Read] [OK]
[122] [CON] [Open] [NIL:] [Write] [OK]
[123] [« MUI Console Server »] [OpenDev] [timer.device] [Unit 1] [OK]
[124] [« MUI Console Server »] [OpenLib] [muimaster.library] [Ver 0] [OK]
[125] [« MUI Console Server »] [OpenLib] [icon.library] [Ver 0] [OK]
[126] [« MUI Console Server »] [OpenCat] [muicon.catalog] [Ver 1] [Fail]
[127] [« MUI Console Server »] [GetVar] [TZ] [Global] [OK]
[128] [« MUI Console Server »] [ChangeDir] [RAM:ENV] [] []
[129] [« MUI Console Server »] [Open] [TZ] [Read] [OK]
[130] [« MUI Console Server »] [ChangeDir] [SYS:] [] []
[131] [« MUI Console Server »] [OpenLib] [intuition.library] [Ver 0] [OK]
[132] [« MUI Console Server »] [Lock] [env:sys/def_muicon.info] [Read] [Fail]
[133] [« MUI Console Server »] [Open] [env:sys/def_muicon.info] [Read] [Fail]
[134] [« MUI Console Server »] [Open] [env:sys/def_muicon.info] [Read] [Fail]
[135] [« MUI Console Server »] [Lock] [env:sys/def_muicon.info] [Read] [Fail]
[136] [« MUI Console Server »] [Lock] [env:sys/def_con.info] [Read] [OK]
[137] [« MUI Console Server »] [Open] [env:sys/def_con.info] [Read] [OK]
[138] [« MUI Console Server »] [Open] [env:sys/def_con.info] [Read] [OK]
[139] [« MUI Console Server »] [GetVar] [DefIcon_Path] [Global] [OK]
[140] [« MUI Console Server »] [ChangeDir] [RAM:ENV] [] []
[141] [« MUI Console Server »] [Open] [DefIcon_Path] [Read] [OK]
[142] [« MUI Console Server »] [ChangeDir] [SYS:] [] []
[143] [« MUI Console Server »] [Lock] [env:sys/def_con] [Read] [Fail]
[144] [« MUI Console Server »] [Lock] [env:sys/def_con.info] [Read] [OK]
[145] [« MUI Console Server »] [GetVar] [muidebug] [Any] [Fail]
[146] [« MUI Console Server »] [FindVar] [muidebug] [Local] [Fail]
[147] [« MUI Console Server »] [ChangeDir] [RAM:ENV] [] []
[148] [« MUI Console Server »] [Open] [muidebug] [Read] [Fail]
[149] [« MUI Console Server »] [ChangeDir] [SYS:] [] []
[150] [« MUI Console Server »] [OpenDev] [timer.device] [Unit 0] [OK]
[151] [« MUI Console Server »] [OpenLib] [workbench.library] [Ver 36] [OK]
[152] [« MUI Console Server »] [OpenLib] [icon.library] [Ver 36] [OK]
[153] [« MUI Console Server »] [OpenLib] [screennotify.library] [Ver 0] [OK]
[154] [« MUI Console Server »] [Lock] [env:mui/MCON.1.prefs] [Read] [OK]
[155] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[156] [« MUI Console Server »] [Open] [env:mui/MCON.1.prefs] [Read] [OK]
[157] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[158] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[159] [« MUI Console Server »] [OpenLib] [rexxsyslib.library] [Ver 0] [OK]
[160] [« MUI Console Server »] [OpenLib] [PowerTerm.mcc] [Ver 0] [OK]
[161] [« MUI Console Server »] [OpenLib] [muimaster.library] [Ver 19] [OK]
[162] [« MUI Console Server »] [OpenLib] [cybergraphics.library] [Ver 50] [OK]
[163] [« MUI Console Server »] [OpenLib] [datatypes.library] [Ver 50] [OK]
[164] [« MUI Console Server »] [OpenCat] [Sys/libs.catalog] [0] [Fail]
[165] [« MUI Console Server »] [GetVar] [TZ] [Global] [OK]
[166] [« MUI Console Server »] [ChangeDir] [RAM:ENV] [] []
[167] [« MUI Console Server »] [Open] [TZ] [Read] [OK]
[168] [« MUI Console Server »] [ChangeDir] [SYS:] [] []
[169] [« MUI Console Server »] [OpenLib] [layers.library] [Ver 50] [OK]
[170] [« MUI Console Server »] [OpenLib] [keymap.library] [Ver 50] [OK]
[171] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 50] [OK]
[172] [« MUI Console Server »] [OpenLib] [diskfont.library] [Ver 50] [OK]
[173] [« MUI Console Server »] [OpenLib] [ttengine.library] [Ver 7] [OK]
[174] [« MUI Console Server »] [OpenLib] [openurl.library] [Ver 5] [OK]
[175] [« MUI Console Server »] [OpenLib] [charsets.library] [Ver 53] [OK]
[176] [« MUI Console Server »] [GetVar] [TABSIZE] [Any] [Fail]
[177] [« MUI Console Server »] [FindVar] [TABSIZE] [Local] [Fail]
[178] [« MUI Console Server »] [ChangeDir] [RAM:ENV] [] []
[179] [« MUI Console Server »] [Open] [TABSIZE] [Read] [Fail]
[180] [« MUI Console Server »] [ChangeDir] [SYS:] [] []
[181] [« MUI Console Server »] [GetVar] [POWERTERMTABSIZE] [Any] [Fail]
[182] [« MUI Console Server »] [FindVar] [POWERTERMTABSIZE] [Local] [Fail]
[183] [« MUI Console Server »] [ChangeDir] [RAM:ENV] [] []
[184] [« MUI Console Server »] [Open] [POWERTERMTABSIZE] [Read] [Fail]
[185] [« MUI Console Server »] [ChangeDir] [SYS:] [] []
[186] [« MUI Console Server »] [FindRes] [MorphOS] [] [OK]
[187] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[188] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[189] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[190] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 16] [OK]
[191] [« MUI Console Server »] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[192] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 16] [OK]
[193] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 20] [OK]
[194] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[195] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 16] [OK]
[196] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[197] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[198] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[199] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[200] [« MUI Console Server »] [OpenFont] [Open Sans.font] [Size 28] [OK]
[201] [« MUI Console Server »] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[202] [« MUI Console Server »] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[203] [« MUI Console Server »] [OpenLib] [workbench.library] [Ver 36] [OK]
[204] [« MUI Console Server »] [FindSem] [Ixemul] [] [OK]
[205] [Hollywood:System/Hollywood] [Lock] [Work_M:Programing/Hollywood/System] [Read] [OK]
[206] [Hollywood:System/Hollywood] [Lock] [LIBS:Hollywood] [Read] [OK]
[207] [Hollywood:System/Hollywood] [Open] [Test_M:test.hws] [Read] [OK]
[208] [Hollywood:System/Hollywood] [Lock] [Test_M:] [Read] [OK]
[209] [Hollywood:System/Hollywood] [Lock] [""] [Read] [OK]
[210] [Hollywood:System/Hollywood] [ChangeDir] [DM6:] [] []
[211] [Hollywood:System/Hollywood] [Open] [Test_M:test.hws] [Read] [OK]
[212] [Hollywood:System/Hollywood] [OpenLib] [diskfont.library] [Ver 37] [OK]
[213] [Hollywood:System/Hollywood] [Lock] [""] [Read] [OK]
[214] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[215] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[216] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[217] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[218] [« MUI Console Server »] [Open] [env:mui/MCON.1.prefs] [Read] [OK]
[219] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[220] [« MUI Console Server »] [Lock] [env:mui] [Read] [OK]
[221] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[222] [« MUI Console Server »] [Open] [env:mui/MCON.1.prefs] [Write] [OK]
[223] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[224] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[225] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[226] [« MUI Console Server »] [Open] [envarc:mui/MCON.1.prefs] [Read] [OK]
[227] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[228] [« MUI Console Server »] [Lock] [envarc:mui] [Read] [OK]
[229] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[230] [« MUI Console Server »] [Open] [envarc:mui/MCON.1.prefs] [Write] [OK]
[231] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[232] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[233] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[234] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[235] [Hollywood:System/Hollywood] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[236] [Hollywood:System/Hollywood] [OpenDev] [serial.device] [Unit 0] [Fail]
[237] [ramlib] [Load] [MOSSYS:DEVS/serial.device.elf] [] [Fail]
[238] [ramlib] [Open] [MOSSYS:DEVS/serial.device.elf] [Read] [Fail]
[239] [ramlib] [Open] [MOSSYS:DEVS/serial.device.elf] [Read] [Fail]
[240] [ramlib] [Load] [MOSSYS:DEVS/serial.device] [] [OK]
[241] [ramlib] [Open] [MOSSYS:DEVS/serial.device] [Read] [OK]
[242] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[243] [« MUI Console Server »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[244] [Hollywood:System/Hollywood] [LockScreen] [Workbench] [] [OK]
[245] [Hollywood:System/Hollywood] [OpenLib] [muimaster.library] [Ver 21] [OK]
[246] [Hollywood:System/Hollywood] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[247] [Hollywood:System/Hollywood] [Open] [NIL:] [Read] [OK]
[248] [Hollywood:System/Hollywood] [Open] [NIL:] [Write] [OK]
[249] [« Requester Slave »] [GetVar] [muidebug] [Any] [Fail]
[250] [« Requester Slave »] [FindVar] [muidebug] [Local] [Fail]
[251] [« Requester Slave »] [ChangeDir] [RAM:ENV] [] []
[252] [« Requester Slave »] [Open] [muidebug] [Read] [Fail]
[253] [« Requester Slave »] [ChangeDir] [DM6:] [] []
[254] [« Requester Slave »] [OpenDev] [timer.device] [Unit 0] [OK]
[255] [« Requester Slave »] [OpenLib] [workbench.library] [Ver 36] [OK]
[256] [« Requester Slave »] [OpenLib] [icon.library] [Ver 36] [OK]
[257] [« Requester Slave »] [Lock] [env:mui/INTREQ.1.prefs] [Read] [OK]
[258] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[259] [« Requester Slave »] [Open] [env:mui/INTREQ.1.prefs] [Read] [OK]
[260] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[261] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[262] [« Requester Slave »] [LockScreen] [Workbench] [] [OK]
[263] [« Requester Slave »] [FindRes] [MorphOS] [] [OK]
[264] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[265] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[266] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[267] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 16] [OK]
[268] [« Requester Slave »] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[269] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 16] [OK]
[270] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 20] [OK]
[271] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[272] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 16] [OK]
[273] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[274] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[275] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[276] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 18] [OK]
[277] [« Requester Slave »] [OpenFont] [Open Sans.font] [Size 28] [OK]
[278] [« Requester Slave »] [OpenFont] [Noto Mono.font] [Size 18] [OK]
[279] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[280] [« Requester Slave »] [Open] [env:mui/INTREQ.1.prefs] [Read] [OK]
[281] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[282] [« Requester Slave »] [Lock] [env:mui] [Read] [OK]
[283] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[284] [« Requester Slave »] [Open] [env:mui/INTREQ.1.prefs] [Write] [OK]
[285] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[286] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[287] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[288] [« Requester Slave »] [Open] [envarc:mui/INTREQ.1.prefs] [Read] [OK]
[289] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[290] [« Requester Slave »] [Lock] [envarc:mui] [Read] [OK]
[291] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[292] [« Requester Slave »] [Open] [envarc:mui/INTREQ.1.prefs] [Write] [OK]
[293] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[294] [« Requester Slave »] [OpenLib] [iffparse.library] [Ver 2] [OK]
[295] [Hollywood:System/Hollywood] [ChangeDir] [DM5:Programing/Hollywood] [] []
[296] [Hollywood:System/Hollywood] [FindVar] [RC] [Local] [OK]
[297] [Hollywood:System/Hollywood] [FindVar] [Result2] [Local] [OK]
[298] [Background CLI] [GetVar] [echo] [Local] [Fail]
[299] [Background CLI] [FindVar] [echo] [Local] [Fail]

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Sun Aug 07, 2022 11:41 pm
by ntromans
Extract from snoopy output on AROS; agan it looks like it's just trying to open seril.device.

P.S. I have double-checked nd it's definitely the 9.1 release eing run here on both machines.

Thanks,
Nigel.

SNOOP | CON | OpenLibrary | dos.library | Version 0 | OK
SNOOP | Hollywood:System/Hollywood| Open | ENV:codeset_default | Read | Fail
SNOOP | Hollywood:System/Hollywood| Open | ENVARC:codeset_default | Read | Fail
SNOOP | Hollywood:System/Hollywood| GetVar | codeset_default | Global | Fail
SNOOP | Hollywood:System/Hollywood| OpenFont | ttcourier.font | Size 14 | OK
SNOOP | Lib & Dev Loader Daemon| Open | serial.device | Read | Fail
SNOOP | Lib & Dev Loader Daemon| LoadSeg | serial.device | | Fail
SNOOP | Lib & Dev Loader Daemon| Open | devs/serial.device | Read | Fail
SNOOP | Lib & Dev Loader Daemon| LoadSeg | devs/serial.device | | Fail
SNOOP | Lib & Dev Loader Daemon| Open | serial.device | Read | Fail
SNOOP | Lib & Dev Loader Daemon| LoadSeg | serial.device | | Fail
SNOOP | Lib & Dev Loader Daemon| Open | devs/serial.device | Read | Fail
SNOOP | Lib & Dev Loader Daemon| LoadSeg | devs/serial.device | | Fail
SNOOP | Lib & Dev Loader Daemon| Open | devs:serial.device | Read | OK
SNOOP | Lib & Dev Loader Daemon| LoadSeg | devs:serial.device | | OK
SNOOP | Hollywood:System/Hollywood| OpenLibrary | DRIVERS:serial.hidd | Version 0 | OK
SNOOP | Hollywood:System/Hollywood| OpenLibrary | oop.library | Version 0 | OK
SNOOP | Hollywood:System/Hollywood| OpenLibrary | intuition.library | Version 0 | OK
SNOOP | Hollywood:System/Hollywood| OpenDevice | serial.device | Unit 0 | OK
SNOOP | Hollywood:System/Hollywood| Open | ENV:codeset_default | Read | Fail
SNOOP | Hollywood:System/Hollywood| Open | ENVARC:codeset_default | Read | Fail
SNOOP | Hollywood:System/Hollywood| GetVar | codeset_default | Global | Fail

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Wed Aug 10, 2022 12:12 pm
by airsoftsoftwair
Ugh, this is embarrassing. Apparently, support for specifying the device name and port in portname$ as described in the documentation of OpenSerialPort() was never implemented at all on Amiga. But there's a history entry about it so it must have been implemented once but it probably got lost during synchronization with the Hollywood master branch because it's not there. Neither in 9.0 nor in 9.1. So I've implemented it (again).

Code: Select all

- Fix [Amiga]: Contrary to the documentation, OpenSerialPort() didn't support passing a string containing
  the device and port to open; it always opened serial.device, allowing the user to merely specify the unit
  number in portname$ 
Sorry for the inconvenience!

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Thu Aug 11, 2022 12:02 am
by ntromans
Many thanks for looking into this so quickly! Do you think the fix will make it into the 9.2 release?

Thanks again,
Nigel.

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Sat Aug 13, 2022 4:05 pm
by airsoftsoftwair
Sure, it will.

Re: Issue using usb serial devices in MorphOS and AROS

Posted: Sat Aug 13, 2022 7:55 pm
by ntromans
Many thanks :D :D :D