Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
USB Printer HP OFFICEJET 5510 won't work
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
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Sun Jan 30, 2005 6:46 pm    Post subject: USB Printer HP OFFICEJET 5510 won't work Reply with quote

Hello everybody,
i have got a hp officejet 5510 connected to my pc via usb and i can't get it recognised by my system. What could be the problem?

Kernel: 2.6.8 gentoo-dev-soruces

cat /boot/config-2.6.8-gentoo | grep -i usb
Code:

# ALSA USB devices
# CONFIG_SND_USB_AUDIO is not set
# USB support
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
# Miscellaneous USB options
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set
# USB Host Controller Drivers
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
# CONFIG_USB_OHCI_HCD is not set
CONFIG_USB_UHCI_HCD=y
# USB Device Class drivers
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_RW_DETECT is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# USB Human Interface Devices (HID)
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
CONFIG_USB_EGALAX=m
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set
# USB Imaging devices
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# USB Multimedia devices
# CONFIG_USB_DABUSB is not set
# Video4Linux support is needed for USB Multimedia device support
# USB Network adaptors
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set
# USB port drivers
# CONFIG_USB_USS720 is not set
# USB Serial Converter support
# CONFIG_USB_SERIAL is not set
# USB Miscellaneous drivers
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
CONFIG_USB_CYTHERM=m
CONFIG_USB_PHIDGETSERVO=m
# CONFIG_USB_TEST is not set
# USB Gadget Support
# CONFIG_USB_GADGET is not set

dmesg | grep -i usb
Code:

usbcore: registered new driver usbfs
usbcore: registered new driver hub
USB Universal Host Controller Interface driver v2.2
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver

lsusb
Code:



Regards,
meldron
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Sun Jan 30, 2005 6:51 pm    Post subject: Reply with quote

meldron,

Do you have any USB devices working at all?
Can you post the output of lspci please, and the content of /proc/bus/usb/devices with all your USB stuff plugged in and powered up.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Sun Jan 30, 2005 7:00 pm    Post subject: Reply with quote

The printer is my only USB device.

lspci
Code:

0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] 735 Host (rev 01)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] Virtual PCI-to-PCI bridge (AGP)
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS85C503/5513 (LPC Bridge)
0000:00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
0000:00:02.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] Sound Controller (rev a0)
0000:00:03.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev b2)


ls /proc/bus/usb/devices
Code:

ls: /proc/bus/usb/devices: No such file or directory

ls /proc/bus/usb/
Code:

Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Sun Jan 30, 2005 7:37 pm    Post subject: Reply with quote

meldron,

Code:
CONFIG_USB_EHCI_HCD=y
is for USB 2.0, and you don't have the motherboard hardware for that. Its harmless though.
You have the wrong USB 1.1 root hub driver compiled for your USB motherboard hardware.
Code:
CONFIG_USB_UHCI_HCD=y
is for VIA and Intel USB 1.1 hardware.
You need
Quote:
# CONFIG_USB_OHCI_HCD is not set
for SiS.

Redo your kernel with those changes and post your /proc/bus/usb/devices It should contain two root hubs and a printer when all is well.

Incldently, modules make debugging much simpler. With modules we would just be making a module or two and doing a modprobe. No reboot, no kernel reinstall. You may wish to modularise your USB settings in case there is more.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
meldron
Tux's lil' helper
Tux's lil' helper


Joined: 26 Sep 2004
Posts: 91
Location: Nuremburg

PostPosted: Mon Jan 31, 2005 8:43 pm    Post subject: Reply with quote

I compiled a new kernel and finally my printer is detected.

lsusb
Code:

Bus 002 Device 002: ID 03f0:3a11 Hewlett-Packard
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000


Sady low level commands like these
Code:

touch test.txt
echo "Hello World" > test.txt
cat test.txt > /dev/usb/lp0

don't work.

Anyway, now it's time to configure it ;)
//edit
done, works fine now

Thanks NeddySeagoon.

Regards,
meldron
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54817
Location: 56N 3W

PostPosted: Mon Jan 31, 2005 9:14 pm    Post subject: Reply with quote

meldron,

The cat test fails because your printer is a WinPrinter, much like a WinModem. It cannot take a text file as input and print it because it depends on the host PC to convert the text to a raster image.

This test should really be dropped from the printing guide becuse very few inkjet printers these days can do their own character to raster conversion.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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