|
|
|
USB Hotplug support and use | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
|
Hi All, I figure the arm list might give me a better understanding of the usb<->hotplug<->automatic update stuff than the hotplug list so here goes... I believe my problem lies in what's incorperated in the kernel and how it's used. I have a EB9315 and an LPD7A404 board. In the 9315 there is a config option for the USB hotplug, but in the 7A404 it does not. However, in either case, I do get a log message when the usb flash drive is connected and disconnected. My filesystem does not have udev and my intension is to write a script that will mount /dev/sda1 once a usb mem. stick is detected and update my local NOR flash after that. I've mounted /proc/bus/usb and /dev/sda1 suscessfully - and manually - but I'm not sure what signals to use to do it automatically. Therefore, my questions are: Are both of these boards configured to use /sbin/hotplug script to do automatic configuration? In both case, once a usb device (flash drive in this case) is detected is the /sbin/hotplug called automatically? (This applies mostly to the 7A404). What signals are available to the user to detect a usb device connected or how to use them. I get some of this from the kernel documentation usb/hotplug.txt and usb/proc_usb_info.txt but it's not clear to me how to go about using this info. Does anyone have an example script they don't mind sharing? Thanks a million. --Robbie _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Linux ARM] [Linux ARM MSM] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Asterisk Internet PBX] [Linux API]
![]() |
![]() |