On 13/09/13(Fri) 10:17, David Coppa wrote:
> 
> While debugging a problem with pcscd from security/pcsc-lite
> 
> 06361622 hotplug_libusb.c:514:HPAddHotPluggable() Adding USB device: 3:2:0
> 00000191 hotplug_libusb.c:558:HPAddHotPluggable() libusb_open failed: -4
> 
> We (Damien and me) quickly found that the cause was:
> 
>  16097 pcscd    GIO   fd 1 wrote 75 bytes
>        "04421857 hotplug_libusb.c:514:HPAddHotPluggable() Adding USB device: 
> 3:2:0"
>  16097 pcscd    RET   write 75/0x4b
>  16097 pcscd    CALL  open(0x74d05fa7bd0,0x2<O_RDWR>)
>  16097 pcscd    NAMI  "/dev/ugen2.00"

Out of curiosity, can I see the dmesg for this machine?  I'd like to
know which devices attach at ugen(4).

>  16097 pcscd    RET   open -1 errno 2 No such file or directory
>  16097 pcscd    CALL  gettimeofday(0x74d05fa7320,0)
>  16097 pcscd    STRU  struct timeval { 1379032621.501928 }
>  16097 pcscd    RET   gettimeofday 0
>  16097 pcscd    CALL  write(0x1,0x74cfc0cc000,0x49)
>  16097 pcscd    GIO   fd 1 wrote 73 bytes
>        "00000157 hotplug_libusb.c:558:HPAddHotPluggable() libusb_open failed: 
> -4"
> 
> I think only two /dev/ugen* are too few, what about increasing the
> number a bit?

Makes sense to me, it's not too difficult to have more than 2 usb
devices attached as ugen(4) these days, for example a scanner,
a camera and a music player...

> 
> Index: MAKEDEV.common
> ===================================================================
> RCS file: /cvs/src/etc/MAKEDEV.common,v
> retrieving revision 1.70
> diff -u -p -u -p -r1.70 MAKEDEV.common
> --- MAKEDEV.common    5 Sep 2013 06:36:16 -0000       1.70
> +++ MAKEDEV.common    13 Sep 2013 08:14:54 -0000
> @@ -183,7 +183,7 @@ target(usb, usb, 0, 1, 2, 3, 4, 5, 6, 7)
>  target(usb, urio, 0)dnl
>  target(usb, uhid, 0, 1, 2, 3)dnl
>  target(usb, ulpt, 0, 1)dnl
> -target(usb, ugen, 0, 1)dnl
> +target(usb, ugen, 0, 1, 2, 3)dnl
>  target(usb, ttyU, 0, 1, 2, 3)dnl
>  dnl
>  __devitem({-uall-}, uall, All USB devices,usb)dnl

Reply via email to