From: Matthew Percival <matthew@capgo.com>
To: linux-hotplug@vger.kernel.org
Subject: Hotplug only coldplugs...
Date: Thu, 30 Mar 2006 23:21:34 +0000 [thread overview]
Message-ID: <1143760894.8931.14.camel@localhost.localdomain> (raw)
G'Day,
I hope it is OK to post these sorts of questions here; I was not sure
where it should be taken.
I have been trying to set up diethotplug for an embedded system, but
have not had any success with actually hotplugging devices. The only
devices that are to be attached are a compact flash memory device and a
USB flash memory, which will always be on hda1 and sda1 respectively.
After much playing around with the scripts, I have been able to get the
USB memory to mount when `/etc/init.d/hotplug start' is called, which
seems to be a good start, but I have not been able to get any effect
outside of this case. I have not spend much time on compact flash yet,
which is why the scripts for it are not yet working.
In one test I tried, I left the device plugged in, unmounted it, and
run `hotplug usb', but nothing seemed to happen --- I even added an echo
statement the the start of /etc/hotplug/usb.rc, but did not see it.
Since coldplugging works, I would assume my scripts are all correctly
set up, so I am a little stuck on what the problem could be. In
addition, /proc/sys/kernel/hotplug says hotplug needs to be
at /sbin/hotplug, which it is, but when I replace hotplug with a script
that merely echoes any arguments it receives, and try plugging in the
device, there is no response. Perhaps this is to be expected, but it
seems odd to me.
If anyone could offer any advice to what I should try doing here, it
would be most appreciated.
Thanks,
Matthew Percival
PS When the system is used as a USB device rather than a USB host, can
hotplug be used somehow to identify when it is connected to a host? I
have not been able to find anything saying it can, but I can always
hope.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid\x110944&bid$1720&dat\x121642
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
next reply other threads:[~2006-03-30 23:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-30 23:21 Matthew Percival [this message]
2006-03-31 17:16 ` Hotplug only coldplugs Greg KH
2006-04-03 6:16 ` Matthew Percival
2006-04-04 2:51 ` Matthew Percival
2006-04-06 6:33 ` Matthew Percival
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=1143760894.8931.14.camel@localhost.localdomain \
--to=matthew@capgo.com \
--cc=linux-hotplug@vger.kernel.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).