LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 09-06-2007, 12:04 PM   #1
sakitram
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Rep: Reputation: 0
Motorola MOTOROKR phone not detected


Hello,

My Motorola MOTOROKR does not get recognised by my Fedora 5. I do not find any /dev/sda* to mount my Motorola device. In XP, everything went fine.

My another mobile Sony Ericsson W810i got detected at once and automatically mounted. I did not do any installation previously and no other too. It is incredible that even the MOTOROKR is Linux based, it could not be detected by Linux operating system.

The USB Connection setting is set to "Memory Card" in phone. After some browsing, I check dmesg and found two new device is detected that /dev/sg1 and /dev/sg2

DMESG report:
=======================
usb 2-1: new full speed USB device using uhci_hcd and address 3
usb 2-1: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi1 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
Vendor: Motorola Model: MSnc. Rev:
Type: Direct-Access ANSI SCSI revision: 00
1:0:0:0: Attached scsi generic sg1 type 0
usb 2-1: reset full speed USB device using uhci_hcd and address 3
Vendor: Motorola Model: MSnc. Rev:
Type: Direct-Access ANSI SCSI revision: 00
1:0:0:1: Attached scsi generic sg2 type 0
usb-storage: device scan complete


[root@localhost ~]# mount /dev/sg1 /mnt/phone
mount: /dev/sg1 is not a block device
[root@localhost ~]# mount /dev/sg2 /mnt/phone
mount: /dev/sg2 is not a block device

[root@localhost etc]# sg_scan
/dev/sg0: scsi0 channel=0 id=6 lun=0
/dev/sg1: scsi1 channel=0 id=0 lun=0 [em]
/dev/sg2: scsi1 channel=0 id=0 lun=1 [em]
[root@localhost etc]# sg_map
/dev/sg0 /dev/sda
/dev/sg1
/dev/sg2
[root@localhost etc]# sg_scan -i /dev/sg0
/dev/sg0: scsi0 channel=0 id=6 lun=0
IBM DNES-309170W SA30 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
[root@localhost etc]# sg_scan -i /dev/sg1
/dev/sg1: scsi1 channel=0 id=0 lun=0 [em]
Motorola MSnc. [rmb=1 cmdq=0 pqual=1 pdev=0x0]
[root@localhost etc]# sg_scan -i /dev/sg2
/dev/sg2: scsi1 channel=0 id=0 lun=1 [em]
Motorola MSnc. [rmb=1 cmdq=0 pqual=1 pdev=0x0]
[root@localhost etc]# sg_scan -i
/dev/sg0: scsi0 channel=0 id=6 lun=0
IBM DNES-309170W SA30 [rmb=0 cmdq=1 pqual=0 pdev=0x0]
/dev/sg1: scsi1 channel=0 id=0 lun=0 [em]
Motorola MSnc. [rmb=1 cmdq=0 pqual=1 pdev=0x0]
/dev/sg2: scsi1 channel=0 id=0 lun=1 [em]
INQUIRY command error: Host_status=0x07 [DID_ERROR]


Somebody help please.

Thanking you,

Sakitram
 
Old 09-07-2007, 05:03 AM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
This may help;
http://www.electrictoolbox.com/scan-scsi-bus-linux/
 
Old 09-07-2007, 09:03 AM   #3
sakitram
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the help.

I visited that page. There I see there is a mapping device name for each device for command "sg_map".

/dev/sg0 /dev/scd0
/dev/sg1 /dev/sda
/dev/sg2 /dev/sdb
/dev/sg3 /dev/sdc
/dev/sg4 /dev/sdd


But in my system, I shown here the result. You see sg1 and sg2 does not map with any device name.

[root@localhost etc]# sg_map
/dev/sg0 /dev/sda
/dev/sg1
/dev/sg2

What to do and how to proceed?
Sakiram
 
Old 09-07-2007, 10:11 AM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 54
Sorry, I don't know why, dmesg should show it as sdb or something. what is sda?

Last edited by comprookie2000; 09-07-2007 at 10:17 AM.
 
Old 09-07-2007, 10:56 AM   #5
sakitram
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks again for the answer.

SDA is SCSI hard disk. I do know understand even Linux recognised my mobile and added the device in list, why it is still not possible for you to give guidance. I think there is little configuration is needed to resolve this problem.


Anyhow thank you very much and waiting for someone will help.
 
Old 09-07-2007, 01:38 PM   #6
sakitram
LQ Newbie
 
Registered: Sep 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Here are some more information.

[root@localhost ~]# udevinfo -a -p /sys/class/usb_device/usbdev2.4/

udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

looking at device '/class/usb_device/usbdev2.4':
KERNEL=="usbdev2.4"
SUBSYSTEM=="usb_device"
SYSFS{dev}=="189:131"

looking at device '/devices/pci0000:00/0000:00:1f.4/usb2/2-2':
ID=="2-2"
BUS=="usb"
DRIVER=="usb"
SYSFS{configuration}=="msc"
SYSFS{serial}=="9003555124BA0C280D"
SYSFS{product}=="MS"
SYSFS{manufacturer}=="Motorola Inc."
SYSFS{maxchild}=="0"
SYSFS{version}==" 2.00"
SYSFS{devnum}=="4"
SYSFS{speed}=="12"
SYSFS{bMaxPacketSize0}=="64"
SYSFS{bNumConfigurations}=="1"
SYSFS{bDeviceProtocol}=="00"
SYSFS{bDeviceSubClass}=="00"
SYSFS{bDeviceClass}=="00"
SYSFS{bcdDevice}=="0101"
SYSFS{idProduct}=="6426"
SYSFS{idVendor}=="22b8"
SYSFS{bMaxPower}=="500mA"
SYSFS{bmAttributes}=="a0"
SYSFS{bConfigurationValue}=="1"
SYSFS{bNumInterfaces}==" 1"

