The officially official Devuan Forum!

You are not logged in.

#1 2026-05-10 00:55:22

deepforest
Member
Registered: 2020-03-24
Posts: 469  

HP, Inc ScanJet G3010 could not open USB device Access denied

Devuan Excalibur... linux mess - sado-mazo again((
Scanner not working

freeartist-devuan@devuan:~$ lsusb 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 214b:7000 Huasheng Electronics 4-port hub [Maxxter ACT-HUB2-4P, HS8836, iSoul ultra-slim]
Bus 001 Device 004: ID 03f0:4205 HP, Inc ScanJet G3010
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 1038:1706 SteelSeries ApS SteelSeries Rival 95 Gaming Mouse
freeartist-devuan@devuan:~$ 
freeartist-devuan@devuan:~$ sane-find-scanner -q
could not open USB device 0x03f0/0x4205 at 001:004: Access denied (insufficient permissions)
could not open USB device 0x214b/0x7000 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1038/0x1706 at 005:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
freeartist-devuan@devuan:~$
freeartist-devuan@devuan:~$ groups
freeartist-devuan lp cdrom floppy audio dip video plugdev users netdev scanner lpadmin
freeartist-devuan@devuan:~$ 

linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile

Offline

#2 2026-05-10 01:53:11

rbit
Member
Registered: 2018-06-12
Posts: 117  

Re: HP, Inc ScanJet G3010 could not open USB device Access denied

Strange indeed.  I have the same scanner.  On daedalus, it works fine.

$ lsusb
...
Bus 005 Device 013: ID 03f0:4205 HP, Inc ScanJet G3010
...
$ sane-find-scanner -q
...
found possible USB scanner (vendor=0x03f0 [hewlett packard], product=0x4205 [hp scanjet]) at libusb:005:013
...

But, on excalibur I got the same result as you.  So, I went through /etc/group and added my user to EVERY group there.  Nothing worked...

fcc@fccvm:~$ sane-find-scanner -q
could not open USB device 0x03f0/0x4205 at 001:003: Access denied (insufficient permissions)
could not open USB device 0x80ee/0x0021 at 001:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 001:001: Access denied (insufficient permissions)
fcc@fccvm:~$ groups
fcc daemon bin sys adm tty disk lp mail news uucp man proxy kmem dialout fax voice cdrom floppy tape sudo audio dip www-data backup operator list irc src shadow utmp video sasl plugdev staff games users netdev input kvm render Debian-exim ntpd messagebus _ssh plocate scanner rtkit lpadmin bluetooth ssl-cert uuidd avahi pulse pulse-access saned colord polkitd crontab nogroup

... until I added the group "root".   then it worked.

fcc@fccvm:~$ sane-find-scanner -q
could not fetch string descriptor: Operation timed out
could not fetch string descriptor: Operation timed out
found possible USB scanner (vendor=0x03f0, product=0x4205) at libusb:001:003
could not fetch string descriptor: Operation timed out
could not fetch string descriptor: Operation timed out
fcc@fccvm:~$ groups
fcc root daemon bin sys adm tty disk lp mail news uucp man proxy kmem dialout fax voice cdrom floppy tape sudo audio dip www-data backup operator list irc src shadow utmp video sasl plugdev staff games users netdev input kvm render Debian-exim ntpd messagebus _ssh plocate scanner rtkit lpadmin bluetooth ssl-cert uuidd avahi pulse pulse-access saned colord polkitd crontab nogroup

A little more info.
Daedalus (working)

$ getfacl /dev/bus/usb/005/013 
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/005/013
# owner: root
# group: root
user::rw-
user:tempo:rw-
group::rw-
group:scanner:rw-
mask::rw-
other::r--

Excalibur (not working)

 $ getfacl /dev/bus/usb/001/003
getfacl: Removing leading '/' from absolute path names
# file: dev/bus/usb/001/003
# owner: root
# group: root
user::rw-
group::rw-
other::r--

Last edited by rbit (2026-05-10 02:13:00)

Offline

#3 2026-05-10 02:09:59

deepforest
Member
Registered: 2020-03-24
Posts: 469  

Re: HP, Inc ScanJet G3010 could not open USB device Access denied

... until I added the group "root".   then it worked.

Thank you man for help, i will try yours solution
but i found yet one fix for that
add this lines

ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4205", MODE="0666", GROUP="scanner", ENV{libsane_matched}="yes"
SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="4205", MODE="664", GROUP="scanner"

to
/etc/udev/rules.d/40-libsane.rules
and reboot

Last edited by deepforest (2026-05-10 02:10:46)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile

Offline

#4 2026-05-10 02:13:48

deepforest
Member
Registered: 2020-03-24
Posts: 469  

Re: HP, Inc ScanJet G3010 could not open USB device Access denied

Strange indeed.  I have the same scanner.  On daedalus, it works fine.

What HPLIP driver are you using?
Under Linux i have stage wide blue tint lines at scanned images but at Windows VueScan all looks good.
0034.jpg

Last edited by deepforest (2026-05-10 02:54:26)


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile

Offline

#5 2026-05-10 02:13:53

rbit
Member
Registered: 2018-06-12
Posts: 117  

Re: HP, Inc ScanJet G3010 could not open USB device Access denied

OK, you found the solution smile

On daedalus, I just use xsane
Not sure what driver it uses.
it reports: Loaded backend: hp3900:libusb:005

Last edited by rbit (2026-05-10 02:16:46)

Offline

#6 2026-05-10 02:23:54

deepforest
Member
Registered: 2020-03-24
Posts: 469  

Re: HP, Inc ScanJet G3010 could not open USB device Access denied

Not sure what driver it uses.

Do you have any ideas where here can be issue with wrong weird blue tint wide stripes?


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile

Offline

#7 2026-05-10 02:45:12

deepforest
Member
Registered: 2020-03-24
Posts: 469  

Re: HP, Inc ScanJet G3010 could not open USB device Access denied

"blue tint" issue seem bug of sane
similar issue here
https://gitlab.com/sane-project/backend … _items/203


linux/bsd at desktop its sado-mazo game/toy for geeks/nerds with absolutely no warranty and antifool protection ©
smile
linux have unprofessional bazar type of development by amators and to amators smile

Offline

Board footer