Re: Very slow-starting EVDO modem (WORK-AROUND FOUND)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Cox wrote:
> On Sat, 20 Dec 2008 11:33:19 -0600
> Mikkel L. Ellertson wrote:
> 
>> I am glad to hear you have it working.
> 
> I'm very pleased about that, myself.
> 
>> Maybe a HAL rule to eject the SCSI device the Novatel as soon as it
>> is detected? Or a udev rule that does the same thing? Just as a
>> temporary fix? If I remember right, it has different device IDs in
>> drive and modem modes.
> 
> That sounds like a great idea, but I haven't a clue how to go about writing
> that.  I did put the eject command into /etc/rc.local so it will work right
> away if the modem is attached when the machine boots, but of course that does
> nothing for me if it's attached afterward.
> 
Well, I am not too good with HAL rules yet, but you could try a udev
rule something like this:

ACTION=="add", ATTR{idVendor}=="1410", ATTR{idProduct}=="5010",
run="/usr/sbin/eject $DEVPATH", OPTIONS="last_rule"

The rule may need some tweaking - I can not remember is $DEVPATH
includes the device name, or only the path...

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux