You are not logged in.

#76 2005-11-19 16:00:25

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

new hwdetect launched in initscripts-9, now the modprobe.conf entries are not necessary anymore.
greetings
tpowa

Offline

#77 2005-11-22 02:29:10

normc
Member
From: Ottawa, Canada
Registered: 2004-06-28
Posts: 277
Website

Re: Tpowa's "Simple Hardware Detection"

I started using hwdetect a little while ago, no problems when I remember the permissions  :oops:.  I just loaded the latest · initscripts 0.7.1-10. After putting the correct line in rc.conf (thanks knoppix), I notice that everything runs faster, kde 3.5  firefox 1.5 etc.
THANKS!!!


Norm

Offline

#78 2005-11-22 06:42:08

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Tpowa's "Simple Hardware Detection"

Worked perfectly here, thanks tpowa big_smile


I am a gated community.

Offline

#79 2005-11-23 03:29:46

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: Tpowa's "Simple Hardware Detection"

Great app. Thanks tpowa!!!!


All your base are belong to us

Offline

#80 2005-11-23 03:32:09

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;
Have hwdetect in both 2.6.14 and 2.6.13 kernels.

While operating the 2.6.13 kernel prior to install of hwdetect and initscripts -10, I was able to utilize USB audio via the USB system and the KDE mixer set to USB pcm format.  I noted that the USB device began blinking its indicator led at one second or so intervals when the KDE elements were loaded during boot.  The device in use is an SIIG optical/analog USB audio unit.


After loading the hwdetect and initscripts into 2.6.13, the KDE interface during boot does not energize the indicator light and USB audio is inoperative.

The same conditions are extant when using kernel 2.6.14 but it did not provide the USB audio even without the hwdetect and initscripts.  The SIIG indicator led never blinks but remains lighted.

The USB mouse scrolls in kernel 2.6.13 but has never scrolled in kernel 2.6.14 with or without hwdetect and initscipts.

root@n6re ~]# lsmod
Module                  Size  Used by
radeon                 78080  1
drm                    62740  2 radeon
cramfs                 40948  1
audio                  46592  0
usb_storage            63680  0
usbhid                 46368  0
sbp2                   22152  0
ohci1394               33716  0
eth1394                18568  0
ieee1394               91352  3 sbp2,ohci1394,eth1394
uhci_hcd               32144  0
ehci_hcd               32904  0
ppp_generic            27796  0
slhc                    6656  1 ppp_generic
ne2k_pci                9184  0
via_ircc               24724  0
irda                  128568  1 via_ircc
8390                    9344  1 ne2k_pci
snd_cmipci             32800  3
snd_opl3_lib            9728  1 snd_cmipci
snd_mpu401_uart         6656  1 snd_cmipci
snd_usb_audio          74816  1
snd_usb_lib            14976  1 snd_usb_audio
usbcore               114300  8 audio,usb_storage,usbhid,uhci_hcd,ehci_hcd,snd_usb_audio,snd_usb_lib
snd_rawmidi            21408  2 snd_mpu401_uart,snd_usb_lib
snd_hwdep               7840  2 snd_opl3_lib,snd_usb_audio
snd_seq_oss            33664  0
snd_seq_midi_event      6400  1 snd_seq_oss
snd_seq                52368  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          7436  4 snd_opl3_lib,snd_rawmidi,snd_seq_oss,snd_seq
snd_pcm_oss            51104  0
snd_pcm                84868  4 snd_cmipci,snd_usb_audio,snd_pcm_oss
snd_timer              22660  4 snd_opl3_lib,snd_seq,snd_pcm
snd_page_alloc          8840  1 snd_pcm
snd_mixer_oss          18432  1 snd_pcm_oss
snd                    49380  19 snd_cmipci,snd_opl3_lib,snd_mpu401_uart,snd_usb_audio,snd_rawmidi,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore               8032  2 audio,snd
crc_ccitt               2176  1 irda
pci_hotplug            27204  0
parport_pc             26308  1
pcspkr                  3680  0
gameport               12552  1 snd_cmipci
i2c_viapro              7312  0
i2c_core               18560  1 i2c_viapro
rtc                    10808  0
ppdev                   7940  0
lp                      9860  0
parport                33864  3 parport_pc,ppdev,lp
via_agp                 8192  1
agpgart                30160  2 drm,via_agp
ntfs                  202768  0
evdev                   7936  0
tsdev                   6336  0

