Hi, everyone
I'm looking for codes which makes dev files (for example, /dev/usb/lp0
for usb printer) of USB character devices.
Is it udev or kernel driver module?
If it is udev, how does it determine the major and minor number of the
device?
The uevent message from kernel for usb printer seems not to include the
information on the major and minor numbers.
Captured uevent message for usb printer was like this :
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:1d.3/usb4/4-2/4-2:1.0
SUBSYSTEM=usb
DEVTYPE=usb_interface
DRIVER=usblp
PHYSDEVBUS=usb
PHYSDEVDRIVER=usblp
DEVICE=/proc/bus/usb/004/002
PRODUCT=3f0/8604/100
TYPE=0/0/0
INTERFACE=7/1/2
MODALIAS=usb:v03F0p8604d0100dc00dsc00dp00ic07isc01ip02
SEQNUM=940
Please let me know which routines makes dev files for usb character devices.
Thanks in advance.
Regards,
J.H.Kim
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