LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* 2.6.25 possible regression usbfs options ignored?
@ 2008-03-03 21:54 Lukas Hejtmanek
2008-03-04 23:55 ` Greg KH
2008-03-05 0:03 ` Greg KH
0 siblings, 2 replies; 4+ messages in thread
From: Lukas Hejtmanek @ 2008-03-03 21:54 UTC (permalink / raw)
To: linux-kernel
Hello,
I'm using 2.6.25-rc3. It seems that options for usbfs (devgid and devmode) are
ignored.
# mount | grep usbfs
none on /proc/bus/usb type usbfs (rw,devgid=46,devmode=0664)
/proc/bus/usb# ls -l
total 0
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 001
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 002
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 003
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 004
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 005
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 006
dr-xr-xr-x 2 root root 0 2008-03-03 10:41 007
-r--r--r-- 1 root root 0 2008-03-03 22:30 devices
or am I just someting missing?
--
Lukáš Hejtmánek
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.25 possible regression usbfs options ignored?
2008-03-03 21:54 2.6.25 possible regression usbfs options ignored? Lukas Hejtmanek
@ 2008-03-04 23:55 ` Greg KH
2008-03-05 0:03 ` Greg KH
1 sibling, 0 replies; 4+ messages in thread
From: Greg KH @ 2008-03-04 23:55 UTC (permalink / raw)
To: Lukas Hejtmanek, linux-usb; +Cc: linux-kernel
On Mon, Mar 03, 2008 at 10:54:56PM +0100, Lukas Hejtmanek wrote:
> Hello,
>
> I'm using 2.6.25-rc3. It seems that options for usbfs (devgid and devmode) are
> ignored.
>
> # mount | grep usbfs
> none on /proc/bus/usb type usbfs (rw,devgid=46,devmode=0664)
>
> /proc/bus/usb# ls -l
> total 0
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 001
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 002
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 003
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 004
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 005
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 006
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 007
> -r--r--r-- 1 root root 0 2008-03-03 22:30 devices
>
> or am I just someting missing?
CC:ing the linux-usb mailing list might help out more :)
parsing the options did change a bit in 2.6.25-rc, but I don't think it
would have changed this. Can you revert the patch at git id
2e4f3c02239d4c7c454604715db619bc971b15eb and see if it fixes the problem
for you or not?
Hm, I see this here as well, not good...
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.25 possible regression usbfs options ignored?
2008-03-03 21:54 2.6.25 possible regression usbfs options ignored? Lukas Hejtmanek
2008-03-04 23:55 ` Greg KH
@ 2008-03-05 0:03 ` Greg KH
2008-03-05 23:22 ` Lukas Hejtmanek
1 sibling, 1 reply; 4+ messages in thread
From: Greg KH @ 2008-03-05 0:03 UTC (permalink / raw)
To: Lukas Hejtmanek, linux-usb; +Cc: linux-kernel
On Mon, Mar 03, 2008 at 10:54:56PM +0100, Lukas Hejtmanek wrote:
> Hello,
>
> I'm using 2.6.25-rc3. It seems that options for usbfs (devgid and devmode) are
> ignored.
>
> # mount | grep usbfs
> none on /proc/bus/usb type usbfs (rw,devgid=46,devmode=0664)
>
> /proc/bus/usb# ls -l
> total 0
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 001
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 002
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 003
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 004
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 005
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 006
> dr-xr-xr-x 2 root root 0 2008-03-03 10:41 007
> -r--r--r-- 1 root root 0 2008-03-03 22:30 devices
>
> or am I just someting missing?
Wait, look in the directory for the devices, that is what you are
setting the option for:
$ ls -l /proc/bus/usb/001/
total 0
-rw-rw-r-- 1 root usb 43 Mar 4 13:29 001
-rw-rw-r-- 1 root usb 59 Mar 4 13:29 004
-rw-rw-r-- 1 root usb 52 Mar 4 13:29 007
$ mount | grep usb
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
So I think everything is just fine, right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.6.25 possible regression usbfs options ignored?
2008-03-05 0:03 ` Greg KH
@ 2008-03-05 23:22 ` Lukas Hejtmanek
0 siblings, 0 replies; 4+ messages in thread
From: Lukas Hejtmanek @ 2008-03-05 23:22 UTC (permalink / raw)
To: Greg KH; +Cc: linux-usb, linux-kernel
On Tue, Mar 04, 2008 at 04:03:26PM -0800, Greg KH wrote:
> Wait, look in the directory for the devices, that is what you are
> setting the option for:
> $ ls -l /proc/bus/usb/001/
> total 0
> -rw-rw-r-- 1 root usb 43 Mar 4 13:29 001
> -rw-rw-r-- 1 root usb 59 Mar 4 13:29 004
> -rw-rw-r-- 1 root usb 52 Mar 4 13:29 007
> $ mount | grep usb
> usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
>
> So I think everything is just fine, right?
yes, it's my fault. My usb camera is not working anyway as gthumb now access
/dev/bus/usb/ instead of /proc/bus/usb and there are still wrong permissions in
/dev/bus/usb but it is udev issue. thanks.
--
Lukáš Hejtmánek
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-03-05 23:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-03 21:54 2.6.25 possible regression usbfs options ignored? Lukas Hejtmanek
2008-03-04 23:55 ` Greg KH
2008-03-05 0:03 ` Greg KH
2008-03-05 23:22 ` Lukas Hejtmanek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).