Re: APC USB ups, Back-UPS ES series, 2.5.68

From: David Ford (david+powerix@blue-labs.org)
Date: Mon May 05 2003 - 20:42:37 EST


I haven't had time to look at it and try to debug it. The 96 v.s. 192
minor look like it's exactly 128 too high. Perhaps it's a simple fix?

David

David Ford wrote:

> Yep...a simple fact that I overlooked. This is a devfs created file
> so the kernel is at fault. Looks like it's off by 128.
>
>>>
>>> ~# ls -l /dev/usb/hid
>>> total 0
>>> crw-r--r-- 1 root root 180, 192 Dec 31 1969 hiddev96
>>> crw-r--r-- 1 root root 180, 193 Dec 31 1969 hiddev97
>>>
>>
>>
>> Huh? /dev/usb/hiddev0 is major 180, minor 96. So the kernel asked for
>> minor 96 and it got it. Why are you trying to connect to minor number
>> 192?
>

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



This archive was generated by hypermail 2b29 : Wed May 07 2003 - 22:00:24 EST