Created attachment 85878 [details] lsusb dump When I have the media-player-info package installed, attaching an external hard drive results in rhythmbox popping up instead of nautilus being opened. As an example: # udevadm info --path=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2 P: /devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2 N: bus/usb/004/009 E: BUSNUM=004 E: DEVNAME=/dev/bus/usb/004/009 E: DEVNUM=009 E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb4/4-1/4-1.2 E: DEVTYPE=usb_device E: DRIVER=usb E: ID_BUS=usb E: ID_FOR_SEAT=usb-pci-0000_00_1d_0-usb-0_1_2 E: ID_MEDIA_PLAYER=zte_score E: ID_MODEL=Ext_HDD_1021 E: ID_MODEL_ENC=Ext\x20HDD\x201021 E: ID_MODEL_ID=1021 E: ID_PATH=pci-0000:00:1d.0-usb-0:1.2 E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_2 E: ID_REVISION=2002 E: ID_SERIAL=Western_Digital_Ext_HDD_1021_574D41555230333135333736 E: ID_SERIAL_SHORT=574D41555230333135333736 E: ID_USB_INTERFACES=:080650: E: ID_VENDOR=Western_Digital E: ID_VENDOR_ENC=Western\x20Digital E: ID_VENDOR_ID=1058 E: MAJOR=189 E: MINOR=392 E: PRODUCT=1058/1021/2002 E: SUBSYSTEM=usb E: TAGS=:seat:uaccess: E: TYPE=0/0/0 E: USEC_INITIALIZED=11560562022 This is my externel Western Digital hard drive when attached to my Thinkpad X220. Removing media-player-info reliable fixes this problem. Attached is a lsusb dump.
from the lsusb dump: Bus 003 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub Removing the following line from 40-usb-media-players.rules fixes the problem # Score ATTRS{idVendor}=="8087", ATTRS{idProduct}=="0024", ENV{ID_MEDIA_PLAYER}="zte_score"
That was introduced in bug 52328. Seems the vendor/product ID is indeed exactly the same, but we could use the ID_SERIAL or ID_MODEL to tell them apart. Should be fixed with http://cgit.freedesktop.org/media-player-info/commit/?id=b34b650ef2
Hm, I've added that line to zte_score.mpi, but I still get the buggy behaviour. So re-opening.
Merely changing the line in the mpi isn't sufficient, you actually need to rebuild m-p-i and install the updated hwdb.d file and udev rule. Did you do that?
(In reply to comment #4) > Merely changing the line in the mpi isn't sufficient, you actually need to > rebuild m-p-i and install the updated hwdb.d file and udev rule. Did you do > that? Hm, no... I didn't. Will try again. I guess I was confused by the installed .mpi files. Btw, why does the Debian package install the .mpi files if there is no tool converting an updated .rules / .hwdb file out of them?
(In reply to comment #5) > (In reply to comment #4) > > Merely changing the line in the mpi isn't sufficient, you actually need to > > rebuild m-p-i and install the updated hwdb.d file and udev rule. Did you do > > that? > > Hm, no... I didn't. Will try again. I guess I was confused by the installed > .mpi files. Applying the patch + rebuilding the package did help. Thanks
(In reply to comment #5) > Btw, why does the Debian package install the .mpi files if there is no tool > converting an updated .rules / .hwdb file out of them? Music players like Rhythmbox or Banshee read these .mpi files; we just take the vendor/product IDs out of them to build udev rules/hwdb, but these don't contain all the other information.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.