Hi
I am trying to write a file to a USB device using C program..
When i try to open the USB port, i find the foll error
"open_port: unable to open usbdev2.1_ep81: No such file or directory"
The command to open the USB port:
[code=cpp]
sprintf(portfil e,"/dev/usbdev2.1_ep81" );
if((fd=open(por tfile, O_RDWR | O_NOCTTY | O_NDELAY))==-1)
perror("open_po rt: unable to open usbdev2.1_ep81" );
[/code]
Please provide some inputs/help
Thanks,
Priya
I am trying to write a file to a USB device using C program..
When i try to open the USB port, i find the foll error
"open_port: unable to open usbdev2.1_ep81: No such file or directory"
The command to open the USB port:
[code=cpp]
sprintf(portfil e,"/dev/usbdev2.1_ep81" );
if((fd=open(por tfile, O_RDWR | O_NOCTTY | O_NDELAY))==-1)
perror("open_po rt: unable to open usbdev2.1_ep81" );
[/code]
Please provide some inputs/help
Thanks,
Priya
Comment