there is an element of user select involved with some scanners don't
forget, where the usb id is the same but the firmware which is loaded
is different depending on the model and the only way to know the model
is to ask the user.
<br><br>All extra information like a list of models should be
available to HAL / Sane so that if a new device appears which is not
configured it knows how to deal with it.<br><br>I'm working on a tool which would allow user input information about hardware for HAL.
<br><br>Best Regards, Martin Owens<br><br><div><span class="gmail_quote">On 8/28/06, <b class="gmail_sendername">Étienne Bersac</b> <<a href="mailto:bersace03@laposte.net">bersace03@laposte.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello,<br><br>> > This is the current way, but as I understand Kay it will move<br>> > to be responsibility of hal.<br>><br>> Definitely. It's completely crazy to put 500+ rules into udev just to<br>> assign a scanner to local group. Udev is totally the wrong
<br>> infrastructure to do this. Also local groups without login-tracking are<br>> the wrong way to do such a thing.<br><br>Agree. .fdi files are far less big big than udev rules.<br><br>> You would probably want libsane to accept HAL device identifier (udi) to
<br>> open a device.<br><br>hmm... That imply HAL on Mac OS X ? A udi<->sane-device-name wrap ?<br>(seems impossible to me).<br><br>> let them provide a fdi file for HAL to classify a scanner<br>> and deprecate the crazy udev rules file.
<br><br>Ok, i'll investigate to first get a fdi file up to date, and then see<br>how to interact with UDI.<br><br>> You probably just want a HAL add-on, that is instantiated when such a<br>> device shows up, and not just another weird stand-alone daemon.
<br><br>100% agree. I don't want user to see one more daemon for scanner<br>(especillay if they don't have scanner).<br><br>I'm very open to comments since i don't really understand HAL design.<br><br>Many thanks.<br><br>
Étienne.<br>--<br>Verso l'Alto !<br><br>_______________________________________________<br>hal mailing list<br><a href="mailto:hal@lists.freedesktop.org">hal@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/hal">
http://lists.freedesktop.org/mailman/listinfo/hal</a><br></blockquote></div><br>