Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: pointing wine to the usb serial adapter< Next Oldest | Next Newest >
geomort Offline





Group: Members
Posts: 14
Joined: Feb. 2007
Posted: May 13 2008,17:48 QUOTE

I think I know how to do this if I can find the where to do it.

I have wine loaded though MyDsl extentions and the serial adapter is seen as ttyUSB0 in dmesg.

I tried mknod /dev/usb/ttyUSB0 c 188 0 and DSL reported that the file already exists.

From the wine documentation it looks like I need to edit win.ini to point wine to the linux device with com4=/dev/usb/ttyUSB0

I don't no where to do this.  Looked in /ramdisk/dsl/.wine/dosdevices
found a win.ini but there is mostly county code information and I was looking for a [serial ports] entry to edit.

Am I on the right track?

Would #ln -s /dev/usb/ttyUSB0 com4 do the trick?

geomort
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: May 14 2008,21:05 QUOTE

Please start by telling us what Windows application you are trying to run under wine.
Back to top
Profile PM 
geomort Offline





Group: Members
Posts: 14
Joined: Feb. 2007
Posted: May 16 2008,04:15 QUOTE

Thanks for getting back to me.
I have a USB to serial adaptor that I want to use to load code into a PIC processor device.  The program that handshakes with the device and loads the code is a simple windows command line program called prog.exe.  It works in DSL using the wine extention and a real serial port.  The USB to serial adapter is seen as /dev/ttyUSB0.  I need to assign it a com port in wine for the prog.exe program.  I need to know where the file is I need to edit in wine for the com ports.  Wine documentation lists /dosdevices/win.ini with the section [serial ports] to be edited.  I haven't found the right file to edit in DSL.  Maybe I need to add a configuration file to the extention somewhere for wine to use?
geomort.

geomort
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: May 16 2008,04:39 QUOTE

Try looking in ~/.wine
Back to top
Profile PM 
3 replies since May 13 2008,17:48 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: pointing wine to the usb serial adapter

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code