Open GoogleCodeExporter opened 9 years ago
Output of "dmesg | grep -i usb"
# dmesg | grep -i usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
str8100-ehci str8100-ehci: new USB bus registered, assigned bus number 1
str8100-ehci str8100-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (STR8100)
str8100-ohci str8100-ohci: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
usb 1-2: new high speed USB device using str8100-ehci and address 2
usb 1-2: configuration #1 chosen from 1 choice
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB
Serial Device
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
Adding 262136k swap on /usb/USB38GB/swapfile. Priority:-1 extents:1
across:262136k
/home/mendelson/snake-os/usbip/usbip-src/drivers/2.6.21/usbip_common.c: usbip
common driver$Id: usbip_common.c 66 2008-04-20 13:19:42Z hirofuchi $
/home/mendelson/snake-os/usbip/usbip-src/drivers/2.6.21/vhci_hcd.c: driver
vhci_hcd, $Id: vhci_hcd.c 66 2008-04-20 13:19:42Z hirofuchi $
usbip: proving...
vhci_hcd vhci_hcd: USB/IP Virtual Host Contoroller
vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 3
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
usbcore: registered new driver usbip
/home/mendelson/snake-os/usbip/usbip-src/drivers/2.6.21/stub_main.c: Stub
Driver for USB/IP$Id: stub_main.c 66 2008-04-20 13:19:42Z hirofuchi $
Original comment by charlie....@gmail.com
on 5 Sep 2012 at 12:16
It's a bit suspicous that there's no mention of the printer in the log. Can you
try to uninstall USB/IP and reboot?
Original comment by stefansc...@googlemail.com
on 6 Sep 2012 at 9:06
Ok so after removal of the usb/ip the output is as follows, Does snakeOS have
cups backend installed? I have looked through the source and can't see it. HP
have there own opensource drivers that integrate with cups and ghostscript, the
kernel driver usblp is blacklisted / replaced by the hp drivers. I can see in
the snakeOS syslog that the printer is noticed and usbcore loads the usblp
driver for it,
Sep 7 02:58:48 boot-kernel: usbcore: registered new driver usblp
Sep 7 02:58:48 boot-kernel: drivers/usb/class/usblp.c: v0.13: USB Printer
Device Class driver
I'm looking at building a hp & cups opkg but looking at the debian
repositories theres quite a few dependencies, and as i'm on an rpm based system
It's not like i can get packagemanager to download them all into a nice little
directory where i could work on them. There must be an easier way to add hplip
and hpcups support? can they be added to the kernel when built? I have built my
own kernel once but not had much experience with embedded devices / arm
processors.
# dmesg | grep -i usb
usbcore: registered new driver usbfs
usbcore: registered new driver hub
str8100-ehci str8100-ehci: new USB bus registered, assigned bus number 1
str8100-ehci str8100-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (STR8100)
str8100-ohci str8100-ohci: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
usb 1-2: new high speed USB device using str8100-ehci and address 2
usb 1-2: configuration #1 chosen from 1 choice
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb-storage: device scan complete
Adding 262136k swap on /usb/USB38GB/swapfile. Priority:-1 extents:1
across:262136k
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB
Serial Device
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
#
Sources: https://wiki.archlinux.org/index.php/CUPS#USB_printers
http://hplipopensource.com/node/128
Original comment by charlie....@gmail.com
on 7 Sep 2012 at 7:36
Its a shame because I specifically bought this Star NAS device to share that
printer, I asked about it specifically when I bought it, and they assured me it
would work. The original firmware never did work with the printer I couldn't be
bothered to return it and so its been in a draw for 2 years. SnakeOs rocks tho,
thanks to everyone thats contributed.
Strange..
# modprobe usblp
modprobe: module usblp not found in modules.dep
# rmmod usblp
rmmod: can't unload 'usblp': kernel does not support requested operation
Original comment by charlie....@gmail.com
on 7 Sep 2012 at 7:46
I never used the printer sharing feature, so I'm not sure if I can much help.
For printing support snake uses p910nd. http://p910nd.sourceforge.net
Does the printer require that the HP driver to work at all? I could try to
compile it for snake but can't promise anything.
Usblp is compiled into the kernel so there's no module to modprobe. Module
unloading is disabled, I guess it's just that nobody really needed that yet.
Sep 7 02:58:48 boot-kernel: usbcore: registered new driver usblp
Sep 7 02:58:48 boot-kernel: drivers/usb/class/usblp.c: v0.13: USB Printer
Device Class driver
These are driver initilization messages. You also get these with no printer
attached. What would be interesting to know is if there's anything in the dmesg
output if you plug the printer in at runtime.
Original comment by stefansc...@googlemail.com
on 8 Sep 2012 at 1:07
I'm such an idiot, the usb was pulled out the back of the printer when I
plugged it into the NAS, I'm sorry for wasting your time!!
I can now print from windows! with clients that have the HP drivers installed,
However from my linux box I'm having trouble, I've got the HP drivers installed
and when I send print jobs they appear on the NAS but the printer does nothing,
I'm a little confused as I've set a samba share name as "printers" which is
actually "/usb/USB38GB/printers" and from FTP the directory where the print
jobs appear is "ftp://snake/USB38GB/printers" but nothing happens.
Original comment by charlie....@gmail.com
on 13 Sep 2012 at 2:45
Original issue reported on code.google.com by
charlie....@gmail.com
on 4 Sep 2012 at 11:46