On Tue, 30 Apr 2002, Wessler, Siegfried wrote:

| I am into development of a measuring system running an embedded Linux OS
| (ELinOS). Right now I want to implement the USB printer interface for
| standard printers like Deskjet & Co.

Where does one find ELinOS?

| On my desktop system I run SuSE. The YAST module uses a database, but I got
| no idea, where to find them and how to implement them on my embedded target
| system.
|
| Can anybody give me a hint to start from where Linux get's it's information
| about a connected USB printer?

The USB hub driver recognizes new device connections (actually hub
port state changes) and passes that info to the USB core in the
usb_new_device() function call.

Or from userspace, you can look at /proc/bus/usb/devices (if it's
mounted, of course).

| BTW: Patching printer.c with the right vendor- and product-IDs didn't help.
| I still get the error:
| "printer.c: usblp0: device node registration failed."

Yes, that was a thinko.  The devfs_register() call returns NULL
when devfs is not configured.  You can just delete the NULL return
check/error, or upgrade to a newer kernel, like you say...

| So far the Embedded Linux runs Kernel 2.4.3, but soon will be upgraded to
| 2.4.18.

-- 
~Randy


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to