LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Preventing Module cdc_acm From Loading (https://www.linuxquestions.org/questions/linux-newbie-8/preventing-module-cdc_acm-from-loading-341601/)

fortezza 07-09-2005 09:35 AM

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.


Aaack 07-10-2005 02:09 AM

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.


All times are GMT -5. The time now is 03:41 AM.