On Sun, Dec 31, 2006 at 10:38:28AM +0100, Duncan Sands wrote:
> 
> > > So can you please
> > > do the following: make sure that usbcore is loaded with usbfs_snoop=1
> > > (usbfs_snoop is a module parameter).  You can do this by (as root)
> > > removing usbcore then reloading it:
> > > 
> > >   rmmod usbcore
> > >   modprobe usbcore usbfs_snoop=1
> > In new kernel I compiled usbcore into kernel, not as a modules. 
> > so IFAIK to load usbcore with parameter, I should append 
> > to kernel commandline usbfs_snoop=1 right ?? 
> 
> No, it should (I think) be: usbcore.usbfs_snoop=1
> There's a general mechanism in the kernel whereby
> parameter p for module m can be specified on the
> kernel command line as m.p
My mistake...

After correction, syslog-ng take aprox. 90% CPU time,
load slightly increased and messages in dmesg changed to:
[...]
usb 1-2: control read: data 00 
usb 1-2: usbdev_ioctl: CONTROL
usb 1-2: control read: bRequest=01 bRrequestType=c0 wValue=000f
wIndex=0000 wLength=0001
usb 1-2: control read: data 00 
usb 1-2: usbdev_ioctl: SUBMITURB
usb 1-2: bulk urb
usb 1-2: submit urb
usb 1-2: direction=IN
usb 1-2: userurb=bf82efec
usb 1-2: transfer_buffer_length=6
usb 1-2: actual_length=0
usb 1-2: data: c0 01 0f 00 00 00 
usb 1-2: usbfs: usb_submit_urb returned -22
usb 1-2: usbdev_ioctl: CONTROL
usb 1-2: control read: bRequest=12 bRrequestType=c0 wValue=0007
wIndex=0000 wLength=0001
usb 1-2: control read: data 20 
usb 1-2: usbdev_ioctl: CONTROL
usb 1-2: control read: bRequest=12 bRrequestType=c0 wValue=000b
wIndex=0000 wLength=0008
usb 1-2: control read: data 00 00 80 02 00 00 a0 00 
usb 1-2: usbdev_ioctl: CONTROL
usb 1-2: control read: bRequest=12 bRrequestType=c0 wValue=000d
wIndex=0000 wLength=0004
usb 1-2: control read: data 00 00 00 00 
usb 1-2: usbdev_ioctl: CONTROL
usb 1-2: control read: bRequest=01 bRrequestType=c0 wValue=000e
wIndex=0000 wLength=0001
usb 1-2: control read: data 00 
usb 1-2: usbdev_ioctl: CONTROL
usb 1-2: control read: bRequest=01 bRrequestType=c0 wValue=000f
wIndex=0000 wLength=0001
[...]

interesting... The problem is reading data from usb. 

-- 
Marek Klon

Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to