LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-09-2005, 04:57 PM   #1
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Rep: Reputation: 30
how do I make USB ports work so I can get my printer working?


Slackware 10.0, 2.6.10 and KDE

I think my USB ports are not working right so my printer does not work.
I do lsmod | grep usb and get this:

usblp 11264 0
usbcore 104312 2 usblp

Shouldnt there be more here?
I have already install the newest cups and driver for my printer and foomatic.
Thanks.
 
Old 07-09-2005, 05:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Any of the USB core-devices present?

E.g. usb-uhci, ohci, ehci-hdc?
 
Old 07-09-2005, 05:49 PM   #3
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
No just the 2 I posted when i do lsmod.
Somehow I had this working once but the USB stuff is not in the kernel I loaded them manually and I forgot how and what I did to get the USB ports for the printer working.

Last edited by M$ISBS; 07-09-2005 at 05:51 PM.
 
Old 07-09-2005, 06:00 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
dmesg | egrep -i "(ehci|ohci|uhci)"

Any hits? I was just wondering whether you compiled
the USB stuff into the kernel rather than using modules.
 
Old 07-09-2005, 06:23 PM   #5
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
After I did the line you suggested I got this:

ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001)
ehci_hcd 0000:00:1d.7: continuing after BIOS bug...
ehci_hcd 0000:00:1d.7: irq 11, pci mem 0xfebffc00
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
usb 1-3: new high speed USB device using ehci_hcd and address 2
usb 1-3.1: new full speed USB device using ehci_hcd and address 3
usb 1-3.1: new full speed USB device using ehci_hcd and address 4
usb 1-3.1: new full speed USB device using ehci_hcd and address 5
usb 1-4: new high speed USB device using ehci_hcd and address 6
usb 1-4.1: new full speed USB device using ehci_hcd and address 7
usb 1-4.1: new full speed USB device using ehci_hcd and address 8
ehci_hcd 0000:00:1d.7: remove, state 1
ehci_hcd 0000:00:1d.7: USB bus 1 deregistered

I dont know what this all means but I am pretty sure I had used modules before.
 
Old 07-09-2005, 06:48 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by M$ISBS
ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001)
ehci_hcd 0000:00:1d.7: continuing after BIOS bug...

...
ehci_hcd 0000:00:1d.7: remove, state 1
ehci_hcd 0000:00:1d.7: USB bus 1 deregistered
Never had that problem myself (and can't be bothered to
start googling for you ;}), but I'd be looking for a BIOS
upgrade for my motherboard right now.


Cheers,
Tink
 
Old 07-09-2005, 08:29 PM   #7
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
I went into the bios before upgrading the bios (because that scares me) and I found a USB setting that said USB 2.0 turbo and an option to change it to high speed, so I did and rebooted and now the thing about bios handoff bug is gone when I do dmesg | egrep -i "(ehci|ohci|uhci) I get this now:

ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
ehci_hcd 0000:00:1d.7: irq 11, pci mem 0xfebffc00
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1d.7: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
usb 1-4: new high speed USB device using ehci_hcd and address 2
usb 1-4.1: new full speed USB device using ehci_hcd and address 3
usb 1-4.1: new full speed USB device using ehci_hcd and address 4
usb 1-4.1: new full speed USB device using ehci_hcd and address 5

and the output of lsmod | grep usb is:

usblp 11264 0
usbcore 104312 3 usblp,ehci_hcd

Last edited by M$ISBS; 07-09-2005 at 08:31 PM.
 
Old 07-09-2005, 09:21 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Well, that's good news, then

Seems like the usb-support in general and the usbprinter
driver are loaded.


Does dmesg produce any output that mentions your
printer at all?


Cheers,
Tink
 
Old 07-10-2005, 12:58 AM   #9
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Yes, I found these 2 lines:

drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 7 if 0 alt 0 proto 2 vid 0x04E8 pid 0x300C

drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
 
Old 07-10-2005, 03:32 PM   #10
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Bump
 
Old 07-10-2005, 03:37 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
lpstat -t
 
Old 07-10-2005, 04:06 PM   #12
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
lpstat -t gave me this:

scheduler is running
system default destination: Samsung
device for Samsung: usb:/dev/usb/lp0
Samsung accepting requests since Jan 01 00:00
printer Samsung disabled since Jan 01 00:00 -
Unable to open USB device "usb:/dev/usb/lp0": Not a directory
Samsung-115 root 14336 Sun 10 Jul 2005 06:37:54 AM UTC
Samsung-116 root 153600 Sun 10 Jul 2005 06:38:27 AM UTC
Samsung-117 root 137216 Sun 10 Jul 2005 06:38:45 AM UTC
Samsung-118 root 19456 Sun 10 Jul 2005 06:39:04 AM UTC
Samsung-119 root 154624 Sun 10 Jul 2005 06:39:37 AM UTC

Also, I keep getting this same line above when I try to configure the printer at localhost:631
I tried to cat lp0 but nothing happens, it just hangs.
/dev/usb/lp0 does exist except like it says, lp0 is a file not directory.

Unable to open USB device "usb:/dev/usb/lp0": Not a directory

Last edited by M$ISBS; 07-10-2005 at 04:20 PM.
 
Old 07-10-2005, 04:29 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Odd ... does /dev/usb/lp0 actually exist?
 
Old 07-10-2005, 04:32 PM   #14
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Yes it does exist but its a file not a directory, and when i do " cat /etc/inittab > /dev/usb/lp0 " the printer makes noise just like its going to print but nothing prints. Ive got toner and paper and the printer was working just about a month ago.
 
Old 07-11-2005, 02:26 PM   #15
M$ISBS
Member
 
Registered: Aug 2003
Posts: 834

Original Poster
Rep: Reputation: 30
Bump, again. I think Im getting closer, the printer is making noise now, lol.
 
  


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
How do I check that my USB ports are working? MoghNX01 Linux - Hardware 7 12-20-2005 12:26 AM
USB ports not working mifan Linux - Hardware 15 09-24-2005 09:11 PM
What USB modules do I need loaded to make printer work? M$ISBS Linux - Hardware 1 07-09-2005 08:27 PM
Extra 2 USB ports not working LavaDevil94 Linux - Hardware 4 09-12-2004 02:46 PM
USB ports not working civ247 Mandriva 0 07-08-2004 06:07 AM


All times are GMT -5. The time now is 10:23 PM.

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