* udev, hotplug and usb printers
@ 2004-04-02 8:55 Anes Lihovac
0 siblings, 0 replies; only message in thread
From: Anes Lihovac @ 2004-04-02 8:55 UTC (permalink / raw)
To: linux-hotplug
Hi
I have a problem to get my USB printer working with
the above mentioned configuration. In the past
when devfs was used I never faced problems.
Due to the fact that devfs had got obsolete I switched
to udev. The problem is, that for some reason
/dev/lp0 is disapearing after a reboot(but this is
not always, just sometimes) and sometimes I can print,
and then for some *&%$ing reason,now it does not work any
more, and I have absolutly no clue where to start
looking for the bug.
All the drivers I need a,re loaded, like
usblp, usbcore, the hcd's(ohci, uhci, and ehci) .
cups is running and accepting jobs.
dmesg is showing this message for the printer when switched on
usb 2-1: USB disconnect, address 3
drivers/usb/class/usblp.c: usblp0: removed
usb 2-1: new full speed USB device using address 4
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 4 if 0 alt 0
proto 2 vid 0x04A9 pid 0x106B
The command:
udevinfo -r -q name -p /sys/class/usb/lp0
gives me: device not found in database
One week back when I did this command I got /dev/lp0.
This was with Kernel Version 2.6.3. Now that I am running 2.6.4
it seems not to work anymore, for some reason.
I recompiled hotplug and udev.
The version of udev and hotplug I use are:
hotplug: 20040105
udev: 0.23
One last thing to mention:
When hotplug is started I get this error:
cat: /sys//class/usb/lp0/bNumCofigurations: No such file or directory
/etc/hotplug/usb.agent: line 144: [: too many arguments
So, if anyone can give me help on this, please do so.
Thanks in advance and best regards.
Anes
PS: Sorry for the long post.
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id\x1470&alloc_id638&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-02 8:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-02 8:55 udev, hotplug and usb printers Anes Lihovac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).