LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2005, 10:35 AM   #1
fortezza
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: Fedora Core 4
Posts: 297

Rep: Reputation: 30
Preventing Module cdc_acm From Loading


I am attempting to use Windows software ( ala VMWare for Linux ) to hack my Motorola v600 GSM phone, but two modules keep loading ( and reloading! ), preventing me from getting the phone to stay connected to the virtual machine.

Let me explain how it goes:
I connect the mobile phone to the USB cable
The module cdc_acm automatically loads
*sometimes* the module with a name that has "sound" in it also loads
As root I use the "rmmod <module>" command to unload the modules.
*Note, if I do not unload them, vmmware will refuse to the connect my phone
*to the virtual Windows computer.
In VMWare, I connect the Motorola phone to the virtual Windows machine.
Windows recognizes the device and loads the appropriate drivers.
I start one of the Windows programs I use to comm. with the phone, it will say "connected to phone"
VMWare shows that the phone is no longer connected to the virtual machine.
The "cdc_acm" and the sounds module are once again loaded in Linux.

Is there a command or setting I can use to disable these modules? Or perhaps I can temporarily disable the service that is loading them? So far I have stopped kudzu, but that did not prevent them from loading.

Here are the pertinent details:
OS: Fedora Core 3 Linux ( kernel is 2.6.10-1.771_FC2 )
VMWare is version 5.0
Windows XP Professional is running on the virtual machine
The phone make/model is Motorola V600

List of services from "chkconfig --list":

acpid 0:off 1:off 2:off 3:on 4:on 5:on 6:off
anacron 0:off 1:off 2:off 3:off 4:off 5:off 6:off
apmd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
atd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
autofs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
bluetooth 0:off 1:off 2:off 3:off 4:off 5:off 6:off
chargen: off
chargen-udp: off
cpuspeed 0:off 1:on 2:off 3:off 4:off 5:off 6:off
crond 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups 0:off 1:off 2:on 3:on 4:on 5:on 6:off
cups-config-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
cups-lpd: off
daytime: off
daytime-udp: off
dc_client 0:off 1:off 2:off 3:off 4:off 5:off 6:off
dc_server 0:off 1:off 2:off 3:off 4:off 5:off 6:off
diskdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off
echo: off
echo-udp: off
gkrellmd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
gpm 0:off 1:off 2:on 3:on 4:on 5:on 6:off
haldaemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off
httpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off
irda 0:off 1:off 2:off 3:off 4:off 5:off 6:off
irqbalance 0:off 1:off 2:off 3:on 4:on 5:on 6:off
isdn 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ktalk: off
kudzu 0:off 1:off 2:off 3:on 4:on 5:on 6:off
ldap 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lisa 0:off 1:off 2:off 3:off 4:off 5:off 6:off
lm_sensors 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mdmonitor 0:off 1:off 2:on 3:on 4:on 5:on 6:off
mdmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mDNSResponder 0:off 1:off 2:off 3:on 4:on 5:on 6:off
messagebus 0:off 1:off 2:off 3:on 4:on 5:on 6:off
microcode_ctl 0:off 1:off 2:off 3:off 4:off 5:off 6:off
mysqld 0:off 1:off 2:off 3:off 4:off 5:off 6:off
named 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netdump 0:off 1:off 2:off 3:off 4:off 5:off 6:off
netfs 0:off 1:off 2:off 3:on 4:on 5:on 6:off
netplugd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
nfs 0:off 1:off 2:off 3:off 4:off 5:off 6:off
nfslock 0:off 1:off 2:off 3:on 4:on 5:on 6:off
nifd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
nscd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
ntpd 0:off 1:off 2:off 3:on 4:off 5:on 6:off
pcmcia 0:off 1:off 2:off 3:off 4:off 5:off 6:off
portmap 0:off 1:off 2:off 3:on 4:on 5:on 6:off
psacct 0:off 1:off 2:off 3:off 4:off 5:off 6:off
pure-ftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
pure-ftpd: off
readahead 0:off 1:off 2:off 3:off 4:off 5:on 6:off
readahead_early 0:off 1:off 2:off 3:off 4:off 5:on 6:off
rpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
microcorpcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcidmapd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rpcsvcgssd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
rsync: off
saslauthd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sendmail 0:off 1:off 2:on 3:on 4:on 5:on 6:off
smartd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
snmpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
snmptrapd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
spamassassin 0:off 1:off 2:off 3:off 4:off 5:off 6:off
squid 0:off 1:off 2:off 3:off 4:off 5:off 6:off
sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
syslog 0:off 1:off 2:on 3:on 4:on 5:on 6:off
time: off
time-udp: off
vmware 0:off 1:off 2:off 3:off 4:off 5:off 6:off
vncserver 0:off 1:off 2:off 3:off 4:off 5:off 6:off
vsftpd 0:off 1:off 2:off 3:off 4:off 5:off 6:off
winbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
xfs 0:off 1:off 2:on 3:on 4:on 5:on 6:off
xinetd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
xinetd based services:
ypbind 0:off 1:off 2:off 3:off 4:off 5:off 6:off
yum 0:off 1:off 2:off 3:off 4:off 5:off 6:off
zope 0:off 1:off 2:off 3:on 4:on 5:on 6:off


Update: I found the answer to my question here:
http://www.vmware.com/community/thre...=145190#145190
Since I don't use hotplug, my solution was to move the module file "cdc-acm.ko" to "cdc-acm.ko.backup". That keeps the module from being loaded. If I need it, I can always put it back.


Last edited by fortezza; 07-09-2005 at 12:05 PM.
 
Old 07-10-2005, 03:09 AM   #2
Aaack
Member
 
Registered: Jul 2005
Location: Buenos Aires, Argentina
Distribution: Ubuntu Intrepid Ibex
Posts: 36

Rep: Reputation: 15
Greetings,
You probably already know this, but it worked for me with a similar problem (I've a v180).
You can always unload a kernel module with the command (as root)

rmmod MODULENAME

in your case:

rmmod cdc_acm

Ok this is really temporary, because all you have to do to have this module loaded again is to unplug the usb cable and plug it again.

Hope you found this useful.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing kernel module (rootkits) from loading shubb Linux - Security 7 12-06-2005 08:48 PM
Mandrake 10.1: Preventing KDE from loading at boot MercuryRaz0r Linux - Networking 1 11-01-2004 10:41 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-28-2004 12:40 AM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 04:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 03:27 PM


All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration