Nieuws:

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: inktniveau controleren in Oneiric  (gelezen 8944 keer)

Offline c.w.Tol

  • Lid
inktniveau controleren in Oneiric
« Gepost op: 2011/12/02, 17:03:52 »
Ik heb een Canon IP4200 in mijn Ubuntu 11.10 64 bits, ik wil even de niveaus van mijn inktcartridges controleren.
De software van "ink" en "mtink" zien deze printer niet en kan hem niet bij deze twee vinden of configureren.
Hij is wel goed geïnstalleerd in Ubuntu en print ook perfect. Maar wat ik al zei, de controle van het inktniveau.
Heb dan ook daar de laatste 64 bits versie van inkblot geïnstalleerd, maar wat krijg ik: (inkblot:25874): Gtk-WARNING **: Kan themamodule niet vinden in modulepad: ‘pixmap

Bij de Eigenschappen binnen localhost wordt inktcontrole niet ondersteund.

Dus hoe ik deze Gtk-Warning wijzigen om te kijken of inkblot mijn printer ziet, of is er een andere weg om de inktcartridges qua niveau van deze Canon IP4200 in Ubuntu te controleren?
« Laatst bewerkt op: 2011/12/02, 17:15:44 door c.w.Tol »

Re: inktniveau controleren in Oneiric
« Reactie #1 Gepost op: 2011/12/03, 00:22:10 »
Ink werkt via de commandoline of in de terminal, zit geen GUI bij.
mtink is specifiek voor EPSON.
 
Voor de GTK fout, voer dit commando uit in een terminal(onder Hulpmiddelen) sudo aptitude install gtk2-engines-pixbuf om type foten te vermijden, kopier en plak het commando in de terminal. Geef een ENTER hierna moet je het wachtwoord intypen, hier zie je niets van, gewoon blind typen en geef een ENTER.
Commando van http://osiux.com/gtk-warning-unable-to-locate-theme-engine-in-module-path-pixmap.txt
In der Beschränkung zeigt sich der Meister.

Offline softbart

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #2 Gepost op: 2011/12/03, 13:24:40 »
Een mens is nooit te oud om te leren. Ik was niet op de hoogte van het progje.
mtink werkt prima voor de Epson R2400.
Bedankt.

groet,

Theo

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #3 Gepost op: 2011/12/04, 11:27:23 »
Bedankt softbart, maar inkblot werkt niet, niet bij de gewone opstart vanuit Dash Home en in de terminal blijft de cursor hangen.
Dus dat zal dan, neem ik aan, wel liggen aan inkblot.

Over ink, ik weet dat dat alleen via de terminal kan. De printer is gewoon met USB verbonden.
Maar wat krijg ik:

Citaat
~$ ink -p usb
Could not access '/dev/usb/lp0' or '/dev/usblp0'.
Could not get ink level.
en
Citaat
~$ ink -d /dev/usblp0
Could not access custom usb device '/dev/usblp0'.
Could not get ink level.

ink werkt dus ook niet goed. Of weet jij iets anders, moet ik nog iets extra configureren?

Re: inktniveau controleren in Oneiric
« Reactie #4 Gepost op: 2011/12/04, 11:56:25 »
Had je het commando uit mijn vorige bericht al geprobeerd?
In der Beschränkung zeigt sich der Meister.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #5 Gepost op: 2011/12/04, 15:24:50 »
Ja. Gijsbert, is al geïnstalleerd, krijg nu niet meer die Gtk-warning, maar wat ik al zei, "inkblot" werkt niet vanuit Dash Home en bij de terminal blijft de cursor hangen en start "inkblot" niet op. Zal dus, zo neem ik aan, aan het programma liggen, ik zie geen verdere conflicten.

"mtink" is inderdaad voor Epson, maar ik heb dus de Canon IP4200, dus niet geïnstalleerd.

En dus "ink" heb ik al gezegd, herkent het niet. Zie het conflictje hiervoor.

Dus een andere oplossing of een extra configuratie?

Offline jolo

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #6 Gepost op: 2011/12/04, 17:37:55 »
Volgens welke instructies heb je inkblot in Ubuntu 11.10 geïnstalleerd? Want zo te zien heeft Colin Watson zowel inkblot amd64 en inkblot i386 uit de Ubuntu pakketbronnen verwijderd. Daar zal toch wel een reden voor zijn. 
bij de terminal blijft de cursor hangen en start "inkblot" niet op.
Bedoel je dat de cursor op de volgende regel gaat knipperen, zonder een foutmelding te tonen? Hoe weet je dat inkblot niet gestart is? Had je dit gecontroleerd in het terminalvenster via commando top of via applicatie systeemmonitor?

Want op één van mijn oude PC's is in Ubuntu 10.04.3 inkblot nog wel beschikbaar in de Ubuntu pakketbronnen. Zodat deze nog wel via synaptic te installeren is. Als ik inkblot in het terminalvenster typ, dan ik ik ook op de volgende regel de cursor knipperen. De applicatie is dan wel gestart. Want ik zie het icoontje van inkblot in Natilus bovenste taakbalk. Alleen wordt mijn HP all-in-one niet ondersteund. Ik kan 'm niet verder testen.
Hoofd PC januari 2018 HP Compaq Elite 8300 SFF Windows 10 & Xubuntu 18.04.3
PC 2011 Asus P8Z68-V Pro i7 2600K 8 GB RAM GT730 Xubuntu test pc
PC 2007 Asus P5B E6600 2GB RAM 8800GTS  
Notebook 2008 Lenovo ThinkPad R61i 8932GMG 2,5 GB RAM

Re: inktniveau controleren in Oneiric
« Reactie #7 Gepost op: 2011/12/04, 18:23:55 »
Bij mij op 10.10 (64 bits) start inkblot ook op, maar ook mij HP Photosmart 8250 wordt ook niet ondersteunt.
In der Beschränkung zeigt sich der Meister.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #8 Gepost op: 2011/12/04, 19:14:32 »
Ja Gijsbert, kan zo zijn. Waarom zou hij deze verwijderd hebben?

Jolo, heb zowel via het icoon van Inkblot in Dash Home dit programma laten opstarten, resultaat: noppes.
Via de terminal geeft het commando 'inkblot' een cursor onder het commando, even knipperend, dan stilstaand.

Maar misschien ligt het inderdaad wel aan de verkeerde 64 bits versie, omdat, zoals je kan lezen heeft Colin Watson een en ander verwijderd.
Ik heb de versie inkblot_0.99.9-2_amd64.deb met natuurlijk alle dependencies. Een versere of nieuwere versie heb ik niet gevonden.

Andere oplossing of configuratie wellicht?

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: inktniveau controleren in Oneiric
« Reactie #9 Gepost op: 2011/12/04, 20:29:55 »
Je moet je gebruiker nog even lid maken van de "lp" groep, anders heb je niet genoeg rechten om de inktniveau's uit te lezen.
Kopieer en plak dit commando in een terminal en voer je wachtwoord in:
sudo usermod -a -G lp $USER
Hierna wel even uit- en inloggen of je computer opnieuw opstarten.

Hierna zou het ink commando wel gewoon moeten werken.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #10 Gepost op: 2011/12/04, 20:54:20 »
Bedankt Johan, maar het probleem blijft, ook na uitloggen en herstarten:

Citaat
~$ ink -p usb
Could not access '/dev/usb/lp0' or '/dev/usblp0'.
Could not get ink level.
en

Citaat
~$ ink -d /dev/usblp0
Could not access custom usb device '/dev/usblp0'.
Could not get ink level.

Offline softbart

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #11 Gepost op: 2011/12/04, 22:48:31 »
Misschien met mijn berichtje mensen op het verkeerde been gezet.
Ik heb mtink geïnstalleerd in Debian squeeze. Dus duidelijk een andere kernel.

groet,

Theo

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: inktniveau controleren in Oneiric
« Reactie #12 Gepost op: 2011/12/04, 23:51:20 »
Wat geeft dit commando als resultaat?
ls -l /dev/usb/

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #13 Gepost op: 2011/12/07, 15:50:53 »
Bedankt Johan, maar iets vreemds:

Citaat
ls -l /dev/usb
ls: kan geen toegang krijgen tot /dev/usb: Bestand of map bestaat niet
kees@kees-System-Product-Name:~$ sudo ls -l /dev/usb
[sudo] password for kees:
ls: kan geen toegang krijgen tot /dev/usb: Bestand of map bestaat niet
kees@kees-System-Product-Name:~$
en bij localhost:631 staat:
Citaat
Description:Canon iP4200
Location:   kees-System-Product-Name
Driver:   Canon PIXMA iP4200 - CUPS+Gutenprint v5.2.7 Simplified (color, 2-sided printing)
Connection:   usb://Canon/iP4200?serial=A2A3A0
Defaults:   job-sheets=none, none media=iso_a4_210x297mm sides=one-sided

in /dev staan alleen: usbmon0, usbmon1 en usbmon2

Maar de printer doet het wel met uitprinten, dus waar zit dan die usb weergave in Ubuntu 11.10?
« Laatst bewerkt op: 2011/12/07, 16:42:10 door c.w.Tol »

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: inktniveau controleren in Oneiric
« Reactie #14 Gepost op: 2011/12/07, 19:23:15 »
Dan is er blijkbaar iets veranderd sinds 10.04 of op jouw systeem is iets geks aan de hand.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #15 Gepost op: 2011/12/07, 20:28:42 »
Denk ik niet, heb nooit 10.04 gehad maar gelijk als eerste keer Ubuntu gebruiker gelijk 11.10, dus kan hij niet meegenomen hebben.

Offline Bobbie

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #16 Gepost op: 2011/12/07, 22:29:32 »
Bij dat comando krijg ik ook het bericht: kan geen toegang krijgen tot /dev/usb: Bestand of map bestaat niet
en de USB staat bij mij ook niet in de dev map.

Re: inktniveau controleren in Oneiric
« Reactie #17 Gepost op: 2011/12/07, 22:48:51 »
Johan dit zou de map moeten zijn:
───[gijs@gijs-desktop]──[22:41]──> /home/gijs
 $ ls -l /dev/bus/usb
totaal 0
drwxr-xr-x 2 root root  80 2011-12-07 19:35 001
drwxr-xr-x 2 root root  80 2011-12-07 19:35 002
drwxr-xr-x 2 root root  60 2011-12-07 19:35 003
drwxr-xr-x 2 root root  60 2011-12-07 19:35 004
drwxr-xr-x 2 root root 100 2011-12-07 19:36 005

Iets uitgebreidere info
───[gijs@gijs-desktop]──[22:45]──> /home/gijs
 $ lsusb -v

  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.35-28-generic uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          224 Wireless
  bDeviceSubClass         1 Radio Frequency
  bDeviceProtocol         1 Bluetooth
  bMaxPacketSize0        64
  idVendor           0x0a12 Cambridge Silicon Radio, Ltd
  idProduct          0x0001 Bluetooth Dongle (HCI mode)
  bcdDevice           52.76
  iManufacturer           0
  iProduct                2 BT2.0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          177
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0000  1x 0 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0009  1x 9 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0011  1x 17 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0019  1x 25 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0021  1x 33 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           2
      bInterfaceClass       224 Wireless
      bInterfaceSubClass      1 Radio Frequency
      bInterfaceProtocol      1 Bluetooth
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0031  1x 49 bytes
        bInterval               1
Device Status:     0x0001
  Self Powered

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.35-28-generic uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:00:1d.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0103 power enable connect
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 002: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x058f Alcor Micro Corp.
  idProduct          0x6362 Flash Card Reader/Writer
  bcdDevice            1.29
  iManufacturer           1 Generic
  iProduct                2 Mass Storage Device
  iSerial                 3 058F312D81B
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.35-28-generic ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:1d.7
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts             8
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

───[gijs@gijs-desktop]──[22:45]──> /home/gijs
 $
In der Beschränkung zeigt sich der Meister.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #18 Gepost op: 2011/12/13, 14:00:03 »
Ja, ink, inkblot (nieuwste versie zelfs verwijderd door maker/vrijwilliger) en mtink werken niet, omdat /dev/bus/usb niet wordt herkend.
Maar heb nu toch een ander probleem, telkens : "permission denied", kijk maar, hoe kan ik aan die usb poorten permissie verlenen, sudo usermod -a -G lp $USER heeft dus blijkbaar het probleem niet verholpen.
Hier de uitdraai:

kees@kees-System-Product-Name:~$ ls -l /dev/bus/usb
totaal 0
drwxr-xr-x 2 root root 100 2011-12-13 11:38 001
drwxr-xr-x 2 root root  60 2011-12-13 11:38 002
kees@kees-System-Product-Name:~$ lsusb -v

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.00
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
libusb couldn't open USB device /dev/bus/usb/002/001: Permission denied.
libusb requires write access to USB device nodes.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.00
  iManufacturer           3
  iProduct                2
  iSerial                 1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255

Bus 001 Device 002: ID 04e8:6014 Samsung Electronics Co., Ltd
libusb couldn't open USB device /dev/bus/usb/001/002: Permission denied.
libusb requires write access to USB device nodes.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6014
  bcdDevice            0.00
  iManufacturer           1
  iProduct               11
  iSerial                 3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              6
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Bus 001 Device 003: ID 05e3:070e Genesys Logic, Inc. USB 2.0 Card Reader
libusb couldn't open USB device /dev/bus/usb/001/003: Permission denied.
libusb requires write access to USB device nodes.
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x070e USB 2.0 Card Reader
  bcdDevice           96.02
  iManufacturer           0
  iProduct                1
  iSerial                 2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0

Hoor graag hoe die "permission denied" kan worden weggewerkt.


Moderator edit: Gelieve code-tags te gebruiken voor lange stukken tekst, geen quote-tags.
« Laatst bewerkt op: 2011/12/14, 19:35:35 door Nunslaughter »

Re: inktniveau controleren in Oneiric
« Reactie #19 Gepost op: 2011/12/13, 22:32:29 »
Kijk eens of het met root rechten lukt.
Type sudo lsusb -v en geef een ENTER
Nu moet je het wachtwoord intypen, hier zie je niets van, gewoon blind typen en geef een ENTER.
Krijg je nu wel een foutloze output? Zo ja, dan ben je als gebruiker niet toegevoegd aan de groep USB.
In der Beschränkung zeigt sich der Meister.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #20 Gepost op: 2011/12/17, 12:48:27 »
Heb nu:
sudo lsusb -v
[sudo] password for kees:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            3.00
  iManufacturer           3 Linux 3.0.0-14-generic ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:02.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts            10
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0503 highspeed power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0503 highspeed power enable connect
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            3.00
  iManufacturer           3 Linux 3.0.0-14-generic ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:02.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts            10
  wHubCharacteristic 0x0012
    No power switching (usb 1.0)
    No overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 002: ID 04e8:6014 Samsung Electronics Co., Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04e8 Samsung Electronics Co., Ltd
  idProduct          0x6014
  bcdDevice            0.00
  iManufacturer           1 JMicron
  iProduct               11 Samsung G3 Station
  iSerial                 3 00000011E0DB4
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB Mass Storage
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              6 MSC Bulk-Only Transfer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 003: ID 05e3:070e Genesys Logic, Inc. USB 2.0 Card Reader
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x05e3 Genesys Logic, Inc.
  idProduct          0x070e USB 2.0 Card Reader
  bcdDevice           96.02
  iManufacturer           0
  iProduct                1 USB Storage
  iSerial                 2 000000009602
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 004: ID 04a9:10a2 Canon, Inc. iP4200
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x04a9 Canon, Inc.
  idProduct          0x10a2 iP4200
  bcdDevice            1.09
  iManufacturer           1 Canon
  iProduct                2 iP4200
  iSerial                 3 A2A3A0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         7 Printer
      bInterfaceSubClass      1 Printer
      bInterfaceProtocol      2 Bidirectional
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

en blijkbaar zit mijn Canon IP onder Bus 001 Device 004: ID 04a9:10a2 Canon, Inc. iP4200
Er is dus geen voorbehoud meer zo te zien.

Maar ink doet niets, nog steeds:
ink -p usb
Could not access '/dev/usb/lp0' or '/dev/usblp0'.
Could not get ink level.
En evenmin:
ink -d /dev/usblp0
Could not access custom usb device '/dev/usblp0'.
Could not get ink level.
kees@kees-System-Product-Name:~$ ink -d /dev/bus/usblp0
Could not access custom usb device '/dev/bus/usblp0'.
Could not get ink level.

Dus hoe nu verder?

« Laatst bewerkt op: 2011/12/17, 14:28:33 door Sjoerd Broekhuijsen »

Re: inktniveau controleren in Oneiric
« Reactie #21 Gepost op: 2011/12/17, 18:09:12 »
Dit komt er bij mij uit als root:
root@gijs-desktop:/home/gijs# ink -p usb
ink 0.5.1 (c) 2010 Markus Heinz

HP Photosmart 8200 series

Black:                         99%
Yellow:                        34%
Photocyan:                     42%
Cyan:                          55%
Photomagenta:                  78%
Magenta:                       60%
root@gijs-desktop:/home/gijs#

Of zo dus:
───[gijs@gijs-desktop]──[18:03]──> /home/gijs
 $ sudo ink -p usb
[sudo] password for gijs:
ink 0.5.1 (c) 2010 Markus Heinz

HP Photosmart 8200 series

Black:                         99%
Yellow:                        34%
Photocyan:                     42%
Cyan:                          55%
Photomagenta:                  78%
Magenta:                       60%

───[gijs@gijs-desktop]──[18:04]──> /home/gijs
En dit als gewone gebruiker:
───[gijs@gijs-desktop]──[17:58]──> /home/gijs
 $ ink -p usb
Could not access '/dev/usb/lp0' or '/dev/usblp0'.
Could not get ink level.

───[gijs@gijs-desktop]──[17:59]──> /home/gijs

Probeer het commando zo sudo ink -p usb eens en kijk of je wel levels te zien krijgt.
Zo ja, dan het is toch een kwestie van rechten, die goed gezet moeten worden in gebruikers en groepen.
« Laatst bewerkt op: 2011/12/17, 18:12:31 door Gijsbert »
In der Beschränkung zeigt sich der Meister.

Offline c.w.Tol

  • Lid
Re: inktniveau controleren in Oneiric
« Reactie #22 Gepost op: 2011/12/17, 18:43:45 »
Blijf toch houden bij sudo ink -p usb
Could not access '/dev/usb/lp0' or '/dev/usblp0'.
Could not get ink level.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: inktniveau controleren in Oneiric
« Reactie #23 Gepost op: 2011/12/17, 19:13:23 »
Zou je onderstaand commando in een terminalvenster uit willen voeren? Plaats het resultaat hier, tussen [code]...[/code] tags.
Het commando:
lsmod |grep -e lp -e usb

Re: inktniveau controleren in Oneiric
« Reactie #24 Gepost op: 2011/12/17, 19:23:20 »
Als je dit commando invoert:
sudo chmod 777 /dev/usb/lp0 en uitvoert krijg je wel de levels te zien, als gewone gebruiker:
───[gijs@gijs-desktop]──[19:22]──> /home/gijs
 $ ink -p usb
ink 0.5.1 (c) 2010 Markus Heinz

HP Photosmart 8200 series

Black:                         99%
Yellow:                        34%
Photocyan:                     42%
Cyan:                          55%
Photomagenta:                  78%
Magenta:                       60%

In der Beschränkung zeigt sich der Meister.