I have a Sony Ericsson W350 that SUSE 11.1 will not detect using USB. I’ve followed several threads on these forums but cannot find a solution. Does a general procedure exist that I can follow ?
stansaraczewski wrote:
> I have a Sony Ericsson W350 that SUSE 11.1 will not detect using USB.
> I’ve followed several threads on these forums but cannot find a
> solution. Does a general procedure exist that I can follow ?
When you connect the phone and select “transfer mode”, what does “dmesg”
command say?
OTOH, if the phone uses a “memory stick” card I guess you can always attach
it to an external multi-card reader and try from there :-?
Greetings,
–
Camaleón
In a terminal, type the following:
su
tail -f /var/log/messages
Now, connect the phone to the computer.
Post the messages from the terminal here.
Thank you both for your replies… here is the information. The DMESG returned a LOT of verbage, I assumed not all of it was relevant…
usb 2-7: new full speed USB device using ohci_hcd and address 2
usb 2-7: configuration #2 chosen from 1 choice
usb 2-7: New USB device found, idVendor=0fce, idProduct=d0d0
usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-7: Product: Sony Ericsson W350
usb 2-7: Manufacturer: Sony Ericsson
usb 2-7: SerialNumber: 3562370298518030
cdc_acm 2-7:2.1: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
cdc_wdm: probe of 2-7:2.5 failed with error -22
usbcore: registered new interface driver cdc_wdm
usb 2-7: USB disconnect, address 2
usb 2-7: new full speed USB device using ohci_hcd and address 3
usb 2-7: configuration #1 chosen from 1 choice
usb 2-7: New USB device found, idVendor=0fce, idProduct=e0d0
usb 2-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-7: Product: Memory Stick
usb 2-7: Manufacturer: Sony Ericsson
usb 2-7: SerialNumber: 3562370298518030
Initializing USB Mass Storage driver…
scsi6 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 3
usb-storage: waiting for device to settle before scanning
scsi 6:0:0:0: Direct-Access Sony Eri Memory Stick 0000 PQ: 0 ANSI: 0
sd 6:0:0:0: [sdd] Attached SCSI removable disk
sd 6:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
tail -f /var/log/messages
Jun 10 19:19:44 linux-3kun kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Jun 10 19:19:44 linux-3kun kernel: usbcore: registered new interface driver usb-storage
Jun 10 19:19:44 linux-3kun kernel: USB Mass Storage support registered.
Jun 10 19:19:44 linux-3kun kernel: usb-storage: device found at 3
Jun 10 19:19:44 linux-3kun kernel: usb-storage: waiting for device to settle before scanning
Jun 10 19:19:45 linux-3kun kernel: scsi 6:0:0:0: Direct-Access Sony Eri Memory Stick 0000 PQ: 0 ANSI: 0
Jun 10 19:19:45 linux-3kun kernel: sd 6:0:0:0: [sdd] Attached SCSI removable disk
Jun 10 19:19:45 linux-3kun kernel: sd 6:0:0:0: Attached scsi generic sg4 type 0
Jun 10 19:19:45 linux-3kun kernel: usb-storage: device scan complete
Jun 10 19:21:53 linux-3kun su: (to root) stan on /dev/pts/1
Device is /dev/sdd. Looks like it is not identifying the partition information. After connecting the mobile, do the following and post the output.
su
fdisk -l /dev/sdd
I’ve got the same problem (W350, SuSE 11.1), but a different dmesg output. My output shows an Exception:
usb 5-2: new full speed USB device using uhci_hcd and address 2
usb 5-2: device descriptor read/64, error -71
usb 5-2: device descriptor read/64, error -71
usb 5-2: new full speed USB device using uhci_hcd and address 3
usb 5-2: device descriptor read/64, error -71
usb 5-2: device descriptor read/64, error -71
usb 5-2: new full speed USB device using uhci_hcd and address 4
usb 5-2: configuration #2 chosen from 1 choice
usb 5-2: New USB device found, idVendor=0fce, idProduct=d0d0
usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-2: Product: Sony Ericsson W350
usb 5-2: Manufacturer: Sony Ericsson
usb 5-2: SerialNumber: 3543880224234540
cdc_acm 5-2:2.1: ttyACM0: USB ACM device
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapter
s
BUG: unable to handle kernel NULL pointer dereference at 00000003
IP: <f8c89bba>] :cdc_wdm:wdm_probe+0x1a6/0x3f1
*pdpt = 00000000338b0001 *pde = 0000000000000000
Oops: 0000 #1] SMP
last sysfs file: /sys/devices/pci0000:00/0000:00:1d.1/usb5/5-2/5-2:2.4/interface
Modules linked in: cdc_wdm(+) cdc_acm xt_tcpudp xt_pkttype ipt_LOG xt_limit af_p
acket binfmt_misc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device xt_NOTRACK ip
t_REJECT xt_state iptable_raw cpufreq_conservative iptable_filter cpufreq_usersp
ace cpufreq_powersave acpi_cpufreq nf_conntrack_netbios_ns nf_conntrack_ipv4 spe
edstep_lib nf_conntrack ip_tables ip6_tables x_tables fuse loop dm_mod arc4 ecb
crypto_blkcipher snd_hda_intel uvcvideo iwl3945 snd_pcm compat_ioctl32 snd_timer
videodev rfkill snd_page_alloc sdhci_pci nvidia(PX) snd_hwdep intel_agp atl1 as
us_laptop ac sdhci sr_mod snd video ohci1394 output mac80211 v4l1_compat ieee139
4 rtc_cmos mmc_core button battery agpgart ricoh_mmc i2c_core led_class iTCO_wdt
joydev rtc_core cdrom mii soundcore pcspkr iTCO_vendor_support cfg80211 rtc_lib
serio_raw sg usbhid hid ff_memless sd_mod crc_t10dif ehci_hcd uhci_hcd usbcore
edd ext3 mbcache jbd fan ide_pci_generic piix ide_core ata_generic ata_piix ahci
libata scsi_mod dock thermal processor thermal_sys hwmon
Supported: No
Pid: 3678, comm: modprobe Tainted: P (2.6.27.21-0.1-pae #1)
EIP: 0060:<f8c89bba>] EFLAGS: 00010286 CPU: 1
EIP is at wdm_probe+0x1a6/0x3f1 [cdc_wdm]
EAX: 00000000 EBX: f47a022c ECX: f8c80800 EDX: f495ca50
ESI: f495c9c0 EDI: fffffff4 EBP: f5808a00 ESP: f38ffdf4
DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
Process modprobe (pid: 3678, ti=f38fe000 task=f38fa3b0 task.ti=f38fe000)
Stack: f38ba2f8 c01a2da7 f416b8c0 c01d2b0b f38ba2f8 c01d28a5 f416b938 f5808a1c
00000000 0800e1b6 f7cc945c f5808ab8 f5808a00 00000000 f5808a1c f8c8bb14
f8ddee56 00000000 f5808a1c f5808a94 f38e0940 f8c8ba8c f7cc9400 f5808a1c
Call Trace:
<f8ddee56>] usb_probe_interface+0x196/0x1ca [usbcore]
<c02a891b>] really_probe+0xd7/0x1de
<c02a8af7>] __driver_attach+0x37/0x55
<c02a8205>] bus_for_each_dev+0x31/0x57
<c02a86cd>] driver_attach+0x16/0x18
<c02a7c0a>] bus_add_driver+0xec/0x215
<c02a8c69>] driver_register+0x85/0xdf
<f8ddf043>] usb_register_driver+0x60/0xc3 [usbcore]
<c010112b>] _stext+0x3b/0x116
<c014a882>] sys_init_module+0x8a/0x19e
<c01049ad>] sysenter_do_call+0x12/0x21
<ffffe430>] 0xffffe430
Code: 00 c7 86 a4 00 00 00 ff a0 c8 f8 66 89 46 38 8d 86 9c 00 00 00 89 86 9c 00
00 00 89 86 a0 00 00 00 8b 45 00 8b 40 0c 89 44 24 20 <0f> b6 40 03 83 e0 03 83
f8 03 0f 85 ff 01 00 00 8b 44 24 20 80
EIP: <f8c89bba>] wdm_probe+0x1a6/0x3f1 [cdc_wdm] SS:ESP 0068:f38ffdf4
— end trace 0d375b08a9810b90 ]—
usb 5-2: USB disconnect, address 4
@garybird
In your case, it is detecting it as a USB serial modem. You may have to select some setting on the phone for not announcing it as a modem.
Thanks a lot for your analysis! Seems to be an initialization problem.
If I attach the phone to the pc with usb, the phone asks me whether I’d like to transfer data or use the modem functionality. Even if I select data transfer, usb is still attached as modem.
With the following workaround I tricked usb to recognize the memory stick:
- Attach the phone with usb to a running Suse and select data transfer.
- Restart the PC - after reboot the phone is recognized as memory stick - the data transfer works nicely.
garybird wrote:
> I’ve got the same problem (W350, SuSE 11.1), but a different dmesg
> output. My output shows an Exception:
(…)
> cdc_acm 5-2:2.1: ttyACM0: USB ACM device
> usbcore: registered new interface driver cdc_acm
> cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and
> ISDN adapter
> BUG: unable to handle kernel NULL pointer dereference at 00000003
> IP: <f8c89bba>] :cdc_wdm:wdm_probe+0x1a6/0x3f1
> *pdpt = 00000000338b0001 *pde = 0000000000000000
> Oops: 0000 #1] SMP
Indeed.
You better report it in bugzilla. It seems a kernel bug triggered by
attaching the phone as modem and that should not happen :-/
Greetings.
–
Camaleón
DMEGS output:
usb 1-7: new full speed USB device using ohci_hcd and address 5
usb 1-7: configuration #1 chosen from 1 choice
scsi7 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 5
usb-storage: waiting for device to settle before scanning
usb 1-7: New USB device found, idVendor=0fce, idProduct=e0d0
usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-7: Product: Memory Stick
usb 1-7: Manufacturer: Sony Ericsson
usb 1-7: SerialNumber: 3562370298518030
scsi 7:0:0:0: Direct-Access Sony Eri Memory Stick 0000 PQ: 0 ANSI: 0
sd 7:0:0:0: [sdd] Attached SCSI removable disk
sd 7:0:0:0: Attached scsi generic sg4 type 0
usb-storage: device scan complete
Hardware info shows this as /dev/sdd but why doesn’t it appear ?
Not sure how to proceed. A mount ?
I posted this earlier. See the output of:
fdisk -l /dev/sdd
stansaraczewski wrote:
> DMEGS output:
>
> usb 1-7: new full speed USB device using ohci_hcd and address 5
> usb 1-7: configuration #1 chosen from 1 choice
> scsi7 : SCSI emulation for USB Mass Storage devices
> usb-storage: device found at 5
> usb-storage: waiting for device to settle before scanning
> usb 1-7: New USB device found, idVendor=0fce, idProduct=e0d0
> usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> usb 1-7: Product: Memory Stick
> usb 1-7: Manufacturer: Sony Ericsson
> usb 1-7: SerialNumber: 3562370298518030
> scsi 7:0:0:0: Direct-Access Sony Eri Memory Stick 0000 PQ: 0
> ANSI: 0
> sd 7:0:0:0: [sdd] Attached SCSI removable disk
> sd 7:0:0:0: Attached scsi generic sg4 type 0
> usb-storage: device scan complete
>
> Not sure how to proceed. A mount ?
Follow syampialli’s advice to get more info on the partition
Anyway, user garybird got it working just by restarting the computer. See
the workaround just few messages above.
Greetings,
–
Camaleón
Sorry about not replying to the earlier post.
fdisk -l /dev/sdd doesn’t produce any output.
I already did try rebooting the system with the phone plugged in, and no luck. Is that the workaround you are referring to ?
I’m only posting here after doing ‘due diligence’… lots of time spent following these threads with no luck.
Can you actually see if it is recognizing /dev/sdd device?
su
fdisk /dev/sdd
If it not throwing any error like “Unable to open /dev/sdd”, you will get a prompt. In that case, you can type “q” (without quotes) to come out.
stansaraczewski wrote:
> Sorry about not replying to the earlier post.
Don’t worry
> fdisk -l /dev/sdd doesn’t produce any output.
Weird :-?
> I already did try rebooting the system with the phone plugged in, and
> no luck. Is that the workaround you are referring to ?
Well, look at garybird’s post:
http://forums.opensuse.org/hardware/416052-cell-phone-mass-storage-via-usb.html#post1998122
It seems he is using the same phone model and finally got it working… mmm,
but maybe he was using a newer version of openSUSE.
Are you on 11.1 or older release?
> I’m only posting here after doing ‘due diligence’… lots of time spent
> following these threads with no luck.
Well, you can try the “inverse”: force the phone to connect as a modem
(instead as mass storage device) and see what dmesg says.
Greetings,
–
Camaleón
Unable to open /dev/sdd
Out of time to edit previous reply (even though I was permitted to compose the changes)…
“Well, you can try the “inverse”: force the phone to connect as a modem (instead as mass storage device) and see what dmesg says.”
It DOES connect as a TTY device… but am not sure what to do at this point.
All I want to do is upload photos from the phone.
So if it DOES connect as a ‘modem’ - then what ?
Do you choose any option within the phone to connect to the computer? Do you have such options? (I haven’t seen this phone ever).
Depending upon what the phone sends, the computer may behave differently.
By the by, do you have digikam installed? In some cases, computer may recognize it as a camera and bring up digikam if installed. (If you are on KDE4, you have to install kde4-digikam).
I have two options - connect as phone or connect for file transfer.
How do I get the phone to automount ? Same as for a USB disk drive ?
It should appear as a USB disk when you select “file transfer” option. As another post suggested, you may have to try rebooting also (I think you have already tried that).
Hmm… I am running out of ideas here.