I searched the internet but I cannot find an answer to my problem.
After installing Opensuse 12.1, after being with 11.2 for 2 years, my Sony mp3 usb pendrive stop been show by device notifier.
When I connect it appears this messages:
dmesg
[217556.794883] usb 2-1.1: new high speed USB device number 22 using ehci_hcd
[217556.880648] usb 2-1.1: New USB device found, idVendor=054c, idProduct=03d8
[217556.880671] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=8
[217556.880678] usb 2-1.1: Product: WALKMAN
[217556.880683] usb 2-1.1: Manufacturer: SONY
[217556.880689] usb 2-1.1: SerialNumber: 0E496397173915
[217556.881862] scsi15 : usb-storage 2-1.1:1.0
and in messages:
fermi:~ # tail -f /var/log/messages
Jan 29 19:45:24 fermi kernel: [217556.794883] usb 2-1.1: new high speed USB device number 22 using ehci_hcd
Jan 29 19:45:24 fermi kernel: [217556.880648] usb 2-1.1: New USB device found, idVendor=054c, idProduct=03d8
Jan 29 19:45:24 fermi kernel: [217556.880671] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=8
Jan 29 19:45:24 fermi kernel: [217556.880678] usb 2-1.1: Product: WALKMAN
Jan 29 19:45:24 fermi kernel: [217556.880683] usb 2-1.1: Manufacturer: SONY
Jan 29 19:45:24 fermi kernel: [217556.880689] usb 2-1.1: SerialNumber: 0E496397173915
Jan 29 19:45:24 fermi kernel: [217556.881862] scsi15 : usb-storage 2-1.1:1.0
Jan 29 19:45:24 fermi dbus-daemon[1165]: **** scsi_host ADDING /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/host15/scsi_host/host15
Jan 29 19:45:24 fermi dbus-daemon[1165]: **** scsi_host IGNORING ADD /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/host15/scsi_host/host15
Jan 29 19:45:24 fermi dbus-daemon[1165]: **** scsi_host IGNORING REMOVE /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.1/2-1.1:1.0/host15/scsi_host/host15
But nothings appear and I cannot access the data in the drive.
Did you do a clean install or did you attempt an upgrade from 11.2? If you attempted an upgrade there may still be some config files left from the old OS that could be the problem. 11.2->12.1 is not recommended. Also try a different (new) user. It could be a desktop config that is the problem.
I did a clean install of 12.1, BUT preserved the /home partition and my user directory below it. I will try your suggestion with other user to see if this is a desktop config problem.
I can confirm that this issue is desktop config related as gogalthorp suggested.
I created another user and the mp3 usb pendrive was recognized instantly and device notifier showed it ok.
I will try to hunt down my desktop config problem, otherwise I will have to migrate my data to my other user.
Thanks gogalthorp!
On 2012-01-30 00:36, wcoltters wrote:
>
> I did a clean install of 12.1, BUT preserved the /home partition and my
> user directory below it. I will try your suggestion with other user to
> see if this is a desktop config problem.
No, it looks a kernel problem to me. If you posted the last lines of dmesg
and message log, the kernel is not seeing the device node.
> [277898.787052] usb 1-6: new high speed USB device using ehci_hcd and address 3
> [277898.949910] usb 1-6: New USB device found, idVendor=090c, idProduct=1000
> [277898.949914] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [277898.949916] usb 1-6: SerialNumber: *********
> [277898.950998] scsi12 : usb-storage 1-6:1.0
You get here, you lack the rest:
> [277900.188137] scsi 12:0:0:0: Direct-Access PQ: 0 ANSI: 0 CCS
> [277900.188434] sd 12:0:0:0: Attached scsi generic sg5 type 0
> [277900.190572] sd 12:0:0:0: [sde] 31129600 512-byte logical blocks: (15.9 GB/14.8 GiB)
> [277900.191181] sd 12:0:0:0: [sde] Write Protect is off
> [277900.191184] sd 12:0:0:0: [sde] Mode Sense: 43 00 00 00
> [277900.191187] sd 12:0:0:0: [sde] Assuming drive cache: write through
> [277900.193397] sd 12:0:0:0: [sde] Assuming drive cache: write through
> [277900.194370] sde: sde1
> [277900.195807] sd 12:0:0:0: [sde] Assuming drive cache: write through
> [277900.195813] sd 12:0:0:0: [sde] Attached SCSI removable disk
> [277900.645070] usb 1-6: reset high speed USB device using ehci_hcd and address 3
> [277900.922126] usb 1-6: reset high speed USB device using ehci_hcd and address 3
> [278091.185044] usb 1-6: reset high speed USB device using ehci_hcd and address 3
> [278091.465053] usb 1-6: reset high speed USB device using ehci_hcd and address 3
I would try the device on a different computer. Or if you have more systems
on that computer, try them.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Guessing you have KDE log into the termainal (type 3 at boot) rename the /home/yournamehere/.ked4 directory and restart. this will force a reset of the KDE stuff to default. If you have data in the KDE directory you can then move it to the new ~/.kde4 from the renamed one.
For anyone interested I found finally what was the real cause of my problem.
I update from 11.2 to 12.1 keeping the /home partition, ie my user data.
When I connected my mp3 player I was not offered the option to mount from the device notifier.
I created other user and the mp3 player was recognized correctly and the device notifier worked as expected.
So it appeared to be a kde config problem in my old user data directories.
I hunted everything I though could be related to the problem.
In the meantime I learned about Akonadi, Neptomuk and specially about D-Bus and Polkit.
Boy, I was really outdated in my knowledge of the desktop environment changes through the years!
Anyway, the problem at last had nothing to do with the configuration.
The problem was that I almost never close applications between logins or between reboots, so applications are always running. Well, one of these applications is AMAROK.
Don’t ask me how, but after searching innumerables posts in forums and internet, I heard problems with amarok now and then.
And today after seeing these messages in .xsession-errors:
libusb couldn't open USB device /dev/bus/usb/001/004: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/001/005: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/001/006: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=054c and PID=03d8) is a Sony Walkman NWZ-B142F.
libusb couldn't open USB device /dev/bus/usb/002/011: Permission denied.
libusb requires write access to USB device nodes.
usb_open(): Permission denied
LIBMTP PANIC: Unable to initialize device
On 2012-02-04 19:26, wcoltters wrote:
>
> For anyone interested I found finally what was the real cause of my
> problem.
> I update from 11.2 to 12.1 keeping the /home partition, ie my user
> data.
I guess you didn’t really “update”, but installed fresh keeping the old
home, because a real “update” (upgrade is the word) keeps all partitions.
> I created other user and the mp3 player was recognized correctly and
> the device notifier worked as expected.
Ah, interesting.
> The problem was that I almost never close applications between logins
> or between reboots, so applications are always running. Well, one of
> these applications is AMAROK.
This should be no problem at all. When you log out, the system should take
care to close or kill any and all the programs you started. It is not your
duty.
> Let’s close this application and try again and then it was. It worked!
>
> So, why Amarok caused this problem?
> Well, another hunting begins now!
>
No idea…
Idea: maybe it tries to mount the stick itself to see if it is music. And
fails.
> Anyway, thanks for your help folks gogalthorp and Carlos!
Welcome.
I think you should report this issue in Bugzilla.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
Carlos, Amarok indeed tried to mount the mp3 player and it succeed!
Is just that I never cared to go to the Local Music tab, and there it was, all the music from the mp3 player. Indeed this is my first time using Amarok, before this Opensuse version I just used XMMS. You know, I’m used to the “old” way of doing things.
I did some tests and find in the Amarok configuration that is the MPT Collection plug-in that caused this behavior.
If I disable it and restart Amarok, mp3 player is recognize by device notifier.
Do you think this is a bug or the intended behavior of the plug-in?
Yeah, I’ve thinking that too, because MPT set the mp3 player in another mode and make sense that is not available as a drive after that, so no device notifier would be required.
Anyway, I disable the MPT plug-in and left the other plug-ins enabled (Universal Mass Storage Collection, Mass Storage Device) and that way, I got the device notifier let me mount/open my pendrive as data storage and Amarok see it as another drive. The best of both worlds for me.
On 2012-02-04 23:46, gogalthorp wrote:
>
> Sounds to me as expected behavior. Amarok is the media player after all.
> If you plug in media I’d expect the player to grab it.
But the rest of the system should know about it, it should be showed as any
other device.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
On 2012-02-05 00:16, wcoltters wrote:
>
> gogalthorp;2437429 Wrote:
>> Sounds to me as expected behavior. Amarok is the media player after all.
>> If you plug in media I’d expect the player to grab it.
>
> Yeah, I’ve thinking that too, because MPT set the mp3 player in another
> mode and make sense that is not available as a drive after that, so no
> device notifier would be required.
Maybe that’s why the kernel output message were incomplete?
> Anyway, I disable the MPT plug-in and left the other plug-ins enabled
> (Universal Mass Storage Collection, Mass Storage Device) and that way, I
> got the device notifier let me mount/open my pendrive as data storage
> and Amarok see it as another drive. The best of both worlds for me.
Mmm. Good, at last.
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)
> Anyway, I disable the MPT plug-in and left the other plug-ins enabled
> (Universal Mass Storage Collection, Mass Storage Device) and that way, I
> got the device notifier let me mount/open my pendrive as data storage
> and Amarok see it as another drive. The best of both worlds for me.
Mmm. Good, at last.
At last! you say it!
This “update” for me has been a little more complicated that I expected but in the process I have learned several things. So now I’m ready to enjoy it.
On 2012-02-05 03:26, wcoltters wrote:
>> Mmm. Good, at last.
>> >
>> >
> At last! you say it!
> This “update” for me has been a little more complicated that I
> expected but in the process I have learned several things. So now I’m
> ready to enjoy it.
Do it
–
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)