On Sun, 3 Jun 2007, Oliver Neukum wrote:

> Am Sonntag, 3. Juni 2007 12:36 schrieb Justin Piszcz:
>>
>> On Sun, 3 Jun 2007, Jiri Kosina wrote:
>>
>>> On Sat, 2 Jun 2007, Justin Piszcz wrote:
>
>>>> failed to claim USB device, trying 2 more time(s)...
>>>> detaching kernel driver from USB device...
>>>
>>> Could you please provide strace outputs (or put it on the web somewhere if
>>> it's too big) for the failing and succeeding claiming of the device?
>
> static int usbdev_ioctl(struct inode *inode, struct file *file, unsigned int 
> cmd, unsigned long arg)
> {
>       struct dev_state *ps = file->private_data;
>       struct usb_device *dev = ps->dev;
>       void __user *p = (void __user *)arg;
>       int ret = -ENOTTY;
>
>       if (!(file->f_mode & FMODE_WRITE))
>               return -EPERM;
>
> That check fails as your application falls back to opening read only in
> case of insufficient permissions. Did you change some udev rules?
>
>       Regards
>               Oliver
>

Nope and just to verify that I made sure I tested this a couple times. 
Booted 2.6.21.3 no problems, then booted 2.6.23-rc3 w/out your patch, 
problem happens again.

Justin.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to