Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/usb/lp0 with GRP udev. [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
triplah
n00b
n00b


Joined: 11 Mar 2005
Posts: 30

PostPosted: Tue Aug 30, 2005 2:24 am    Post subject: /dev/usb/lp0 with GRP udev. [SOLVED] Reply with quote

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 :P ) 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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Aug 30, 2005 2:45 am    Post subject: Reply with quote

Post the output of dmesg after plugging the printer in please?
Back to top
View user's profile Send private message
triplah
n00b
n00b


Joined: 11 Mar 2005
Posts: 30

PostPosted: Tue Aug 30, 2005 4:11 am    Post subject: Reply with quote

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
View user's profile Send private message
triplah
n00b
n00b


Joined: 11 Mar 2005
Posts: 30

PostPosted: Tue Aug 30, 2005 11:02 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Tue Aug 30, 2005 12:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
triplah
n00b
n00b


Joined: 11 Mar 2005
Posts: 30

PostPosted: Thu Sep 01, 2005 11:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Thu Sep 01, 2005 3:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
triplah
n00b
n00b


Joined: 11 Mar 2005
Posts: 30

PostPosted: Fri Sep 02, 2005 11:11 am    Post subject: Reply with quote

it worked! thanks a lot!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum