Welcome! Log In Create A New Profile

Advanced

PLZ HELP - null pointer deference error while opening device

Posted by prat0318 
while running a code to open a usb-serial device as
fd = open ("/dev/ttyUSB0",O_RDONLY);

it shows seg fault...with error unable to handle kernel null pointer dereference.

I am running Montavista Linux 2.4 on a palmtop.
Any kinda help will be appreciated.

Thanks smiling smiley
Prateek.
when go two open site, it comes up can not find "(null)"
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 20 plus 17?
Message: