After plugging an HP LaserJet 1020 UDEV needs several minutes to set up newly connected USB printer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
High
|
Unassigned |
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/
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/
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/
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,
Controls : 17
Simple ctrls : 9
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'
Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
CustomUdevRuleF
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=
MachineType: LENOVO 7417CTO
Package: udev 173-0ubuntu4.1
PackageArchitec
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=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 7417CTO
dmi.product.
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/
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,
Controls : 17
Simple ctrls : 9
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'
Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
CustomUdevRuleF
DistroRelease: Ubuntu 11.10
EcryptfsInUse: Yes
HibernationDevice: RESUME=
MachineType: LENOVO 7417CTO
Package: udev 173-0ubuntu4.1
PackageArchitec
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=
ProcVersionSign
RelatedPackageV
linux-
linux-
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.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 7417CTO
dmi.product.
dmi.sys.vendor: LENOVO
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 937662
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.