Bug#359062: Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Frans Pop, le Wed 29 Mar 2006 02:47:03 +0200, a écrit : > On Wednesday 29 March 2006 01:50, Samuel Thibault wrote: > > I said "almost works" because it seems like udevd calls the "add" hook > > for the same USB device several times more during the installation > > (when probing devices), hence star

Bug#359062: Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Frans Pop
On Wednesday 29 March 2006 01:50, Samuel Thibault wrote: > I said "almost works" because it seems like udevd calls the "add" hook > for the same USB device several times more during the installation > (when probing devices), hence starting brltty a few additional times... > I don't know udev stuff

Bug#359062: Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Hi, Ok, now that this whole discussion took place, here is something that (almost) works: http://brl.thefreecat.org/mini.iso (9ed7c3a112a6d72834f6ffeef19d615a) I attached the patch that I applied to brltty and bogl for getting that result (they shouldn't be considered as final of course). You c

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Frans Pop, le Tue 28 Mar 2006 23:45:15 +0200, a écrit : > On Tuesday 28 March 2006 23:25, Samuel Thibault wrote: > > In debian installer, yes, but the brltty should be the same when > > booting the real distribution, in which case which we would like to > > have brltty started possibly before even

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Dave Mielke
[quoted lines by Frans Pop on 2006/03/28 at 23:20 +0200] >Before init is run? That is where proc is mounted by d-i, right at the >very beginning of the boot sequence. That's not generally true of all systems. What is true, however, is that brltty happily uses /proc/bus/usb if usbfs is already mo

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Dave Mielke, le Tue 28 Mar 2006 16:52:17 -0500, a écrit : > [quoted lines by Frans Pop on 2006/03/28 at 23:20 +0200] > > >Before init is run? That is where proc is mounted by d-i, right at the > >very beginning of the boot sequence. > > That's not generally true of all systems. What is true, how

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Frans Pop
On Tuesday 28 March 2006 22:08, Samuel Thibault wrote: > « I don't think that's a good idea. It requires that /proc be already > mounted. If we don't also mount /proc then we can't mount usbfs in the > standard palce, and, as a result, brltty still can't see USB devices. > If we do mount /proc then

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Frans Pop
On Tuesday 28 March 2006 23:25, Samuel Thibault wrote: > In debian installer, yes, but the brltty should be the same when > booting the real distribution, in which case which we would like to > have brltty started possibly before even the root partition fsck, hence > before /proc is mounted. Hmm.

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Frans Pop, le Tue 28 Mar 2006 23:20:49 +0200, a écrit : > On Tuesday 28 March 2006 22:08, Samuel Thibault wrote: > > « I don't think that's a good idea. It requires that /proc be already > > mounted. If we don't also mount /proc then we can't mount usbfs in the > > standard palce, and, as a result,

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Here is answer from Dave: Frans Pop, le Mon 27 Mar 2006 23:52:49 +0200, a écrit : > On Tuesday 21 March 2006 03:03, Frans Pop wrote: > > On Tuesday 21 March 2006 02:12, Samuel Thibault wrote: > > > > BTW, is /etc/brltty/usbfs really a good location for that? > > > > > > Yes, because the brltty-ude

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Dave Mielke
[quoted lines by Samuel Thibault on 2006/03/28 at 15:57 +0200] Hi: >for some reason it fails here... Maybe udev, while still >booting, prevents brltty from being able to create anything in /dev? In my opinion, it's more important to give the blind person his screen as quickly as possible rather

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Dave Mielke, le Tue 28 Mar 2006 06:59:56 -0500, a écrit : > [quoted lines by Samuel Thibault on 2006/03/28 at 11:41 +0200] > > >However, although it works well when hotplugging the device after > >bootup, it does not when booting with the device already plugged, > >because USB seems to be discover

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Dave Mielke
[quoted lines by Samuel Thibault on 2006/03/28 at 11:41 +0200] Hi: >However, although it works well when hotplugging the device after >bootup, it does not when booting with the device already plugged, >because USB seems to be discovered before vcsa nodes are available, >hence brltty fails. brltt

