[Regression]Samsung ML-2010 Printer gets constantly re-detected

Bug #128058 reported by Erik Andrén
10
Affects Status Importance Assigned to Milestone
linux-source-2.6.22 (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: linux-image-2.6.22-8-generic

This is a regression from feisty.
My Samsung ML-2010 gets constantly redetected using the 2.6.22-8 generic kernel. Booting into the 2.6.20-15-generic resolves the issue.
Verified on two computers.

dmesg is filled with these entries:
[ 830.466474] usb 6-2: new full speed USB device using uhci_hcd and address 2
[ 830.640531] usb 6-2: configuration #1 chosen from 1 choice
[ 830.702576] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0 alt 0 proto 2 vid 0x04E8 pid 0x326C
[ 830.702591] usbcore: registered new interface driver usblp
[ 830.702595] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[ 855.778786] usb 6-2: USB disconnect, address 2
[ 855.779976] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: removed
[ 855.888736] usb 6-2: new full speed USB device using uhci_hcd and address 3
[ 856.062806] usb 6-2: configuration #1 chosen from 1 choice
[ 856.069744] /build/buildd/linux-source-2.6.22-2.6.22/drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04E8 pid 0x326C

Revision history for this message
Paul Dufresne (paulduf) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description doesn't yet have enough information.

From where your 2.6.20-15-generic kernel image come from?

I see you have isolated pertinent information, but please, give the following information anyway.
Please include the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command "uname -a" in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command "dmesg > dmesg.log" and attach the resulting file "dmesg.log" to this bug report.
3. Please run the command "sudo lspci -vvnn > lspci-vvnn.log" and attach the resulting file "lspci-vvnn.log" to this bug report.

For your reference, the full description of procedures for kernel-related bug reports is available at [WWW] http://wiki.ubuntu.com/KernelTeamBugPolicies. Thanks in advance!

Changed in linux-source-2.6.22:
assignee: nobody → dufresnep
status: New → Incomplete
Revision history for this message
piter10 (piter76) wrote :

I have identical problem with this printer when I using 2.6.22 kernel with Feisty and new Gutsy. With early version kernel e.g. 2.6.20 work perfectly, system detect printer and install. Verified on two computers, too.
I read about this problem connected with "usb_suspend" and powersaving usb. If possible to correct this bug in new version kernel? Sorry for my english.

Revision history for this message
Erik Andrén (erik-andren) wrote :

piter10,
yes, the autosuspend feature is likely the cause of this bug. See: http://lkml.org/lkml/2007/8/3/273

Revision history for this message
piter10 (piter76) wrote :
Download full text (49.0 KiB)

Output of the command:
- uname -a
Linux ubuntu 2.6.22-9-generic #1 SMP Fri Aug 3 00:50:37 GMT 2007 i686 GNU/Linux
-dmesg.log:
[ 0.000000] Linux version 2.6.22-9-generic (buildd@palmer) (gcc version 4.1.3 20070718 (prerelease) (Ubuntu 4.1.2-14ubuntu1)) #1 SMP Fri Aug 3 00:50:37 GMT 2007 (Ubuntu 2.6.22-9.25-generic)
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
[ 0.000000] BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 000000007fee0000 (usable)
[ 0.000000] BIOS-e820: 000000007fee0000 - 000000007fee3000 (ACPI NVS)
[ 0.000000] BIOS-e820: 000000007fee3000 - 000000007fef0000 (ACPI data)
[ 0.000000] BIOS-e820: 000000007fef0000 - 000000007ff00000 (reserved)
[ 0.000000] BIOS-e820: 00000000f0000000 - 00000000f4000000 (reserved)
[ 0.000000] BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
[ 0.000000] 1150MB HIGHMEM available.
[ 0.000000] 896MB LOWMEM available.
[ 0.000000] found SMP MP-table at 000f5570
[ 0.000000] Entering add_active_range(0, 0, 524000) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 229376
[ 0.000000] HighMem 229376 -> 524000
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 524000
[ 0.000000] On node 0 totalpages: 524000
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 223520 pages, LIFO batch:31
[ 0.000000] HighMem zone: 2301 pages used for memmap
[ 0.000000] HighMem zone: 292323 pages, LIFO batch:31
[ 0.000000] DMI 2.4 present.
[ 0.000000] ACPI: RSDP 000F6F10, 0014 (r0 GBT )
[ 0.000000] ACPI: RSDT 7FEE3040, 003C (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: FACP 7FEE30C0, 0074 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: DSDT 7FEE3180, 4A88 (r1 GBT GBTUACPI 1000 MSFT 100000C)
[ 0.000000] ACPI: FACS 7FEE0000, 0040
[ 0.000000] ACPI: HPET 7FEE7D80, 0038 (r1 GBT GBTUACPI 42302E31 GBTU 98)
[ 0.000000] ACPI: MCFG 7FEE7E00, 003C (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: APIC 7FEE7C80, 0084 (r1 GBT GBTUACPI 42302E31 GBTU 1010101)
[ 0.000000] ACPI: SSDT 7FEE7E80, 015C (r1 PmRef Cpu0Ist 3000 INTL 20040311)
[ 0.000000] ACPI: SSDT 7FEE8310, 0275 (r1 PmRef CpuPm 3000 INTL 20040311)
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: Local APIC address 0xfee00000
[ 0.000000] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.000000] Processor #0 6:15 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
[ 0.000000] Processor #1 6:15 APIC version 20
[ 0.000000] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] disabled)
[ 0.000000] ACPI: LAPIC (acpi_id[0x03] lapic_id[0x03] disabled)
[ 0.00...

Revision history for this message
Paul Dufresne (paulduf) wrote :

Thanks Piter10.
But please, from now when asked to attach files, under the textarea to enter comment, there is a 'Attachment:' with a browse button near that.
Please use that rather than copy the result of the command.

Well, confirming, this is a bit too technical for me for feeling at ease to request more specific infos.

Changed in linux-source-2.6.22:
assignee: dufresnep → ubuntu-kernel-team
status: Incomplete → Confirmed
Revision history for this message
sonsnix (markus-sons) wrote :

I can confirm this bug. Setting usbcore.autosuspend=-1 solves the problem. (located in /sys/module/usbcore/parameters)

You can set this parameter permanently, if you install sysfsutils and edit the /etc/sysfs.conf

But I'd also appreciate a more elegant solution to this problem.

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

(Subscribing sonsnix to this bug so reply is seen)

Please post the output of
lsusb
along details of which kernel you are using and a link to this bug report over in Bug #85488 so your printer can make its way on to the quirks list...

Revision history for this message
Erik Andrén (erik-andren) wrote :

The ML-2010 will be autosuspend blacklisted in 2.6.23

Revision history for this message
Sitsofe Wheeler (sitsofe) wrote :

What Erik says is correct (see http://git.kernel.org/?p=linux/kernel/git/gregkh/usb-2.6.git;a=history;f=drivers/usb/core/quirks.c;hb=a78d702beed61956b26c1b6288da868946642317 ). I cannot say whether this will be backported to Gutsy (someone will have to check to the appropriate git tree).

Revision history for this message
Henrik Nilsen Omma (henrik) wrote :

A cherry pick for this would be nice if the patch is simple.

Changed in linux-source-2.6.22:
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Erik Andrén (erik-andren) wrote :

This is now resolved.

Changed in linux-source-2.6.22:
status: Triaged → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.