cups announcing wrong port numbers on avahi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Natty |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: cups
Hi,
I tried to figure out why my Apple iPad does not find the printers announced by my Ubuntu server automatically through cups, but does find them, if I add an entry manually to the avahi server.
As far as I could see the major difference seems to be that cups announces a wrong port number. cups announces Port 30466, where there isn't any open socket. If I add an entry manually, it announces the correct Port 631 and the iPad finds the printer.
It is most probably a problem of byte order, because
631 = hex 0x0277
30466 = hex 0x7702
regards
Hadmut
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: cups 1.4.6-5ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
Date: Fri Jun 3 13:00:05 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100427.1)
Lpstat:
device for Deskjet-
device for HP-LaserJet-1300: socket:
device for hp-LaserJet-
device for Laser: ///dev/null
device for PDF: cups-pdf:/
MachineType: Gigabyte Technology Co., Ltd. GA-MA78G-DS3H
Papersize: a4
PpdFiles:
PDF: Generic CUPS-PDF Printer
HP-LaserJet-1300: HP LaserJet 1300 Series Postscript (recommended)
hp-LaserJet-
Deskjet-
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/tcsh
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
UpgradeStatus: Upgraded to natty on 2011-05-17 (16 days ago)
dmi.bios.date: 04/03/2008
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F2
dmi.board.name: GA-MA78G-DS3H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: GA-MA78G-DS3H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
Changed in cups (Ubuntu Natty): | |
status: | New → In Progress |
importance: | Undecided → Medium |
Tim, there seems to be a byte-order problem in your Avahi patch. Can you have a look into this? Thanks.