Edit:The above is kernel 2.6.13...........below is the listing of hwdetect therein;

============================================
[root@n6re ~]# usbview
[root@n6re ~]# hwdetect -show-modules
AGP    : agpgart via-agp
USB    : usb-storage usbhid audio usbcore ehci-hcd uhci-hcd snd-usb-audio snd-usb-lib
FW     : eth1394 ieee1394 ohci1394 sbp2
NET    : 8390 via-ircc ne2k-pci ppp_generic slhc irda
SOUND  : snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-hwdep snd-page-alloc snd-rawmidi snd-timer snd snd-mpu401-uart snd-opl3-lib snd-cmipci soundcore snd-usb-audio snd-usb-lib
OTHER  : lp ppdev rtc i2c-viapro i2c-core evdev gameport pcspkr parport parport_pc pci_hotplug shpchp crc-ccitt
[root@n6re ~]#

Perhaps the above data will help....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#81 2005-11-23 04:52:02

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Do not know what changed things but after loading hwdetect, initscripts -10 and ....tune2fs -O dir_index /dev/hda3...and shutdown -F -r now... my system responds to MPlayer and KMplayer whereas before in this kernel I was unable to use either (Kernel 2.6.13)

I am going to test kernel 2.6.14 for the same problem existed there.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#82 2005-11-23 05:40:07

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Downloaded mplayer and kmplayer into kernel 2.6.14 with hwdetect and initscripts-10 already installed and both mplayer and kmplayer performed correctly.  It seems the hwdetect with initscripts solves the mplayer problem I experienced with both kernels.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#83 2005-11-23 06:14:57

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

lilsirecho: could it be that you are running kde from testing repo and that get updated?
new kdemultimedia is bugged with arts output and cna'T play mp3 or ogg files.
btw is your system now correct working, beside the audio problem?
thanks
greetings
tpowa

Offline

#84 2005-11-23 06:23:19

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Thanks for response and the comments.  I suspect that the kde area may be the culprit however the downloads for kde were made some time ago.

The scroll wheel on the mouse doesn't work in kernel 2.6.14 still.

I am running normally for all the elements I have encountered except the mouse.  It performs correctly in kernel 2.6.13.

Thanks for the upgrades .  Might try the new gui for pacman being discussed.. big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#85 2005-11-23 11:25:17

IceRAM
Member
From: Bucharest, Romania
Registered: 2004-03-04
Posts: 772
Website

Re: Tpowa's "Simple Hardware Detection"

10x tpowa

2 tiny suggestions:
a) would it be possible to add an argument to hwdetect like... "--list-modules"... that would create a list with space separated module names, usable in... /etc/rc.conf for example (or even create directly a "MODULES=(...)" line).

