Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
apcupsd broken after emerge -uD world - [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Tue Jul 10, 2007 12:49 am    Post subject: apcupsd broken after emerge -uD world - [SOLVED] Reply with quote

I've tried various solutions suggested in the forum and what I could find from Google, but so far, no joy. Here's the error when I attempt to start apcupsd:

Code:
 # apctest


2007-07-09 18:43:49 apctest 3.14.1 (04 May 2007) gentoo
Checking configuration ...
Attached to driver: usb
sharenet.type = DISABLE
cable.type = USB_CABLE

You are using a USB cable type, so I'm entering USB test mode
mode.type = USB_UPS
Setting up the port ...
apctest FATAL ERROR in linux-usb.c at line 653
Cannot init USB HID report. ERR=Invalid argument
apctest error termination completed


apcupsd was working just fine before the latest emerge -uD world. The kernel is properly configured and the USB cable checks as OK. Can anyone offer a suggestion for how to troubleshoot this?

Many thanks...
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.


Last edited by gpeangel on Fri Jul 20, 2007 3:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jul 10, 2007 9:37 am    Post subject: Reply with quote

I'd first check the source file it's referring to, and find out what that function is trying to do. Did you perhaps update the kernel? And, just to be sure, did you update apcupsd?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Tue Jul 10, 2007 4:19 pm    Post subject: Reply with quote

I'm not an expert C programmer, but I did look at the mentioned source file. It wasn't clear from that what the issue was related to. The line reference appears to be just part of the error reporting code. There was no kernel update and, yes, apcupsd was part of the emerge -uD world that ran.
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.
Back to top
View user's profile Send private message
didymos
Advocate
Advocate


Joined: 10 Oct 2005
Posts: 4798
Location: California

PostPosted: Tue Jul 10, 2007 4:39 pm    Post subject: Reply with quote

OK, so does a downgrade restore function?
_________________
Thomas S. Howard
Back to top
View user's profile Send private message
gpeangel
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 132
Location: Colorado, USA

PostPosted: Fri Jul 20, 2007 3:43 pm    Post subject: Reply with quote

Apologies, took a while to get back to this.

Yes, a downgrade from apcupsd-3.14.1 to apcupsd-3.14.0 restored apcupsd functionality. I hope someone else has the time to resolve the specific issue with apcupsd-3.14.1.

Thank you.
_________________
Gregory Engel
Web Master
www.javazen.com
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
My other computer is spongy gray matter.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum