Re: usb-scanner-cameras kernel-2.6.22 and udev-095 problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 16, 2007 at 02:58:22PM -0500, [email protected] wrote:
>  greg
> 
>  CONFIG_SYSFS_DEPRECATED=Y
> 
>  check that we have
>  rwxrwxrwx 1 root root       15 May 16 13:43 scanner-usbdev2.12 -> 
>  bus/usb/002/012
> 
>  in /dev directory after usb-scanner connection for kernel-2.6.20
>  we don't have this for kernel-2.6.22

Who creates that?  udev?  What udev rule does that?

Can you run 'udevtest' to see what is supposed to be matching here?
Odds are you have a broken rule somehow.


> 
>  ----------------------------2.6.20 usb-scanner connect
> 
>  # /usr/sbin/udevmonitor
> 
>  UEVENT[1179340996.886805] 
>  add@/devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.2
>  UEVENT[1179340996.886864] add@/class/usb_endpoint/usbdev2.12_ep00
>  UEVENT[1179340996.887438] 
>  add@/devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.2/2-2.2:1.0
>  UEVENT[1179340996.887467] add@/class/usb_endpoint/usbdev2.12_ep81
>  UEVENT[1179340996.887484] add@/class/usb_endpoint/usbdev2.12_ep02
>  UEVENT[1179340996.887499] add@/class/usb_endpoint/usbdev2.12_ep83
>  UEVENT[1179340996.887514] add@/class/usb_device/usbdev2.12
>  UDEV  [1179340996.921506] 
>  add@/devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.2
>  UDEV  [1179340996.936005] add@/class/usb_endpoint/usbdev2.12_ep00
>  UDEV  [1179340996.960144] add@/class/usb_endpoint/usbdev2.12_ep81
>  UDEV  [1179340996.963672] add@/class/usb_endpoint/usbdev2.12_ep02
>  UDEV  [1179340996.967439] add@/class/usb_endpoint/usbdev2.12_ep83
>  UDEV  [1179340997.240934] 
>  add@/devices/pci0000:00/0000:00:0b.1/usb2/2-2/2-2.2/2-2.2:1.0
>  UDEV  [1179340997.473142] add@/class/usb_device/usbdev2.12

This last device is correct, and what your udev rule should be using to
create your symlink.

You didn't answer my, "what distro are you using" question.  Also, what
package created the udev rule that creates the above symlink?

thanks,

greg k-h

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux