From: Adeel Nafis <adeel@linkwisetech.com>
To: buildroot@busybox.net
Subject: [Buildroot] can not open ttyUSB0 [solved]
Date: Thu, 31 Jan 2013 07:51:32 +0500 [thread overview]
Message-ID: <5109DC34.1070701@linkwisetech.com> (raw)
In-Reply-To: <mailman.5.1359547202.23860.buildroot@busybox.net>
To: Adeel Nafis<adeel@linkwisetech.com>
Cc:buildroot at busybox.net
Subject: Re: [Buildroot] can not open ttyUSB0
Message-ID:<5108F2DF.7030805@zacarias.com.ar>
Content-Type: text/plain; charset=ISO-8859-1
Thanks everyone, the problem was not related to driver, it was related
to incorrect path (my stupidity), previously my command for executing
usb_modeswitch from my 'c' code was
FILE *fp = popen("usb_modeswitch -v 12d1 -p 1446 -c
/usr/share/usb_modeswitch/12d1:1446", "r");
have to quote the path due to the colon
FILE *fp = popen("usb_modeswitch -v 12d1 -p 1446 -c
\"/usr/share/usb_modeswitch/12d1:1446\"", "r");
--
Adeel Ahmed Nafis
Design Engineer
LINKWISE TECHNOLOGY PTE LTD
Blk 3 Ang Mo Kio Industrial Park 2A
#06-08, AMK TECH 1
Singapore 568050
parent reply other threads:[~2013-01-31 2:51 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <mailman.5.1359547202.23860.buildroot@busybox.net>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5109DC34.1070701@linkwisetech.com \
--to=adeel@linkwisetech.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox