DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st September 2020
johnR johnR is offline
Fdisk Soldier
 
Join Date: Nov 2017
Posts: 57
Default USB scanner no longer works for user in 6.7

I recently did a fresh installation of 6.7 on a system previously running 6.4. The USB scanner worked fine with sane and xsane as a user in 6.4 but now it's only detected by root. Obviously I'm overlooking a permission problem but so far haven't found it.

Relevant line from dmesg:
Code:
ugen0 at uhub2 port 2 "Ultima USB Scanner" rev 1.10/1.00 addr 2
Relevant line from sane-find-scanner run as root:
Code:
found USB scanner (vendor=0x05d8, product=0x4006 [USB Scanner], chip=GT-6816) at libusb:002:002
User is in wheel group and I did "chmod g+rw /dev/ugen0*" to set device permissions as I had them in 6.4:
Code:
crw-rw----  1 root  wheel   63,   0 Sep  5 14:58 /dev/ugen0.00
crw-rw----  1 root  wheel   63,   1 Sep  5 14:58 /dev/ugen0.01
crw-rw----  1 root  wheel   63,   2 Sep  5 14:58 /dev/ugen0.02
...
crw-rw----  1 root  wheel   63,   2 Sep  5 14:58 /dev/ugen0.15
Anyone got any ideas how to fix this?
Reply With Quote
  #2   (View Single Post)  
Old 21st September 2020
fvgit's Avatar
fvgit fvgit is offline
Spikes in tights
 
Join Date: May 2016
Location: perl -MMIME::Base64 -le 'print decode_base64("U2hlcndvb2QgRm9yZXN0")'
Posts: 314
Default

Someone reported the same problem (scanner only identified under the root user) on misc@ and found the solution in the pkg-readme:
https://marc.info/?l=openbsd-misc&m=159165663630831&w=2

Reply With Quote
  #3   (View Single Post)  
Old 22nd September 2020
johnR johnR is offline
Fdisk Soldier
 
Join Date: Nov 2017
Posts: 57
Default

Thanks. The pkg-readme had the information I needed.

The scanner is on /dev/usb2 which only had read permission for wheel group.
'chmod g+w /dev/usb2' fixed it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reprovisioned Network and lpr printing no longer works shep OpenBSD General 2 22nd November 2016 01:30 AM
DIY book scanner J65nko Off-Topic 0 17th February 2013 08:19 PM
4.8 = daemontools no longer works cacko OpenBSD General 4 27th November 2010 07:18 PM
Biometric scanner There0 OpenBSD General 3 10th November 2009 11:11 AM
FreeBSD scanner borgibo FreeBSD General 42 23rd October 2008 02:07 PM


All times are GMT. The time now is 09:38 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick