On Friday 20 September 2002 15:12, you wrote: | On Fri, 20 Sep 2002, dries wrote: | | |blah blah blah . . . | | ^^^^^^^^^^^^^^ | Did I say that?? :) | | | Well, you advised to just load the printer module manually, and guess | | what, it worked !! | | that's good news. | | | I then created a little program to print '.pbm' files and it works great | | thanks very much for the helpfull advice !! | | what are 'pbm' files? | | | Is there anyone that should know about this (that is how to get the | | labelwriter working) ? | | Just the linux-usb-users mailing list I think. | | As far as the hotplug part not working, you can keep asking on | the linux-usb-users mailing list or the linux-hotplug mailing list | (see http://sourceforge.net/projects/linux-hotplug/). | | Or you can send me your current usb.usermap etc. and I will | take a look at it, but make no promises... :) | I'd suggest and prefer that you use the mailing list(s) though. | | Glad that you have it working now.
Hello Randy, To answer your first question, '.pbm' files are a very simple sort of black and white bitmaps, (try man pbm), the type more or less belongs to the pnm package which is a package to transform and convert bitmaps (try man pnm). Then, about the 'hotplug' issue, here is the message in var/log/messages at 'plugin' time, vendor ID and product ID are clear but what is the third value ? Sep 23 08:52:31 linux kernel: hub.c: USB new device connect on bus1/1, assigned device number 2 1) Sep 23 08:52:31 linux kernel: usb.c: djp : not enough configurations 2) Sep 23 08:52:31 linux kernel: usb.c: Faking 1 configuration 3) Sep 23 08:52:31 linux kernel: usb.c: USB device 2 (vend/prod 0x922/0x10) is not claimed by any active driver. 4) Sep 23 08:52:31 linux /etc/hotplug/usb.agent[1146]: ... no modules for USB product 922/10/100 1) : this is were my little adaption kicks in 2) : by faking 1 configuration 3) : this shows vendor/product ID (0x922/0x10) 4) : here is the hotplug agent output, doesn't recognize 922/10/100, and i wonder what the 100 is. Well, to be complete here is the line i added to usb.usermap the matchflag is copied from all other lines, i don't really know what it means, but all the others had it set to 3 also (also those in usb.distmap). Then the vendor/product id and the information i got from lsusb and /proc/bus/usb/devices # usb module match_flags idVendor idProduct bcdDevice_lo bcdDevice_hi bDeviceClass bDeviceSubClass bDeviceProtocol bInterfaceClass bInterfaceSubClass bInterfaceProtocol driver_info printer 0x0003 0x0922 0x0010 0x0000 0x0000 0xff 0x00 0x00 0x07 0x01 0x02 0x00000000 I hope the lines are a bit clearer at your side of this mail, due to the short lines, one line takes up about 3 lines. Just for your information here is a line copied from /etc/hotplug/usb.distmap that contains the hotplug info for a printer. printer 0x0380 0x0000 0x0000 0x0000 0x0000 0x00 0x00 0x00 0x07 0x01 0x03 0x00000000 I hope you can point me in the right direction to get the hotplug working !. Oh, and i've posted this mail to the usb-userlist again, i hope you (or anyone that can help) reads it . Grtz Dries Pruimboom -- ------------------------------------------------------------------------------- End of message ------------------------------------------------------------------------------- ------------------------------------------------------- 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-users
