|
|
| Next: Madwifi driver doesn't work with Atheros AR5006EG.. |
| Author |
Message |
Chris External

Since: Jan 21, 2007 Posts: 95
|
Posted: Wed Aug 08, 2007 12:37 am Post subject: USB Operation not permitted Archived from groups: alt>os>linux>suse (more info?) |
|
|
Outside of my kerboard, mouse, and thumbdrives, I am unable to use the USB
ports as a regular user. I have to use 'kdesu gnomad2' to access my
Creative Zen V and 'kdesu kooka' to scan from my HP PSC 1350. Now I am
unable to print!?!
Could there be a problem with udev? Anyone know which file needs to be
edited to allow user access to USB again?
Thanks
--
Chris |
|
| Back to top |
|
 |
Rajko M. External

Since: Mar 27, 2005 Posts: 351
|
Posted: Thu Aug 09, 2007 8:18 am Post subject: Re: USB Operation not permitted [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Chris wrote:
> Outside of my kerboard, mouse, and thumbdrives, I am unable to use the USB
> ports as a regular user. I have to use 'kdesu gnomad2' to access my
> Creative Zen V and 'kdesu kooka' to scan from my HP PSC 1350. Now I am
> unable to print!?!
>
> Could there be a problem with udev? Anyone know which file needs to be
> edited to allow user access to USB again?
>
> Thanks
Hi Chris,
Use command
mount
to find out how is recognized your printer, scanner etc.
then look in
/etc/udev/rules.d/50-udev-default.rules
and edit permissions that are set with keywords "MODE" and "GROUP".
It can be that you have only to add your user to group that controlls device
ie. to existing group lp for printer. Scanner has no group defined in
rules, but you can add it.
This worked here though I don't know would that survive update of udev.
For more information on udev please see manual (man udev).
--
Regards,
Rajko. |
|
| Back to top |
|
 |
Chris External

Since: Jan 21, 2007 Posts: 95
|
Posted: Thu Aug 09, 2007 2:06 pm Post subject: Re: USB Operation not permitted [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Rajko M. wrote:
> Chris wrote:
>
>> Outside of my kerboard, mouse, and thumbdrives, I am unable to use the
>> USB ports as a regular user. I have to use 'kdesu gnomad2' to access my
>> Creative Zen V and 'kdesu kooka' to scan from my HP PSC 1350. Now I am
>> unable to print!?!
>>
>> Could there be a problem with udev? Anyone know which file needs to be
>> edited to allow user access to USB again?
>>
>> Thanks
>
> Hi Chris,
>
> Use command
> mount
> to find out how is recognized your printer, scanner etc.
> then look in
> /etc/udev/rules.d/50-udev-default.rules
> and edit permissions that are set with keywords "MODE" and "GROUP".
> It can be that you have only to add your user to group that controlls
> device
> ie. to existing group lp for printer. Scanner has no group defined in
> rules, but you can add it.
>
> This worked here though I don't know would that survive update of udev.
>
> For more information on udev please see manual (man udev).
>
Thanks Rajko, my printer and scanner are now working. However, I gnomad2
gives me this error with my Creative Zen V:
usb_claim_interface(): Operation not permitted
LIBMTP PANIC: Unable to initialize device 1
LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1781
LIBMTP_Get_First_Device: Error Connecting
PDE device NULL.
It looks like the usb_claim_interface() is causes the other errors to occur.
I have added /etc/udev/rules.d/60-libmtp.rules added and the /dev/usbdev*
devices is created with perms 666.
Do you have any other ideas?
Thanks.
--
Chris |
|
| Back to top |
|
 |
Rajko M. External

Since: Mar 27, 2005 Posts: 351
|
Posted: Thu Aug 09, 2007 4:52 pm Post subject: Re: USB Operation not permitted [Login to view extended thread Info.] Archived from groups: per prev. post (more info?) |
|
|
Chris wrote:
> Thanks Rajko, my printer and scanner are now working. However, I gnomad2
> gives me this error with my Creative Zen V:
>
> usb_claim_interface(): Operation not permitted
This can be for various reasons.
> LIBMTP PANIC: Unable to initialize device 1
> LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1781
> LIBMTP_Get_First_Device: Error Connecting
> PDE device NULL.
>
> It looks like the usb_claim_interface() is causes the other errors to
> occur.
Right.
> I have added /etc/udev/rules.d/60-libmtp.rules added and the /dev/usbdev*
> devices is created with perms 666.
I would rather create group scanner and add user to that group. Than 660
will work.
> Do you have any other ideas?
What is version of your gnomad2.
I see gnomad2 version 2.8.12-1.guru.suse102 for x86_64 architecture.
Do you know what version worked?
It can be that some update broke permissions, for instance using different
device names, or limiting permissions for some devices.
See what happens if you just hookup device without starting gnomad2. Look
in /var/log/messages. The relevant lines will be at the end of file so you
can start console and run
tail -f /var/log/messages
than connect Zen. Than if device is recognized run gnomad2 first as user and
than as root, and watch what is going on in console.
--
Regards,
Rajko. |
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
| |
|
|