Re: libnjb udev/hal integration

Jeff Mitchell <[email protected]> Tue, 24 Apr 2007 18:31:53 -0400
Newsgroups gmane.comp.multimedia.libnjb.user
Message-ID <[email protected]>
Linus--

I have 2.2.5 installed, and I have a nomad.usermap in /etc/hotplug/usb 
but no nomad.rules anywhere.  I went back after you said that udev rules 
are there and I see that they're in the tarball, but they're not getting 
installed.  Should I be filing a bug report with the Gentoo package 
maintainer, or do you think the problem is with the build system?

Anyways, I am willing to work on this, but I won't be able to test it, 
so I'll rely on your guys confirming proper support.  I'll assume they 
can all play MP3 and WMA, and that they cannot record.  Also I won't 
worry about HAL policy files for automounting or the like (if njb 
devices even support mounting, I know MTP ones do not)...at the moment, 
as far as I'm concerned, that can come later.

Glad to hear that if I do this you'll release it as 2.2.6...I don't mind 
doing the work as, frankly, it will be less work for me later if I can 
rely on detection of all devices in HAL, but not if it's for nothing  :-)

--Jeff

Linus Walleij wrote:
> On Tue, 24 Apr 2007, Jeff Mitchell wrote:
>
>> (...) the long and short of it
>> is that if libnjb had a udev ruleset and a matching hal FDI file, NJB
>> devices could be detected as such immediately upon plugging in.
>
> We have a rule file (nomad.rules in the 2.2.5 release) but no FDI file.
>
> Should be simple to add, we can easily make that libnjb 2.2.6, would 
> you like to take a stab at fixing the FDI file? All devices support 
> MIME types for audio/mpeg and whatever MIMEtype WMA uses.
>
> Linus


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/