looking at device '/devices/pci0000:00/0000:00:1f.4/usb2':
ID=="usb2"
BUS=="usb"
DRIVER=="usb"
SYSFS{configuration}==""
SYSFS{serial}=="0000:00:1f.4"
SYSFS{product}=="UHCI Host Controller"
SYSFS{manufacturer}=="Linux 2.6.15-1.2054_FC5 uhci_hcd"
SYSFS{maxchild}=="2"
SYSFS{version}==" 1.10"
SYSFS{devnum}=="1"
SYSFS{speed}=="12"
SYSFS{bMaxPacketSize0}=="64"
SYSFS{bNumConfigurations}=="1"
SYSFS{bDeviceProtocol}=="00"
SYSFS{bDeviceSubClass}=="00"
SYSFS{bDeviceClass}=="09"
SYSFS{bcdDevice}=="0206"
SYSFS{idProduct}=="0000"
SYSFS{idVendor}=="0000"
SYSFS{bMaxPower}==" 0mA"
SYSFS{bmAttributes}=="c0"
SYSFS{bConfigurationValue}=="1"
SYSFS{bNumInterfaces}==" 1"

looking at device '/devices/pci0000:00/0000:00:1f.4':
ID=="0000:00:1f.4"
BUS=="pci"
DRIVER=="uhci_hcd"
SYSFS{modalias}=="pci:v00008086d00002444sv00000000sd00000000bc0Csc03i00"
SYSFS{local_cpus}=="1"
SYSFS{irq}=="10"
SYSFS{class}=="0x0c0300"
SYSFS{subsystem_device}=="0x0000"
SYSFS{subsystem_vendor}=="0x0000"
SYSFS{device}=="0x2444"
SYSFS{vendor}=="0x8086"

looking at device '/devices/pci0000:00':
ID=="pci0000:00"
BUS==""
DRIVER==""


And further mode I added the following line in /etc/udev/udev.conf and restarted the system, but still do not find /dev/motorola

BUS="scsi", SYSFS{serial}="9003555124BA0C280D", NAME="motorola"

Somebody help...
 
Old 09-10-2008, 06:27 PM   #7
rbees
Member
 
Registered: Mar 2004
Location: northern michigan usa
Distribution: Debian Squeeze, Whezzy, Jessie
Posts: 681

Rep: Reputation: 42
Helo,

I have a motorokr Z6m. In the proccess of trying to get it tethered to my comp to provide internet service to my small network. I came accross some people that said that the rokr needed to have a memory card in it for it to be recognized.

I don't have a card that will fit the phone to test that with and for me it is a secondary issue. I need the phone to supply internet service more than I need to access the storage and what not on the phone.

I don't know if this will help you but I have discovered that when I plug the rokr in I get this results

Code:
# dmesg | tail
[ 5656.467139] usb 1-2: USB disconnect, address 18
[ 5656.467146] usb 1-2.1: USB disconnect, address 19
[ 5669.135286] usb 1-6: USB disconnect, address 17
[ 5726.722665] hub 2-0:1.0: unable to enumerate USB device on port 6
[ 5727.090656] usb 1-6: new full speed USB device using ohci_hcd and address 20
[ 5727.310823] usb 1-6: configuration #1 chosen from 1 choice
[ 5727.319304] usb 1-6: New USB device found, idVendor=22b8, idProduct=2b24
[ 5727.319312] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 5727.319316] usb 1-6: Product: Motorola Z6m
[ 5727.319320] usb 1-6: Manufacturer: Motorola Inc.
#
When I plug in the old Motorola E815 (that works) I get this

Code:
# dmesg | tail
[ 6274.821522] drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
[ 6275.814231] usb 1-6: USB disconnect, address 21
[ 6276.212981] hub 2-0:1.0: unable to enumerate USB device on port 6
[ 6276.524992] usb 1-6: new full speed USB device using ohci_hcd and address 22
[ 6276.745202] usb 1-6: configuration #1 chosen from 1 choice
[ 6276.746656] cdc_acm 1-6:1.0: ttyACM0: USB ACM device
[ 6276.758735] usb 1-6: New USB device found, idVendor=22b8, idProduct=2a62
[ 6276.758743] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 6276.758747] usb 1-6: Product: Motorola E815
[ 6276.758750] usb 1-6: Manufacturer: Motorola, Inc.
#
As you can see the e815 is being recognized and assigned the 'ttyACM0' with a proper driver activated for it. But the rokr is not. So I have been trying to find the correct package/driver to access the phone with. So far I have found little information about using the rokr in linux as a usb modem.

I also read that not all of the rokr's have a linux based os in them. Don't know how true that is or how to check which os is on it.

I hope to get the issue resolved befor the month is up on the extra line I had to pay for to keep internet service.

I wish you all success in your quest.

Thanks
 
  


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
LXer: Motorola to launch Linux phone in U.S. LXer Syndicated Linux News 0 05-16-2007 10:46 PM
Using Motorola Phone tools in fedora 6 (linux 15) dhkrony Linux - Desktop 3 05-03-2007 01:27 PM
Motorola PDA E680 LINUX PHONE zLinuxz Linux - General 3 10-18-2006 02:13 PM
Connect to Motorola bluetooth phone mindcry Linux - Software 2 05-21-2006 04:15 PM
core2 + motorola v300 usb phone tibbitts Fedora 2 09-25-2004 09:34 AM


All times are GMT -5. The time now is 03:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration