Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Nov 2014, 23:14
All times are UTC - 4
 Forum index » Advanced Topics » Hardware
usb mouse not recognized at boot after modem-modprobe_fix
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Robotop


Joined: 08 Dec 2009
Posts: 34
Location: Italy

PostPosted: Thu 18 Aug 2011, 12:19    Post_subject:  usb mouse not recognized at boot after modem-modprobe_fix
Sub_title: [SOLVED]
 

Hello, I'm using Puppy 4.3.1 on Alix-1D motherboard. I decided to install the modem-modprobe_fix_pack_to_43x-lupu5x-20110702.pet for using USB 3G modem. All worked fine, but the usb mouse is no more recognized at boot. I have to detach and then reinsert the USB connector in the socket to have it working. I suppose the necessary modules have been loaded, 'cause the mouse works just detaching and reconnecting to USB (hot plug).
Any suggestion to make it work at boot ?
Due to limited hardware resources I used the "old" kernel version 2.6.21.7 and Xvesa, not Xorg.
Thank you in advance...

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
bigpup


Joined: 11 Oct 2009
Posts: 5386
Location: Charleston S.C. USA

PostPosted: Thu 18 Aug 2011, 16:39    Post_subject:  

Not sure if this is where it is in Puppy 4.3.1.
menu->setup->mouse/keyboard wizard

Have you tried resetting the mouse interface type?

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send_private_message 
Robotop


Joined: 08 Dec 2009
Posts: 34
Location: Italy

PostPosted: Thu 18 Aug 2011, 17:32    Post_subject:  

Hello, thanks for your suggestion. It was my first try, but no success. That wizard only sets minor things, like buttons wheel etc. Note that the mouse was perfectly working before the modem fix install. I've also noticed that the usbmouse is in the modules blacklist now and this comes from initialization script ; but, even removing the device from the modules exclusion list doesn't changes the situation (tried also to force the usbmodem module load)... I repeat myself, I'm sure that the module is loaded, but there must be some lock that ignores the device at boot time. Any help will be appreciated, thanks !
Back to top
View user's profile Send_private_message Visit_website 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Fri 19 Aug 2011, 04:46    Post_subject:  

Hello robotop,
A silly question, have you tried another usb port?
I have had this behaviour before with other software
and changing ports helped.
Give it a try, you never know.
Back to top
View user's profile Send_private_message 
Robotop


Joined: 08 Dec 2009
Posts: 34
Location: Italy

PostPosted: Fri 19 Aug 2011, 05:26    Post_subject:  

Thank you, Dave. I tried booting with the USB mouse connected to another port, but no success. I think there must be some activity that's not started until an hot connection of the peripheral, but haven't enough experience on Linux to solve by myself...so, still wait for the magic trick Smile
Back to top
View user's profile Send_private_message Visit_website 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Fri 19 Aug 2011, 11:08    Post_subject:  

ok, it was worth a try.
I am on vacation at the moment so I don't
have my puppy pc with me but when I get back
I can compile you an executable that can simulate
some activity on the usb port, perhaps that will do
the trick.
In the meantime why not download an app called
usbview if I remember correctly, which will show you
what is connected to your usb ports, might give you
more insight as to what the problem may be.
Back to top
View user's profile Send_private_message 
Robotop


Joined: 08 Dec 2009
Posts: 34
Location: Italy

PostPosted: Fri 19 Aug 2011, 11:28    Post_subject:  

Hello Dave, the usbview shows the mouse (after the detach-reinsert operation) and indicates it's handled by the usbhid module. In fact, in the MODULECONFIG, the usbmouse and usbkbd are forced to be disabled, due to presence of running usbhid. This problem looks like an interrupt that's not enabled until the hot plug operation. So, the "driver" is running, but the "interrupts" coming from mouse movements are disabled. When you detach/insert the usb connector, something happens and such "interrupts" are enabled. I tried to change the mouse type from usb-ps2 to serial and then back again to usb, but nothing happened, always the same behaviour. Tried also to switch from Xvesa to Xorg and then back again to Xvesa. All the same. My next experiment will be to reinstall the original puppy4.3.1 on an identical motherboard and look for the differencies from this "updated" version with the modem fix. Hope someone has a solution better than this last one Smile
Back to top
View user's profile Send_private_message Visit_website 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Fri 19 Aug 2011, 12:08    Post_subject:  

ok, now we have more info.
I have always found usbview very usefull for things like this.
Good idea trying 4.3.1, infact it's the best of all puppies
in my opinion.
Another thought, do you have usb legacy emulation on
or off in bios?
I know in theory it should make no diffs but one never knows especially with certain
mobos such as the DP410 from intel which have a rather strange bios.
Back to top
View user's profile Send_private_message 
Robotop


Joined: 08 Dec 2009
Posts: 34
Location: Italy

PostPosted: Wed 24 Aug 2011, 07:02    Post_subject:  

Hello, sorry for the delay, but here in Italy it's too hot to work with computers...
Ok, obviously, the USB legacy is enabled ; the most important thing is that BEFORE the installation of modem_fix_etc package, all was working fine. Now, I have a fresh installation of Puppy 4.3.1 on a machine, and the upgraded modem_fix on another. With a little bit of patience, may be I can discover what's the difference and what the reason for mouse not recognized at boot. I will be back here with the solution...(I hope so Smile
Back to top
View user's profile Send_private_message Visit_website 
Robotop


Joined: 08 Dec 2009
Posts: 34
Location: Italy

PostPosted: Sat 27 Aug 2011, 07:35    Post_subject:  solved  

Hello, here is the solution. In /etc/rc.d/rc.sysinit look for:
Code:

 #v423 k2.6.29.6 dmesg has warning that ehci-hcd should load before uhci-hcd and ohci-hid
 # this is contrary to my understanding all these years, but oh well, let's do it...
 ELSPCI="`elspci -l`" #jesses great little utility.
 [ "`echo "$ELSPCI" | grep '0C0320'`" != "" ] && modprobe ehci-hcd

and simply modify last row with this:
Code:

 [ "`echo "$ELSPCI" | grep '0C0320'`" != "" ] && modprobe --config ehci-hcd

Now, the usb mouse works at boot without needing for hot plug. Mr. Green
Back to top
View user's profile Send_private_message Visit_website 
Dave_G


Joined: 21 Jul 2011
Posts: 459

PostPosted: Mon 29 Aug 2011, 05:35    Post_subject:  

Good, nicely done.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Hardware
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1576s ][ Queries: 11 (0.0973s) ][ GZIP on ]