LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2009, 11:27 AM   #1
guyholmes
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Rep: Reputation: 0
problems installing epson stylus office BX300F


The printer works but I have to copy and paste: sudo dpkg -i --force-architecture pipslite_1.4.0-3_i386.deb into the terminal every time I start the computer. Isn't there a command I can paste in so that the printer will work every time? Thanks.
 
Old 11-21-2009, 01:30 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Yes, there should be a remedy that doesn't involve reinstalling that package every time.

Start up your computer fresh and check the permissions on the printer. You can do this by doing the following:
Code:
$ sudo lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 003: ID 413c:2105 Dell Computer Corp. Model L100 Keyboard
Bus 007 Device 002: ID 0461:4d15 Primax Electronics, Ltd Dell Optical Mouse
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 04b8:0813 Seiko Epson Corp. Stylus CX6500/6600
Bus 001 Device 003: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
From there you can get the Bus and Device number. Mine is 001/002 for my CX6600.

Now, check the permissions of that device:
Code:
$ ls -l /dev/bus/usb/001/002 
crw-rw---- 1 root lp 189, 1 2009-11-21 12:46 /dev/bus/usb/001/002
If the permissions aren't right, you can add a udev rule to fix the problem. Add the following to
Code:
$ echo 'ATTR{idVendor}=="04b8", ATTR{idProduct}=="0813", MODE:="0660", GROUP:="lp"' >> /etc/udev/rules.d/99-custom.conf
Make sure you replace your idVendor and idProduct with the correct printer. You get the correct numbers from the lsusb command.

Note: The group you want may be different than lp, I'm not sure what ubuntu wants.
 
Old 11-22-2009, 05:54 AM   #3
guyholmes
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
This is what I get:

guy@linuxpc:~$ sudo lsusb
Bus 002 Device 002: ID 046d:0928 Logitech, Inc. Quickcam Express
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 04b8:0848 Seiko Epson Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
guy@linuxpc:~$ ls -l /dev/bus/usb/001/003
crw-rw-r--+ 1 root root 189, 2 2009-11-22 10:26 /dev/bus/usb/001/003
guy@linuxpc:~$ echo 'ATTR{idVendor}=="04b8", ATTR{idProduct}=="0848", MODE:="0660", GROUP:="lp"' >> /etc/udev/rules.d/99-custom.conf
bash: /etc/udev/rules.d/99-custom.conf: Permission denied

Any ideas? Thanks for your help so far.
 
Old 11-22-2009, 10:09 AM   #4
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
You need to be root to create the 99-custom.conf file.

But before we go any futher, try this simple, manual fix to see if it works.
Code:
$ sudo chmod 0666 /dev/bus/usb/001/002
$ sudo /etc/init.d/cups restart
(I'm not sure if you have to restart CUPS after changing the permissions, but you might as well give it a try.) Then see if you're printer is usable.
 
Old 11-23-2009, 03:56 AM   #5
guyholmes
LQ Newbie
 
Registered: Nov 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I tried:
$ sudo chmod 0666 /dev/bus/usb/001/002
$ sudo /etc/init.d/cups restart
but got this:
guy@linuxpc:~$ sudo chmod 0666 /dev/bus/usb/001/002
[sudo] password for guy:
chmod: cannot access `/dev/bus/usb/001/002': No such file or directory
guy@linuxpc:~$ sudo /etc/init.d/cups restart
* Restarting Common Unix Printing System: cupsd [ OK ]
I then tried:
$ sudo chmod 0666 /dev/bus/usb/001/003 (I changed the 002 to 003)
$ sudo /etc/init.d/cups restart
* Restarting Common Unix Printing System: cupsd [ OK ]
However, the printer didn't work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Epson Stylus office BX300F and Open Suse 11.1 DOTT.EVARISTI SUSE / openSUSE 0 04-19-2009 04:39 AM
Epson Stylus CX5800 scanner problems. trident523 Linux - Hardware 1 10-15-2006 08:09 AM
Any luck installing an Epson Stylus CX1500 on MDK? triaydev Linux - Hardware 1 03-11-2005 11:28 PM
Epson Stylus CX6400 problems lazychris2000 Linux - Hardware 0 12-04-2004 05:12 PM
Epson Stylus C60 Printing Problems HadesThunder Linux - Newbie 9 05-14-2004 08:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration