public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] Devices.txt, update with LANANA
       [not found] <200502021845.j12Ij99X030188@hera.kernel.org>
@ 2005-02-03  8:52 ` Olaf Hering
  2005-02-03 17:57 ` Greg KH
  1 sibling, 0 replies; 4+ messages in thread
From: Olaf Hering @ 2005-02-03  8:52 UTC (permalink / raw)
  To: Linux Kernel Mailing List

 On Thu, Feb 03, Linux Kernel Mailing List wrote:

> ChangeSet 1.1992.2.74, 2005/02/02 08:48:39-08:00, torben.mathiasen@hp.com
> 
> 	[PATCH] Devices.txt, update with LANANA
> 	
> 	Attached is diff for bringing devices.txt uptodate with lanana.
> 	
> 	Please note: The devices.txt file in your tree will now be for 2.6+ kernels
> 	only.  2.6 specific allocations will now be given out more freely, and some
> 	of the stuff marked for obsolete for 2.6 has been removed.  I put a note in
> 	the file to let people know its for 2.6+ kernels only.
...
> @@ -2554,23 +2555,11 @@
>  		 65 = /dev/usb/usblcd	USBLCD Interface (info@usblcd.de)
>  		 66 = /dev/usb/cpad0	Synaptics cPad (mouse/LCD)
>  
> -		 96 = /dev/usb/hiddev0	1st USB HID device
> -		    ...
> -		111 = /dev/usb/hiddev15	16th USB HID device
> -		112 = /dev/usb/auer0	1st auerswald ISDN device
> -		    ...
> -		127 = /dev/usb/auer15	16th auerswald ISDN device
> -		128 = /dev/usb/brlvgr0	First Braille Voyager device
> -		    ...
> -		131 = /dev/usb/brlvgr3	Fourth Braille Voyager device
> -		132 = /dev/usb/idmouse	ID Mouse (fingerprint scanner) device
> -		144 = /dev/usb/lcd	USB LCD device
> -		160 = /dev/usb/legousbtower0	1st USB Legotower device
> -		    ...
> -		175 = /dev/usb/legousbtower15	16th USB Legotower device
> -		240 = /dev/usb/dabusb0	First daubusb device
> -		    ...
> -		243 = /dev/usb/dabusb3	Fourth dabusb device

I still see legousbtower registered in drivers/usb/misc/legousbtower.c.
Are you sure about these changes? Also, do the names in this document
match the names registered with sysfs (new mga_* stuff etc)?
I found a few sysfs entries that differ from devices.txt:
# misc devices
# 183 = /dev/hwrng        Generic random number generator
KERNEL="hw_random",     NAME="hwrng", SYMLINK="%k"
# 219 = /dev/modems/mwave MWave modem firmware upload
KERNEL="mwave",         NAME="modems/%k"
# 169 = /dev/specialix_rioctl Specialix RIO serial control
KERNEL="rioctl",        NAME="specialix_rioctl", SYMLINK="%k"
# 167 = /dev/specialix_sxctl Specialix serial control
KERNEL="sxctl",         NAME="specialix_sxctl", SYMLINK="%k"



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Devices.txt, update with LANANA
       [not found] <200502021845.j12Ij99X030188@hera.kernel.org>
  2005-02-03  8:52 ` [PATCH] Devices.txt, update with LANANA Olaf Hering
@ 2005-02-03 17:57 ` Greg KH
  2005-02-03 19:56   ` Jeff Garzik
  2005-02-04 12:02   ` Torben Mathiasen
  1 sibling, 2 replies; 4+ messages in thread
From: Greg KH @ 2005-02-03 17:57 UTC (permalink / raw)
  To: Linux Kernel Mailing List, torben.mathiasen; +Cc: linux-usb-devel

On Wed, Feb 02, 2005 at 04:48:39PM +0000, Linux Kernel Mailing List wrote:
> ChangeSet 1.1992.2.74, 2005/02/02 08:48:39-08:00, torben.mathiasen@hp.com
> 
> 	[PATCH] Devices.txt, update with LANANA
> 	
> 	Attached is diff for bringing devices.txt uptodate with lanana.
> 	
> 	Please note: The devices.txt file in your tree will now be for 2.6+ kernels
> 	only.  2.6 specific allocations will now be given out more freely, and some
> 	of the stuff marked for obsolete for 2.6 has been removed.  I put a note in
> 	the file to let people know its for 2.6+ kernels only.
> 	
> 	I wanted to rename the new file to devices-2.6+.txt and then make a link
> 	from the old devices.txt to this new file, but diffing it became too ugly.

<snip>

> @@ -2546,7 +2542,12 @@
>  		  0 = /dev/usb/lp0	First USB printer
>  		    ...
>  		 15 = /dev/usb/lp15	16th USB printer
> -		 32 = /dev/usb/mdc800	MDC800 USB camera
> +		 16 = /dev/usb/mouse0	First USB mouse
> +		    ...
> +		 31 = /dev/usb/mouse15	16th USB mouse
> +		 32 = /dev/usb/ez0	First USB firmware loader
> +		    ...
> +		 47 = /dev/usb/ez15	16th USB firmware loader
>  		 48 = /dev/usb/scanner0	First USB scanner
>  		    ...
>  		 63 = /dev/usb/scanner15 16th USB scanner
> @@ -2554,23 +2555,11 @@
>  		 65 = /dev/usb/usblcd	USBLCD Interface (info@usblcd.de)
>  		 66 = /dev/usb/cpad0	Synaptics cPad (mouse/LCD)
>  
> -		 96 = /dev/usb/hiddev0	1st USB HID device
> -		    ...
> -		111 = /dev/usb/hiddev15	16th USB HID device
> -		112 = /dev/usb/auer0	1st auerswald ISDN device
> -		    ...
> -		127 = /dev/usb/auer15	16th auerswald ISDN device
> -		128 = /dev/usb/brlvgr0	First Braille Voyager device
> -		    ...
> -		131 = /dev/usb/brlvgr3	Fourth Braille Voyager device
> -		132 = /dev/usb/idmouse	ID Mouse (fingerprint scanner) device
> -		144 = /dev/usb/lcd	USB LCD device
> -		160 = /dev/usb/legousbtower0	1st USB Legotower device
> -		    ...
> -		175 = /dev/usb/legousbtower15	16th USB Legotower device
> -		240 = /dev/usb/dabusb0	First daubusb device
> -		    ...
> -		243 = /dev/usb/dabusb3	Fourth dabusb device

Hm, this is just wrong.  As I recall, LANANA is in charge of the major
numbers, but for the USB major, the USB developers have been assigning
the USB minors.  This patch just made the file different from what is
currently present in the kernel.

Should I just submit a patch to LANANA to update the USB minors for
their copy so this doesn't happen again?

