Hi misc@, I need to run flip[1], which is written in tcl/tk and only available as binary for linux. I need it to program Atmel 8051 micro controllers. Flip runs fine under linux emulation (after copying the included libs to /emul/linux/lib), but I get an error message when trying to access the serial ports (to which the mc board is connected).
I already created a horde of symlinks (after reading compat_linux(8)) and googled for about 3h now, but I can't get it to work: NOTE: I'm using a (working) usb->serial adapter #ls -l /emul/linux/dev | grep tty[A-Z] lrwxr-xr-x 1 root wheel 10B Mar 19 11:23 ttyS0@ -> /dev/ttyU0 lrwxr-xr-x 1 root wheel 10B Mar 19 14:00 ttyS1@ -> /dev/ttyU0 lrwxr-xr-x 1 root wheel 10B Mar 19 11:23 ttyU0@ -> /dev/ttyU0 #ls -l /dev/{cua,tty}[US]0 crwxrwxrwx 1 ahbabe ahbabe 66, 128 Mar 15 08:44 /dev/cuaU0* lrwxr-xr-x 1 root wheel 10 Jul 2 1987 /dev/ttyS0@ -> /dev/ttyU0 crwxrwxrwx 1 ahbabe ahbabe 66, 0 Jul 2 1987 /dev/ttyU0* Error message in flip: can't read "flipStates(comList)": no such element in array while executing "if { $flipStates(comList) == "" } { tk_messageBox -message "There is no available serial port\n on your platform. Please fix the problem then\n resta..." (procedure "initProtocol" line 15) invoked from within "initProtocol "RS232Standard"" invoked from within ".menubar.settings.comm invoke active" ("uplevel" body line 1) invoked from within "uplevel #0 [list $w invoke active]" (procedure "tkMenuInvoke" line 31) invoked from within "tkMenuInvoke .menubar.settings.comm 1 I would appreciate any help because I need to get this to work for school. Btw: I tried to use qemu with "-serial /dev/ttyU0", but this always results in (also as almighty root): qemu: could not open serial device '/dev/ttyS0' [1] http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2767 Thanks, ahb p.s. Did I include all necessary information?