Are you sure about your device ?
Is it /dev/ttyUB0?
Regards,
Sreekumar CM
"Sukumar Ghorai"
<[EMAIL PROTECTED]> To:
[EMAIL PROTECTED]
Sent by: cc:
[EMAIL PROTECTED]
[EMAIL PROTECTED] (bcc: Sreekumar
CM/SGP/SC/PHILIPS)
ceforge.net Subject:
[Linux-usb-users] help...
Classification:
09/02/2002 01:10 PM
Hi,
This is Sukumar Ghorai, working in the Bluetooth Techlonology.
I am trying to open /dev/ttyUB0 but, its giving error ": No such device".
But the device is is there-
crwxrwxrwx 1 root uucp 216, 0 Sep 2 10:08 /dev/ttyUB0
Here is the Source of my test program. Please help me.
With Regards
Sukumar
#include <fcntl.h>
#include <linux/serial.h>
main()
{
int fd;
char *name="/dev/ttyUB0";
if((fd = open(name,O_RDWR)) == -1){
printf("Error : %s\n",name);
perror("fd open error\n");
exit(0);
}else{
printf("Success..........\n");
}
}
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users