[Bug 937662] Re: After plugging an HP LaserJet 1020 UDEV needs several minutes to set up newly connected USB printer
Joseph Salisbury
joseph.salisbury at canonical.com
Thu Feb 23 19:10:48 UTC 2012
That's good news, Till. The tricky part now will be finding the
patch/commit upstream that fixes this to see if it can be SRU'd to
Oneiric.
Would it be also possible for you to test the latest Precise kernel[0]?
It would be good to know if the bug exists in Precise.
[0]
https://launchpad.net/ubuntu/+source/linux/3.2.0-17.26/+build/3220814
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/937662
Title:
After plugging an HP LaserJet 1020 UDEV needs several minutes to set
up newly connected USB printer
Status in “linux” package in Ubuntu:
Confirmed
Status in “udev” package in Ubuntu:
New
Bug description:
I have several USB printers (all HP) which I can connect to my Oneiric
laptop via USB hubs. Everything works well with these printers as long
as I do not connect the HP LaserJet 1020 (cheapo model which needs to
get fed with its firmware everytime when it is turned on).
After booting and before connecting the LaserJet 1020 all works
correctly. UDEV sets the ownerships and permissions for the
/dev/bus/usb/*/* file (664, root.lp, plus ACLs) and runs /lib/udev
/udev-configure-printer to create a print queue if needed and to
enable the print queue if it is already there.
As soon as i connect the LaserJet 1020, for everyprinter connected
afterwards the following happens: In /dev/bus/usb/*/* appears a new
file with 600 root.root permissions and without ACLs, probably a raw,
not UDEV-treated entry. By bus and device number and "lsusb" one can
see that the entry is actually for the newly connected printer. Only
after some minutes UDEV does its job of setting the permissions,
ownerships, ACLs, and starting /lib/udev/udev-configure-printer.
I tried with kernel 3.0.0-16 (the current) and afterwards 3.0.0-15. syslog is attached.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: till 2479 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,17aa211c,00100000'
Controls : 17
Simple ctrls : 9
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01'
Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.Amixer.values:
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
CustomUdevRuleFiles: 86-hpmud-hp_laserjet_1020.rules 86-hpmud-hp_laserjet_1018.rules 86-hpmud-hp_laserjet_professional_p1102w.rules 86-hpmud-hp_laserjet_professional_p1102.rules 86-hpmud-hp_laserjet_p1006.rules 86-hpmud-hp_laserjet_p1007.rules 86-hpmud-hp_laserjet_1000.rules 86-hpmud-hp_laserjet_p1505.rules 86-hpmud-hp_laserjet_p1008.rules 86-hpmud-hp_laserjet_professional_p1566.rules 86-hpmud-hp_laserjet_1005_series.rules 86-hpmud-hp_laserjet_p1005.rules
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=9185f036-2e72-40e6-bf31-d9a8926a7883
MachineType: LENOVO 7417CTO
Package: udev 173-0ubuntu4.1
PackageArchitecture: amd64
PccardctlIdent:
Socket 0:
product info: "MoGo Mouse BT", " ", "", ""
PccardctlStatus:
Socket 0:
5.0V 16-bit PC Card
Subdevice 0 (function 0) [unbound]
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-15-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
RelatedPackageVersions:
linux-restricted-modules-3.0.0-15-generic N/A
linux-backports-modules-3.0.0-15-generic N/A
linux-firmware 1.60.1
StagingDrivers: mei
Tags: oneiric running-unity staging oneiric running-unity
Uname: Linux 3.0.0-15-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-09-30 (143 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
dmi.bios.date: 10/13/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET79WW (3.09 )
dmi.board.name: 7417CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET79WW(3.09):bd10/13/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: till 2479 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
Mixer name : 'Conexant CX20561 (Hermosa)'
Components : 'HDA:14f15051,17aa211c,00100000'
Controls : 17
Simple ctrls : 9
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01'
Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.Amixer.values:
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
CustomUdevRuleFiles: 86-hpmud-hp_laserjet_1020.rules 86-hpmud-hp_laserjet_1018.rules 86-hpmud-hp_laserjet_professional_p1102w.rules 86-hpmud-hp_laserjet_professional_p1102.rules 86-hpmud-hp_laserjet_p1006.rules 86-hpmud-hp_laserjet_p1007.rules 86-hpmud-hp_laserjet_1000.rules 86-hpmud-hp_laserjet_p1505.rules 86-hpmud-hp_laserjet_p1008.rules 86-hpmud-hp_laserjet_professional_p1566.rules 86-hpmud-hp_laserjet_1005_series.rules 86-hpmud-hp_laserjet_p1005.rules
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=9185f036-2e72-40e6-bf31-d9a8926a7883
MachineType: LENOVO 7417CTO
Package: udev 173-0ubuntu4.1
PackageArchitecture: amd64
PccardctlIdent:
Socket 0:
product info: "MoGo Mouse BT", " ", "", ""
PccardctlStatus:
Socket 0:
5.0V 16-bit PC Card
Subdevice 0 (function 0) [unbound]
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.0.0-15-generic root=/dev/mapper/hostname-root ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 3.0.0-15.26-generic 3.0.13
RelatedPackageVersions:
linux-restricted-modules-3.0.0-15-generic N/A
linux-backports-modules-3.0.0-15-generic N/A
linux-firmware 1.60.1
StagingDrivers: mei
Tags: oneiric running-unity staging oneiric running-unity
Uname: Linux 3.0.0-15-generic x86_64
UpgradeStatus: Upgraded to oneiric on 2011-09-30 (143 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare
dmi.bios.date: 10/13/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET79WW (3.09 )
dmi.board.name: 7417CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET79WW(3.09):bd10/13/2009:svnLENOVO:pn7417CTO:pvrThinkPadT400:rvnLENOVO:rn7417CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 7417CTO
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/937662/+subscriptions
More information about the foundations-bugs
mailing list