LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 07-05-2017, 10:15 AM   #1
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,567
Blog Entries: 19

Rep: Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447Reputation: 4447
Kernel usblp module: conflict between kernel help and cups


I don't know if any kernel hackers browse this forum, but if they do, here is a small heads-up about a problem I found.

Let me start by saying that I am a great admirer of the kernel help system. It's undoubtedly the best and most informative help documentation that I have ever come across. But there is a conflict developing between kernel help and cups about this module.

The help says:
Quote:
config USB_PRINTER
Say Y here if you want to connect a USB printer to your computer's
USB port. To compile this driver as a module, choose M here: the
module will be called usblp.
This is quite unequivocal: if you want to use a usb printer, you need the usblp driver in some form.

But cups has not used this driver for some time. It now uses libusb. In fact most installations of cups come with a blacklist file for the usblp module because it causes interference.

Intermittently there are bugs in cups that stop the blacklisting of usblp from working. I recently upgraded cups to 2.2.4 in Crux and my usb printer suddenly went dead. Jobs were put into the queue but couldn't get to the printer. Running /usr/lib/cups/backend/usb by hand showed the message "DEBUG: Failed to detach "usblp" from 03f0:7511" (the usb identifier shown is that of my printer, an HP Photosmart). I googled a bit and found that the same problem had occurred a couple of years ago in an earlier version of cups. Clearly it had since been corrected and is now recurring.

I rebuilt the kernel without usblp and cups now works normally again. It looks as if the kernel help for this module needs a rewrite.
 
Old 07-08-2017, 06:19 PM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Thanks, good to know!
 
  


Reply



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
Linux kernel module installation and other questions related to kernel module install yashgovin19 Linux - Newbie 1 06-03-2015 02:33 PM
[SOLVED] Install older kernel module into newer kernel - no symbol version for module bayoulinux Linux - Kernel 4 10-26-2011 04:32 AM
[SOLVED] Slackware64 13.1 BETA1 and CUPS: blacklist usblp gargamel Slackware 5 05-15-2010 06:39 AM
LXer: Howto: build Linux kernel module against installed kernel w/o full kernel source tree LXer Syndicated Linux News 0 09-03-2006 08:21 PM
compiling a kernel: module-init-tools conflict, depmod problem, modules sterrenkijker Debian 3 03-08-2004 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration