Re: emu serial port help
i am running 1.0.2. i don't believe i set the $_comX option, but i did set the option to allow access for port 0x3f0 to 0x3ff. the code i'm trying to run does not go through the bios, but to the hardware. so, how do i take control of port 3f8 away from linux? i suppose i could hack serial.c and load it as a module maybe. or i could find an old discrete serial card and hack the address lines to something other than 3f8. i'm still thinking there might be something a little easier. thanks, eddie --- Stas Sergeev <[EMAIL PROTECTED]> wrote: > Hello. > > gobo wrote: > > trying to access com1 (3f0 - 3ff)under dosemu. > i've > > given dosemu access to that address range. > dosemu emulates serial ports, so no need to use a > direct > access. Have you tried a $_comX settings in > dosemu.conf? > > > no matter > > what i try, i can't get to the ports. > You can't use a direct access to serial ports > because > linux kernel already controls it. > > > if i run as a > > user, it complains about not being able to build > the > > lock file. if i run as suid root, dosemu says not > to > > do this. > Both problems were already fixed, upgrade your > dosemu > from 1.0.2 to something more modern (unfortunately > the > problem with lock files was fixed only in a devel > branch, > so you will have to upgrade to a devel version I > suppose). > > > is there a magic combination that will work? > Yes and it is not magic at all. By trying a direct > access > you made a problem for yourself that wasn't existed > initially:) __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: emu serial port help
Hello. gobo wrote: > trying to access com1 (3f0 - 3ff)under dosemu. i've > given dosemu access to that address range. dosemu emulates serial ports, so no need to use a direct access. Have you tried a $_comX settings in dosemu.conf? > no matter > what i try, i can't get to the ports. You can't use a direct access to serial ports because linux kernel already controls it. > if i run as a > user, it complains about not being able to build the > lock file. if i run as suid root, dosemu says not to > do this. Both problems were already fixed, upgrade your dosemu from 1.0.2 to something more modern (unfortunately the problem with lock files was fixed only in a devel branch, so you will have to upgrade to a devel version I suppose). > is there a magic combination that will work? Yes and it is not magic at all. By trying a direct access you made a problem for yourself that wasn't existed initially:) - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
emu serial port help
trying to access com1 (3f0 - 3ff)under dosemu. i've given dosemu access to that address range. no matter what i try, i can't get to the ports. if i run as a user, it complains about not being able to build the lock file. if i run as suid root, dosemu says not to do this. run as root, can't get any response back from the port. is there a magic combination that will work? i've thought about modifying the serial module code so that the module does not know about com1, but i suspect it won't be that simple. thanks for any suggestments, eddie __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com - To unsubscribe from this list: send the line "unsubscribe linux-msdos" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html