Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 157608
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Drake <dsd@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin <zut@zut.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
usblp_fs820.patch patch for getting Kyocera FS 820 with cups-1.2 (kernel issue) based on kernel 2.6.18-r4 patch Martin 2006-12-21 15:36 0000 457 bytes Details | Diff
usblp.patch patch in diff -up style based on vanilla 2.6.19 sources patch Martin 2006-12-22 04:28 0000 477 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 157608 depends on: Show dependency tree
Bug 157608 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-12-09 06:21 0000
Don

------- Comment #1 From Martin 2006-12-09 06:21:30 0000 -------
Don´t know if this is an upstream bug or gentoo-specific.
Facts:

printer Kyocera FS-820 worked with cups 1.1
does not work with cups 1.2, because an ioctl in the usb-backend fails:

------------------------------
heinrich backend # pwd
/usr/libexec/cups/backend
heinrich backend # ./usb
heinrich backend # emerge -pv cups

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-print/cups-1.2.6  USE="X dbus jpeg nls pam png ppds slp ssl
tiff -php -samba" 0 kB

Total size of downloads: 0 kB
heinrich backend # lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 007: ID 05e3:0606 Genesys Logic, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 003: ID 0482:0010 Kyocera Corp.
Bus 001 Device 001: ID 0000:0000
heinrich backend # ls -l /dev/usb
insgesamt 0
crw-rw---- 1 root lp 180, 0  9. Dez 14:59 lp0
heinrich backend # strace ./usb
[...]
open("/dev/usblp0", O_RDWR|O_EXCL|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/dev/usb/lp0", O_RDWR|O_EXCL|O_LARGEFILE) = 3
ioctl(3, SNDCTL_DSP_SYNC, 0xbfeb0281)   = -1 EIO (Input/output error)
close(3)                                = 0
[...]
Process 27965 detached
heinrich backend #
-----------------------------

emerge --info:heinrich backend # emerge --info
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4,
2.6.18-gentoo-r4 i686)
=================================================================
System uname: 2.6.18-gentoo-r4 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.6
Last Sync: Thu, 07 Dec 2006 20:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb
/usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer -falign-functions=64
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms
strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ http://ftp.easynet.nl/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de nds en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa alsa_cards_ens1371
alsa_cards_via82xx arts asf berkdb bitmap-fonts bzip2 cairo cdparanoia cli
cracklib crypt cups curl dbus directfb divx4linux dlloader dri dts dv dvd
dvdread elibc_glibc encode fame fbcon ffmpeg flac foomaticdb fortran gdbm gif
gimpprint gphoto2 gpm gstreamer gtk gtk2 hal iconv imagemagick
input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog
java joystick jpeg jpeg2k kde kernel_linux libg++ linguas_de linguas_en
linguas_nds mad mbox mikmod mmx mmxext mozilla mp3 mpeg mysql ncurses nls nptl
nptlonly nsplugin nvidia ogg opengl oss pam pcre pdf perl pic png ppds pppd
python qt3 quicktime readline real reflection scanner sdl session slp speex spl
sse ssl subtitles svg tcltk tcpd theora tiff truetype truetype-fonts
type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia
video_cards_vesa vorbis win32codecs xine xinerama xml xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS,
PORTDIR_OVERLAY

------- Comment #2 From Martin 2006-12-21 15:36:53 0000 -------
Created an attachment (id=104542) [details]
patch for getting Kyocera FS 820 with cups-1.2 (kernel issue) based on kernel
2.6.18-r4

The patch modifies the file usblp.c in /usr/src/linux/drivers/usb/class/. It
adds a line that marks Kyocera FS-820 as "quirky". 

------- Comment #3 From Stefan Schweizer 2006-12-21 16:14:53 0000 -------
Martin, can you please send this patch to the LKML?

dsd_, can you please include this patch in the gentoo sources?

------- Comment #4 From Martin 2006-12-21 16:47:52 0000 -------
Stefan, I

------- Comment #5 From Martin 2006-12-21 16:47:52 0000 -------
Stefan, I´ll try to send it. Have to read how to do that correctly. Will do it
the next days.

------- Comment #6 From Daniel Drake 2006-12-21 19:11:51 0000 -------
I'm happy to submit it on your behalf if you would like, just provide a full
name so that I can ensure you get credited

------- Comment #7 From Martin 2006-12-22 04:28:35 0000 -------
Created an attachment (id=104569) [details]
patch in diff -up style based on vanilla 2.6.19 sources

------- Comment #8 From Martin 2006-12-22 04:40:19 0000 -------
I have mailed the patch upstream in the hope that it gets included or a better
solution can be found.

------- Comment #9 From Daniel Drake 2007-01-29 18:17:39 0000 -------
Fixed in gentoo-sources-2.6.19-r5

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug