doc hat geschrieben:Das mach udev oder mdev automatisch. Der Kernel bekommt durch die Subsysteme mitgeteilt das sich da etwas getan hat und lädt den entsprechenden Treiber, sofern vorhanden und entsprechend konfiguriert (also zum Beispiel nicht geblacklistet), und alarmiert dann den den Hotplugeventhandler. Welcher das ist kannst Du Dir in /proc/sys/kernel/hotplug anschauen. In Seifes Buildsystem wird mdev verwendet (sollte für die AZBox auch so sein).
Eventuell erkennt mdev Deinen Stick nicht richtig?
mdev wird in der Aze verwendet und der Ablauf ist mir bekannt. In der Cooli funktioniert das problemlos,
auch nach einem hardwaremäßigem aus/ein. Nur die Aze macht in deisem Fall Probleme. Kann man das
irgendwie debuggen, was mdev da macht? Ohne rs232, die hat meine Azbox nämlich nicht.
Muss das Device nicht trotzdem aufgelistet werden, wenn man lsusb ausführt?
Oder macht mdev der busybox 1.19.4 eventuell probleme?
Edit:
Ich habe es mal getraced.
1. Trace: HW wird nach dem Einschalten nicht erkannt.
2. Trace: Nach Abziehen und Umstecken auf den 2. USB
Code: Alles auswählen
Tue May 28 22:02:37 CEST 2013
Params: module
Tue May 28 22:02:37 CEST 2013
Params: mum0
ACTION=add
DEVPATH=/module/llad
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=816
SUBSYSTEM=module
ACTION=add
DEVNAME=mum0
DEVPATH=/devices/virtual/mum0/mum0
HOME=/
MAJOR=250
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=818
SUBSYSTEM=mum0
Tue May 28 22:02:37 CEST 2013
Params: class
ACTION=add
DEVPATH=/class/mum0
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=817
SUBSYSTEM=class
Tue May 28 22:02:37 CEST 2013
Params: module
Tue May 28 22:02:37 CEST 2013
Params: em8xxx0
ACTION=add
DEVPATH=/module/em8xxx
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=819
SUBSYSTEM=module
Tue May 28 22:02:37 CEST 2013
Params: class
ACTION=add
DEVNAME=em8xxx0
DEVPATH=/devices/virtual/em8xxx0/em8xxx0
HOME=/
MAJOR=249
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=821
SUBSYSTEM=em8xxx0
ACTION=add
DEVPATH=/class/em8xxx0
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=820
SUBSYSTEM=class
Tue May 28 22:02:37 CEST 2013
Params: module
ACTION=add
DEVPATH=/module/865xi2c
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=822
SUBSYSTEM=module
Tue May 28 22:02:37 CEST 2013
Params: module
ACTION=add
DEVPATH=/module/avl6211
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=823
SUBSYSTEM=module
Tue May 28 22:02:37 CEST 2013
Params: module
ACTION=add
DEVPATH=/module/avl2108
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=824
SUBSYSTEM=module
Tue May 28 22:02:37 CEST 2013
Params: module
Tue May 28 22:02:37 CEST 2013
Params: module
ACTION=add
DEVPATH=/module/mxl241sf
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=825
SUBSYSTEM=module
ACTION=add
DEVPATH=/module/nimdetect
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=826
SUBSYSTEM=module
Tue May 28 22:02:37 CEST 2013
Params: i2c
ACTION=add
DEVPATH=/devices/i2c-0
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=827
SUBSYSTEM=i2c
Tue May 28 22:02:38 CEST 2013
Params: sci0
Tue May 28 22:02:38 CEST 2013
Params: class
ACTION=add
DEVNAME=sci0
DEVPATH=/devices/virtual/sci0/sci0
HOME=/
MAJOR=248
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=830
SUBSYSTEM=sci0
Tue May 28 22:02:38 CEST 2013
ACTION=add
DEVPATH=/class/sci0
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=829
SUBSYSTEM=class
Params: module
ACTION=add
DEVPATH=/module/sci
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=828
SUBSYSTEM=module
Tue May 28 22:02:38 CEST 2013
Params: module
ACTION=add
DEVPATH=/module/865xdvb
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=831
SUBSYSTEM=module
Tue May 28 22:02:42 CEST 2013
Params: frameyuv
Tue May 28 22:02:42 CEST 2013
ACTION=add
DEVNAME=frameyuv
DEVPATH=/devices/virtual/frameyuv/frameyuv
HOME=/
MAJOR=247
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=833
SUBSYSTEM=frameyuv
Params: misc
Tue May 28 22:02:42 CEST 2013
Params: class
ACTION=add
DEVPATH=/class/frameyuv
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=832
SUBSYSTEM=class
Tue May 28 22:02:42 CEST 2013
Params: drivers
Tue May 28 22:02:42 CEST 2013
Params: platform
ACTION=add
DEVNAME=vtuner0
DEVPATH=/devices/virtual/misc/vtuner0
HOME=/
MAJOR=10
MINOR=63
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=834
SUBSYSTEM=misc
ACTION=add
DEVPATH=/devices/platform/em865x_gfx.0
HOME=/
MODALIAS=platform:em865x_gfx
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=836
SUBSYSTEM=platform
ACTION=add
DEVPATH=/bus/platform/drivers/em865x_gfx
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=835
SUBSYSTEM=drivers
Tue May 28 22:02:42 CEST 2013
Params: graphics
Tue May 28 22:02:42 CEST 2013
Tue May 28 22:02:42 CEST 2013
Params: dvb
Params: dvb
ACTION=add
DEVNAME=fb0
DEVPATH=/devices/platform/em865x_gfx.0/graphics/fb0
HOME=/
MAJOR=29
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=837
SUBSYSTEM=graphics
Tue May 28 22:02:42 CEST 2013
Params: dvb
Tue May 28 22:02:42 CEST 2013
Params: dvb
ACTION=add
DEVNAME=dvb/adapter0/frontend0
DEVPATH=/devices/virtual/dvb/dvb0.frontend0
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=0
DVB_DEVICE_TYPE=frontend
HOME=/
MAJOR=212
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=838
SUBSYSTEM=dvb
Tue May 28 22:02:42 CEST 2013
Tue May 28 22:02:42 CEST 2013
Params: misc
Tue May 28 22:02:42 CEST 2013
Params: dvb
ACTION=add
DEVNAME=dvb/adapter0/demux2
DEVPATH=/devices/virtual/dvb/dvb0.demux2
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=2
DVB_DEVICE_TYPE=demux
HOME=/
MAJOR=212
MINOR=5
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=843
SUBSYSTEM=dvb
ACTION=add
DEVNAME=dvb/adapter0/demux1
DEVPATH=/devices/virtual/dvb/dvb0.demux1
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=1
DVB_DEVICE_TYPE=demux
HOME=/
MAJOR=212
MINOR=3
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=841
SUBSYSTEM=dvb
ACTION=add
DEVNAME=dvb/adapter0/dvr0
DEVPATH=/devices/virtual/dvb/dvb0.dvr0
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=0
DVB_DEVICE_TYPE=dvr
HOME=/
MAJOR=212
MINOR=2
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=840
SUBSYSTEM=dvb
Params: dvb
Tue May 28 22:02:42 CEST 2013
Params: dvb
ACTION=add
DEVNAME=dvb/adapter0/dvr1
DEVPATH=/devices/virtual/dvb/dvb0.dvr1
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=1
DVB_DEVICE_TYPE=dvr
HOME=/
MAJOR=212
MINOR=4
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=842
SUBSYSTEM=dvb
Tue May 28 22:02:42 CEST 2013
Params: dvb
ACTION=add
DEVNAME=dvb/adapter0/dvr2
DEVPATH=/devices/virtual/dvb/dvb0.dvr2
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=2
DVB_DEVICE_TYPE=dvr
HOME=/
MAJOR=212
MINOR=6
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=847
SUBSYSTEM=dvb
ACTION=add
DEVNAME=dvb/adapter0/demux0
DEVPATH=/devices/virtual/dvb/dvb0.demux0
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=0
DVB_DEVICE_TYPE=demux
HOME=/
MAJOR=212
MINOR=1
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=839
SUBSYSTEM=dvb
ACTION=add
DEVNAME=pvr
DEVPATH=/devices/virtual/misc/pvr
HOME=/
MAJOR=10
MINOR=62
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=845
SUBSYSTEM=misc
Tue May 28 22:02:42 CEST 2013
Params: dvb
Tue May 28 22:02:42 CEST 2013
Params: dvb
ACTION=add
DEVNAME=dvb/adapter0/dvr2
DEVPATH=/devices/virtual/dvb/dvb0.dvr2
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=2
DVB_DEVICE_TYPE=dvr
HOME=/
MAJOR=212
MINOR=6
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=844
SUBSYSTEM=dvb
Tue May 28 22:02:42 CEST 2013
Params: sound
ACTION=add
DEVNAME=dvb/adapter0/audio0
DEVPATH=/devices/virtual/dvb/dvb0.audio0
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=0
DVB_DEVICE_TYPE=audio
HOME=/
MAJOR=212
MINOR=7
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=848
SUBSYSTEM=dvb
Tue May 28 22:02:42 CEST 2013
Tue May 28 22:02:42 CEST 2013
Tue May 28 22:02:42 CEST 2013
Tue May 28 22:02:42 CEST 2013
Params: dvb
Params: dvb
Params: sound
Params: sound
Tue May 28 22:02:42 CEST 2013
Params: sound
Tue May 28 22:02:42 CEST 2013
Params: sound
Tue May 28 22:02:42 CEST 2013
Params: dvb
ACTION=add
DEVNAME=dsp
DEVPATH=/devices/virtual/sound/card0/dsp
HOME=/
MAJOR=14
MINOR=3
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=854
SUBSYSTEM=sound
ACTION=add
DEVNAME=dvb/adapter0/ca1
DEVPATH=/devices/virtual/dvb/dvb0.ca1
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=1
DVB_DEVICE_TYPE=ca
HOME=/
MAJOR=212
MINOR=10
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=851
SUBSYSTEM=dvb
Tue May 28 22:02:42 CEST 2013
Params: sound
ACTION=add
DEVNAME=dvb/adapter0/video0
DEVPATH=/devices/virtual/dvb/dvb0.video0
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=0
DVB_DEVICE_TYPE=video
HOME=/
MAJOR=212
MINOR=8
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=849
SUBSYSTEM=dvb
ACTION=add
DEVNAME=snd/controlC0
DEVPATH=/devices/virtual/sound/card0/controlC0
HOME=/
MAJOR=116
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=856
SUBSYSTEM=sound
ACTION=add
DEVPATH=/devices/virtual/sound/card0
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=852
SUBSYSTEM=sound
ACTION=remove
DEVNAME=dvb/adapter0/dvr2
DEVPATH=/devices/virtual/dvb/dvb0.dvr2
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=2
DVB_DEVICE_TYPE=dvr
HOME=/
MAJOR=212
MINOR=6
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=846
SUBSYSTEM=dvb
ACTION=add
DEVNAME=dvb/adapter0/ca0
DEVPATH=/devices/virtual/dvb/dvb0.ca0
DVB_ADAPTER_NUM=0
DVB_DEVICE_NUM=0
DVB_DEVICE_TYPE=ca
HOME=/
MAJOR=212
MINOR=9
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=850
SUBSYSTEM=dvb
ACTION=add
DEVNAME=snd/pcmC0D0p
DEVPATH=/devices/virtual/sound/card0/pcmC0D0p
HOME=/
MAJOR=116
MINOR=16
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=853
SUBSYSTEM=sound
ACTION=add
DEVNAME=mixer
DEVPATH=/devices/virtual/sound/card0/mixer
HOME=/
MAJOR=14
MINOR=0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=857
SUBSYSTEM=sound
ACTION=add
DEVNAME=audio
DEVPATH=/devices/virtual/sound/card0/audio
HOME=/
MAJOR=14
MINOR=4
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=855
SUBSYSTEM=sound
Tue May 28 22:02:43 CEST 2013
Params: module
ACTION=add
DEVPATH=/module/cifs
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=858
SUBSYSTEM=module
Tue May 28 22:02:43 CEST 2013
Params: drivers
Tue May 28 22:02:43 CEST 2013
Params: module
ACTION=add
DEVPATH=/bus/usb/drivers/rtl819xU
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=860
SUBSYSTEM=drivers
ACTION=add
DEVPATH=/module/r8192u_usb
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=859
SUBSYSTEM=module
Tue May 28 22:02:43 CEST 2013
Params: drivers
Tue May 28 22:02:43 CEST 2013
Params: module
ACTION=add
DEVPATH=/bus/usb/drivers/rtl8192cu
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=862
SUBSYSTEM=drivers
ACTION=add
DEVPATH=/module/8192cu
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=861
SUBSYSTEM=module
Tue May 28 22:03:49 CEST 2013
Params: firmware
ACTION=add
ASYNC=0
DEVPATH=/devices/i2c-0/firmware/i2c-0
FIRMWARE=dvb-fe-avl2108.fw
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=863
SUBSYSTEM=firmware
TIMEOUT=60
Tue May 28 22:03:50 CEST 2013
Params: firmware
ACTION=remove
ASYNC=0
DEVPATH=/devices/i2c-0/firmware/i2c-0
FIRMWARE=dvb-fe-avl2108.fw
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=864
SUBSYSTEM=firmware
TIMEOUT=60
2.
Code: Alles auswählen
Tue May 28 22:15:52 CEST 2013
Params: usb
Tue May 28 22:15:52 CEST 2013
Params: usb
ACTION=add
DEVICE=/proc/bus/usb/001/004
DEVPATH=/devices/platform/tangox-ehci-hcd-0/usb1/1-1/1-1.1/1-1.1:1.0
DEVTYPE=usb_interface
HOME=/
INTERFACE=255/255/255
MODALIAS=usb:v0BDAp8176d0200dc00dsc00dp00icFFiscFFipFF
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PRODUCT=bda/8176/200
PWD=/
SEQNUM=866
SUBSYSTEM=usb
TYPE=0/0/0
ACTION=add
BUSNUM=001
DEVICE=/proc/bus/usb/001/004
DEVNAME=bus/usb/001/004
DEVNUM=004
DEVPATH=/devices/platform/tangox-ehci-hcd-0/usb1/1-1/1-1.1
DEVTYPE=usb_device
HOME=/
MAJOR=189
MINOR=3
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PRODUCT=bda/8176/200
PWD=/
SEQNUM=865
SUBSYSTEM=usb
TYPE=0/0/0
Tue May 28 22:15:52 CEST 2013
Params: queues
Tue May 28 22:15:52 CEST 2013
Params: net
ACTION=add
DEVPATH=/devices/platform/tangox-ehci-hcd-0/usb1/1-1/1-1.1/1-1.1:1.0/net/wlan0/queues/tx-0
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=868
SUBSYSTEM=queues
ACTION=add
DEVPATH=/devices/platform/tangox-ehci-hcd-0/usb1/1-1/1-1.1/1-1.1:1.0/net/wlan0
HOME=/
IFINDEX=3
INTERFACE=wlan0
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=867
SUBSYSTEM=net
Tue May 28 22:15:52 CEST 2013
Params: usb_device
ACTION=add
DEVNAME=usbdev1.4
DEVPATH=/devices/platform/tangox-ehci-hcd-0/usb1/1-1/1-1.1/usb_device/usbdev1.4
HOME=/
MAJOR=189
MINOR=3
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PWD=/
SEQNUM=869
SUBSYSTEM=usb_device