Category Archives: Bugs/workarounds

Supporting audio codec Opus in Opera 12

So Opus was finally RFC’d and is a mandatory to implement codec in WebRTC. This is truly great stuff! Opus has long worked in Opera in fact, if your system gstreamer actually supported Opus.

So, since Firefox already supports Opus, how do you get Opus codec support in Opera web browser? Well, just install libopus, and you should be good to go.

GStreamer has to be compiled with support for it though, but hopefully most are. I made a bug in Arch Linux for them to fix it, hopefully it’ll get fixed very soonish now (although they were reluctant at the start).

I have Opus running and working in my Opera 12 here :-)

I wrote this a while ago in fact on myopera:

That does in fact work, and has since the since the stable release of gst-plugins-bad 0.10.23 back in 21st of February. That is, as long as Opera doesn’t already “know” it can’t play it (so it won’t feed it to GStreamer for playback). E.g. if you add ‘audio/ogg;codecs=opus’ to Content-Type or query for that via canPlayType(‘audio/ogg;codecs=opus’).

But if it’s sent with Content-Type audio/ogg like in that demo on Mozilla Hacks, it will feed it to GStreamer, which will play it if a) you have gst-plugins-bad 0.10.23 or newer, and you have libopus/opus installed. Many distros have not that at the time. :-)

Anyway, the keyword here is /native/ support, which Firefox 15 has, and we don’t. E.g., most people won’t get Opus playback out of the box.

Make colorgcc colors bright

I have a dark background in my terminal. For vim I always set background=dark, and that fixes the colors. However, I couldn’t find a way to stop colorgcc from being broken.

I didn’t find any answers using the search engine I use. So in the end I resorted to just reading the code, and lo’ and behold, that normally helps.

So open up that /etc/colorgcc/colorgccrc file that you found out was no help. It’s not documented in the file, but if you change the colors to say e.g. bright_blue instead of blue, it’ll work!

colorgcc is using Term::ANSIColor, and they take that, plus a few other bonus options if you’re interested.

In Ubuntu Linux it seems to work out of the box, but my work computer is running Arch Linux – so that might be why.

Anyway, hope that will make it findable in future when I have totally forgot how I did that. :P

Lexmark drivers are pure puke/crap, demond, what is it doing?

So, if you’re trying to debug you girlfriends computer (or maybe I should say significant other) and wonder what the thousands of daemond-lines in your syslog is all about, it’s lexmark’s evil printer drivers.

So my little girl has taken a stroll on the big intarwebs and found much the only crapware that actually exist for Linux, and installed that. I guess a lot of people who don’t have a clue, just uses Linux because Someone(tm) put it on their machine, fall for that crap.

Lexmark doesn’t want to play fair, they have big, huge, proprietary software for printer drivers. It’s continiusly printing garbage to syslog, and it’s polling everything it can find every five seconds. Basically, it drains your battery, eats your ram and fills your disk with crap.

That’s not mentioning the cycles the crapware written in Java is also stealing from you. So, how to remove it?

sudo  apt-get remove lexmark-legacy-wsu lexmark-inkjet-legacy-wjre

The above line didn’t actually work. apt-get puked on it. So in the end I just did:

sudo dpkg remove lexmark-legacy-wsu
sudo dpkg -P lexmark-inkjet-legacy-wjre

That worked AFAIK.

So, now I know how terrible Lexmark really is. I already knew they’re drivers looked like a monster (and what the hell, I have to FIND drivers for the printer to work? Normally everything Just Works in Linux, but not so with craptastic proprietary shit-drivers).

I actually told my off parents after they bought a Lexmark printer a year ago. That’s a mistake they’ll never do again…

I’ll paste some of the syslog so that it’s nice and searcable:

Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 234  main                 -- Checking for USB scanners...
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 79   getScanners          -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 79   getScanners          -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 213  getUsbScanners       -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 221  getUsbScanners       -- finding attached HID devices...
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 221  getUsbScanners       -- finding attached HID devices...
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 131  getHidDevices        -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev0. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev1. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev2. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev3. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev4. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev5. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev6. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev7. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev8. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev9. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev9. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev10. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev10. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev11. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev12. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev12. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev13. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev13. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev14. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev15. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev15. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev0. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev1. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev2. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev2. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev3. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev3. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev4. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev5. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev5. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev6. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev6. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev7. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev8. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev8. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev9. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev9. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev10. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev11. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev11. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev12. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev12. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev13. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev14. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev15. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev0. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev0. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev1. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev1. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev2. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev3. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev3. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev4. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev4. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev5. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev6. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev6. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev7. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev7. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev8. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev9. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev10. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev11. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev12. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev13. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev14. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev15. No such file or directory
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 197  getHidDevices        -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 223  getUsbScanners       -- total HID devices found: 0
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 226  getUsbScanners       -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 92   getScanners          -- getUsbScanners successful
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/discovery.c : 125  getScanners          -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 240  main                 -- usb scanners found is 0
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 309  main                 -- End of checking for USB scanners.
Jul 28 22:53:50 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 309  main                 -- End of checking for USB scanners.
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 234  main                 -- Checking for USB scanners...
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 79   getScanners          -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 79   getScanners          -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 213  getUsbScanners       -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 221  getUsbScanners       -- finding attached HID devices...
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 131  getHidDevices        -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev0. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev1. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev2. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev3. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev4. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev5. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev6. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev7. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev8. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev9. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev10. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev11. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev12. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev13. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev14. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev15. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev0. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev1. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev2. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev3. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev4. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev5. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev6. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev7. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev8. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev9. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev10. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev11. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev12. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev13. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev14. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev14. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev15. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev15. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev0. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev1. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev2. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev3. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev3. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev4. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev4. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev5. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev5. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev6. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev7. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev8. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev9. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev9. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev10. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev10. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev11. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev11. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev12. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev13. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev14. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev15. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 197  getHidDevices        -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 223  getUsbScanners       -- total HID devices found: 0
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 226  getUsbScanners       -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 92   getScanners          -- getUsbScanners successful
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 125  getScanners          -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 240  main                 -- usb scanners found is 0
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 309  main                 -- End of checking for USB scanners.
n opening HIDDEV file: /dev/hid/usb/hiddev12. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev13. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev14. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev15. No such file or directory
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 197  getHidDevices        -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 223  getUsbScanners       -- total HID devices found: 0
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 226  getUsbScanners       -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 92   getScanners          -- getUsbScanners successful
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/discovery.c : 125  getScanners          -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 240  main                 -- usb scanners found is 0
Jul 28 22:54:10 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 309  main                 -- End of checking for USB scanners.
Jul 28 22:54:28 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:7
Jul 28 22:54:28 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:8
Jul 28 22:54:28 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:8
Jul 28 22:54:28 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:9
Jul 28 22:54:28 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:10
Jul 28 22:54:28 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:11
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:7
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:8
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:9
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:9
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:10
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:10
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:11
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:7
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:8
{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:8
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:9
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:10
Jul 28 22:54:29 laska udevd[325]: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/99-lexmarklegacy-10.rules:11
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 234  main                 -- Checking for USB scanners...
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 79   getScanners          -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 213  getUsbScanners       -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 221  getUsbScanners       -- finding attached HID devices...
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 131  getHidDevices        -- ::::::::::::::: METHOD START ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev0. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev1. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev2. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev3. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev3. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev4. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev4. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev5. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev5. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev6. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev7. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev8. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev9. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev10. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev11. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev12. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev13. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev14. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/usb/hiddev15. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev0. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev1. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev2. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev3. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev4. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev5. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev6. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev7. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev8. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev9. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev10. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev11. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev12. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev13. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev14. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev15. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hiddev15. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev0. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev0. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev1. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev2. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev3. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev4. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev5. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev5. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev6. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev6. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev7. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev7. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev8. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev9. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev10. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev11. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev11. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev12. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev12. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev13. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev13. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev14. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 158  getHidDevices        -- failed in opening HIDDEV file: /dev/hid/usb/hiddev15. No such file or directory
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 197  getHidDevices        -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 223  getUsbScanners       -- total HID devices found: 0
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 226  getUsbScanners       -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 92   getScanners          -- getUsbScanners successful
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 125  getScanners          -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 240  main                 -- usb scanners found is 0
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 309  main                 -- End of checking for USB scanners.
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 197  getHidDevices        -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 223  getUsbScanners       -- total HID devices found: 0
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 226  getUsbScanners       -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 92   getScanners          -- getUsbScanners successful
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/discovery.c : 125  getScanners          -- ::::::::::::::: METHOD END ::::::::::::::: 
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 240  main                 -- usb scanners found is 0
Jul 28 22:54:30 laska demond: [P:1171 T:-1215858992] src/demon.cpp   : 309  main                 -- End of checking for USB scanners.

Update: if you don’t want to remove the drivers, just stop the insanity. Dirk has a good solution for you:

You might be interested that I found a solution for this problem. In short: create a wrapper script for demond that sets ENABLE_D_LOG=0 before calling the original demond.

Hanging machine with NFS home folders; an unexpected fix

So I got complaints that one of the Ubuntu machines at work couldn’t even write an email without hanging and Thunderbird/Firefox getting all gray/dark. Incredible frustrating, I know after using it a few minutes.

This was just adding up to the negative experiences some of my co-workers have with my Ubuntu Linux requirement option for them. Of course, unhappy coworkers make for a very un-nice working environment for me. Problems with Ubuntu Linux will pretty quick accumulate in everyone suggesting we just buy a boatload of licenses from Microsoft. We all know all the faults with doing such a thing, so I’m resisting it. Especially since there shouldn’t be a reason we have to use Windows. But these cases are really real problems.

So I’ve been kinda bummed about this the last month. I’ve used much time trying to find the problem. Then while I was in bed last night I remembered that I stole a switch from one of the rooms and replaced it with a HUB saying to my coworkers while leaving:

Now you’ll burn with extreme low network performance, MOHAHAWAHWAHWHA. I’ll return it shortly, kthxbye.

And now, zoom two months forward, still not replaced. And the switch I took is dusting away in a box after I was finished with it.

Coming to the office, I saw immediatly I was right. There it was sitting, that shitty HUB. I can’t believe that anyone actually used such crappy equipment once upon a time. HUBs really do suck.

It was fun exactly 5 minutes to see the collision-light on the HUB and Firefox getting all dark gray in sync, staying like that for a few seconds. After I switched in the switch (;-)) performance peaked again. Ahh. Nice. So now I can continue rolling out Ubuntu machines (yay).

