On Fri, 20 Sep 2002, Brad Hards wrote:

| -----BEGIN PGP SIGNED MESSAGE-----
| Hash: SHA1
|
| On Sat, 21 Sep 2002 02:03, dries wrote:
| > Hello there,
| >
| > Kernel 2.4.18 (Suse 8.0)
| >
| > I've recently got a Dymo Labelwriter 320, it is not recognized correctly by
| > the kernel due to the fact that it reports '0' configurations. The message
| > 'not enough configurations' shows up in /var/log/messages.
| Fairly ugly.

No kidding.

| > What i've done is the following, in 'drivers/usb/usb.c' I changed the code
| > framgent that detects a number of '0' configurations such that it fakes 1
| > configuration (that must be a relatively save value).
| > Now the Dymo shows up in usbview and lsusb.
| Have you tried doing two or more? It'll probably crash, but at least you'd
| know :-)
|
| > then i manually load the printer module and the labelwriter is attached to
| > /dev/usblp0 .
| You could use hotplug for this. But whatever works for you.

Dries had problems with hotplug, i.e., hotplug didn't load the USB
printer driver for him, but after he manually loaded it, he could
print to the label maker.
IOW, he could use some help in that area.

[snip]
| If you plan to have something like this added, can you special case it (some
| kind of blacklist table), rather than covering the problem for all devices.
| I'm thinking of a future kernel bug that manages to stuff up the reading.
| Also, this might not be safe on all devices.
|
| > Are there other devices that could benifit from this (more or less illegal
| > (a device should have at least 1 config)) adaption ?
| If the manufacturer  did it on this device, they probably did it on others.
| - --

-- 
~Randy



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to