Odp: Pytania odnośnie poradnika CUPS i SANE
Więc co mogę zrobić?
AP: 3x Netgear WAX220
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Oprogramowanie / Software → Pytania odnośnie poradnika CUPS i SANE
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
Więc co mogę zrobić?
Zacznij od huba czy sprawdzenia kabli.
OK. Więc dziś przyszedł mi nowy hub USB Media-tech MT5033 i dalej drukarka resetuje się na routerze przy próbie drukowania:
Jan 15 15:03:40 Gargoyle lpr.info cupsd[2662]: [Job ???] Request file type is application/octet-stream.
Jan 15 15:03:40 Gargoyle lpr.info cupsd[2662]: REQUEST 192.168.1.171 - - "POST /printers/Canon_iP1900_series HTTP/1.1" 200 70816 Print-Job successful-ok
Jan 15 15:03:40 Gargoyle lpr.info cupsd[2662]: Canon_iP1900_series Daro 1 [15/Jan/2013:15:03:40 +0100] 1 1 - 192.168.1.171 new 2 - -
Jan 15 15:03:40 Gargoyle kern.info kernel: [ 278.960000] usb 1-1.1.1: reset full-speed USB device number 7 using ehci-platform
Jan 15 15:04:11 Gargoyle lpr.info cupsd[2662]: Saving job.cache...Wyrzuca pustą kartkę.
Jak co wynik z cat /proc/bus/usb/devices
root@Gargoyle:~# cat /proc/bus/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 2, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 3.03
S: Manufacturer=Linux 3.3.8 ehci_hcd
S: Product=Generic Platform EHCI Controller
S: SerialNumber=ehci-platform
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=2109 ProdID=0811 Rev= 2.92
S: Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=480 MxCh= 4
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1a40 ProdID=0101 Rev= 1.11
S: Product=USB 2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 1 Ivl=256ms
T: Bus=01 Lev=03 Prnt=03 Port=00 Cnt=01 Dev#= 7 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04a9 ProdID=10cd Rev= 1.04
S: Manufacturer=Canon
S: Product=iP1900 series
S: SerialNumber=D1756A
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=03 Prnt=03 Port=01 Cnt=02 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04f9 ProdID=01d5 Rev= 1.00
S: SerialNumber=BROL7F880333
C:* #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr= 2mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=(none)
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 16 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E: Ad=03(O) Atr=02(Bulk) MxPS= 16 Ivl=0ms
E: Ad=84(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=85(I) Atr=03(Int.) MxPS= 8 Ivl=100ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=08(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=89(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
T: Bus=01 Lev=03 Prnt=03 Port=02 Cnt=03 Dev#= 4 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=04e8 ProdID=2f03 Rev= 0.01
S: Manufacturer=
S: Product=Samsung S1 Mini
S: SerialNumber=00000011E09310500128
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=198mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
T: Bus=01 Lev=03 Prnt=03 Port=03 Cnt=04 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0781 ProdID=5571 Rev= 1.22
S: Manufacturer=SanDisk
S: Product=Cruzer Fit
S: SerialNumber=4C532000071224117294
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=200mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125usi wynik z cupsd.conf
root@Gargoyle:~# cat /etc/cups/cupsd.conf
########################################################################
# #
# This is the CUPS configuration file. If you are familiar with #
# Apache or any of the other popular web servers, we've followed the #
# same format. Any configuration variable used here has the same #
# semantics as the corresponding variable in Apache. If we need #
# different functionality then a different name is used to avoid #
# confusion... #
# #
########################################################################
AccessLog syslog
ErrorLog syslog
LogLevel info
PageLog syslog
PreserveJobHistory No
PreserveJobFiles No
AutoPurgeJobs Yes
MaxJobs 25
MaxPrinterHistory 10
#Printcap /etc/printcap
#PrintcapFormat BSD
RequestRoot /mnt/sda3/cups/tmp1
#RemoteRoot remroot
User root
Group root
RIPCache 512k
TempDir /mnt/sda3/cups/tmp2
Port 631
HostNameLookups Off
KeepAlive On
Browsing On
BrowseProtocols cups
<Location />
Order Deny,Allow
Allow From 127.0.0.1
Allow From 192.168.1.0/24
</Location>
<Location /admin>
AuthType Basic
AuthClass Anonymous
Order Allow,Deny
Allow From All
</Location>Czyli co dalej?
Ktoś ma pomysł ?
Podłącz bezpośrednio, cups w /tmp i zobacz czy tam samo będzie się zachowywać.
ok to jeszcze jedno jak wygląda instalacja pakietu do pamięci a nie flash ?
opkg install -d ram
http://eko.one.pl/?p=openwrt-pakiety polecam
obawiam się że za dużo innych plików cups potrzebuje żebym mógł go uruchomić z pamięci ![]()
root@Gargoyle:~# opkg -d ram install cups
Installing cups (1.5.4-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/cups_1.5.4-1_ar71xx.ipk.
Installing libcups (1.5.4-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libcups_1.5.4-1_ar71xx.ipk.
Installing libpng (1.2.46-2) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libpng_1.2.46-2_ar71xx.ipk.
Installing libjpeg (6b-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libjpeg_6b-1_ar71xx.ipk.
Installing libcupsmime (1.5.4-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libcupsmime_1.5.4-1_ar71xx.ipk.
Installing libcupscgi (1.5.4-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libcupscgi_1.5.4-1_ar71xx.ipk.
Installing libcupsppdc (1.5.4-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libcupsppdc_1.5.4-1_ar71xx.ipk.
Installing libstdcpp (4.6-linaro-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libstdcpp_4.6-linaro-1_ar71xx.ipk.
Installing libusb-1.0 (1.0.9-1) to ram...
Downloading http://ecco.selfip.net/attitude_adjustment/ar71xx/packages/libusb-1.0_1.0.9-1_ar71xx.ipk.
Configuring libjpeg.
Configuring libpng.
Configuring libcups.
Configuring libcupsmime.
Configuring libcupscgi.
Configuring libstdcpp.
Configuring libcupsppdc.
Configuring libusb-1.0.
Configuring cups.
root@Gargoyle:~# sed -i 's/User nobody/User root/' /etc/cups/cupsd.conf
sed: /etc/cups/cupsd.conf: No such file or directory
root@Gargoyle:~# mc
-ash: mc: not found
root@Gargoyle:~# ls /tmp/
.history cached_basic_vars fstab overlay/ spool/
.uci/ data/ lock/ resolv.conf state/
TZ dhcp.leases log/ resolv.conf.auto sysinfo/
bw_backup/ etc/ opkg-lists/ run/ usr/
root@Gargoyle:~# ls /tmp/etc/
cups/ dnsmasq.conf init.d/ smb.conf
root@Gargoyle:~# sed -i 's/User nobody/User root/' /tmp/etc/cups/cupsd.conf
root@Gargoyle:~# sed -i 's/Group nogroup/Group root/' /tmp/etc/cups/cupsd.conf
root@Gargoyle:~# sed -i 's/AuthClass.*/AuthClass Anonymous/' /tmp/etc/cups/cupsd.conf
root@Gargoyle:~# ls /usr/lib/cups/backend/usb
ls: /usr/lib/cups/backend/usb: No such file or directory
root@Gargoyle:~# ls /usr/lib/cups/backend
ls: /usr/lib/cups/backend: No such file or directory
root@Gargoyle:~# chmod 700 /tmp/usr/lib/cups/backend/usb
root@Gargoyle:~# /tmp/usr/lib/cups/backend/usb
/tmp/usr/lib/cups/backend/usb: can't load library 'libusb-1.0.so.0'
root@Gargoyle:~# chmod 700 /usr/lib/cups/backend/usb
chmod: /usr/lib/cups/backend/usb: No such file or directory
root@Gargoyle:~# /etc/init.d/cupsd start
-ash: /etc/init.d/cupsd: not found
root@Gargoyle:~# /tmp/etc/init.d/cupsd start
service: file '/usr/sbin/cupsd' is not executableAle jak zainstalowałeś w /tmp to sobie teraz linki porób z /tmp/etc do /etc itd. Dokładnie jak w linku który podałem powyżej.
Witam,
Nie chcę tworzyć nowego tematu i przy okazji postu o CUPS tutaj zapytam.
A więc Canon MP550 bez problemu wykryty (na cups), działa i drukuje...ale drukuje tak że ucina pół (lub trochę mniej) ostatniej strony druku(zawsze i tylko ostatnia), powiedzmy drukuję 3-stronnicowy dokument, strona pierwsza jest ucięta. Jak wyślę tylko jedną stronę to też ucina.
Gdzie szukać ewentualnego rozwiązania? Drukarka była podłączona bezpośrednio do portu usb.
A czy zmieniałeś ustawienie TempDir w pliku konfiguracyjnym /etc/cups/cupsd.conf ?
czyli naprzykład było
TempDir /var/tmpto musisz przestawić na jakiś dysk / partycje
np.:
TempDir /mnt/sda1/tmpz strony cups radzą żeby ustawić jeszcze prawa dostępu:
mkdir /foo/bar/tmp <- tworzenie folderu
chmod a+rwxt /foo/bar/tmp <- prawa dostępu
Nie robiłem tego, sprawdzę i dam znać czy pomogło.
Niestety, efekt pozostaje taki sam. Próbowałem coś majstrować w ustawieniach drukarki w windowsie ale bez rezultatu.
Próbowałem z linuxa drukować, ucina ale trochę mniej
Teraz zainstalowałem p910nd i działa bez zarzutu
Dziś znowu odświeżam temat, donośnie problemów z restartem w czasie drukowania
log z ssh http://wklej.org/hash/b9ef2191f9d/
a bezpośrednio na kabelku serialem jedynie:
[ 179.070000] usb 1-1.3.3: reset full-speed USB device number 5 using ehci-platformjakieś sugestie ?
Żadnych z mojej strony. Hub, zasilanie, podłącz to jako jedyne urządzenie na usb.
Jak zmienić adresację cupsa podobno w opcji allow, ale gdzie ona jest
/etc/cups/cupsd.conf
jest nowa wersja cups-a 1.7.0
CUPS 1.7.0
CUPS 1.7.0 is primarily a "polish" release release with improved support for paid, PIN, and release printing, expanded support for IPP Everywhere, automatic support for data compression, a new "ippfind" utility, and improved CUPS APIs.Changes since 1.7rc1 include:
-Updated Japanese localization.
-The lpadmin command did not send the PPD name from the "-m" option (<rdar://problem/15264697>)
-Network backends now use the prtMarkerSuppliesClass property to determine the direction of supply level values (<rdar://problem/14302628>)
-The scheduler did not remove backup PPD files when a printer was deleted (<rdar://problem/15065555>)
-The scheduler incorrectly responded to HEAD requests when the web interface was disabled (<rdar://problem/15090332>)
-The scheduler did not respond using the hostname specified by the client (<rdar://problem/14583574>)
-Fax queues did not work when shared via Bonjour (<rdar://problem/14498310>)
-Error messages from the scheduler were not localized using the language specified in the client's IPP request (<rdar://problem/14128011>)
-Added an Italian localization (<rdar://problem/14481578>)
-Fixed a couple memory leaks in ippfind that were reported by Clang.
-Fixed a compile issue on 64-bit Linux with Clang - need to use the -pie option instead of -Wl,-pie now (<rdar://problem/14480938>)
-The ippfind utility reported the wrong port numbers when compiled against Avahi (<rdar://problem/14508324>)
-httpGetFd, httpGetFile, httpPutFd, and httpPutFile did not automatically reconnect if the server closed the connecion after the previous response.
-Fixed a compile error in libcups (<rdar://problem/14467141>)
-The scheduler incorrectly did not pass a FINAL_CONTENT_TYPE environment variable to the filters or backend (<rdar://problem/14355011>)
-The cups-exec helper program could fail randomly on OS X due to sandbox violations when closing excess file descriptors (<rdar://problem/14421943>)
-The scheduler incorrectly did not use the kqueue interface on OS X.
@Cezary czy dodasz do repo nową kompilacje CUPS-a ? 1.7.5 lub 2.0 ?
Chciałem wypróbować google cloud print z skryptami w python co masz w poradniku i niestety jest problem, drukarka jest dodana do google print lecz nie drukuje, logi:
Updated Printer Canon_iP1900_series
Polling for jobs on Canon_iP1900_series
ERROR Ap-WIFI.pdf
Establishing connection to xmpp server talk.google.com:5223
ERROR: Could not Connect to Cloud Service. Will Try again in 60 Seconds
Polling for jobs on Canon_iP1900_series
ERROR: Could not Connect to Cloud Service. Will Try again in 60 Seconds
Polling for jobs on Canon_iP1900_series
ERROR: Could not Connect to Cloud Service. Will Try again in 60 Seconds
Polling for jobs on Canon_iP1900_series
ERROR: Could not Connect to Cloud Service. Will Try again in 60 SecondsA masz działający makefile do paczek?
Czy na openwrt.org mają zamiar dodać nowsze wersje CUPS ?
A masz działający makefile do paczek?
Jakbym miał taki makefile to bym próbował wersje 2.0.1 skompilować ![]()
cups nie jest obecnie pod opieką żadnej osoby.
cups nie jest obecnie pod opieką żadnej osoby.
https://forum.openwrt.org/viewtopic.php?id=54148
https://github.com/FranciscoBorges/open … /issues/12
https://forum.openwrt.org/viewtopic.php … 41#p260741
Strony Poprzednia 1 2 3
Zaloguj się lub zarejestruj by napisać odpowiedź
eko.one.pl → Oprogramowanie / Software → Pytania odnośnie poradnika CUPS i SANE
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc