Comment 0 for bug 576738

Revision history for this message
John Stowers (nzjrs) wrote :

Binary package hint: media-player-info

I am trying to add iPod video support to Conduit using python-gudev. After some research (note: i dont have one of these devices to test with) I believe the media-player-info file for these devices is incorrect and hence the /lib/udev/rules.d/40-usb-media-player.rules file is also incorrect (as it is generated from the mpi files)

It has the following lines

ATTRS{vendor}=="*Apple*" , ATTRS{model}=="*iPod*" , ENV{ID_MEDIA_PLAYER}="apple-ipod" ENV{UDISKS_PRESENTATION_ICON_NAME}="multimedia-player-apple-ipod"

ATTRS{vendor}=="*Apple*" , ENV{ID_MEDIA_PLAYER}="apple-1261_1262"

AFAICT the second rule needs to be more specific, and include ATTRS{idProduct}=="1261|1262"

This is not included in the generated rules file because the mpi line reads

ProductID=1261;1262

It is the only line that has a ProductID= stanza. I believe that (following the convention of other mpi files) the mpi should instead read like

DeviceMatch=usb:1261:1262;

that means the next time the udev rules is generated using mpi2udev.py things should work correctly