b) would it be possible to change the params from "-long-param-name" to "--long-param-name", as the POSIX conventions say? (or.. at least that's what I know) I kept wondering why "hwdetec --show-modules" didn't work for me...

Offline

#86 2005-11-23 12:56:39

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

implemented now with --show-modules-order
greetings
tpowa

Offline

#87 2005-11-23 18:16:00

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Wonders never cease....

Downloaded pacman -Syu for initscripts -12 and some alsa upgrades.

I lost mplayer after the initscripts re-install in rcsysinit and reboot in kernel 2.6.13.  The USB audio operates through the kde mixer but the kde mixer no longer has the pci audio option available.

In kernel 2.6.14, downloaded via pacman also and installed initscripts -12. and added the lines to rcsysinit.

After reboot, lost  usb mouse and received arts  sound message. Cannot run kernel 2.6.14 as a result.

Perhaps this info is of interest to your project.

Perhaps I can restore my 2.6.14?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#88 2005-11-24 05:39:55

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Tpowa's "Simple Hardware Detection"

I think there's something modprobed that shouldn't be:

ppp_generic            27796  0
slhc                    6656  1 ppp_generic

My system does not have a dialup modem anywhere in it. :?

Offline

#89 2005-11-24 06:33:02

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

this gets loaded if you have serial ports, you can safely blacklist them.

Offline

#90 2005-11-24 15:53:48

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Additional remarks regarding -12 initscripts...

The hwdetect -show-modules command fails to display modules..Hwdetect -show-modules-order... also fails....kernel 2.6.13...

Unable to run kernel 2.6.14 due to loss of USB mouse and USB keyboard after install of initscripts -12.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#91 2005-11-24 15:58:31

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

the command scheme has change to -- syntax, use --yourfavouriteoption
greetings
tpowa

Offline

#92 2005-11-24 16:06:13

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

would be nice if you would post your modules in rc.conf and what hwdetect --show-module-order shows on 2.6.14, thanks

Offline

#93 2005-11-24 16:25:49

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Tpowa's "Simple Hardware Detection"

Wow... This detects serial port stuff too? :shock: Tpowa, your script kicks ass.

Offline

#94 2005-11-24 17:15:04

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Unable to enter hwdetect -show-modules-order in kernel 2.6.14 since I have no mouse nor keyboard(USB not functioning).

Rcconf modules list:
MODULES=(!usbserial !ide-scsi ne2k-pci snd-usb-audio cramfs fuse)

Tried using the CD 0.7.1 but does not load to system via the prompt entry.....arch root=/dev/hda3....

The CD boot then enters vmlinuz followed by initrd but does not load the system, ending up in arch install prompt.

Attempts to run hwdetect after chroot unsuccessful, requires /sys mount.

Is there a way to revert to initscripts -10?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#95 2005-11-24 17:23:51

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Just received the syntax message and re-ran hwdetect --show-modules-order but it is in kernel 2.6.13.

Kernel 2.6.13 has lost mplayer in initscripts -12.

[root@n6re ~]# hwdetect --show-modules-order
MODULES ORDER: agpgart via-agp lp ppdev rtc i2c-viapro i2c-core evdev gameport pcspkr parport parport_pc pci_hotplug shpchp crc-ccitt snd-mixer-oss snd-pcm-oss snd-seq-oss snd-seq-device snd-seq-midi-event snd-hwdep snd-page-alloc snd-rawmidi snd-timer snd snd-mpu401-uart snd-opl3-lib snd-cmipci soundcore 8390 via-ircc ne2k-pci ppp_generic slhc irda usb-storage usbhid audio usbcore ehci-hcd uhci-hcd snd-usb-audio snd-usb-lib eth1394 ieee1394 ohci1394 sbp2
[root@n6re ~]#
Am unable to do the same for kernel 2.6.14.

Kmix has no pci option only USB audio.

Hope this helps!


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#96 2005-11-24 17:47:22

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,328

Re: Tpowa's "Simple Hardware Detection"

my suggestion, try to not load anything in your modules array, let hwdetect do the job, perhaps you confuse it, all your modules are listed so it should work with hwdetect.
usbhid is needed for usb input devices that is also listed so it should work.
Else try to add usbhid to modules array then should work.

EDIT:
have you cleaned modprobe.conf from stupid alsa entries, new kernels can make trouble with old values in modprobe.conf

Offline

#97 2005-11-24 18:11:34

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Removed all modules from rcconf in kernel 2.6.13 system which was operating but had no mplayer after -12 initscripts.

That system now acts the same as kernel 2.6.14 which has no USB support.

I address this post from Knoppix.

Question: what action is now to be taken to enable modules from the kernel, such as fuse and cramfs?  These were removed per your advice.

I assume I require usbhid in rcconf modules to establish the USB firstly.  Perhaps there might be more needed?

I assume that entry of corrections in this kernel (-13) will be useable in restoring (-14) system.

I appreciate your responses big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#98 2005-11-24 18:46:42

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tpowa;

Note your EDIT and report that modprobe.conf has no stupid entries as previous posts reported so no changes were initiated therein.

I will try USBHID in kernel 2.6.13 via chroot to rc.conf.

Report later....


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#99 2005-11-24 19:12:28

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

Inserted .,..usb-hid into rc.conf modules with archCD chroot...verified in this boot of Knoppix.

The kernel 2.6.13 system with the above entry on rc.conf did not provide usb control with the keyboard and mouse after the KDE boot sequence completed.  The arch linux log-in was completed with the keyboard, however and it occurs before the kde boot-up.

What further changes in rc.conf will be required?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#100 2005-11-24 19:54:27

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

Will try usbhid again since I entered it incorrectly...sorry :oops:


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

Board footer

Powered by FluxBB