Bug#355851: a blindunfriendly debian installer problem

2006-03-28 Thread Samuel Thibault
Samuel Thibault, le Tue 28 Mar 2006 01:06:55 +0200, a écrit : > Joey Hess, le Mon 27 Mar 2006 16:51:45 -0500, a écrit : > > if there is a way for udev to discover braille devices > > that would be an excellent way to go. > > Here is a .rules file that should work fine Mmm, sorry, here is one that

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Samuel Thibault
Joey Hess, le Mon 27 Mar 2006 16:51:45 -0500, a écrit : > if there is a way for udev to discover braille devices > that would be an excellent way to go. Here is a .rules file that should work fine (provided that brltty is not running in autodetect mode already). Mario, you may want to install it i

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Samuel Thibault
Joey Hess, le Mon 27 Mar 2006 16:51:45 -0500, a écrit : > Samuel Thibault wrote: > > Well, maybe this could be fixed somehow. Mario, maybe we could rather > > use hotplug rules for only starting brltty when > > > > - either hotplug discovered braille USB devices, > > We use udev now, Yes, sorry,

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Joey Hess
Samuel Thibault wrote: > Well, maybe this could be fixed somehow. Mario, maybe we could rather > use hotplug rules for only starting brltty when > > - either hotplug discovered braille USB devices, We use udev now, if there is a way for udev to discover braille devices that would be an excellent

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Samuel Thibault
Hi, Frans Pop, le Mon 27 Mar 2006 23:52:49 +0200, a écrit : > I sent the mail below to you and the bug report just under a week ago. > Did you give this any thought? Well, I do agree with you, but it's rather to the maintainers (Mario for Debian and Dave for upstream) who should give their though

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Samuel Thibault
Samuel Thibault, le Mon 27 Mar 2006 22:59:15 +0200, a écrit : > - or the user added brltty= parameter on the command line. on the kernel command line I mean. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Samuel Thibault
Hi, Joey Hess, le Mon 27 Mar 2006 15:50:36 -0500, a écrit : > As far as I can see, brltty-udeb unconditionally starts up brltty on > debian-installer startup. Well, maybe this could be fixed somehow. Mario, maybe we could rather use hotplug rules for only starting brltty when - either hotplug di

Bug#355851: a blindunfriendly debian installer problem

2006-03-27 Thread Joey Hess
As far as I can see, brltty-udeb unconditionally starts up brltty on debian-installer startup. As noted in #359062, it won't work if the framebuffer display and bterm are being used. I wonder what the effect of startg in brltty is on systems that don't have a braille display? Does the daemon remai

Bug#355851: a blindunfriendly debian installer problem

