View previous topic :: View next topic |
Author |
Message |
triplah n00b
Joined: 11 Mar 2005 Posts: 30
|
Posted: Tue Aug 30, 2005 2:24 am Post subject: /dev/usb/lp0 with GRP udev. [SOLVED] |
|
|
Hi, i installed gentoo onto my gf's machine using GRP. i've done a couple of emerge -uD worlds since then and everything is working fine. (after a few nightmares ) I now want to get her psc 1315 printer working in cups. I've set up the exact same printer on other machines without a hitch before.... the only thing i've done differently this time is use the GRP instead of a regular stage3.
a node /dev/usb exists, but i cant get /dev/usb/lp0 to show up at all. I've tried recompiling udev, even installing and configureing useless programs like hot and cold plug....they both work, and the printer is shown in lsusb and dmesg.
i think i have to point the finger at udev... which is annoying because i know nothing about it!
any help would be appreciated!
Last edited by triplah on Fri Sep 02, 2005 11:12 am; edited 1 time in total |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Aug 30, 2005 2:45 am Post subject: |
|
|
Post the output of dmesg after plugging the printer in please? |
|
Back to top |
|
|
triplah n00b
Joined: 11 Mar 2005 Posts: 30
|
Posted: Tue Aug 30, 2005 4:11 am Post subject: |
|
|
jade@jade ~ $ dmesg | grep -i print
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 5 if 1 alt 0 proto 2 vid 0x03F0 pid 0x3F11
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
jade@jade ~ $
thanks
ps. lsusb for good measure
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 03f0:3f11 Hewlett-Packard <---the printer
Bus 001 Device 004: ID 09da:0006 A4 Tech Co., Ltd
Bus 001 Device 001: ID 0000:0000 |
|
Back to top |
|
|
triplah n00b
Joined: 11 Mar 2005 Posts: 30
|
Posted: Tue Aug 30, 2005 11:02 am Post subject: |
|
|
hate to thread bump, but it appears noone can help? should i format her computer and install from scratch ignoring the GRP? |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Tue Aug 30, 2005 12:55 pm Post subject: |
|
|
Do not bump after 7 hours. You posted at 11:00pm and then bumped at 6:100am, some of us in the EST timezone sleep! (Only sometimes )
Are you sure you have hotplug, coldplug and udev emerged and coldplug running in the boot runlevel? Code: | emerge coldplug hotplug udev
rc-update add coldplug boot |
If those are all installed, try this as root: Code: | echo 'BUS="usb", SYSFS{idVendor}="03f0", SYSFS{idProduct}="0311", NAME="%k", SYMLINK="usb/lp%k", SYMLINK="usb/psc1315"' >> /etc/udev/rules.d/10-local.rules
udevstart |
You should now have 3 nodes you can choose from: /dev/lp0, /dev/usb/lp0, /dev/usb/psc1315
The nice thing is if you use the psc1315, it will never change, while the lp0 ones could if a another printer is plugged in at th same time. |
|
Back to top |
|
|
triplah n00b
Joined: 11 Mar 2005 Posts: 30
|
Posted: Thu Sep 01, 2005 11:06 am Post subject: |
|
|
hmmm, this didnt work, i checked the contents of the rules file and the rule is there. i even rebooted, but the nodes still didnt appear |
|
Back to top |
|
|
Headrush Watchman
Joined: 06 Nov 2003 Posts: 5597 Location: Bizarro World
|
Posted: Thu Sep 01, 2005 3:37 pm Post subject: |
|
|
You said you have a /dev/usb node, do you mean a folder?
If it is a node, remove it and restart udev. (udevstart) |
|
Back to top |
|
|
triplah n00b
Joined: 11 Mar 2005 Posts: 30
|
Posted: Fri Sep 02, 2005 11:11 am Post subject: |
|
|
it worked! thanks a lot! |
|
Back to top |
|
|
|