From: Isaac <ckl.isaac@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Unable to manually bind driver
Date: Wed, 22 Jul 2020 11:23:07 -0700 [thread overview]
Message-ID: <CAFFTrZVwe=7Qx8SC1Q1JUu6cYfg8ZgzirYspDKejjuy8tD8xwA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1082 bytes --]
Hello everyone,
I'm currently going through the task 05 of the eudalypta challenge. I
thought my implementation didn't work, so I tried testing a a person's
solution on github
<https://github.com/agelastic/eudyptula/tree/master/task5>. However, I am
still unable to manually bind the USB device to my driver. Here are the
steps I did.
1) Use* lsusb -t *to find the bus and port USB device was connected on. It
was *1-3*.
2) Went to *sys/bus/usb/devices* and found that *1-3 *was bound to
*drivers/usb* using *tree*.
3) Used *echo 1-3 > unbind* to unbind it.
4) Went to *devices* folder and checked if it was still bound. It was not.
5) Went to the directory of my own driver, named *hello_driver*.
6) Tried to do *echo 1-3 > bind* but got the error message *echo: write
error: No such device*.
These instructions are based on LWN.net Manual driver binding and unbinding
<https://lwn.net/Articles/143397/>. One suspicion I have is that this
simple USB driver doesn't support the USB device I am plugging in (a USB
flash drive). I actually have no idea.
Many thanks for your help.
[-- Attachment #1.2: Type: text/html, Size: 1395 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
reply other threads:[~2020-07-22 18:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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='CAFFTrZVwe=7Qx8SC1Q1JUu6cYfg8ZgzirYspDKejjuy8tD8xwA@mail.gmail.com' \
--to=ckl.isaac@gmail.com \
--cc=kernelnewbies@kernelnewbies.org \
/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;
as well as URLs for NNTP newsgroup(s).