2006-03-26 Thread Samuel Thibault
Hi, Martin Michlmayr, le Tue 21 Mar 2006 01:44:52 +, a écrit : > * Samuel Thibault <[EMAIL PROTECTED]> [2006-03-21 02:41]: > > -usb option to qemu, usbcore correctly gets autoloaded, and brltty hence > > can mount usbfs as expected. > > Excellent! So here is an updated patch (the difference

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Frans Pop
On Tuesday 21 March 2006 02:12, Samuel Thibault wrote: > > BTW, is /etc/brltty/usbfs really a good location for that? > > Yes, because the brltty-udeb package contains that directory, so we are > sure that it will exist. Note that kbd-chooser also uses usbfs and contains this code (slightly rewri

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Samuel Thibault
(Note: we rather say "a USB braille device") Martin Michlmayr, le Tue 21 Mar 2006 01:21:03 +, a écrit : > Okay, so I guess the _real_ problem (really this time ;) is this: if > you have a USB brltty device, why does plugging it in not load the USB > modules? Because no kernel modules are used

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [2006-03-21 02:41]: > -usb option to qemu, usbcore correctly gets autoloaded, and brltty hence > can mount usbfs as expected. Excellent! Thanks for working on this. -- Martin Michlmayr http://www.cyrius.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] w

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Samuel Thibault
Martin Michlmayr, le Tue 21 Mar 2006 00:56:03 +, a écrit : > * Samuel Thibault <[EMAIL PROTECTED]> [2006-03-21 01:00]: > > It just mounts usbdevfs itself by hand on /etc/brltty/usbfs: > > > > mount("usbfs", "/etc/brltty/usbfs", "usbfs", 0, NULL) > > I think your problem is something completel

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Samuel Thibault
Martin Michlmayr, le Tue 21 Mar 2006 00:59:10 +, a écrit : > * Samuel Thibault <[EMAIL PROTECTED]> [2006-03-08 10:49]: > > Index: build/pkg-lists/netboot-apus/common > > IMHO, the patch generally looks good. Thanks for working on this. > However, I think the udeb shouldn't be put on all image

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [2006-03-21 01:00]: > It just mounts usbdevfs itself by hand on /etc/brltty/usbfs: > > mount("usbfs", "/etc/brltty/usbfs", "usbfs", 0, NULL) I think your problem is something completely different: The directory /etc/brltty/usbfs does not exist, and therefor t

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [2006-03-08 10:49]: > Index: build/pkg-lists/netboot-apus/common IMHO, the patch generally looks good. Thanks for working on this. However, I think the udeb shouldn't be put on all images. > --- build/pkg-lists/floppy/common (révision 35325) > +++ build

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [2006-03-21 02:14]: > > > cdebconf-newt-udeb > > > +cdebconf-text-udeb > > > +brltty-udeb > > > > How big are these udebs? > > The latest (3.7.2-2) is ~130Ko. Right, definitely too big for floppies. > Well, with the recent update of brltty to 3.7.2, people

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [2006-03-21 02:12]: > > I think your problem is something completely different: The directory > > /etc/brltty/usbfs does not exist, and therefor the mount fails. > It does exist. Just modprobing usbcore makes brltty happy. Ah, okay. I was using the standard p

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [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 aut

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Samuel Thibault
Martin Michlmayr, le Mon 20 Mar 2006 23:47:13 +, a écrit : > * Samuel Thibault <[EMAIL PROTECTED]> [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/kern

Bug#355851: a blindunfriendly debian installer problem

2006-03-20 Thread Samuel Thibault
Martin Michlmayr, le Mon 20 Mar 2006 01:44:41 +, a écrit : > * Samuel Thibault <[EMAIL PROTECTED]> [2006-03-20 01:10]: > > Samuel Thibault, le Mon 20 Mar 2006 00:54:25 +0100, a écrit : > > > Could usbfs be please added to installer kernels? > > Ah, sorry, it is already available, but as a modul

Bug#355851: a blindunfriendly debian installer problem

2006-03-19 Thread Martin Michlmayr
* Samuel Thibault <[EMAIL PROTECTED]> [2006-03-20 01:10]: > Samuel Thibault, le Mon 20 Mar 2006 00:54:25 +0100, a écrit : > > Could usbfs be please added to installer kernels? > Ah, sorry, it is already available, but as a module that doesn't get > auto-loaded. Is there a proper way of doing this?

Bug#355851: a blindunfriendly debian installer problem

2006-03-19 Thread Samuel Thibault
Hi, I tested the latest (3.7.2-2) brltty package, USB doesn't seem to work, because the usbfs filesystem is not available: syslog is filled with brltty[2918]: USBFS not mounted. brltty[2918]: Mounting USBFS: /etc/brltty/usbfs brltty[2918]: USBFS mount error: /etc/brltty/usbfs: No such device And

Bug#355851: a blindunfriendly debian installer problem

2006-03-19 Thread Samuel Thibault
Samuel Thibault, le Mon 20 Mar 2006 00:54:25 +0100, a écrit : > Could usbfs be please added to installer kernels? Ah, sorry, it is already available, but as a module that doesn't get auto-loaded. Is there a proper way of doing this? Regards, Samuel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Bug#355851: a blindunfriendly debian installer problem

2006-03-08 Thread Samuel Thibault
Package: debian-installer Version: 20051026 Severity: wishlist Tags: patch Hi, Here is a patch that makes debian-installer better accessible to visually impaired people, by just including brltty-udeb. I tried it, brltty starts fine and detects devices. The patch also adds the text debconf interfa