LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fedora Core 3 and HP Deskjet 6122 (https://www.linuxquestions.org/questions/linux-newbie-8/fedora-core-3-and-hp-deskjet-6122-a-449179/)

kerryhall 05-27-2006 08:27 PM

Fedora Core 3 and HP Deskjet 6122
 
Hello, I am having trouble printing with Fedora Core 3 and an HP Deskjet 6122 usb printer. I'm trying to set the queue type device as /dev/usb/lp0 instead of the default /dev/lp0 and I get this error:

'/dev/usb/lp0' does not exist, or is not writable.

i have no idea what to do.

Thanks!

Lenard 05-28-2006 07:01 AM

Could it really be /dev/bus/usb/XXX/lp0 instead????

Check; ls -al /dev/bus/usb

XXX == the usb port number, since my laptop has three usb ports I have the three ports; 001, 002 and 003

routers 05-28-2006 07:09 AM

open this page and take this driver , next time google it

http://www.linuxprinting.org/show_pr...P-DeskJet_6122

once u follow instruction pls up ur cups web config http://localhost:631 to locate driver correct way

chears :)

ps: work for me with laserjet usb HP1020

kerryhall 05-28-2006 03:29 PM

CUPS is installed. I tried adding the printer with CUPS instead of the fedora print manager, selecting USB printer #1. It still wont print, giving the error message "printer not connected" The problem isn't so much with CUPS or the driver, but with USB connectivity i believe.

ls -al /dev/bus/usb

gives no such file or directory.

ls -al /dev

doesnt seem to show usb.

the chipset drivers seem to be installed however.

Thank you!

routers 05-29-2006 12:43 AM

have u download and look at this file ?

hplip-0.9.11.tar.gz




Linux kernel 2.4.19 and above (2.6.x recommended)

kerryhall 05-29-2006 01:01 AM

I installed HPLIP as well, running hp setup gives the error "no devices found" Is USB just not enabled for some reason?

Thanks!!

routers 05-29-2006 03:17 AM

i hope u still following here, ok can u show us then input of

run first

Code:

# yum update usbutils.i386 libusb.i386 usbview.i386 hotplug.i386 udev.i386 kernel.i686
reboot the machine then proceed

# dmesg | grep usb

let see output see any others suggestion

kerryhall 05-29-2006 01:42 PM

Here is the output:

usbcore: registered new driver usbfs
usbcore: registered new driver hub
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
SELinux: initialized (dev usbfs, type usbfs), uses genfs_contexts
SELinux: initialized (dev usbdevfs, type usbdevfs), uses genfs_contexts
usb 1-5: new high speed USB device using address 3
usbcore: registered new driver usb-storag


Thanks alot!!!

routers 05-30-2006 12:05 PM

oh my goat

can u disable that selinux moron ?

---------------------
temporary turn off
-----------------------
# setenforce 0

if ok usb work after proceed that command then better u permanent turn off by editing this file

----------------------
Permanent turn off
---------------------
edit /etc/sysconfig/selinux

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

restart

ps : i disable this selinux during o/s instalation :)

hope work for u


All times are GMT -5. The time now is 09:07 AM.