This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

R: Some questions about Cygwin


--- Mar 21/7/09, loody  ha scritto:

> Da: loody 
> Oggetto: Some questions about Cygwin
> A: cygwin
> Data: Martedì 21 luglio 2009, 11:32
> Dear all:
> I have some questions about cygwin:
> 1. how can I access my xp serial port, even on of them is
> USBtoSerial
> ? ? I have google this question. I can see there
> is /dev under my
> cygwin. But I have no /dev/ttyS[0-9] under my /dev.
> Does that mean what I have to do is create the device node
> ttyS[0-9].
> I mknod it but it tells me the file exist already like
> below
> 
> $ pwd
> /dev
> cd@PC9 /dev
> $ ls -lht
> total 4.0K
> lrwxrwxrwx 1 ???????? Users 13 Mar 25 15:40 fd ->
> /proc/self/fd
> lrwxrwxrwx 1 ???????? Users 15 Mar 25 15:40 stderr ->
> /proc/self/fd/2
> lrwxrwxrwx 1 ???????? Users 15 Mar 25 15:40 stdout ->
> /proc/self/fd/1
> lrwxrwxrwx 1 ???????? Users 15 Mar 25 15:40 stdin ->
> /proc/self/fd/0
> cd@PC9 /dev
> $ mknod ttyS0 c 4 64
> mknod: `ttyS0': File exists
> cd@PC9 /dev
> $
> 

/dev is not populated in the usual way but the devices 
are there :-)

$ls -l /dev/ttyS1
crw-rw-rw- 1 .. /dev/ttyS1

$ ls -l /dev/ttyS8
crw-rw-rw- 1 .. /dev/ttyS8

$ ls -l /dev/ttyS10
crw-rw-rw- 1 .. /dev/ttyS10



> 2. is there mips toolchain running on cygwin I can download
> instead of
> downloading buildroot to build it?
> appreciate your help,
> miloody
> 

no idea, sorry

Marco






--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]