extend support for Motorola Phones with iTunes support (was Re: hal: Branch 'master')

Danny Kukawka danny.kukawka at web.de
Fri Apr 13 08:35:47 PDT 2007


On Sonntag, 8. April 2007, David Zeuthen wrote:
> On Sat, 2007-04-07 at 21:30 +0200, Danny Kukawka wrote:
> > No, I have no lshal from such a machine, I have no such device
> > available.
> > But you can take a look at http://abock.org/~aaron/slvr-hal-dump.
> >
> > We copy from device (7) usb_device.product to info.product of device (6).
> > Then we check on device (1) for the string in info.product of device (6)
> > we search for to identify ipod/iTunes. Yes it is may ugly, but it's the
> > only way to do this.
>
> Ah. I think actually
>
>  @storage.originating_device:@info.parent:usb_device.product
>
> will work and it's slightly less ugly.

Okay this worked also. Wasn't sure if multiple indirect references work. 
Commited attached patch.

Danny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-info-fix_Motorola_iTunes_references_20070413.diff
Type: text/x-diff
Size: 2548 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070413/6cee5623/hal-info-fix_Motorola_iTunes_references_20070413.bin


More information about the hal mailing list