I was very happy about this, as I said on my norwegian microblog:

JAAA! EG FANN FEILEN! Eg sa NFS saug, maskini her hang seg ofte. Men eg fann ein HUB i netverket til @neitileu! DOH DOH DOH! Kollisjon!

Translated that is: YEES! I FOUND THE ERROR! I said NFS sucked, the machine here hung often. But I found a HUB in no to EU’s network! DOH DOH DOH! Collision!

Using fonts with InDesign and Wine (or other places you need many fonts)

Norsk Målungdom just got a new beefy computer to make the member paper. Norsk Målungdom (Norwegian Language youth) fight for the Norwegian language, as most people (90%) write Danish-Norwegian and not real Norwegian.

When the computer came I kinda laughed because they wanted to run Windows on it, but Windows can’t use the loads of RAM that they’d bought for it. And Windows isn’t really good at using those 4 cores either. So I suggested Ubuntu Linux 8.10 Intrepid, as I knew InDesign 2.0 (which they are using) would run with a gold standard in Wine.

Non-truetype fonts, type1, oft, pfb et al

However, fonts+wine did not go so well together. Wine only supports ttf-fonts (or at least not Type1 / pfb pfm), so I had to convert them to TrueType (ttf) using FontForge. This has already been done by others.

Windows only supports a fixed set of TTF-font variants

When opening InDesign, some fonts were missing. Like Conga Brava Regular, or ITC Stone Sans Bold. This was of course not tolerable, so my good friend Leif Arne tried to fix it. However, he ran out of time, and so I had to try.

We saw that some of the font-variants came through, italic, regular, light, condensed, bold, black, semibold. But there was never really more than 4 options, or less. So it didn’t look OK. And I came to remember a limit in Windows from the old days; it cannot have more than 4 variants.

So, since the fonts were Type1 in Windows (which Wine doesn’t support), but TrueType in Wine, we met the limit, and the font’s didn’t show up. Luckily, I found a way to work around the problem: giving them new names!

The solution: how to make Wine see all the TrueType fonts

OK. You’ve already converted your Type1 fonts into TrueType in FontForge like this:

  1. Open the font in FontForge
  2. Go to File -> Generate Fonts
  3. Choose TrueType and save, ignore the errors (if they are not fatal)

But now only some fonts show up in your Wine program (like InDesign). So, we have to make a new name for the font versions that don’t show up.

Say you use Stone Serif Regular, Semibold and Semibold Italic. But you only have Bold, Italic, and Black (named completely wrong as well). So, remove the files that don’t show up from your ~/.fonts/ folder (or whereever you keep them).

  1. Open the fonts in FontForge
  2. Go to Element -> Font Info…
  3. Change Fontname, Family Name and Name for Humans to your alternative name

I just added “Od” inside the name. So for Silentium Pro (version RomanI) that would’ve been:

  • SilentiumProOd-RomanI
  • Silentium Pro Od
  • Silentium Pro Od RomanI

That’s all, work away in wine/InDesign!

Of course, I want to get them over to Scribus instead of InDesign, but one step at a time!

I hope that you’ll comment on this entry if you had the same problem and this helped you. I didn’t find any information when I searched for it. This could’ve saved me a full day of frustration. I’m thinking about writing down such errors, so that it may be easier to search for them.