I'll also fix this up in mainline in the next round of USB patches...

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Devices.txt, update with LANANA
  2005-02-03 17:57 ` Greg KH
@ 2005-02-03 19:56   ` Jeff Garzik
  2005-02-04 12:02   ` Torben Mathiasen
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2005-02-03 19:56 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux Kernel Mailing List, torben.mathiasen, linux-usb-devel

Greg KH wrote:
> On Wed, Feb 02, 2005 at 04:48:39PM +0000, Linux Kernel Mailing List wrote:
> 
>>ChangeSet 1.1992.2.74, 2005/02/02 08:48:39-08:00, torben.mathiasen@hp.com
>>
>>	[PATCH] Devices.txt, update with LANANA
>>	
>>	Attached is diff for bringing devices.txt uptodate with lanana.
>>	
>>	Please note: The devices.txt file in your tree will now be for 2.6+ kernels
>>	only.  2.6 specific allocations will now be given out more freely, and some
>>	of the stuff marked for obsolete for 2.6 has been removed.  I put a note in
>>	the file to let people know its for 2.6+ kernels only.
>>	
>>	I wanted to rename the new file to devices-2.6+.txt and then make a link
>>	from the old devices.txt to this new file, but diffing it became too ugly.
> 
> 
> <snip>
> 
>>@@ -2546,7 +2542,12 @@
>> 		  0 = /dev/usb/lp0	First USB printer
>> 		    ...
>> 		 15 = /dev/usb/lp15	16th USB printer
>>-		 32 = /dev/usb/mdc800	MDC800 USB camera
>>+		 16 = /dev/usb/mouse0	First USB mouse
>>+		    ...
>>+		 31 = /dev/usb/mouse15	16th USB mouse
>>+		 32 = /dev/usb/ez0	First USB firmware loader
>>+		    ...
>>+		 47 = /dev/usb/ez15	16th USB firmware loader
>> 		 48 = /dev/usb/scanner0	First USB scanner
>> 		    ...
>> 		 63 = /dev/usb/scanner15 16th USB scanner
>>@@ -2554,23 +2555,11 @@
>> 		 65 = /dev/usb/usblcd	USBLCD Interface (info@usblcd.de)
>> 		 66 = /dev/usb/cpad0	Synaptics cPad (mouse/LCD)
>> 
>>-		 96 = /dev/usb/hiddev0	1st USB HID device
>>-		    ...
>>-		111 = /dev/usb/hiddev15	16th USB HID device
>>-		112 = /dev/usb/auer0	1st auerswald ISDN device
>>-		    ...
>>-		127 = /dev/usb/auer15	16th auerswald ISDN device
>>-		128 = /dev/usb/brlvgr0	First Braille Voyager device
>>-		    ...
>>-		131 = /dev/usb/brlvgr3	Fourth Braille Voyager device
>>-		132 = /dev/usb/idmouse	ID Mouse (fingerprint scanner) device
>>-		144 = /dev/usb/lcd	USB LCD device
>>-		160 = /dev/usb/legousbtower0	1st USB Legotower device
>>-		    ...
>>-		175 = /dev/usb/legousbtower15	16th USB Legotower device
>>-		240 = /dev/usb/dabusb0	First daubusb device
>>-		    ...
>>-		243 = /dev/usb/dabusb3	Fourth dabusb device
> 
> 
> Hm, this is just wrong.  As I recall, LANANA is in charge of the major
> numbers, but for the USB major, the USB developers have been assigning
> the USB minors.  This patch just made the file different from what is
> currently present in the kernel.
> 
> Should I just submit a patch to LANANA to update the USB minors for
> their copy so this doesn't happen again?

In general the policy has been:  submit to LANANA any changes to 
devices.txt, which they maintain.

So, they are the maintainer of major numbers, but also the maintainer of 
devices.txt.

	Jeff




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Devices.txt, update with LANANA
  2005-02-03 17:57 ` Greg KH
  2005-02-03 19:56   ` Jeff Garzik
@ 2005-02-04 12:02   ` Torben Mathiasen
  1 sibling, 0 replies; 4+ messages in thread
From: Torben Mathiasen @ 2005-02-04 12:02 UTC (permalink / raw)
  To: Greg KH; +Cc: Linux Kernel Mailing List, torben.mathiasen, linux-usb-devel

On Thu, Feb 03 2005, Greg KH wrote:

<snip>

> Hm, this is just wrong.  As I recall, LANANA is in charge of the major
> numbers, but for the USB major, the USB developers have been assigning
> the USB minors.  This patch just made the file different from what is
> currently present in the kernel.
> 
> Should I just submit a patch to LANANA to update the USB minors for
> their copy so this doesn't happen again?
>

Yes please!. Since the devices file at lanana.org is the one being merged into
the one in the kernel tree, please send future updates to lanana and it'll go
in that way.

Thanks,
Torben

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-04 12:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200502021845.j12Ij99X030188@hera.kernel.org>
2005-02-03  8:52 ` [PATCH] Devices.txt, update with LANANA Olaf Hering
2005-02-03 17:57 ` Greg KH
2005-02-03 19:56   ` Jeff Garzik
2005-02-04 12:02   ` Torben Mathiasen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox