Bug#355851: a blindunfriendly debian installer problem
Martin Michlmayr, le Mon 20 Mar 2006 23:47:13 +0000, a écrit :
> * Samuel Thibault <samuel.thibault@ens-lyon.org> [2006-03-20 10:36]:
> > > Sounds like a bug in brltty. Why doesn't it load it if it needs it?
> >
> > This would mean calling system("modprobe usbdevfs"), or even
> > system("`cat /proc/sys/kernel/modprobe` usbdevfs"). Looks weird to
> > be (I'm used to see modules autoloaded when /dev files are accessed,
>
> Yeah, I didn't quite say that manually loading is must necessarily be
> the right way. As you say, it should probably get autoloaded. The
> question is: where does brltty expects to find usbdevfs?
It just mounts usbdevfs itself by hand on /etc/brltty/usbfs:
mount("usbfs", "/etc/brltty/usbfs", "usbfs", 0, NULL)
And this doesn't trigger an autoload of usbdevfs.
Regards,
Samuel
Reply to: