On Mon, 2002-04-08 at 14:01, Min-gyu Cho wrote: > I want to use javax.comm with serial device connected with USB-serial > converter. > [...] > But I cannot connect to it with javax.comm package. It seems like that it > only accepts COM1-4, not /tty/usb/ttyS0, etc. I couldn't find any > information regarding this on the google, etc. If you know the solution or > have some suggestions I can try, let me know.
You are using RXTX, I guess (http://www.rxtx.org/)? It should be configurable, and you have the source as well. I vaguely recall playing with the stuff, but can't say for sure that it involved USB serial devices. In any case, there should be no difference (to the app) which device node it accesses. As a shorthand, you can try # ls -l /dev/usb/ttyUSB0 /dev/ttyS0 (unless it breaks something else that you need). Or just remake the device node with right major/minor numbers. All that is needed only if the RXTX layer fails to access the right device on its own. Dmitri
signature.asc
Description: This is a digitally signed message part
