Until last week my wine runs a Microcontroler Programmer under serial port very well, But in this week have problems to work wine for serial ports on my new Mandrake 8.1. Well, in Mdk 8.1 there is no ttyS0 devices but links to /dev/tts/0 and /dev/tts/1 I realy don't remember how was until last week, but I think about users and perms to devices. I try to chmod a+rw for /dev/tts/0 and tts/1 but does not work. In the bash where I call the wine messages apears like that: fixme:comm:EnableCommNotification16 no handle for cid = ffffffff! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:CloseComm16 no cid=-1 found! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:FlushComm16 no cid=-1 found! fixme:comm:WriteComm16 no handle for cid = ffffffff! fixme:comm:GetCommError16 no handle for cid = ffffffff! fixme:comm:EnableCommNotification16 no handle for cid = ffffffff! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:CloseComm16 no cid=-1 found! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:FlushComm16 no cid=-1 found! fixme:comm:FlushComm16 no cid=-1 found! fixme:comm:WriteComm16 no handle for cid = ffffffff! fixme:comm:GetCommError16 no handle for cid = ffffffff! fixme:comm:EnableCommNotification16 no handle for cid = ffffffff! fixme:comm:EscapeCommFunction16 no cid=65535 found! fixme:comm:CloseComm16 no cid=-1 found! Please, if anyone can aid me about access serial ports reply me, cause I need it to my job. Tanx all. Antonio Augusto Todo Bom Neto PS: Very thanks to Bernhard Rosenkr?nzer for the Daily rpm build in the site www.linux-easy.com.
On Sat, 13 Oct 2001 02:23:51 -0300, Antonio Augusto Todo Bom Neto <antonio@xultz.wox.org> wrote: <snip>>Well, in Mdk 8.1 there is no ttyS0 devices but links to /dev/tts/0 and /d>ev/tts/1Why not edit your ~/.wine/config file to change the com port address ? Gerard
| Until last week my wine runs a Microcontroler Programmer under serial | port very well, | But in this week have problems to work wine for serial ports on my new | Mandrake 8.1. | | Well, in Mdk 8.1 there is no ttyS0 devices but links to /dev/tts/0 and | /dev/tts/1 I wondered when a distro would use devfs. devfs is a kernel option for the 2.4.x kernels, you can disable it at boot time if you like, but I have never done so and have lost track of how. This mail comes to you by Wine over /dev/tts/3, kernel 2.4.10 with devfs and devfsd, so it can be done. First, make sure devfsd is running: ps xa|grep -v grep|grep devfsd I reckon it is: it is what makes the symbolic links to /dev/tts/. Now have a look at /etc/devfsd.conf ... this is what I did to the default devfsd.conf, probably I had a reason: --- devfsd.conf Mon Jul 3 16:46:32 2000 +++ /etc/devfsd.conf Sun Aug 12 20:55:18 2001 @@ -27,6 +27,9 @@ # # Uncomment this if you want permissions to be saved and restored -#REGISTER .* COPY /dev-state/$devname $devpath -#CHANGE .* COPY $devpath /dev-state/$devname -#CREATE .* COPY $devpath /dev-state/$devname +REGISTER tts/.* COPY /dev-state/$devname $devpath +CHANGE tts/.* COPY $devpath /dev-state/$devname +CREATE tts/.* COPY $devpath /dev-state/$devname +REGISTER vc/.* COPY /dev-state/$devname $devpath +CHANGE vc/.* COPY $devpath /dev-state/$devname +CREATE vc/.* COPY $devpath /dev-state/$devname In case you are not used to reading unified diffs, this is what I end up with at the end of devfsd.conf: # # Uncomment this if you want permissions to be saved and restored REGISTER tts/.* COPY /dev-state/$devname $devpath CHANGE tts/.* COPY $devpath /dev-state/$devname CREATE tts/.* COPY $devpath /dev-state/$devname REGISTER vc/.* COPY /dev-state/$devname $devpath CHANGE vc/.* COPY $devpath /dev-state/$devname CREATE vc/.* COPY $devpath /dev-state/$devname | | I realy don't remember how was until last week, but I think about users | and perms to devices. | I try to chmod a+rw for /dev/tts/0 and tts/1 but does not work. Now give devfsd a SIGHUP and try your chmod again, or maybe one a little less sloppy. Do you really want just _anybody_ to use a comm port? killall -HUP devfsd | | In the bash where I call the wine messages apears like that: | fixme:comm:EnableCommNotification16 no handle for cid = ffffffff! | ... | fixme:comm:CloseComm16 no cid=-1 found! | All this just says the open failed, but the stupid app is trying to use it anyway. | | Please, if anyone can aid me about access serial ports reply | me, cause I need it to my job. Tanx all. | | Antonio Augusto Todo Bom Neto | | PS: Very thanks to Bernhard Rosenkr?nzer for the Daily rpm build in the | site www.linux-easy.com. | You can find more doco in man devfsd, maybe /usr/share/doc/devfsd*, and http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.html http://www.atnf.csiro.au/~rgooch/linux/ If you installed kernel source, <linux>/Documentation/filesystems/devfs/ Lawson ---oof---
| | Hello, | | I just remove the recent instaled wine and install an older | version (20010626) of codeweavers wine and all its runnig | ok. Then I beleave there is a problem in the new version | of wine. Because the codeweavers is runnig as in devfs as | without it. If that is true, it is called a regression, and there is some nice doco in <wine>/documentation/cvs-regression.sgml about how you can help track it down and get it fixed. Look for a recent version: Gerard Patel troubled himself to bring it up to date on October 16 of this year. | When I uninstall the code waevers and reinstall the new version | of winehq, unmodifing the .wine/config, the problem returns. My What do you mean by ^^^^^ this? | application cannot open the serial port, but fuser is saying | the wine is using the port. No information on shell where I | call wine, now. | | | Thanks for all, I hope my problem can aid in anythink to | wine project. | At this point it is just your problem - I don't have an app that fails in this way, so if you want to help fix it, run the app with the current version of wine, with the option --debugmsg +comm,+file capture the stderr output and show it to us. Sort of like this (I don't know how the app is spelled, so you'll have to fix that part): wine --debugmsg +comm,+file app.exe 2>&1 | tee ~/logfile If ~/logfile is very big, it might be nice to gzip and attach it. Lawson ---oof---