LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-09-2013, 10:39 AM   #1
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,179

Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
USB Problems


I welcome any ideas on this strange one on my new Samsung-350V

No printing on my usb printer which works with the same software (foo2zjs)on everything else from slackware-12.0 to 14.0, 32 or 64 bit. The printer is fine. My firmware file has been checked with md5sum. But when I insert the printer, the process (cat or cp) to send the firmware to the printer hangs, and /dev/usb/lp0 throws "device busy" errors.
lsof |grep lp0 shows a 'cat <firmware> > /dev/usb/lp0' hanging there waiting for /dev/usb/lp0. I conclude a comms problem. But usb disks, sd readers, external drives all work fine.

I was running on the latest 3.7.1 kernel, which has xgci-hcd in verbose debug mode screaming errors and spewing log spam. So I loaded 3.2.29 - slackware's original and still have the same issue. Foo2zjs is in the clear because it's the 'cat' instruction that fails. The only odd thing is that this box has an SSD. Here's the lspci


Quote:
bash-4.2$ sudo lspci
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 2 (rev c4)
00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 09)
02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
The printer is a HP laserjet P1005 - still working well on other boxes.
 
Old 01-10-2013, 05:34 AM   #2
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,179

Original Poster
Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Kind of sorted this.

1. The SSD drive means the firmware is going in too fast - probably while a hardware reset is still active. So powering up the device while plugged in inevitably messes up.

2. Cups problems account for the rest - perms and general %#$@! from cups as is usual for that program.
 
Old 01-11-2013, 06:43 AM   #3
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,179

Original Poster
Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Er. . . . A little previous here calling this solved.

It worked last night. Id doesn't work this morning. Any time I switch on or plug in the printer, it gets screwed up. No firmware can be downloaded. I get this from dmesg
Code:
[48949.890885] usb 3-3: new high-speed USB device number 33 using xhci_hcd
[48949.914943] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[48949.918039] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[48949.921095] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[48949.924187] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[48949.925198] usb 3-3: New USB device found, idVendor=03f0, idProduct=3d17
[48949.925203] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[48949.925207] usb 3-3: Product: HP LaserJet P1005
[48949.925210] usb 3-3: Manufacturer: Hewlett-Packard
[48949.925213] usb 3-3: SerialNumber: BB08HLP
[48949.925359] usb 3-3: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
[48949.925365] usb 3-3: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
[48949.925523] usb 3-3: ep 0x1 - rounding interval to 32768 microframes, ep desc says 0 microframes
[48949.925528] usb 3-3: ep 0x81 - rounding interval to 32768 microframes, ep desc says 0 microframes
[48949.927251] xhci_hcd 0000:00:14.0: WARN: short transfer on control ep
[48949.928372] usblp0: USB Bidirectional printer dev 33 if 0 alt 0 proto 2 vid 0x03F0 pid 0x3D17
[49013.953705] xhci_hcd 0000:00:14.0: WARN: transfer error on endpoint
[49013.953720] usblp0: nonzero write bulk status received: -71
[49013.953739] xhci_hcd 0000:00:14.0: WARN: transfer error on endpoint
[49013.953746] usblp0: nonzero read bulk status received: -71
[49013.953787] xhci_hcd 0000:00:14.0: WARN: transfer error on endpoint
[49013.953793] usblp0: nonzero write bulk status received: -71
[49013.953801] usb 3-3: USB disconnect, device number 33
Error 71 is a Protocol error.
 
Old 01-11-2013, 09:37 AM   #4
business_kid
Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 6,179

Original Poster
Rep: Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527Reputation: 527
Found it as a software bug in foo2zjs hotplug script with the firmware on an SSD. Reported it.
 
  


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
USB<=>serial (TI USB 3410) detection problems kaza Linux - Hardware 2 08-29-2011 12:03 PM
Any problems with USB-port PCMCIA cards and USB Floppy Drives? DreameR-X Linux - Laptop and Netbook 9 05-14-2005 01:37 PM
USB LexarMedia 32MB Data-Key + KDE 3.2=USB/HD Access problems that_guy Slackware 0 02-03-2005 08:27 AM
USB problems: Memorex USB stick 256MB and PSX to USB adapter by Radio Shack Knuckles T15 Linux - Hardware 1 05-19-2004 06:58 PM
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 04:17 PM


All times are GMT -5. The time now is 03:39 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration