ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Gleb Kulikov <glebus@asd.iao.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] USB!
Date: Tue, 23 Sep 2014 11:48:21 +0700
Message-ID: <1632262.2Rb49eTQqZ@h77.localdomain> (raw)


Коллеги, добрый день!

Всё-таки, что у нас с usb?

Ситуация: есть принтер, HP Photosmart C3183 (впрочем, проблемой затронута не 
только эта модель).

Печать начинается, и немедленно прекращается. Печатается примерно 1/8 - 1/16 
листа, после чего наблюдается постоянно "крутящийся" процесс lp hp://... , 
полностью занимающий ядро процессора. 

Отслеживание через usbmon показывает периодический обмен bulk пакетами, 
успешно не завершающийся (-EINPROGRESS).

Появилась эта неприятность у нас года два (или даже больше) назад, и с тех 
нормализовывалась пару раз (к сожалению, не помню,  на каких ядрах).

*До* ядра 3.14.18, печать была возможна при следующем, случайно обнаруженном 
при попытках разобраться в происходящем, "трюке":

	1) modprobe usbmon
	2) стартуем wireshark или любую другую следилку, отслеживаем активность 
usb
	3) завершаем wireshark (! не требуется отслеживать траффик всё время, 
достаточно включить единственный раз)

	после этого, всё работает.

!!!!! Начиная с 3.14.18-std-def-alt1, перестал работать и этот трюк. !!!!!

Может ли это быть особенностью наших ядер? Явно же гонка какая-то.

PS: на эту мысль наталкивает и то, что в Убунту, например, работает (без 
всякого трюкачества).

PPS: видимо, на эту же проблему я наступал при работе с чипами ftdi, так что 
считать корнем зла HP'шный софт оснований, видимо, нет.

********************* HELP! ***************************

Проблеме более двух лет!

PPPS:

00:01.1 SMBus: NVIDIA Corporation MCP78S [GeForce 8200] SMBus (rev a1)
00:02.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 
Controller (rev a1)
00:02.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 
Controller (rev a1)
00:04.0 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] OHCI USB 1.1 
Controller (rev a1)
00:04.1 USB controller: NVIDIA Corporation MCP78S [GeForce 8200] EHCI USB 2.0 
Controller (rev a1)

-- 
      Салют, /GLeb

UIN: 15341920
jabber://gleb@asd.iao.ru
sip://2387245@sipnet.ru			(telephony)
skype://gleb_kulikov.tomsk		(telephony)


             reply	other threads:[~2014-09-23  4:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-23  4:48 Gleb Kulikov [this message]
2014-09-23 21:03 ` Michael Shigorin
2014-09-24  2:07   ` Gleb Kulikov
2014-09-24 16:28     ` Michael Shigorin
2014-09-25  4:01       ` Gleb Kulikov
2014-09-24  9:55   ` Peter Evdokimov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1632262.2Rb49eTQqZ@h77.localdomain \
    --to=glebus@asd.iao.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git