Phone mounted as cdrom [Solved]

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Phone mounted as cdrom [Solved]

Postby dunsurfin » Sun Nov 21, 2010 9:18

When I plug my phone (T-Mobile pulse mini) into a USB socket it is mounted as a cdrom and cannot be used. However, if I start my VirtualBox and boot a virtual XP and then add it as a device to the XP and close down XP, it is recognized by my Sabayon as 3.7 GB removable media and I can add and remove files without any problem.
Is there any way to prevent the phone being seen as a cdrom?

Here is a snip from "messages" that refers to it:

Code: Select all
2010-11-21 07:38:24   robin2   kernel   [ 1086.701021] usb 2-3: new high speed USB device using ehci_hcd and address 3
2010-11-21 07:38:24   robin2   kernel   [ 1086.828414] scsi9 : usb-storage 2-3:1.0
2010-11-21 07:38:25   robin2   kernel   [ 1087.831153] scsi 9:0:0:0: CD-ROM            T-Mobile 3G Phone         ffff PQ: 0 ANSI: 2
2010-11-21 07:38:25   robin2   kernel   [ 1087.837642] sr2: scsi3-mmc drive: 0x/0x caddy
2010-11-21 07:38:25   robin2   kernel   [ 1087.837716] sr 9:0:0:0: Attached scsi CD-ROM sr2
2010-11-21 07:38:25   robin2   kernel   [ 1087.837798] sr 9:0:0:0: Attached scsi generic sg7 type 5
2010-11-21 07:38:25   robin2   kernel   [ 1088.099062] cdrom: This disc doesn't have any tracks I recognize!
2010-11-21 07:38:26   robin2   hald   mounted /dev/sr2 on behalf of uid 1000
2010-11-21 07:40:01   robin2   cron[7899]   (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
2010-11-21 07:41:01   robin2   kernel   [ 1243.802413] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
2010-11-21 07:41:58   robin2   hald[5850]   forcibly attempting to lazy unmount /dev/sr2 as enclosing drive was disconnected
2010-11-21 07:41:58   robin2   kernel   [ 1300.597403] scsi 9:0:0:0: rejecting I/O to dead device
2010-11-21 07:41:58   robin2   hald   unmounted /dev/sr2 from '/media/Mobile Partner' on behalf of uid 0
2010-11-21 07:42:22   robin2   kernel   [ 1324.629079] usb 2-3: USB disconnect, address 3
2010-11-21 07:42:23   robin2   kernel   [ 1325.455220] usb 2-3: new high speed USB device using ehci_hcd and address 4
2010-11-21 07:42:23   robin2   kernel   [ 1325.583551] scsi10 : usb-storage 2-3:1.0
2010-11-21 07:42:24   robin2   kernel   [ 1326.587158] scsi 10:0:0:0: Direct-Access     T-Mobile 3G Phone         ffff PQ: 0 ANSI: 2
2010-11-21 07:42:24   robin2   kernel   [ 1326.587859] sd 10:0:0:0: Attached scsi generic sg7 type 0
2010-11-21 07:42:24   robin2   kernel   [ 1326.604420] sd 10:0:0:0: [sdf] Attached SCSI removable disk
2010-11-21 07:42:31   robin2   kernel   [ 1333.203198] sd 10:0:0:0: [sdf] 7744512 512-byte logical blocks: (3.96 GB/3.69 GiB)
2010-11-21 07:42:31   robin2   kernel   [ 1333.205407] sd 10:0:0:0: [sdf] Assuming drive cache: write through
2010-11-21 07:42:31   robin2   kernel   [ 1333.216283] sd 10:0:0:0: [sdf] Assuming drive cache: write through
2010-11-21 07:42:31   robin2   kernel   [ 1333.216287]  sdf: sdf1
2010-11-21 07:42:31   robin2   hald   mounted /dev/sdf1 on behalf of uid 1000
2010-11-21 07:46:05   robin2   su[8414]   Successful su for root by robin


Is there any other information that will help?

SL 5 KDE x86 Fully updated
Last edited by dunsurfin on Fri Jun 10, 2011 3:00, edited 1 time in total.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Phone mounted as cdrom

Postby DHalens » Sun Nov 21, 2010 12:26

Maybe sys-apps/usb_modeswitch can help.
Former Sabayon staff (retired).
For any personal questions or whatever, contact me trough my G+ profile
DHalens
Old Dear Hen
 
Posts: 933
Joined: Thu Apr 10, 2008 23:08
Location: Canary Islands, Spain

Re: Phone mounted as cdrom

Postby dunsurfin » Sun Nov 21, 2010 12:40

Thank you. I've installed it and am busy reading the "help". This has reminded me that there is a thread about printers with usb_modeswitch in it. I shall read that too.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Phone mounted as cdrom

Postby Fitzcarraldo » Sun Nov 21, 2010 13:19

If that doesn't help then have a look in the file /etc/udev/rules.d/70-persistent-cd.rules to see if your phone is listed in there. If it is, you may be able to delete the entry (backup the file first, of course) and stop udev recognising the phone as a CDROM.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Phone mounted as cdrom

Postby dunsurfin » Sun Nov 21, 2010 21:20

Thank you both for your input but I'm afraid I've not been successful.

I installed usb_modeswitch and, after a lot of floundering, found and installed the usb_modeswitch-data. Nothing changes I'm afraid, even editing a file in /etc/usb_modeswitch.d failed. :(

Removing the references to the phone from /etc/udev/rules.d/70-persistent-cd.rules failed too. They are just rewritten as soon as the phone is plugged in.

My only thought now is to, somehow, remove the autorun files from the phone to see if that stops the phone being recognized as a CD but, for the time being, I will stick with the Virtual XP workaround. As a side note, the XP doesn't recognize the phone as mass storage either but that is not important.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: Phone mounted as cdrom

Postby dunsurfin » Fri Jun 10, 2011 3:00

I shall mark this as solved. The phone now mounts the phone as removable media. Presumably this has been fixed during an update.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK


Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron